Video Representation Learning with Visual Tempo Consistency

Ceyuan Yang, Yinghao Xu, Bo Dai, Bolei ZhouarXiv 2020

Abstract

Self-supervised video representation learning often relies on pretext tasks that may inadvertently focus on low-level temporal artifacts. We introduce Visual Tempo Hierarchical Contrastive Learning (VTHCL), a framework that enforces semantic consistency across varying playback speeds. By treating different "tempos" of the same video as positive pairs in a contrastive learning setup and applying hierarchical supervision across multiple network layers, VTHCL captures core action semantics while remaining invariant to speed. Our method achieves state-of-the-art performance on UCF-101 and HMDB-51 benchmarks and demonstrates superior generalization in action detection and anticipation.

Introduction

Supervised learning for video is constrained by the high cost of manual labeling. Self-supervised learning (SSL) offers a solution by deriving labels from the data itself. However, common SSL pretext tasks, such as predicting frame order or the "arrow of time," often lead models to overfit on low-level cues like motion blur.

We argue that visual tempo—the speed at which an action unfolds—is a fundamental variation that does not alter the underlying semantics. An action like "drinking" remains semantically identical regardless of its duration. VTHCL leverages this invariance to build robust representations.

Methodology

Visual Tempo Consistency

The core of VTHCL is the enforcement of tempo invariance. For a given video, we sample frames at two distinct rates to generate "slow" ($V^s$) and "fast" ($V^f$) versions. These versions form a positive pair. In a contrastive learning framework, the model is trained to maximize the similarity between these representations while minimizing similarity with unrelated video samples.

Visual Tempo Consistency: Positive pairs are formed by the same video at different playback speeds (tempos), while different videos are treated as dissimilar.

Hierarchical Contrastive Learning

To provide a stronger supervision signal and prevent overfitting in deep architectures like ResNet-50, we apply contrastive loss at multiple depths of the network. By extracting features from intermediate residual layers (e.g., res3, res4, res5), the model learns a hierarchy of features that are consistently tempo-invariant.

Experimental Results

Action Recognition Benchmarks

VTHCL sets new standards for self-supervised video representation. Pre-trained on Kinetics-400, a 3D-ResNet50 backbone achieved 82.1% top-1 accuracy on UCF-101 and 49.2% on HMDB-51. This significantly outperforms previous methods like SpeedNet (66.7%) and PacePrediction (77.1%).

Semantic Emergence and Localization

A key finding is the emergence of semantic localization without explicit supervision. Using our proposed Instance Correspondence Map (ICM), we visualize the regions the model deems most important across different speeds.

Semantic Emergence: ICM visualizations on the Something-Something V1 dataset show the model naturally attending to salient objects like hands and tools, despite having no object-level labels.

As shown in the visualizations, the model naturally focuses on the most salient objects (e.g., a hand or a tube of toothpaste). These elements are the consistent "anchors" that define the action across different playback speeds.

Generalization to Downstream Tasks

The learned representations transfer effectively to complex tasks beyond classification. On the AVA dataset for action detection, VTHCL achieved 15.0 mAP, surpassing models initialized with ImageNet-inflated weights. It also showed strong performance in action anticipation on the Epic-Kitchen dataset.

Conclusion and Future Work

VTHCL demonstrates that visual tempo invariance is a powerful inductive bias for video SSL. By focusing on semantic consistency rather than speed prediction, and utilizing hierarchical supervision, we achieve robust and scalable representations. Future research may explore incorporating multi-modal signals, such as audio or optical flow, and optimizing the computational overhead associated with hierarchical memory banks.

Summary updated

BibTeX
@misc{yang2020video,
  author = {Ceyuan Yang and Yinghao Xu and Bo Dai and Bolei Zhou},
  title = {{Video Representation Learning with Visual Tempo Consistency}},
  year = {2020},
  eprint = {2006.15489},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.15489},
}
Figure