The SSL Interplay: Augmentations, Inductive Bias, and Generalization

Vivien Cabannes, Bobak Kiani, Randall Balestriero, Yann LeCun, Alberto Bietti

Abstract

Self-supervised learning (SSL) has achieved remarkable empirical success, yet it remains theoretically opaque and prone to practical instabilities such as representation collapse. This paper introduces a unified theoretical framework that models SSL through the lens of spectral operators. By analyzing the interplay between data augmentations, model architecture (inductive bias), and regularization, we derive sharper generalization bounds and provide a mathematical foundation for understanding how SSL models learn meaningful representations. Our analysis, conducted within the kernel regime, offers practical guidelines for optimizing downstream performance and preventing training failure.

Introduction

Self-supervised learning (SSL) has transformed the landscape of artificial intelligence by enabling models to learn from vast quantities of unlabeled data. Despite this success, SSL is notoriously difficult to tune. Practitioners frequently encounter representation collapse—where the model maps all inputs to a single constant vector—and struggle to explain why specific augmentations, such as random cropping, are more effective than others.

This research bridges the gap between empirical practice and theoretical understanding. We provide a mathematical "map" that details the interaction between the data distribution, the choice of augmentations, and the specific architecture of the neural network, offering a rigorous explanation for the "black box" of SSL.

Theoretical Framework: The Three Operators

To analyze SSL, we utilize the kernel regime, studying linear classes of functions in a Reproducing Kernel Hilbert Space (RKHS). This allows for the application of precise tools from spectral analysis and convex optimization. We define three key operators that govern the learning process:

  1. The Augmentation Operator ($T$): This operator captures the intrinsic properties of the data and the chosen augmentations. It defines the features to which the model should remain invariant, effectively acting as a spectral filter.
  2. The Architecture Operator ($K$): This represents the model's inductive bias. It defines the space of functions the model can easily represent, typically favoring simplicity, smoothness, or locality.
  3. The Interplay Operator ($T_\lambda$): A combined operator tuned by a regularization parameter $\lambda$. This operator determines the final learned representation by balancing the augmentation requirements with the architectural constraints.

By generalizing popular loss functions—including contrastive methods like SimCLR and non-contrastive methods like VICReg—we provide a unified analysis applicable across various SSL paradigms.

Key Insights

Augmentations as Spectral Filters

Our framework demonstrates that augmentations act as filters on the data's spectral components. For instance, random cropping filters out long-range dependencies, forcing the model to focus on local, robust features. This explains why certain augmentations are critical for specific data modalities.

The Role of Inductive Bias

Neural network architecture is more than a container for weights; it acts as a crucial regularizer. This inductive bias pushes the model toward simpler representations, preventing it from fitting high-frequency noise. Representation collapse occurs when the model has excessive capacity and insufficient regularization, allowing it to satisfy the training objective by fitting "noise" eigenfunctions rather than meaningful structures.

Generalization and Convergence

We provide new generalization bounds that are significantly sharper than previous estimates. Notably, we improve the theoretical convergence rates for pretraining loss from $O(n^{-1/2})$ to $O(n^{-1})$, aligning theoretical predictions with the fast learning rates observed in practice. Furthermore, we derive the exact closed-form solution for the optimal representation $\psi$, allowing for the prediction of learned features prior to training.

Empirical Validation and Practical Guidelines

Our theoretical derivations were validated using several datasets, including the Boolean Hypercube, the Sphere, and the Half-Moon synthetic dataset. These experiments confirmed that SSL effectively recovers manifold structures and that theoretical predictions for $L^2$ error on downstream tasks match experimental results.

Based on our findings, we offer the following guidelines for practitioners:

  • To Prevent Collapse: Reduce model capacity through stronger regularization or simpler architectures, or increase the strength of augmentations.
  • Data Efficiency: Fresh samples are almost always more beneficial than multiple augmentations of the same sample. However, "multi-crop" strategies are effective because they reduce the variance of the empirical risk estimate, leading to faster convergence.

Limitations and Future Work

This study is primarily situated in the kernel regime (linearized models). While this accurately describes very wide neural networks (the Neural Tangent Kernel regime), it may not fully capture the dynamic "feature learning" that occurs in finite-width networks where the kernel evolves during training. Future research will explore non-linear training dynamics and the specific role of projection heads within this spectral framework.

Summary updated

BibTeX
@inproceedings{cabannes2023ssl,
  author = {Vivien Cabannes and Bobak Kiani and Randall Balestriero and Yann LeCun and Alberto Bietti},
  title = {{The SSL Interplay: Augmentations, Inductive Bias, and Generalization}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=d2aohFmZoB},
}
Figure