Abstract
Current state-of-the-art classification and detection algorithms train deep convolutional networks using labeled data. In this work we study unsupervised feature learning with convolutional networks in the context of temporally coherent unlabeled data. We focus on feature learning from unlabeled video data, using the assumption that adjacent video frames contain semantically similar information. This assumption is exploited to train a convolutional pooling auto-encoder regularized by slowness and sparsity priors. We establish a connection between slow feature learning and metric learning. Using this connection we define "temporal coherence" -- a criterion which can be used to set hyper-parameters in a principled and automated manner. In a transfer learning experiment, we show that the resulting encoder can be used to define a more semantically coherent metric without the use of labels.
Introduction
A fundamental challenge in computer vision is learning meaningful visual representations without human-provided labels. While supervised learning explicitly defines semantic similarity through labels, unsupervised methods must rely on inherent data properties. This paper explores the "slowness" principle—the observation that semantic content in natural video changes slowly over time. By enforcing temporal coherence, where adjacent frames are mapped to similar feature representations, we can learn a metric space that naturally aligns with semantic similarity.
Methodology
The proposed architecture is a Siamese Convolutional Pooling Auto-encoder. It utilizes a two-stage encoder comprising a linear map, a rectified linear unit (ReLU) nonlinearity, and a local $L_2$ pooling operator. The pooling stage is critical as it explicitly builds in invariance to local deformations and translations.
To avoid the "trivial solution" problem common in slowness-based learning—where the model outputs a constant value to minimize the slowness penalty—the authors employ a multi-objective loss function:
- Reconstruction Error: Ensures the hidden state retains sufficient information to reconstruct the input image, acting as a contrastive term.
- Sparsity ($L_1$ penalty): Encourages the learning of over-complete feature dictionaries.
- Slowness (Temporal Coherence): Penalizes the squared distance between pooled features of consecutive frames ($t$ and $t+1$).
The authors also establish a formal link between slowness and metric learning, allowing them to use "temporal coherence" (measured via Area Under the Precision-Recall curve) as a principled metric for automated hyperparameter tuning.
Experiments and Results
The model was evaluated across several datasets, ranging from synthetic toy examples to large-scale natural video.
Rotating Plane Experiment
To visualize the model's ability to linearize latent variables, a 3D toy plane model was rotated along two axes. The experiment demonstrated that the learned feature space effectively "linearizes" these complex transformations, turning curved paths of rotation into straight lines in the manifold.
Natural Video and Transfer Learning
The model was trained on 170,000 patches from movies and approximately 150,000 frames from YouTube videos. Key findings include:
- Semantic Retrieval: The slowness-regularized auto-encoder significantly outperformed models trained on raw pixels or sparsity alone in nearest-neighbor retrieval tasks.
- Transfer Learning on CIFAR-10: Features learned from unlabeled YouTube video were tested on CIFAR-10 classification. The proposed approach outperformed DrLIM (Dimensionality Reduction by Learning an Invariant Mapping) in class-based retrieval.
- Quantitative Performance: On the YouTube dataset, the model achieved a temporal AUC of 0.300, compared to 0.188 for the DrLIM baseline.
Discussion and Key Insights
A central insight of this work is the role of reconstruction as a contrastive term. In typical metric learning, "negative samples" are required to prevent feature collapse. Here, the requirement to reconstruct the original image acts as an anchor, preventing the model from outputting trivial constants. Furthermore, the results suggest that hierarchical stacking of "slow" layers helps build increasingly complex and semantically rich features.
Future work may involve moving beyond first-order temporal changes (slowness) to second-order changes (minimizing acceleration) to better linearize complex observed variabilities. Additionally, exploring non-linear decoders and end-to-end training of multi-layer architectures could further enhance the quality of the learned representations.
Summary updated