What Do We Maximize In Self-Supervised Learning?

Ravid Shwartz-Ziv, Randall Balestriero, Yann LeCun

TL;DR

This paper provides an information-theoretic foundation for deterministic self-supervised learning (SSL), focusing on VICReg. By modeling input data—rather than network weights—as stochastic Gaussian mixtures transformed through piecewise-affine deep networks, the authors derive VICReg’s variance-invariance-covariance loss directly from the MultiView InfoMax principle.

What Problem Does This Paper Address?

Information theory has long offered an intuitive lens for representation learning: good representations should maximize mutual information between different augmented views of the same data while avoiding representational collapse. However, applying mutual information to modern deep networks faces a fundamental roadblock: deterministic networks yield infinite or piecewise-constant mutual information, making gradient-based analysis ill-posed.

Previous theoretical works circumvented this by assuming stochastic networks (e.g., injecting Gaussian noise or dropout into layers). But in practice, modern SSL architectures are strictly deterministic. The authors bridge this gap by answering: Can we rigorously derive and understand deterministic SSL objectives (specifically non-contrastive methods like VICReg) from first principles of information theory?

Methods

Rather than injecting artificial noise into network weights, the authors place stochasticity where it naturally belongs: in the data distribution.

  1. Data Distribution as a Gaussian Mixture: The authors model the data manifold as a collection of non-overlapping, low-rank Gaussian distributions centered around prototype samples $x^*_n \sim \mathcal{N}(x^*_n, \Sigma_{x^*_n})$.
  2. Continuous Piecewise Affine (CPA) Mappings: Standard deep neural networks with piecewise-linear activations (ReLU, Leaky ReLU, max-pooling) are continuous piecewise-affine spline operators. When the input noise around each prototype is small enough to fall within a single affine partition region, the network acts as a linear transformation on each local Gaussian. Consequently, the output representation $Z = f(X)$ is also a mixture of Gaussians.
  3. Information Maximization Derivation: Starting from the MultiView InfoMax lower bound: $$I(Z; X') \ge H(Z) + \mathbb{E}[\log q(z \mid x')]$$
  4. Assuming a standard Gaussian observation model for decoding view $X'$ from $Z$ yields the mean-squared-error invariance loss $\|Z - Z'\|_F^2$.
  5. The entropy term $H(Z)$ for a Gaussian mixture is analytically intractable. The authors upper-bound $H(Z)$ by approximating the mixture as a single Gaussian that matches its first two moments. Since the Gaussian distribution maximizes entropy for a given covariance $\Sigma_Z$, maximizing representation entropy reduces to maximizing the determinant $\log |\Sigma_Z|$.
  6. Under eigenvalue constraints, maximizing $|\Sigma_Z|$ requires maximizing the diagonal entries (variance regularization) while minimizing the off-diagonal entries (covariance decorrelation). Setting the observation noise covariance $\Sigma_r = I$ exactly recovers the VICReg loss function.

Datasets

The authors evaluate their theoretical assumptions empirically on:

  • CIFAR-10: Used with a ResNet-18 backbone trained via SimCLR and VICReg.
  • No new datasets or benchmarks are introduced.

Key Insights and Ideas

  • Input Noise Instead of Model Noise: Shifting stochasticity to the input domain makes information theory applicable to deterministic architectures without altering standard training protocols.
  • VICReg (Re)discovered from First Principles: The three components of VICReg are not just heuristic regularizers to prevent collapse:
  • Invariance corresponds to the conditional log-likelihood (decoding one view from another).
  • Variance and Covariance correspond to maximizing the differential entropy of the output representation via a Gaussian moment-matching upper bound ($\log |\Sigma_Z|$).
  • SimCLR vs. VICReg Under the Information Lens: The core mathematical differences between SimCLR and VICReg come down to distributional choices:
  • Conditional family: SimCLR assumes a von Mises-Fisher distribution; VICReg assumes a Gaussian distribution.
  • Entropy estimation: SimCLR approximates entropy via a sample-based contrastive sum; VICReg approximates entropy by matching the first two moments.

Key Results

  • Normality of Network Outputs: Using D’Agostino and Pearson’s omnibus normality test on CIFAR-10 test samples (512 Gaussian samples per image measured at the penultimate layer):
  • At low normalized input noise levels ($\sigma \le 0.2$), output representations pass normality tests with high $p$-values ($p > 0.05$), confirming that local affine regions preserve Gaussianity.
  • As input noise increases, the local affine assumption breaks down and the null hypothesis of Gaussianity is rejected ($p < 0.01$).
  • VICReg Induces Greater Gaussianity: Representations learned by VICReg remain significantly closer to normal distributions across noise scales than those learned by SimCLR, matching the theoretical derivation that VICReg explicitly regularizes the second moments of the representation density.

Limitations and Future Work

  • Crude Entropy Approximation: Approximating a multi-modal Gaussian mixture representation by a single Gaussian capturing only two moments is a coarse bound that misses higher-order geometric structure.
  • Idealized Manifold Assumptions: The theory assumes small input noise and strictly non-overlapping Gaussian supports per prototype, which may not hold uniformly across complex, real-world data manifolds.
  • Future Directions: Developing tighter entropy estimators for Gaussian mixtures to derive new, more expressive SSL loss functions, and exploring criteria to select whether Gaussian (VICReg) or von Mises-Fisher (SimCLR) assumptions best suit a particular data geometry.

Summary updated

BibTeX
@inproceedings{shwartzziv2022what,
  author = {Ravid Shwartz-Ziv and Randall Balestriero and Yann LeCun},
  title = {{What Do We Maximize In Self-Supervised Learning?}},
  booktitle = {Pre-Training @ ICML},
  year = {2022},
  url = {https://openreview.net/forum?id=FChTGTaVcc},
}
Figure