How JEPA Avoids Noisy Features: The Implicit Bias of Deep Linear Self Distillation Networks

Madhu Advani, Chen Huang, Etai Littwin, Preetum Nakkiran, Omid Saremi, Joshua M. Susskind, Vimal Thilak

TL;DR

This paper delves into the "implicit bias" of two prominent self-supervised learning (SSL) paradigms: JEPA (Joint Embedding Predictive Architecture) and MAE (Masked AutoEncoder). By analyzing simplified deep linear models, the authors reveal that JEPA preferentially learns "influential" features (those with high predictive power), while MAE focuses on highly correlated but potentially noisy features. This distinction helps explain JEPA's empirical success in perception tasks.

What Problem Does This Paper Address?

Self-supervised learning (SSL) has revolutionized representation learning, enabling models to learn from vast amounts of unlabeled data. Two dominant approaches have emerged: Masked Autoencoders (MAE), which reconstruct missing input data, and Joint Embedding Predictive Architectures (JEPA), which predict latent representations of other views of the data. While JEPA is often observed to perform better on perception tasks, the underlying reasons for this advantage, particularly how it avoids learning noisy or irrelevant features, remain unclear. This paper aims to bridge this gap by theoretically analyzing the training dynamics of deep linear models under both JEPA and MAE objectives to uncover their distinct "implicit biases" – the inherent preferences learned during training.

Methods

The authors employ a theoretical framework of deep linear neural networks to analytically solve the training dynamics of JEPA and MAE. They derive gradient flow equations for both objectives and, under specific assumptions (simultaneously diagonalizable covariance matrices and a particular initialization scheme), obtain closed-form solutions for the weight evolution. This allows them to precisely characterize how each objective prioritizes different features during training. The core of their analysis revolves around the concept of "critical time," which signifies when a feature's representation magnitude reaches a certain fraction of its final value, revealing the order in which features are learned.

Datasets

The paper does not explicitly mention specific datasets used for training or evaluation. Instead, it relies on synthetic data generated from Gaussian distributions with controlled covariance and correlation parameters to test its theoretical models. The authors also propose generative frameworks (random masking and temporal models) that satisfy their theoretical assumptions, allowing for controlled experiments.

Key Insights and Ideas

  • JEPA's "Influential Feature" Bias: JEPA's objective inherently biases it towards learning features that are highly predictive of the target representation, even if they contain some noise. These are termed "influential features" due to their high regression coefficients.
  • MAE's "Covarying Feature" Bias: In contrast, MAE prioritizes features that are highly correlated with the input, which can include noisy or less semantically meaningful information.
  • Depth Matters: The distinction in implicit bias between JEPA and MAE becomes more pronounced with increasing network depth. Shallow networks show less divergence in their learning behavior.
  • Reversing Learning Order: Under specific data distributions where influential features (high $\rho$) and correlated features (high $\lambda$) have opposing trends, JEPA can invert the feature learning order compared to MAE. This suggests that JEPA can steer away from high-variance, potentially noisy subspaces that MAE might focus on.
  • Theoretical Foundation for Empirical Success: The theoretical findings provide a mechanistic explanation for why JEPA often achieves better performance on perception tasks, as it's less susceptible to learning noisy pixel-level details.

Key Results

  • The paper analytically solves the learning dynamics of JEPA and MAE in a deep linear setting.
  • It proves that JEPA prioritizes "influential features" (high regression coefficient), while MAE prioritizes "highly covarying features."
  • The theoretical analysis demonstrates that JEPA can learn features with a distinct implicit bias towards high regression coefficients, which becomes stronger with network depth.
  • Numerical simulations confirm the theoretical predictions, showing that JEPA exhibits greedy learning dynamics with respect to the regression coefficient ($\rho$), while MAE's learning order is primarily dictated by covariance ($\lambda$).

Limitations and Future Work

The authors acknowledge several limitations:

  • Linear Models: The theoretical analysis is restricted to deep linear models, which are a simplification of real-world non-linear neural networks.
  • Initialization and Data Assumptions: The results rely on specific assumptions about initialization schemes and simultaneously diagonalizable covariance matrices. While empirical simulations suggest some generalizability, the exact impact of deviations from these assumptions on practical scenarios remains an open question.
  • Generalizability to Non-linear Models: Extending the analysis to non-linear models is a significant challenge and a crucial direction for future work.
  • Broader Architectures: Investigating whether the uncovered implicit bias generalizes to other joint embedding architectures not relying on self-distillation is also suggested.

Future work could focus on generalizing these findings to non-linear models and more complex data distributions, as well as exploring the practical implications of JEPA's feature prioritization for various downstream tasks.

Summary updated

BibTeX
@inproceedings{advani2024how,
  author = {Madhu Advani and Chen Huang and Etai Littwin and Preetum Nakkiran and Omid Saremi and Joshua M. Susskind and Vimal Thilak},
  title = {{How JEPA Avoids Noisy Features: The Implicit Bias of Deep Linear Self Distillation Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ez7w0Ss4g9},
}
Figure