Self-supervised Video Representation Learning with Cascade Positive Retrieval

Cheng-En Wu, Farley Lai, Yu Hen Hu, Asim KadavWorkshops @ CVPR 2022

Abstract

Self-supervised video representation learning has been shown to effectively improve downstream tasks such as video retrieval and action recognition. In this paper, we present the Cascade Positive Retrieval (CPR) that successively mines positive examples w.r.t. the query for contrastive learning in a cascade of stages. Specifically, CPR exploits multiple views of a query example in different modalities, where an alternative view may help find another positive example dissimilar in the query view. We explore the effects of possible CPR configurations in ablations including the number of mining stages, the top similar example selection ratio in each stage, and progressive training with an incremental number of the final Top-k selection. The overall mining quality is measured to reflect the recall across training set classes. CPR reaches a median class mining recall of 83.3%, outperforming previous work by 5.5%. Implementation-wise, CPR is complementary to pretext tasks and can be easily applied to previous work. In the evaluation of pretraining on UCF101, CPR consistently improves existing work and even achieves state-of-the-art R@1 of 56.7% and 24.4% in video retrieval as well as 83.8% and 54.8% in action recognition on UCF101 and HMDB51.

Introduction

In self-supervised contrastive learning, models learn by attempting to bring "positive" pairs (different views of the same instance) closer together in feature space while pushing "negative" pairs (different instances) apart. The standard approach is limited: it usually only considers augmentations of the exact same video as positives. To learn truly robust features, the model needs "hard positives"—different videos that belong to the same action class but look different (e.g., two different people swimming).

Previous attempts to mine these positives often fall into a trap: they might pick a "false positive" that has similar motion but a completely different action (like a person throwing a discus vs. a person on a trampoline). This noise confuses the model. The authors tackle the challenge of how to systematically mine high-quality, diverse positive examples without the benefit of human labels.

Methodology: Cascade Positive Retrieval (CPR)

The core innovation is the Cascade Positive Retrieval (CPR) algorithm. Instead of mining positives in a single step, CPR uses a multi-stage "funnel" approach that filters candidates across different modalities.

The CPR pipeline alternates between Flow and RGB memory queues to refine positive example selection through a multi-stage cascade.

The Cascade Mechanism

  1. Multi-View Alternation: The algorithm alternates between the RGB view (appearance/background) and the Flow view (motion).
  2. Filtering Process: Given a query video, the model first selects a large set of similar candidates from the memory bank using one view (e.g., Flow). In the next stage, it filters that specific subset using the other view (e.g., RGB).
  3. Refinement: This process repeats for $s$ stages. Each stage uses a selection ratio ($r$) to narrow down the candidates. For example, if starting with 2048 videos, stage 1 might pick the top 50%, stage 2 picks the top 50% of those, and so on, until the final stage selects the Top-$k$ most confident positives.
  4. Loss Function: These mined positives are then fed into a Multi-Instance InfoNCE (MIL-NCE) loss, which encourages the encoder to represent all these related videos similarly.

This filtering logic assumes that while a false positive might look like the query in one modality, it is unlikely to match in both modalities across multiple refinement steps.

Key Insights and Results

CPR achieved significant gains over previous state-of-the-art (SOTA) methods by effectively reducing noise in the positive mining process. The power of cross-modal filtering is evident when comparing CPR to baseline single-modal mining.

Qualitative comparison showing that CPR successfully retrieves true positives (Shotput) while the baseline mining is misled by similar motion in different action classes.

Quantitative Performance

  • Video Retrieval (UCF101): Achieved a Recall@1 of 56.7%, outperforming the previous best (MCN) by 2.9%.
  • Action Recognition: Reached 83.8% accuracy on UCF101 and 54.8% on HMDB51, setting new SOTA marks for self-supervised models using similar backbones (S3D).
  • Mining Quality: CPR reached a median Class Mining Recall (CMR) of 83.3%, a 5.5% improvement over the baseline CoCLR. It achieved "perfect" mining (100% CMR) for 8 specific action classes, including Diving and Surfing.

Conclusion

CPR demonstrates that multi-stage, cross-modal filtering is a powerful tool for self-supervised video representation. By treating different views as successive filters, CPR significantly reduces false positives and improves the robustness of learned features. While the method introduces some manual hyperparameter tuning (selection ratios and stages), its "plug-and-play" nature makes it a valuable addition to existing contrastive learning frameworks.

Summary updated

BibTeX
@inproceedings{wu2022self,
  author = {Cheng-En Wu and Farley Lai and Yu Hen Hu and Asim Kadav},
  title = {{Self-supervised Video Representation Learning with Cascade Positive Retrieval}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  url = {https://openreview.net/forum?id=a_1-GRuPRbJ},
}
Figure