NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-supervised learning using consistency regularization of spatio-temporal data augmentation for action recognition

Jinpeng Wang, Yiqi Lin, Andy J. MaarXiv 2020

Introduction

Deep learning models for video action recognition typically rely on extensive human-labeled datasets, which are costly and time-consuming to curate. Self-supervised learning (SSL) offers a solution by leveraging unlabeled data through "pretext tasks." However, many existing SSL methods suffer from implicit biases, where models learn to recognize actions based on static background features or object structures rather than the actual motion. For example, a model might identify a "diving" action simply by detecting a swimming pool, ignoring the temporal dynamics of the person. To address this, we propose Spatio-Temporal Consistency Regularization (STCR), a framework that forces 3D Convolutional Neural Networks (CNNs) to produce consistent high-level features regardless of spatial or temporal transformations.

Methodology

The STCR framework utilizes a Siamese network architecture consisting of two parallel paths: a Clean Path and a Noise Path. Both paths share weights through a common 3D backbone.

The STCR framework consists of a Clean Path and a Noise Path, utilizing a shared-weight 3D backbone to enforce consistency across transformed video inputs.

Spatio-Temporal Augmentations

The Noise Path processes video clips modified by two novel augmentation techniques designed to challenge the model's reliance on static features:

  • Spatio-Temporal Transformation (STT): This combines four spatial rotations (0°, 90°, 180°, 270°) with four flip types, including temporal flipping (playing the video backward). This results in 16 possible combinations, forcing the model to learn transformation-inverse invariance.
  • Intra-Video Mixup (IM): Unlike standard Mixup, which blends different videos, IM blends a frame with a random frame from the same video. This introduces spatial noise while preserving the underlying motion, teaching the model to ignore static visual elements.
Illustration of Spatio-Temporal Transformation (top) and Intra-Video Mixup (bottom). STT uses temporal flips to reverse actions, while IM adds spatial noise by blending frames from the same video.

Consistency Loss

The model is trained to minimize the difference between the high-level feature maps of the two paths using a dual-loss approach. A Temporal-wise Constraint ($L_{tw}$) uses Mean Squared Error (MSE) to ensure the maximum response along the temporal dimension remains consistent after reversing transformations. Additionally, a Channel-wise Constraint ($L_{cw}$) uses Kullback–Leibler (KL) divergence to align feature descriptors across channels, facilitating optimization during early training stages.

Experiments and Results

The researchers evaluated STCR on the UCF101 and HMDB51 benchmarks using several 3D CNN backbones, including C3D, R3D, R(2+1)D, and I3D.

Performance and Insights

  • State-of-the-Art Results: When used as an additional regularization term, the method achieved a 22% relative improvement over previous state-of-the-art methods on HMDB51 and a 7% improvement on UCF101.
  • Backbone Agnostic: The method consistently improved performance across all tested architectures. For instance, using an I3D backbone, STCR improved UCF101 accuracy from 60.3% (random initialization) to 68.4%.
  • Suppressing Static Features: By mixing frames from the same video, the model creates a "ghosting" effect on static objects while motion remains distinct. This forces the CNN to stop relying on the background and focus on the action.

Conclusion

Spatio-Temporal Consistency Regularization provides a robust framework for self-supervised action recognition. By suppressing static features and enforcing transformation invariance, the model learns more abstract and discriminative representations of human actions. Future work will explore extending this consistency learning framework to other video tasks, such as spatio-temporal action localization.

Summary updated

BibTeX
@misc{wang2020self,
  author = {Jinpeng Wang and Yiqi Lin and Andy J. Ma},
  title = {{Self-supervised learning using consistency regularization of spatio-temporal data augmentation for action recognition}},
  year = {2020},
  eprint = {2008.02086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.02086},
}
Figure