Self-supervised Video Representation Learning by Pace Prediction

Jiangliu Wang, Jianbo Jiao, Yun-Hui Liu

Introduction

Deep learning for video understanding, such as action recognition, typically requires massive datasets with manual labels. While billions of unlabeled videos are available online, leveraging them effectively remains a challenge. Self-supervised learning (SSL) addresses this by creating "pretext tasks"—puzzles where the ground truth is derived from the data itself.

Existing video SSL tasks often involve predicting frame order or using computationally expensive optical flow. However, the human visual system is highly sensitive to the pace of motion. This paper proposes that if a network can distinguish between different playback speeds, it must inherently understand the underlying video content and temporal dynamics.

Methodology

The core of this work is a pretext task called Pace Prediction, integrated into a dual-objective learning framework.

Pace Sampling

To create training data, the authors sample clips from a video at various paces ($p$):

  • Normal ($p=1$): Standard consecutive frames.
  • Fast ($p>1$): Sampling every $p$-th frame to speed up the action.
  • Slow ($p<1$): Repeating frames to create a slow-motion effect.
The sampling strategy for generating clips at different paces from a natural-pace video.

The Learning Framework

The model utilizes a 3D Convolutional Neural Network (3D CNN) to process these clips. The training involves two main components:

  1. Pace Prediction: The network classifies the input clip into its corresponding pace category. To succeed, the model must analyze how pixels change over time rather than relying on static frame features.
  2. Contrastive Learning: A secondary objective encourages the model to recognize that clips from the same video share the same semantic content, regardless of their pace ("Same Context" approach). This prevents the model from focusing solely on low-level motion artifacts.
Overview of the proposed framework, including pace sampling, feature extraction, pace prediction, and contrastive learning.

To avoid "cheating" via low-level pixel noise, the authors apply color jittering to every frame, forcing the model to prioritize motion dynamics.

Key Insights

  • Pace as a Semantic Signal: Understanding pace requires knowledge of how fast actions typically occur in the real world, making it a powerful semantic cue.
  • Optimal Difficulty: Ablation studies revealed a "Goldilocks" zone for task difficulty. A pace range of $[1, 4]$ (normal to 4x speed) was found to be most effective for feature learning.
  • Content Consistency: The "Same Context" contrastive learning strategy—treating different paces of the same video as positive pairs—was significantly more effective than grouping different videos by the same pace.

Key Results

The proposed method outperformed previous self-supervised techniques across multiple architectures (C3D, R3D-18, R(2+1)D, and S3D-G).

  • Action Recognition: Pre-trained on Kinetics-400 and evaluated on UCF101, the model achieved 77.1% accuracy, surpassing prior state-of-the-art methods like DPC (75.7%).
  • Video Retrieval: The model showed a substantial lead in retrieval tasks. On UCF101, it achieved a Top-1 accuracy of 25.6%, more than doubling the performance of the previous best method, VCOP (10.7%).
  • Visualization: Attention maps indicate that the model naturally focuses on "active" regions, such as moving limbs or faces, to determine the pace.

Conclusion and Future Work

Pace prediction provides a robust and computationally efficient pretext task for video representation learning. While currently focused on RGB data, future work could extend this to multi-modal signals, such as aligning audio and video rhythms. Additionally, exploring more advanced frame interpolation techniques for slow-motion sampling could further refine the learning signal.

Summary updated

BibTeX
@inproceedings{wang2020self,
  author = {Jiangliu Wang and Jianbo Jiao and Yun-Hui Liu},
  title = {{Self-supervised Video Representation Learning by Pace Prediction}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58520-4\_30},
}
Figure