Abstract
Self-supervised video representation learning typically employs contrastive methods to learn features from unlabeled data. However, these models often succumb to "static bias," prioritizing background context over actual motion. We introduce Fine-grained Motion Alignment (FIMA), a framework designed to overcome this by aligning RGB and motion data at the pixel level. FIMA utilizes a Transformer-based motion decoder to bridge temporal gaps and a foreground sampling module to isolate action from environmental noise. Our approach demonstrates significant improvements on benchmarks like UCF101 and Diving48, effectively decoupling motion from static scene elements.
Introduction: The Static Bias Problem
A persistent challenge in video AI is the model's tendency to learn shortcuts. In a video of a tennis match, a model might identify the action "tennis" solely based on the green court background, ignoring the player's movement. This "static bias" is exacerbated by "weak alignment" in standard contrastive learning. Temporal weak alignment occurs when different phases of an action (e.g., the run-up vs. the jump) are forced into the same representation. Spatial weak alignment occurs when background motion, such as camera shake, interferes with the primary action signal.
The FIMA Framework
To address these issues, we propose the Fine-grained Motion Alignment (FIMA) framework. Unlike traditional methods that pool video features into a single global vector, FIMA operates at a dense, pixel-level scale.
The architecture consists of several key components:
- Dense Contrastive Learning: By maintaining spatial dimensions, the model aligns individual pixels across RGB and motion views, preserving fine-grained details.
- Motion Decoder: A Transformer-based decoder uses RGB features from one clip to reconstruct the motion features of another. This cross-modal reconstruction forces the model to learn the intrinsic relationship between appearance and dynamics.
- Foreground Sampling (FS): To mitigate spatial noise, FIMA generates a foreground mask by combining activation maps from both modalities. Contrastive learning is then restricted to these foreground pixels, ensuring the model focuses on the actor.
- Frame-level Reconstruction: This auxiliary task uses a
[cls]token to reconstruct local motion, enhancing the model's sensitivity to temporal evolution.
Experimental Results
FIMA was evaluated on standard benchmarks including UCF101, HMDB51, and Kinetics-400. Notably, on the Diving48 dataset—where backgrounds are nearly identical across classes—FIMA achieved 74.7% accuracy, highlighting its ability to ignore static cues.
Visualizations of attention maps confirm that FIMA's combination of losses results in much tighter focus on the action compared to standard contrastive approaches. On UCF101, FIMA reached 75.3% accuracy under linear probing, outperforming previous motion-aware methods like FAME and DCLR by over 8%.
Conclusion and Future Work
FIMA effectively addresses static bias in video representation learning through dense spatiotemporal alignment. While the motion decoder introduces a slight computational overhead, the gains in accuracy and robustness to background noise are substantial. Future work will explore adaptive foreground ratios and the application of these dense features to tasks like video object segmentation.
Summary updated