Abstract
Video representation learning is an increasingly important topic in machine learning research. We present Video JEPA with Variance-Covariance Regularization (VJ-VCR): a joint-embedding predictive architecture for self-supervised video representation learning that employs variance and covariance regularization to avoid representation collapse. We show that hidden representations from our VJ-VCR contain abstract, high-level information about the input data. Specifically, they outperform representations obtained from a generative baseline on downstream tasks that require understanding of the underlying dynamics of moving objects in the videos. Additionally, we explore different ways to incorporate latent variables into the VJ-VCR framework that capture information about uncertainty in the future in non-deterministic settings.
Introduction
Video data is inherently rich but highly redundant. Traditional self-supervised learning often relies on generative models that predict future frames pixel-by-pixel. However, these models often expend significant computational resources on irrelevant low-level details, such as texture or lighting changes, rather than high-level semantic information.
Joint-Embedding Predictive Architectures (JEPA) address this by making predictions in an abstract representation space. Despite their promise, JEPAs are prone to "representation collapse," where the model maps all inputs to a constant output to minimize loss. Furthermore, video is often stochastic; the past does not always uniquely determine the future. This work introduces VJ-VCR to address both representation collapse and the modeling of non-deterministic dynamics.
The VJ-VCR Framework
The proposed Video JEPA with Variance-Covariance Regularization (VJ-VCR) consists of an encoder that maps video clips into a hidden representation space and a predictor that forecasts future representations.
Key Technical Components
- Variance-Covariance Regularization (VCR): To prevent collapse without relying on negative samples, VJ-VCR applies a loss function to the embeddings that enforces high variance (preventing point-collapse) and low covariance (ensuring non-redundant feature dimensions).
- Latent Variables ($z$): To handle stochasticity, latent variables are introduced into the predictor. These act as a source of uncertainty, allowing the model to account for multiple possible future trajectories.
- Energy-Based Inference: In non-deterministic settings, the model uses an optimization step to infer the latent variable $z$ that best explains the observed future.
Experimental Setup
The framework was evaluated on synthetic benchmarks designed for precise control over dynamics:
- Stochastic MovingMNIST: Digits moving with constant velocity that randomly switch directions.
- CLEVRER: Geometric objects colliding, testing physical interaction understanding.
- CATER: Complex spatiotemporal reasoning where objects perform random actions like sliding or picking up others.
Results and Insights
VJ-VCR demonstrates a superior ability to capture underlying physics and logic compared to generative baselines.
- Dynamics Understanding: On MovingMNIST, VJ-VCR achieved a Mean Squared Error (MSE) of 0.04 for speed prediction, significantly outperforming the generative baseline's 0.15 MSE.
- Action Recognition: On the CATER dataset, VJ-VCR reached 67.4% mAP, compared to 53.8% for the generative model.
- Feature Diversity: Analysis using the RankMe metric confirmed that VJ-VCR maintains higher intrinsic dimensionality in its learned features, whereas generative models tend to compress information into fewer dimensions.
Modeling Uncertainty
A key finding was the role of latent variables in resolving the "mean blur" problem. Without latent variables, predictions in stochastic settings tend to average all possible outcomes. With $z$, the model can generate specific, sharp future representations. However, the authors noted a trade-off: latent variables can sometimes "leak" static information (like object identity). Increasing the sparsity of $z$ was found to mitigate this leakage.
Conclusion and Future Work
While VJ-VCR shows strong performance on synthetic benchmarks, its application to real-world video remains a challenge due to increased complexity. Future research will focus on scaling the architecture to large-scale datasets, applying VCR across multiple network layers, and further refining latent variable constraints to better disentangle stochastic and static information.
Summary updated