Self-Supervised Video Representation Learning via Latent Time Navigation

Di Yang, Yaohui Wang, Quan Kong, Antitza Dantcheva, Lorenzo Garattoni, Gianpiero Francesca, Francois Bremond

TL;DR

Standard self-supervised video models often mistake "entering" a room for "leaving" it because traditional contrastive learning forces representations to be completely invariant to time shifts. This paper introduces Latent Time Navigation (LTN), a strategy that splits the latent space into time-invariant and time-encoded components, keeping the model explicitly aware of fine-grained temporal changes. LTN achieves state-of-the-art performance on fine-grained action recognition benchmarks, including the Toyota Smarthome and Kinetics-400 datasets.

What Problem Does This Paper Address?

Contrastive learning has revolutionized self-supervised visual representation learning. In the image domain, it works by forcing a model to output similar representations for two different augmented views (e.g., crops) of the same image. When extended to video, standard approaches sample different clips from the same video at different times and force their representations to be identical.

While this teaches the model to recognize the overall context or scene, it introduces a major flaw: complete temporal invariance. If a model treats clips sampled at different times as completely interchangeable, it loses the ability to understand sequence and motion dynamics. Consequently, fundamental temporal relationships are erased, rendering fine-grained actions with opposite trajectories—like "opening" vs. "closing" a door, or "sitting down" vs. "standing up"—entirely indistinguishable.

Methods

To preserve temporal awareness without sacrificing the benefits of contrastive learning, the authors propose Latent Time Navigation (LTN).

Instead of forcing the entire latent representation of different video clips to be identical, LTN decomposes the latent space into two distinct subspaces:

  1. Time-invariant component: Captures static information like background, objects, and scene context.
  2. Time-encoded component: Dedicated entirely to tracking temporal changes (e.g., motion, changes in appearance, object displacement).

The time-encoded component is structured as a learnable orthogonal basis ($\mathbf{D}_t$). During training, the absolute time shift ($dt$) of a video clip is embedded into a high-dimensional vector via a Multi-Layer Perceptron (MLP).

The authors explored three variants to parameterize this time information:

  • Variant 1 (Linear Addition): Directly adds the time embedding to the video representation.
  • Variant 2 (Attention): Uses an attention mechanism to weight the orthogonal directions.
  • Variant 3 (Linear Transformation): Learns specific magnitudes (coefficients) along each direction of the orthogonal basis $\mathbf{D}_t$.

Variant 3 proved to be the most effective. By linearly combining the orthogonal basis with these learned magnitudes, the model effectively "navigates" the latent space along specific trajectories dictated by time. Finally, an InfoNCE contrastive loss is applied to these time-blended representations, ensuring that the visual encoder remains sensitive to temporal ordering.

Overview of the proposed LTN framework, showing how time shift embeddings are blended with visual features using an orthogonal basis before contrastive learning.

Datasets

The model was evaluated across several prominent video benchmarks:

  • Kinetics-400: Used for large-scale self-supervised pre-training.
  • Toyota Smarthome (SH): A real-world, fine-grained, human-oriented dataset capturing daily living activities. It features high duration variance and highly similar motions, making it the primary testbed for LTN.
  • UCF101 & HMDB51: Standard action recognition datasets used to evaluate how well the pre-trained representations generalize to unseen real-world videos.

Key Insights and Ideas

  • Time Invariance is a Bug, Not a Feature: Forcing a video model to ignore time shifts limits its utility for fine-grained action recognition. Time should be parameterized, not discarded.
  • Subspace Disentanglement is Key: You don't need to make the entire embedding space time-aware. By confining temporal navigation to a small orthogonal subspace (the authors found $M=64$ directions out of 2048 dimensions to be optimal), the rest of the network can still focus on learning robust, appearance-based features.
  • Chronological Latent Alignment: Traditional contrastive methods (like MoCo) cluster video segments into unordered blobs. As shown via t-SNE visualization, LTN forces representations to naturally organize themselves sequentially according to their actual chronological order.
t-SNE visualization comparing standard time-invariant representations (which cluster randomly) with LTN's time-aware representations, which align sequentially over the time order.

Key Results

LTN consistently outperformed baseline contrastive frameworks and achieved state-of-the-art results across multiple evaluation protocols:

  • Toyota Smarthome: Under a linear evaluation protocol (frozen backbone), LTN achieved 53.7% Top-1 accuracy, a significant jump over the baseline MoCo (47.2%). When fully fine-tuned, it reached 65.9%, outperforming both self-supervised and heavily supervised state-of-the-art methods.
  • Kinetics-400: Under linear evaluation, LTN achieved 71.3% accuracy, outperforming recent competitive methods like CVRL (66.1%) and $\rho$BYOL (70.0%).
  • Downstream Generalization (UCF101 & HMDB51): When pre-trained on Kinetics-400 and transferred, LTN achieved 94.5% on UCF101 and 72.3% on HMDB51 with fine-tuning, demonstrating excellent generalization capabilities.

Limitations and Future Work

While LTN excels at capturing human motion dynamics (boosting performance on activities like "cooking/using stove" by +47.08%), it faces challenges with highly object-oriented activities. For instance, performance dropped slightly on tasks like distinguishing "drinking from a glass" vs. "drinking from a can."

Because LTN focuses heavily on temporal modeling and human motion, it occasionally overlooks subtle, static object information. The authors note that future work will look into extending this latent navigation concept to the spatial dimension, allowing the model to parameterize and navigate spatial object transformations alongside temporal ones.

Summary updated

BibTeX
@inproceedings{yang2023self,
  author = {Di Yang and Yaohui Wang and Quan Kong and Antitza Dantcheva and Lorenzo Garattoni and Gianpiero Francesca and Francois Bremond},
  title = {{Self-Supervised Video Representation Learning via Latent Time Navigation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i3.25416},
}
Figure