Uncovering the Hidden Dynamics of Video Self-supervised Learning under Distribution Shifts

Pritam Sarkar, Ahmad Beirami, Ali Etemad · DOI

Introduction

Video Self-supervised Learning (VSSL) has achieved remarkable success in learning representations from unlabeled data. However, most evaluations occur in controlled settings where training and testing data share the same distribution. In real-world applications, models frequently encounter distribution shifts—changes in environment, camera perspective, or subject matter that can significantly degrade performance.

This study provides a comprehensive "stress test" for VSSL models, evaluating how six popular algorithms handle real-world shifts in viewpoint, actor, and context. By analyzing these dynamics, the researchers aim to identify which pretraining strategies are most resilient to the unpredictability of the real world.

Visualizing distribution shifts: Examples of context, actor, viewpoint, and source shifts, along with zero-shot and open-set scenarios.

Methodology

The researchers conducted a systematic study involving 269 experiments across 17 in-distribution (InD) and out-of-distribution (OoD) dataset pairs. They compared six representative VSSL methods categorized by their learning objectives:

  • Contrastive: v-SimCLR and v-MoCo (maximizing similarity between positive pairs while minimizing it with negatives).
  • Non-contrastive: v-BYOL, v-SimSiam, and v-DINO (maximizing similarity without explicit negative samples).
  • Generative: v-MAE (reconstructing masked video patches).
  • Baseline: A fully supervised model.

Evaluation protocols included linear evaluation (frozen backbone), finetuning, zero-shot recognition, and open-set recognition across diverse datasets such as Kinetics, Mimetics, CharadesEgo, and UCF101.

Key Insights: The Generative vs. Contrastive Divide

A central finding of the study is the fundamental trade-off between generative and contrastive learning objectives.

  • Generative models (v-MAE) emerge as "strong temporal learners." By reconstructing pixels, they are forced to capture motion dynamics. This makes them more robust to context shifts where background cues are missing, as they rely more on how an object moves than where it is.
  • Contrastive models (v-SimCLR, v-MoCo) are "strong spatial learners." They excel at achieving viewpoint invariance—performing well when a camera angle changes—but often ignore temporal ordering, making them "weak temporal learners."
Performance indicator heatmap comparing VSSL models across various distribution shifts. Darker green indicates higher performance.

Robustness to Distribution Shifts

The study highlights several critical behaviors under shift:

  1. Context Sensitivity: All models struggle when actions are decoupled from their typical environments (e.g., "driving" without a car). However, v-MAE and supervised models show higher resilience by relying on motion over static background features.
  2. Viewpoint and Resolution: Contrastive methods dominate viewpoint shifts (e.g., egocentric vs. third-person). Conversely, v-MAE is uniquely resilient to low-resolution inputs, likely due to the high-level structural understanding required for its reconstruction task.
  3. The Open-Set Challenge: There is an inverse relationship between closed-set accuracy and open-set reliability. Models that are highly confident on known classes often fail to identify "unknown" samples, leading to high false-positive rates in open-set scenarios.
  4. In-Distribution Overfitting: While finetuning generally improves performance, it can lead to "in-distribution overfitting," where gains on the training set come at the expense of generalization to out-of-distribution data.

Conclusion

This research underscores that no single VSSL objective is a "silver bullet" for all real-world scenarios. While contrastive methods provide superior spatial invariance, generative methods capture essential temporal dynamics. The authors suggest that the next generation of VSSL should focus on hybridizing these objectives to create models that are both spatially invariant and temporally aware, ensuring robustness across the diverse distribution shifts encountered in the wild.

Summary updated

BibTeX
@inproceedings{sarkar2023uncovering,
  author = {Pritam Sarkar and Ahmad Beirami and Ali Etemad},
  title = {{Uncovering the Hidden Dynamics of Video Self-supervised Learning under Distribution Shifts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=bKqrWLCMrX},
}
Figure