Self-supervised Co-Training for Video Representation Learning

Tengda Han, Weidi Xie, Andrew Zisserman

Introduction

Standard self-supervised learning (SSL) for video often relies on instance discrimination, where a model learns to distinguish a specific video clip from all others in a dataset. While effective, this approach treats different videos of the same action (e.g., two different people playing golf) as "negative" samples. This forces the model to learn visual differences between semantically identical actions, neglecting "hard positives"—samples that are semantically related but visually distinct.

To address this, the authors introduce CoCLR (Co-training Contrastive Learning of visual Representations). CoCLR leverages the complementary nature of RGB (appearance) and Optical Flow (motion) to "mine" these missing positive samples without requiring manual labels.

Methods: The Co-training Framework

The core innovation of CoCLR is a co-training strategy that uses one modality to find semantically similar neighbors for the other.

The CoCLR framework uses RGB and Flow modalities to mine neighbors in feature space, iteratively improving both representations.

The process follows an iterative loop:

  1. Initialization: Both an RGB network ($f_1$) and an Optical Flow network ($f_2$) are pre-trained using standard instance discrimination (InfoNCE).
  2. Mining and Alternation: The Flow network is used to identify the top-$K$ most similar videos to a given query based on motion patterns. These "neighbors" are then treated as positive samples to train the RGB network.
  3. Closing the Loop: The process then swaps: the improved RGB network identifies neighbors to help refine the Flow network.

This approach is motivated by an "Oracle" experiment called UberNCE, where actual class labels were used to select positive samples. UberNCE significantly outperformed standard SSL, proving that identifying semantically related videos is the key to superior representation learning.

Experimental Results

The authors evaluated CoCLR on standard benchmarks including UCF101 and HMDB51, focusing on action recognition and video retrieval.

Comparison of CoCLR with state-of-the-art self-supervised methods across various datasets and architectures.

Performance Gains

  • Linear Probing: On UCF101, the RGB network's top-1 accuracy improved from 46.8% with standard InfoNCE to 70.2% with CoCLR.
  • State-of-the-Art: When fine-tuned on Kinetics-400, CoCLR achieved 87.9% on UCF101 and 54.6% on HMDB51, outperforming established methods like DPC and MemDPC.
  • Data Efficiency: A standout result is CoCLR's efficiency. Models trained on the relatively small UCF101 dataset (1d duration) achieved results comparable to or better than models trained on massive datasets like IG65M (21y duration) or AudioSet (240d duration).

Discussion and Conclusion

CoCLR demonstrates that motion (Optical Flow) acts as a powerful semantic bridge. While two videos may look different in RGB due to lighting or background, their motion patterns for the same action are often highly invariant. By alternating the mining process, the two modalities help each other "bridge the gap" to find harder, more useful positive samples.

While the current implementation relies on computationally expensive Optical Flow, the framework is modality-agnostic and could potentially incorporate audio or text in future iterations. CoCLR represents a significant step toward more data-efficient and semantically aware self-supervised video representation learning.

Summary updated

BibTeX
@inproceedings{han2020self,
  author = {Tengda Han and Weidi Xie and Andrew Zisserman},
  title = {{Self-supervised Co-Training for Video Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure