Dynamic Temporal Filtering in Video Models

Fuchen Long, Zhaofan Qiu, Yingwei Pan, Ting Yao, Chong-Wah Ngo, Tao Mei

Abstract

Temporal modeling in video understanding has long been dominated by 3D convolutions, which are often constrained by limited receptive fields and static weights. This paper introduces the Dynamic Temporal Filter (DTF), a novel approach that performs temporal modeling in the frequency domain. By transforming temporal features via a 1D Fast Fourier Transform (FFT) and applying predicted, location-specific frequency filters, DTF achieves a global temporal receptive field with spatial awareness. This mechanism is significantly more efficient than large-kernel convolutions. Integrated into standard architectures, DTF-Net and DTF-Transformer achieve state-of-the-art results on Kinetics-400 and Something-Something V2 benchmarks while maintaining high computational efficiency.

Introduction

Capturing temporal dynamics is essential for video understanding, yet traditional methods like 3D or (2+1)D convolutions face two primary challenges. First, they possess a limited receptive field, typically restricted to small local windows (e.g., 3x3x3), making it difficult to capture long-range dependencies across an entire video clip. Second, they employ static weights, applying the same filter to every spatial location regardless of whether it contains a static background or a fast-moving object.

Comparison between standard temporal convolution and the proposed Dynamic Temporal Filter. DTF adapts filters to specific spatial locations and operates across the full temporal extent in the frequency domain.

The Dynamic Temporal Filter (DTF) addresses these limitations by moving temporal modeling from the time domain to the frequency domain. This shift allows for "spatial-aware" temporal modeling where filters are dynamically predicted for each pixel, enabling the model to distinguish between different motion patterns across the frame. By operating in the frequency domain, the model achieves a global temporal receptive field "for free," as frequency modulation is computationally cheaper than large-kernel temporal convolutions.

Methods

The DTF Block is a modular component designed for seamless integration into existing backbones like ResNet (forming DTF-Net) or Swin Transformers (forming DTF-Transformer). It consists of two primary stages: Frame-wise Aggregation (FA) and the core DTF mechanism.

Frame-wise Aggregation (FA)

Before frequency filtering, the FA module serves as a "warm-up" step. It uses a self-attention-like mechanism to aggregate information from temporal neighbors in adjacent frames. This process provides the necessary "motion clues" that help the model predict more accurate frequency filters in the subsequent stage.

The DTF Mechanism

The core DTF mechanism treats the features at each spatial location as a 1D signal. It applies a 1D Fast Fourier Transform (FFT) along the temporal dimension to obtain a frequency spectrum. Simultaneously, a mapping function predicts a specialized frequency filter for that specific location. Following the Convolution Theorem—where point-wise multiplication in the frequency domain corresponds to convolution in the time domain—the spectrum is multiplied by the predicted filter. Because the filter covers all frequencies, it effectively performs a temporal convolution with a kernel size equal to the entire clip length. Finally, an Inverse FFT (IFFT) returns the features to the temporal domain.

Architecture of the Frame-wise Aggregation (FA) module and the overall DTF Block. The FA module captures local motion clues to inform the dynamic filter prediction within the DTF block.

Experiments and Results

The proposed models were evaluated on three standard benchmarks: Kinetics-400 (K400) for general action recognition, and Something-Something V1 & V2 (SSv1, SSv2) for fine-grained temporal reasoning.

  • Kinetics-400: DTF-Transformer (using a Swin-B backbone) achieved 83.5% top-1 accuracy, outperforming the standard Video-Swin model.
  • Something-Something V2: On this motion-heavy dataset, DTF-Net (ResNet-101) reached 68.9% top-1 accuracy, a significant jump over previous convolutional state-of-the-art models.
  • Efficiency: DTF-Net (ResNet-50) achieved better accuracy than many heavier models while using approximately 30% fewer GFLOPs than competitors like TDN.

Ablation studies confirmed that the "dynamic" nature of the filters is a key driver of success; removing the dynamic component and using a fixed filter for all locations dropped accuracy by 0.7%. Visualizations show that the model learns much more "active" filters for regions with high motion (like a basketball player) compared to static backgrounds.

Conclusion

Dynamic Temporal Filtering provides a powerful and efficient alternative to traditional 3D convolutions by leveraging the frequency domain for global temporal modeling. By making filters spatially aware and dynamic, the model effectively handles the diverse motion patterns present in video data. While currently focused on action recognition, the approach shows promise for other video tasks. Future work may involve optimizing FFT operations for specific hardware and exploring more complex filter prediction strategies that incorporate broader spatial context.

Summary updated

BibTeX
@inproceedings{long2022dynamic,
  author = {Fuchen Long and Zhaofan Qiu and Yingwei Pan and Ting Yao and Chong-Wah Ngo and Tao Mei},
  title = {{Dynamic Temporal Filtering in Video Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19833-5\_28},
}
Figure