Frequency Selective Augmentation for Video Representation Learning

Jinhyung Kim, Taeoh Kim, Minho Shim, Dongyoon Han, Dongyoon Wee, Junmo Kim

TL;DR

FreqAug is a novel spatio-temporal data augmentation technique that operates in the frequency domain to improve self-supervised video representation learning. By stochastically filtering out low-frequency components—the "static" parts of a video like backgrounds and flat textures—it forces models to focus on dynamic motion and essential shapes, leading to significant performance gains in action recognition and localization.

The Challenge of Static Bias in Video SSL

In self-supervised learning (SSL), models learn by finding "invariance" between different augmented views of the same data. For video, a major hurdle is static bias. Most video datasets contain actions performed against distinct backgrounds; a model might "cheat" by learning to identify a "diving" action simply by recognizing the blue texture of a swimming pool (static information) rather than the actual movement of the diver (dynamic information).

Original video frames from two different action sequences: clapping (top) and ice hockey (bottom).

While standard spatial augmentations like cropping or color jittering help, they don't specifically target the temporal dimension. Existing temporal augmentations, like changing playback speed, modulate the entire signal indiscriminately. FreqAug proposes a more surgical approach: selectively processing video signals based on their spatial and temporal changing rates.

Methodology: Frequency Domain Augmentation

The authors introduce FreqAug (Frequency Augmentation), which moves beyond pixel-space manipulations into the frequency domain using the Discrete Fourier Transform (DFT).

  1. 3D-DFT: A video clip is transformed into its frequency spectrum across three dimensions: Time ($T$), Height ($H$), and Width ($W$).
  2. Selective Filtering: The core of FreqAug is applying binary filters to this spectrum. A Temporal High-Pass Filter (HPF) removes low-frequency temporal info, effectively "erasing" the static background and stationary objects, leaving only the moving parts of the scene.
  3. Stochastic Application: To ensure the model still understands some context, FreqAug is applied randomly (with a probability $p$). When active, it uses specific "cutoff frequencies" ($f_{co}$) to determine which bands to drop.
  4. Inverse DFT: The filtered spectrum is converted back into the video (pixel) domain for the neural network to process.
The same frames after applying FreqAug's spatio-temporal high-pass filtering, highlighting dynamic motion and edges while suppressing static backgrounds.

This approach is framework-agnostic and was tested on top of popular SSL methods like MoCo and BYOL.

Key Insights and Results

  • Motion is High-Frequency: In the temporal dimension, static backgrounds live in the low-frequency range ($k_t = 0$). By filtering these out, the model is forced to attend to the high-frequency "residuals"—the actual motion.
  • Synergy of Space and Time: The best results often came from FreqAug-ST (Spatio-Temporal), which combines both spatial and temporal filtering. This suggests that reducing redundancy in both dimensions provides a cleaner signal for the model to learn "what is actually happening" in the video.
  • Action Recognition Boost: On Mini-Kinetics, adding FreqAug-ST to a SlowOnly-50 backbone improved top-1 accuracy by 3.0% on UCF101 (87.0% → 90.0%) and 2.8% on Something-Something-v2 (25.3% → 28.1%).
  • Superiority over Supervised Learning: In temporal action localization on THUMOS'14, the FreqAug-enhanced self-supervised model achieved 39.0 mAP, significantly outperforming the supervised baseline of 33.9 mAP.

Conclusion

FreqAug demonstrates that frequency-domain filtering is a powerful tool for mitigating static bias in video representation learning. By forcing models to prioritize high-frequency motion over static background cues, it achieves state-of-the-art results in action recognition and localization with significantly improved training efficiency.

Summary updated

BibTeX
@inproceedings{kim2023frequency,
  author = {Jinhyung Kim and Taeoh Kim and Minho Shim and Dongyoon Han and Dongyoon Wee and Junmo Kim},
  title = {{Frequency Selective Augmentation for Video Representation Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25194},
}
Figure