Abstract
In video scene graph prediction, the aim is to capture structured object interactions that occur over time in dynamic visual content. While recent spatiotemporal attention-based models have improved performance, they often suffer from high computational costs and limited structural consistency across long sequences. Therefore, we developed a Fourier transformer mixer network (FTM-Net), a modular, frequency-aware architecture that integrates spatial and temporal modeling via spectral operations. It incorporates a resolution-invariant Fourier Mixer for global spatial encoding and a Fast Fourier Transform (FFT)-Net-based temporal encoder that efficiently represents long-range dependencies with less complexity. To improve structural integrity, we introduce a spectral consistency loss function that synchronizes high-frequency relational patterns between frames. Experiments conducted utilizing the Action Genome dataset demonstrate that FTM-Net surpasses previous methodologies in terms of both Recall@K and mean Recall@K while markedly decreasing parameter count and inference duration, providing an efficient, interpretable, and generalizable approach for structured video comprehension.
1. Introduction
Comprehending dynamic object interactions in video is difficult because it requires organized, temporally coherent reasoning [1,2]. Video scene graph prediction (VSgP) is used to model temporal subject–predicate–object interactions, facilitating tasks such as action detection and captioning [3]. Nonetheless, current methodologies frequently encounter difficulties pertaining to global spatial context, extended sequence modeling, and the generalization of unusual relations; these difficulties are primarily attributable to the limitations of convolutional neural network (CNN)-based encoders and the inefficiencies of Transformers. To resolve this issue, we present Fourier transformer mixer network (FTM-Net), a modular, frequency-aware system that integrates a resolution-invariant Fourier Mixer for spatial encoding with an efficient Fast Fourier Transform net (FFTNet) temporal module [4]. We also propose spectral consistency loss to improve temporal coherence in the frequency domain. FTM-Net attained superior performance on the Action Genome dataset, providing enhanced accuracy, generalization, and computational efficiency.
2. Materials and Methods
2.1. Related Work
Scene graph generation (SGG) in static photos has been extensively researched. However, its application to videos poses significant challenges due to the requirement for temporal reasoning. Recent video-based SGG approaches represent spatiotemporal interactions. Nonetheless, they frequently segregate spatial and temporal processing and depend on computationally intensive Transformers. Conversely, frequency-domain methodologies, including the Fourier neural operator, Fourier-based transformer alternative, and FFTNet, enable efficient global modeling with less complexity [5]. Inspired by this, we introduce FTM-Net, a modular and resolution-invariant framework that integrates frequency-based spatial and temporal modeling for structured video prediction. FTM-Net comprises a Fourier Mixer for spatial encoding, an FFTNet temporal encoder for long-range dynamics, and a prediction head for relational inference. To improve fine-grained temporal coherence—especially for infrequent predicates—we also propose a spectral consistency loss component that synchronizes high-frequency relational components across frames [6].
2.2. Methodology
Given a sequence of frames , where xt ∈ RH×W×C, the model predicts the scene configuration at t + 1.
Instead of single triples, the model outputs confidence scores for each object pair (s _ i, o _ i), resulting in the following.
The Fourier Mixer applies 2D FFT on each x_t, followed by spectral filtering.
This applies a real-valued 2D Fast Fourier Transform (FFT) to the input frame xt, converting it from the spatial domain to the frequency domain.
Each frequency component k is filtered by a learnable spectral weight matrix {W} _ k to capture semantic patterns.
The filter {W} _ k is factorized using two matrices A and B with a frequency-aware diagonal term k for efficient parameterization.
Then, global average pooling is defined as follows.
In the FFTNet temporal encoder, L layers are defined as follows.
The prediction head combines z _ T^{(L)} with object features, leading to Equation (9).
Sigmoid is used for multi-label classification as follows.
Applying FFT to the prediction and ground truth _ {t + 1}, x _ {t + 1}, the spectral consistency loss is calculated using Equation (11).
The total loss is estimated as follows.
The overall workflow is presented in Figure 1.
Figure 1.
Comprehensive architecture of FTM-Net.
For each t, FFT and spectral filtering are performed using Equation (13).
The training Algorithm 1 was created as follows.
| Algorithm 1 End-to-end training workflow of FTM-Net |
| Require: Video frames {x_t}_{t=1}^T, ground-truth relations y{t+1} Ensure: Top-ranked relation triples = {(si, ri, oi)} |
| 1: for t = 1 to T do 2: ← (xt) ▷ 2D FFT 3: for each frequency mode k ∈ do 4: [k] ← Wk [k] ▷ Spectral filtering 5: end for 6: zt ← GAP(−1()) ▷ Spatial token 7: end for 8: {zt}_{t=1}^T ← FFTNet({zt}_{t=1}^T) ▷ Temporal encoding 9: for each object pair (si, oi) do 10: ← MLP([zT; feat(si, oi)]) ▷ Relation logits 11: end for 12: Compute via binary cross-entropy 13: Compute via FFT-based spectral loss 14: ← + λspec 15: Update model parameters θ using AdamW optimizer 16: return = Top-K {(si, ri, oi)} from |
Algorithm 1 outlines the end-to-end optimisation procedure of FTM-Net, including spectral filtering, temporal encoding, and relation inference.
3. Evaluation of the Method
3.1. Experimental Setup
We assessed FTM-Net using the Action Genome dataset, comprising 10,000 video clips tagged with 35 object classes and 50 predicates, categorized into attention, spatial, and contact types. Videos were divided into 70, 15, and 15% for training, testing, and validating and segmented into 16-frame clips at a rate of 2 frames per second. Object characteristics were derived with Faster R-CNN pretrained on Visual Genome. Evaluation was conducted using the “with constraint” procedure, utilizing the complete 50-class predicate set, which facilitates multi-label prediction [7]. We evaluated the PredCLS and SGCLS tasks utilizing Recall@20/50 and mean Recall@50, averaging the outcomes across three seeds. FTM-Net was evaluated against a graph convolutional network tailored for visual relationship detection (VRD-GCN), MotifNet, GPS-Net, SGG, spatio-temporal transformer for video-based (STTran), and TRACE using uniform preprocessing methods [8]. In training, PyTorch 1.9.0 on an RTX 3090, the AdamW optimizer, cosine decay, warm-up, and a batch size of 32 were used for 100 epochs. The temporal encoder comprised four FFTNet layers (dimension = 256) and thirty-two frequency modes, with a spectral loss weight of 0.1.
3.2. Comparison with State-of-the-Art Models
We compared FTM-Net with five strong baselines—VRD-GCN, GPS-Net, MotifNet, STTran, and TRACE—on the Action Genome dataset under both PredCLS and SGCLS settings [9,10]. All models were employed using the same object detector and frame segmentation pipeline for fair comparison. FTM-Net achieved the highest Recall@K and Mean Recall@K scores (Table 1). While the absolute gains in Recall@50 over TRACE were moderate (+1.9 PredCLS, +1.5 SGCLS), the improvements in mR@50 were more substantial, indicating better performance on rare predicates. These gains stem from FTM-Net’s frequency-aware design: the Fourier Mixer provides resolution-invariant spatial encoding, FFTNet captures long-range temporal dynamics, and spectral consistency loss reinforces fine-grained relation prediction.
Table 1.
Performance comparison with respect to Action Genome.
3.3. Ablation Study
We conducted ablation studies under the PredCLS setting on Action Genome to assess the contribution of FTM-Net’s components. We tested three variants: (1) removing spectral consistency loss, (2) replacing the Fourier Mixer with a shallow CNN, and (3) substituting FFTNet with a 1D CNN—while keeping the prediction head fixed. Removing spectral loss led to the largest drop in mR@50 (–1.4), highlighting its importance for modeling fine-grained structures (Figure 2). The Fourier Mixer improved both R@50 and mR@50 via resolution-invariant spatial encoding, while FFTNet captured long-range temporal dependencies efficiently. We evaluated a minimal version that excludes both Fourier Mixer and FFTNet, using basic CNNs for spatial and temporal modeling. As expected, this configuration yielded the weakest performance, reaffirming the benefit of frequency-aware modeling in both domains.
Figure 2.
Ablation study results obtained with respect to Action Genome (PredCLS).
3.4. Qualitative Analysis
Figure 3 illustrates FTM-Net’s predictions and ground truth with respect to two sample frames. The model accurately captures spatial and functional relations, including man–holding–umbrella and hat–on–man. Errors arise from part–whole confusion (e.g., head–of misclassified as head–on) or visual proximity (e.g., pants–on–horse as a false positive). These results highlight strong generalization with occasional ambiguity in fine-grained or overlapping relations.
Figure 3.
Qualitative analysis of FTM-Net forecasts.
3.5. Efficiency and Model Complexity
We compared FTM-Net’s efficiency with VRD-GCN, STTran, and TRACE. FTM-Net achieved the best balance of accuracy and efficiency, with just 29.4M parameters, 18.7 giga floating-point operations (GFLOPs), and a 42 ms inference time per 16-frame clip. Unlike Transformer models (O(T2)), FFTNet offers scalable temporal modeling (O(T log T)) with full parallelism (Table 2). Its compact, modular design is ideal for deployment on edge or real-time platforms.
Table 2.
Model efficiency comparison with respect to 16-frame video clips.
4. Conclusions and Future Work
We introduced FTM-Net, a modular, frequency-sensitive framework for effective video scene graph prediction. FTM-Net integrates a resolution-invariant Fourier Mixer for spatial encoding with an FFTNet-based temporal module, effectively capturing global semantics and long-range dynamics with minimal complexity [9,10]. A spectral consistency loss component enhances structural precision, especially for infrequent or unclear relations. Experiments using Action Genome demonstrated the model yielded superior performance in both Recall@K and mR@K while achieving a smaller model size and lower inference time. Ablation and qualitative analyses validated the efficacy and comprehensibility of each module. In future endeavors, we intend to expand FTM-Net to accommodate streaming or untrimmed films for online graph prediction. We investigated adaptive frequency selection, spectrum attention fusion, and the integration of multimodal signals (e.g., audio and text) with self-supervised pretraining to improve generalization across various video comprehension tasks [11].
Author Contributions
D.Q. designed the methodology, implemented the experiments, and wrote the manuscript; Y.M. supervised the project and revised the paper. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Dataset available on request from the authors.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Cong, Y.; Liao, W.; Ackermann, H.; Rosenhahn, B.; Yang, M.Y. Spatial-temporal transformer for dynamic scene graph generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada, 11–17 October 2021; pp. 16372–16382. [Google Scholar]
- Fang, H.; Xiong, P.; Xu, L.; Chen, Y. Clip2video: Mastering video-text retrieval via image clip. arXiv 2021, arXiv:2106.11097. [Google Scholar]
- Ji, P.; Buch, S.; Gupta, A.A.; Niebles, J.C.; Li, J. Action genome: Actions as composition of spatio-temporal scene graphs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020. [Google Scholar]
- Knyazev, B.; de Vries, H.; Cangea, C.; Taylor, G.; Courville, A.; Belilovsky, E. Graph density-aware losses for novel compositions in scene graph generation. arXiv 2020, arXiv:2005.08230. [Google Scholar] [CrossRef] [Scilit]
- Lee-Thorp, J.; Ainslie, J.; Eckstein, I.; Ontanon, S. FNet: Mixing tokens with Fourier transforms. In Proceedings of the International Conference on Machine Learning (ICML), Online, 18–24 July 2021. [Google Scholar]
- Li, Z.; Kovachki, N.; Azizzadenesheli, K.; Liu, B.; Bhattacharya, K.; Stuart, A.M.; Anandkumar, A. Fourier neural operator for parametric partial differential equations. J. Comput. Phys. 2021, 446, 110678. [Google Scholar]
- Lin, X.; Ding, C.; Zeng, J.; Tao, D. GPS-Net: Graph property sensing network for scene graph generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 14–19 June 2020; pp. 3746–3753. [Google Scholar]
- Nag, S.; Min, K.; Tripathi, S.; Roy Chowdhury, A.K. Unbiased video scene graph generation via visual and semantic dual debiasing (Tempura). arXiv 2023, arXiv:2304.00733. [Google Scholar]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards real-time object detection with region proposal networks. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 7–12 December 2015. [Google Scholar]
- Sigurdsson, G.A.; Varol, G.; Wang, X.; Farhadi, A.; Laptev, I.; Gupta, A. Hollywood in homes: Crowdsourcing data collection for activity understanding. In Proceedings of the Computer Vision–ECCV 2016, Amsterdam, The Netherlands, 11–14 October 2016; Springer: Amsterdam, The Netherlands, 2016; pp. 510–526. [Google Scholar]
- Teng, Y.; Wang, L.; Li, Z.; Wu, G. Target adaptive context aggregation for video scene graph generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada, 11–17 October 2021; pp. 13688–13697. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.


