Cycle-Contrast for Self-Supervised Video Representation Learning

Quan Kong, Wenpeng Wei, Ziwei Deng, Tomoaki Yoshinaga, Tomokazu Murakami

Abstract

Self-supervised video representation learning often relies on temporal pretext tasks that may overlook the hierarchical relationship between a video and its constituent frames. We present Cycle-Contrastive Learning (CCL), a novel framework that learns robust video representations by enforcing cycle-consistency across video and frame domains. By ensuring a video is the nearest neighbor of its own frames in a shared embedding space, CCL achieves state-of-the-art performance on action recognition and video retrieval benchmarks, including UCF101 and HMDB51.

Introduction

Video understanding remains a significant challenge in computer vision due to the high dimensionality and temporal complexity of the data. While self-supervised learning (SSL) has seen great success in image and text domains, video SSL often focuses on pretext tasks like temporal ordering or frame prediction. These tasks frequently fail to capture the fundamental characteristic of video: the hierarchical "belonging" relationship between a global video sequence and its local frames.

A robust video representation should reflect that a video is composed of its frames, making the global video embedding mathematically similar to its local frame embeddings. This paper introduces Cycle-Contrastive Learning (CCL) to bridge this gap by treating videos and frames as distinct domains and optimizing for cross-domain consistency.

Methodology

The CCL framework utilizes a 3D ResNet (R3D) backbone to extract two levels of features: frame-level (spatial) and video-level (spatio-temporal). The core innovation lies in the cycle-consistency objective.

Overview of the Cycle-Contrastive Learning (CCL) framework, illustrating the forward and backward phases between video (S space) and frame (W space) domains.

Cycle-Consistency

As shown in Figure 1, the training process involves two main phases:

  1. Forward Phase (Video → Frame): Given a video embedding $s_1$, the model identifies its "soft nearest neighbor" $\hat{z}$ among frame embeddings in a mini-batch.
  2. Backward Phase (Frame → Video): From the identified frame $\hat{z}$, the model attempts to "cycle back" to find the original parent video embedding $\hat{s}$.

The model is trained using a contrastive loss (InfoNCE) to maximize the similarity of these cycled pairs. This forces the network to learn representations where a video and its frames are mutually defining.

Diversity Penalization

To avoid "mode collapse"—where the model might learn redundant, identical frame embeddings for a single video—the authors incorporate a diversity penalization term. This ensures that the learned frame embeddings within a video remain distinct, capturing the varied information present across the temporal sequence.

Experiments and Results

The model was pre-trained on the Kinetics-400 dataset and evaluated on standard benchmarks including UCF101, HMDB51, and MMAct.

Action Recognition

CCL demonstrates superior performance in downstream action recognition tasks. When fine-tuned on UCF101, CCL achieved an accuracy of 69.4%, outperforming several established self-supervised methods.

Comparison of CCL with state-of-the-art self-supervised methods on UCF101 and HMDB51 benchmarks.

As detailed in Table 5 (Figure 5), CCL (using an R3D-18+1 backbone) surpasses methods like DPC (68.2%) and SpeedNet (66.7%) on UCF101, while also showing significant gains on HMDB51 (37.8%). Notably, CCL achieves these results with a relatively efficient parameter count (12.1M).

Video Retrieval

In retrieval tasks, CCL shows a remarkable ability to find similar content without explicit labels. On the UCF101 frame-to-frame retrieval task, CCL reached 32.7% Top-1 accuracy, a substantial improvement over the previous best of 25.7%. This indicates that the learned embeddings effectively capture the semantic essence of the video content.

Conclusion

Cycle-Contrastive Learning provides a powerful mechanism for self-supervised video representation by exploiting the natural hierarchy of video data. By bridging the gap between global video context and local frame details through cycle-consistency, CCL learns features that are highly effective for action recognition and retrieval. Future work may involve integrating CCL with explicit temporal ordering tasks to further enhance the model's understanding of chronological dynamics.

Summary updated

BibTeX
@inproceedings{kong2020cycle,
  author = {Quan Kong and Wenpeng Wei and Ziwei Deng and Tomoaki Yoshinaga and Tomokazu Murakami},
  title = {{Cycle-Contrast for Self-Supervised Video Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure