Unsupervised Feature Learning from Temporal Data

Ross Goroshin, Joan Bruna, Jonathan Tompson, David Eigen, Yann LeCun · OpenReview

Introduction

Most high-performing computer vision models rely heavily on supervised learning, which requires massive amounts of human-labeled data. However, video data is abundant and contains a built-in "teaching signal": time. This paper proposes a method for unsupervised feature learning from video by leveraging the "slowness" principle—the idea that adjacent frames in a video are semantically similar and should have similar feature representations.

By combining a convolutional auto-encoder with a temporal coherence penalty, the authors create a model that learns informative, sparse, and stable features without requiring any manual labels. Previous methods, such as DrLIM, used a "contrastive loss" to make features of adjacent frames similar while pushing non-adjacent frames apart. However, contrastive loss can be geometrically weak in high dimensions and does not guarantee that the learned features preserve enough information to reconstruct the original input.

Methodology: The Siamese Convolutional Model

To address the challenge of unsupervised representation learning and exploit temporal coherence, the authors introduce a Siamese Convolutional Model trained on pairs of adjacent video frames.

Siamese Convolutional Model architecture

The architecture consists of three main components:

  1. Convolutional Encoder: A two-stage process using a learned linear map (filters), a rectifying nonlinearity (ReLU), and local $L_2$ pooling. This architecture is designed to be invariant to small local translations and deformations.
  2. Decoder: A linear map that attempts to reconstruct the original input from the hidden activations.
  3. The Loss Function: The model is trained by minimizing a three-part objective:
  4. Reconstruction Error: Ensures the features retain enough information to rebuild the input frames. By replacing the traditional "contrastive term" with a "reconstruction term," the authors ensure the model actually learns the underlying structure of the data rather than finding a degenerate solution (like mapping every image to zero).
  5. Sparsity Penalty ($L_1$): Encourages the model to use only a few active neurons at a time, leading to more interpretable and efficient features.
  6. Slowness Penalty: Minimizes the difference between the pooled features of adjacent frames ($t$ and $t'$). This forces the representation to be stable over time.

Key Insights

  • Slowness as a Prior: The "slowness" assumption acts as a powerful regularizer that mimics how humans perceive objects as persistent entities.
  • Reconstruction vs. Contrast: Reconstruction is superior to contrastive loss for unsupervised tasks because it explicitly preserves information about the input, which is vital when the downstream task (classification, detection, etc.) is unknown.
  • Pooling and Invariance: Pooling operators are the architectural equivalent of "slowness." Because pooling makes a representation invariant to small shifts, it naturally satisfies the requirement that features shouldn't change much between two very similar, successive frames.

Key Results

The model was trained on natural video sequences to exploit temporal neighbors. The addition of the $L_1$ sparsity penalty proved critical for learning "clean" dictionaries; without it, filters tend to become noisy or redundant.

Learned Gabor-like filters
  • Qualitative Filter Learning: The model successfully learns pooled decoder dictionaries. When the $L_1$ penalty is applied, the learned filters resemble Gabor-like edge detectors, which are fundamental building blocks of both biological and artificial vision systems.
  • Metric Learning: The trained encoder defines a metric that is more temporally and semantically coherent than raw pixel distances. This means the distance between feature vectors better represents the actual semantic difference between images.

Limitations and Future Work

  • Phase Recovery: Reconstructing from pooled coefficients is difficult (a "phase recovery" problem). To bypass this, the authors reconstruct from the hidden representation before pooling, which might limit the decoder's ability to understand the full invariant representation.
  • Complexity of Motion: While the model handles local translations well via pooling, more complex temporal changes (like occlusions or rapid rotations) might require more sophisticated temporal modeling beyond simple $L_p$ norm differences.
  • Scaling: Applying this foundational architecture to massive-scale video datasets to compete with supervised ImageNet-trained models remains a target for future research.

Summary updated

BibTeX
@inproceedings{goroshin2015unsupervised,
  author = {Ross Goroshin and Joan Bruna and Jonathan Tompson and David Eigen and Yann LeCun},
  title = {{Unsupervised Feature Learning from Temporal Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2015},
  url = {http://arxiv.org/abs/1504.02518},
}
Figure