On minimal variations for unsupervised representation learning

Vivien Cabannes, Alberto Bietti, Randall Balestriero · DOI

Abstract

Modern self-supervised learning (SSL) has achieved remarkable success in learning useful representations without human labels. However, its theoretical foundations have remained largely empirical. This paper introduces a unifying framework that links SSL to classical manifold learning through the minimal variations principle. We show that SSL objectives, when properly constrained, converge toward the eigenfunctions of the Laplacian operator, effectively uncovering the intrinsic geometry of the data manifold.

Introduction

The success of SSL—training models to recognize that different augmentations of the same input represent the same underlying concept—often feels like "black magic." While effective, we lack a rigorous explanation for why these heuristics work or how they relate to established non-parametric methods like spectral clustering or diffusion maps. This work addresses this gap by formalizing the "low-variation hypothesis": the idea that target functions for downstream tasks are likely to be smooth or constant over the regions where data is densely populated.

The Minimal Variations Framework

The authors compare three distinct mathematical approaches to representation learning:

  1. Self-Supervised Learning (SSL): Methods like SimCLR or VICReg use data augmentations to estimate "finite differences," implicitly forcing the representation function $\varphi$ to have a small gradient ($\nabla \varphi \approx 0$) along the data manifold.
  2. Graph Laplacians: A classical method that minimizes variation across a graph of connected data points.
  3. Dirichlet Energy: The "gold standard" for smoothness, which directly minimizes the norm of the gradient $\|\nabla \varphi\|^2$.

A key theoretical contribution is proving that SSL objectives, combined with diversity constraints to prevent "collapse" (where the model outputs a constant value), are mathematically equivalent to finding the eigenfunctions of the Laplacian operator.

Experimental Results

To validate this theory, the authors utilize the Two Half-Moons synthetic dataset. This 2D environment allows for clear visualization of the learned functions and their level sets across different methods.

Visual Convergence

The experiments demonstrate that SSL, Graph Laplacians, and Dirichlet Energy recover nearly identical functions. Specifically, they identify the first few non-trivial eigenfunctions of the data manifold.

Learned first eigenfunction separating the two half-moons.

The first eigenfunction (shown above) effectively separates the two crescent shapes, providing a robust feature for binary classification. Higher-order eigenfunctions capture more granular structures, such as variations along the length of the crescents.

Higher-order eigenfunction capturing variation along the manifold structure.

Downstream Performance

In a 4-class linear probing task—where each moon is split into top and bottom halves—all three methods achieved high accuracy (95.15% to 97.32%). This confirms that the "minimal variation" functions are indeed the optimal features for tasks governed by the data's geometry.

Discussion and Insights

  • Augmentations as Gradients: SSL augmentations act as a stochastic method for gradient estimation. By requiring $\varphi(x) \approx \varphi(x + \delta)$, the model is forced to be smooth.
  • Robustness Off-Manifold: Unlike pure graph-based methods, SSL augmentations push data slightly away from the thin manifold. This forces the neural network to be well-behaved in the "empty space" between clusters, enhancing robustness to distribution shifts.
  • Understanding Collapse: The well-known failure mode of "collapse" in SSL is shown to be equivalent to finding the trivial first eigenfunction of the Laplacian, which is always a constant.

Conclusion

By grounding SSL in the minimal variations principle, this work provides a "first principles" explanation for its success. While current experiments are limited to synthetic data, this theoretical link offers a roadmap for more principled hyperparameter selection and augmentation design in high-dimensional real-world applications.

Summary updated

BibTeX
@inproceedings{cabannes2023minimal,
  author = {Vivien Cabannes and Alberto Bietti and Randall Balestriero},
  title = {{On minimal variations for unsupervised representation learning}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=v5FbzuWgkW},
}
Figure