Self-Supervised Video Representation Learning with Odd-One-Out Networks

Basura Fernando, Hakan Bilen, Efstratios Gavves, Stephen Gould

Introduction

Supervised learning for video analysis is constrained by the high cost of manual labeling. While unlabeled video data is abundant, leveraging it effectively requires sophisticated self-supervised proxy tasks. This paper introduces Odd-One-Out Networks (O3N), a novel approach that uses analogical reasoning to learn spatio-temporal features from unlabeled video.

The Odd-One-Out (O3N) Task

The core of the O3N method is a multi-branch architecture designed to identify an "odd" element within a set of video clips. Specifically, the network is presented with $N+1$ clips: $N$ clips contain frames in their original chronological order, while one clip has its frames randomly shuffled.

The O3N architecture identifies the shuffled video clip (Y=2) from a set of ordered clips.

By forcing the network to distinguish between correct and incorrect temporal sequences across multiple examples, O3N encourages the learning of deeper motion dynamics rather than simple visual shortcuts. The authors found that a set of 6 clips (5 correct, 1 odd) provided the optimal level of difficulty for feature learning.

Architecture and Fusion Strategies

The O3N architecture utilizes a multi-branch CNN (based on AlexNet) where all branches share weights. Each branch processes a video clip encoded as a "Dynamic Image" or "Stack of Differences" to capture temporal information in a 2D format.

A critical component of the network is the Fusion Layer, which merges features from all branches before the final classification layers. The authors compared two primary strategies: Concatenation and Sum of Difference (SOD).

Comparison between Concatenation (left) and Sum of Difference (right) fusion layers. SOD encourages the network to learn more discriminative features by directly comparing clips.

The SOD fusion method was found to be significantly more effective. It forces the network to perform direct comparisons between clips early in the pipeline, preventing the final layers from "cheating" and ensuring the convolutional layers learn robust representations.

Experimental Results

The effectiveness of O3N was evaluated on the UCF101 and HMDB51 action recognition benchmarks. After pre-training on the O3N task using unlabeled data, the networks were fine-tuned for action recognition.

  • UCF101: O3N achieved 60.3% accuracy, a nearly 10% improvement over previous state-of-the-art self-supervised methods like "Shuffle and Learn".
  • HMDB51: The method reached 32.5% accuracy, representing a 12.7% gain over prior self-supervised results.

Pre-training with O3N provided a substantial boost, improving performance by over 13% compared to training from scratch (random initialization). While a gap remains compared to ImageNet-supervised pre-training, O3N significantly advances the state-of-the-art for learning from unlabeled video.

Conclusion

Odd-One-Out Networks demonstrate that analogical reasoning tasks are highly effective for self-supervised video representation learning. By moving beyond simple binary classification to a more complex outlier detection task, O3N forces the model to capture essential temporal dynamics. Future work may involve applying this logic to other data modalities or combining it with complementary self-supervised tasks.

Summary updated

BibTeX
@inproceedings{fernando2017self,
  author = {Basura Fernando and Hakan Bilen and Efstratios Gavves and Stephen Gould},
  title = {{Self-Supervised Video Representation Learning with Odd-One-Out Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.607},
}
Figure