Spatiotemporal Augmentation on Selective Frequencies for Video Representation Learning

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

TL;DR

Self-supervised video models often cheat by focusing on static backgrounds and textures rather than actual motion. To fix this, the authors introduce FreqAug, a frequency-domain data augmentation technique that stochastically filters out low-frequency spatial and temporal components. By removing static clutter, FreqAug forces models to prioritize dynamic, motion-driven features, leading to significant performance gains across multiple downstream video tasks.

What Problem Does This Paper Address?

In self-supervised video representation learning (SSL), models learn by matching different augmented views of the same video clip. However, deep networks are notoriously lazy: they suffer from static bias (or spatial bias), preferring to recognize actions based on easy-to-identify static cues like background scenery, colors, or textures rather than the actual motion. For example, a model might classify a video as "soccer" simply by recognizing a green grass field, completely ignoring the player's movements.

Existing temporal augmentations—such as altering playback speed, skipping frames, or shifting time windows—modulate the video clip as a whole. They cannot isolate and suppress specific stationary background signals without altering the underlying action.

Methods

The authors propose FreqAug, a spatio-temporal data augmentation method operating entirely in the frequency domain. Instead of manipulating pixels directly, FreqAug applies surgical modifications to the video's frequency spectrum.

The FreqAug pipeline: transforming to the frequency domain, filtering, and transforming back.

The core pipeline consists of three steps:

  1. Discrete Fourier Transform (3D-DFT): The input video clip (spanning time, height, and width) is converted into its frequency spectrum.
  2. Frequency Filtering: The method applies an ideal binary High-Pass Filter (HPF) via element-wise multiplication to suppress low-frequency components (LFC).
  3. Spatial HPF removes flat surfaces and uniform colors while preserving edge boundaries and shapes.
  4. Temporal HPF removes temporally stationary elements (like a static background) while retaining dynamic motion patterns.
  5. Inverse DFT (iDFT): The filtered spectrum is transformed back into the standard video pixel domain.
Figure 1: Impact of removing low-frequency components (LFC). (a) Filtering spatial LFC can attenuate spatially re- dundant information, e.g. colors, while keeping the shape patterns. (b) Removing temporal LFC filters out temporally stationary information, e.g. the background, while keeping the motion pattern.

FreqAug is applied stochastically with an augmentation probability $p$. This ensures the model still encounters standard video features but learns strong representation invariance to the removed static information.

Datasets

The authors validated their approach across a wide array of standard video benchmarks:

  • Pretraining: Kinetics-400 (K400) and its balanced subset, Mini-Kinetics (MK200).
  • Downstream Action Recognition: UCF101 and HMDB51 (coarse-grained), alongside Diving48, Gym99, and Something-Something-v2 (fine-grained/motion-heavy).
  • Temporal Action Localization/Segmentation: Breakfast (action segmentation) and THUMOS'14 (temporal action localization).

Key Insights and Ideas

  • Frequency-Domain Separation: Operating in the frequency domain allows a clean mathematical separation of static backgrounds (temporal zero-frequency) and flat textures (spatial low-frequencies) that pixel-space augmentations cannot achieve.
  • Invariance to Static Cues: By forcing the network to maximize feature similarity between an original video clip and its high-pass filtered counterpart, the network explicitly learns to ignore background clutter.
  • Plug-and-Play Versatility: FreqAug acts as a framework-agnostic pre-processing step. The authors demonstrated consistent performance boosts across five distinct SSL frameworks (MoCo, BYOL, SimSiam, SimCLR, SwAV) and multiple architectures (SlowOnly, R(2+1)D, S3D-G).

Key Results

FreqAug delivered consistent quantitative improvements across all evaluated downstream tasks:

  • Action Recognition Boost: When integrated with MoCo on the MK200 dataset (using a SlowOnly-50 backbone), spatio-temporal FreqAug (FA-ST) improved top-1 accuracy on UCF101 from 87.0% to 90.0% and on HMDB51 from 56.5% to 61.6%.
  • Fine-Grained and Low-Shot Success: On motion-heavy datasets like Gym99 and Something-Something-v2 (evaluated under a strict 10% low-shot protocol), FreqAug provided absolute accuracy gains of up to 5.3%.
  • Action Segmentation: On the Breakfast dataset, FreqAug improved MoCo's frame-wise action segmentation accuracy from 59.9% to 65.9%, even outperforming its fully supervised counterpart (59.0%).

Limitations and Future Work

  • Hyperparameter Tuning: The optimal cutoff frequencies ($f_{co}^s$ and $f_{co}^t$) are sensitive to the underlying network architecture and input frame resolution. If the cutoff is too high, too much vital visual information is destroyed, degrading performance.
  • Framework Dependencies: FreqAug showed smaller gains when paired with SimSiam compared to MoCo or BYOL. The authors note that frameworks lacking a momentum encoder struggle to stabilize invariance learning when faced with "hard" frequency-domain augmentations.
  • Future Directions: A promising next step is exploring how frequency-selective processing can be dynamically adapted to specific video streams or extended to multi-modal SSL settings (e.g., audio-visual frequency matching).

Summary updated

Abstract

Recent self-supervised video representation learning methods focus on maximizing the similarity between multiple augmented views from the same video and largely rely on the quality of generated views. However, most existing methods lack a mechanism to prevent representation learning from bias towards static information in the video. In this paper, we propose frequency augmentation (FreqAug), a spatio-temporal data augmentation method in the frequency domain for video representation learning. FreqAug stochastically removes specific frequency components from the video so that learned representation captures essential features more from the remaining information for various downstream tasks. Specifically, FreqAug pushes the model to focus more on dynamic features rather than static features in the video via dropping spatial or temporal low-frequency components. To verify the generality of the proposed method, we experiment with FreqAug on multiple self-supervised learning frameworks along with standard augmentations. Transferring the improved representation to five video action recognition and two temporal action localization downstream tasks shows consistent improvements over baselines.
BibTeX
@inproceedings{kim2023spatiotemporal,
  author = {Jinhyung Kim and Taeoh Kim and Minho Shim and Dongyoon Han and Dongyoon Wee and Junmo Kim},
  title = {{Spatiotemporal Augmentation on Selective Frequencies for Video Representation Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25194},
}
Figure