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

An Improved Inter-Intra Contrastive Learning Framework on Self-Supervised Video Representation

Li Tao, Xueting Wang, Toshihiko YamasakiIEEE TCSVT 2022 · DOI

Abstract

Self-supervised video representation learning often suffers from "shortcuts" where models rely on static spatial cues—like backgrounds or specific objects—rather than temporal motion. We present IICv2, an improved Inter-Intra Contrastive framework that introduces "intra-negative" samples: clips sampled from the same video but modified to break their temporal logic (e.g., through rotation or shuffling). By forcing the model to distinguish between natural motion and these corrupted versions, IICv2 achieves significant gains in video retrieval and recognition, outperforming many state-of-the-art methods without requiring computationally expensive optical flow data.

Introduction

In self-supervised learning, contrastive methods typically learn by pulling together features of different clips from the same video (positives) and pushing apart features from different videos (negatives). However, if a model can identify a video just by looking at a static background, it might ignore the motion entirely. To truly understand video, a model must capture spatio-temporal clues. The authors argue that traditional methods don't provide "hard" enough negative examples to force the model to prioritize temporal information over simple spatial appearance.

The IICv2 Framework

The core innovation of IICv2 lies in its definition of negative samples, specifically the introduction of Intra-Negatives. These are clips sampled from the same video as the anchor but modified to break temporal consistency.

The IICv2 framework defines intra-negatives by applying temporal disruptions like repeating, shuffling, or rotating frames to clips from the same video.

As shown in the figure above, the framework utilizes three primary functions to generate these hard negatives:

  • Frame Repeating: One frame is repeated for the entire duration, eliminating motion.
  • Temporal Shuffling: Frames are randomly reordered, scrambling the action.
  • Clip Rotation: The video is rotated by a large angle, changing the direction of movement.

Because these intra-negative samples share the same spatial context (same actors, same background) as the anchor, the model cannot rely on spatial cues to tell them apart. It must learn the nuances of the motion to succeed.

System Architecture and Training

The IICv2 pipeline integrates these samples into a robust contrastive learning objective. Beyond the new negative samples, the framework introduces several "best practice" upgrades:

  • Residual Clips: Instead of raw RGB frames, the model uses the difference between consecutive frames to highlight motion and suppress static backgrounds.
  • Projection Head: A two-layer MLP projects features into a specialized contrastive space.
  • Strong Augmentation: Aggressive spatial transformations ensure the model doesn't rely on low-level pixel shortcuts.
The IICv2 training pipeline: Anchor and positive clips are attracted in the feature space, while inter-negatives and intra-negatives are repelled.

Key Insights and Results

The framework was evaluated on major benchmarks including UCF101, HMDB51, and Kinetics-400.

  • Rotation is King: Among the intra-negative strategies, Clip Rotation was the most effective, likely because it provides a distinct temporal clue (changing action direction) that is easier for the model to learn from than pure shuffling.
  • Motion over Pixels: Visualizations (using Grad-CAM) confirmed that while standard models often look at the background, IICv2 focuses specifically on moving entities, such as a person's limbs during an action.
  • Performance Gains: The improvements in video retrieval were substantial. On UCF101, Top-1 retrieval accuracy jumped from 36.8% (original IIC) to 56.2%. In video recognition, IICv2 achieved 83.6% accuracy on UCF101, outperforming several methods that rely on pre-computed optical flow.

Limitations and Future Work

The authors observed that combining all three intra-negative functions simultaneously actually decreased performance, likely because it creates an optimization landscape that is too difficult for the model to navigate early in training. Future research may explore curriculum learning—starting with easy negatives and gradually introducing harder intra-negatives—to further refine the training process and overcome these optimization hurdles.

Summary updated

BibTeX
@article{tao2022improved,
  author = {Li Tao and Xueting Wang and Toshihiko Yamasaki},
  title = {{An Improved Inter-Intra Contrastive Learning Framework on Self-Supervised Video Representation}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2022},
  doi = {10.1109/tcsvt.2022.3141051},
}
Figure