Abstract
Self-supervised learning has shown great potential in improving the video representation ability of deep neural networks by getting supervision from the data itself. However, some current methods tend to "cheat" from the background, where predictions depend highly on the video background instead of the motion, making models vulnerable to background changes. To mitigate this, we propose Background Erasing (BE), which removes background impact by adding background noise. Given a video, we randomly select a static frame and add it to every other frame to construct a distracting video sample. We then force the model to pull the features of the distracting video and the original video closer, restricting the model to resist background influence and focus on motion changes. BE is simple to implement and can be added to most state-of-the-art methods. Specifically, BE brings 16.4% and 19.1% improvements with MoCo on the biased UCF101 and HMDB51 datasets, and a 14.5% improvement on the less biased Diving48 dataset.
Introduction: The Problem of Background Bias
In video action recognition, neural networks are notorious for "cheating." If a dataset contains numerous videos of "playing soccer" filmed on green grass, a model may learn to associate green pixels with the action rather than the actual motion of the players. This phenomenon, known as background cheating, results in models that perform scene recognition rather than true action recognition.
Such models are fragile; they fail when an action occurs in an unfamiliar setting. While self-supervised learning aims to learn from unlabeled data, many existing pretext tasks still fall into this trap, relying on static textures rather than temporal dynamics.
Methodology: Background Erasing (BE)
To address this, we introduce Background Erasing (BE). The core philosophy is counter-intuitive: to make a model ignore the background, we make the background a distracting, unreliable signal during training.
Distracting Video Generation
The BE process involves two primary steps:
- Selection: For a given video clip, a single static frame is randomly selected from within that same clip.
- Blending: This static frame is blended into every frame of the original clip. The resulting "distracting" clip is a linear combination of the original frames and the static frame.
Consistency Regularization
The model is trained using a consistency constraint. By forcing the 3D backbone to produce similar representations for both the original and the distracting video, the model is explicitly discouraged from relying on static background features, which are corrupted in the distracting version. Mathematically, while the pixel values change, the temporal derivative (motion) remains a linear transformation of the original, forcing the model to focus on these invariant motion patterns.
Experimental Evaluation
The effectiveness of BE was evaluated across several benchmarks, including UCF101, HMDB51, and Diving48—a motion-critical dataset where backgrounds (swimming pools) are nearly identical across classes, requiring models to rely purely on temporal dynamics.
Key Results
When integrated with the MoCo (Momentum Contrast) framework, BE yielded substantial performance gains:
- Accuracy Gains: Top-1 accuracy improved by 16.4% on UCF101 and 19.1% on HMDB51.
- Motion Robustness: On Diving48, BE achieved 62.4% accuracy. Notably, a model supervised on the massive Kinetics dataset only reached 27.4% on Diving48, demonstrating that BE learns superior motion representations.
- Interpretability: Class Activation Maps (CAM) revealed that while baseline models often focus on the sky or ground, BE-trained models precisely track the moving actors.
Discussion and Conclusion
BE serves as a "plug-and-play" training strategy that can be integrated into existing self-supervised frameworks with minimal effort. By treating background noise as a form of targeted data augmentation, we effectively "erase" the model's ability to rely on static shortcuts. While highly effective, the method requires careful tuning of the blending factor. Future work may explore adaptive blending or scaling BE to long-form video understanding.
Summary updated