Self-supervised learning (SSL) has revolutionized representation learning by removing the need for labeled data. The field is currently divided into two dominant paradigms: Contrastive Learning (CL), which differentiates between positive and negative pairs (e.g., SimCLR), and Non-Contrastive Learning (non-CL), which relies solely on positive pairs and architectural constraints to prevent representation collapse (e.g., BYOL, SimSiam).
While non-CL methods achieve state-of-the-art results, the theoretical justification for their success remains elusive. A common "folk conjecture" suggests that non-CL succeeds simply by avoiding "complete collapse" (where the model outputs a constant vector) or "dimensional collapse." This paper challenges that notion, demonstrating that non-CL objectives are fraught with "bad" global optima—solutions that are not collapsed but still fail to capture the underlying structure of the data.
Theoretical Framework: Sparse Coding
To investigate this, the authors utilize a sparse coding generative model ($x = Mz + \epsilon$), where $M$ represents a ground-truth dictionary. This synthetic setup allows for a rigorous comparison between learned features and the true underlying variables. In real-world datasets like ImageNet, the lack of a known "perfect" feature set makes it impossible to prove if a model has found a truly "bad" global optimum or merely a slightly sub-optimal one.
The study employs a rigorous landscape and training dynamics analysis, focusing on how gradient descent moves through the parameter space. They analyze simple one-layer ReLU and linear networks to keep the mathematics tractable while capturing the essential non-linearities of modern encoders.
Landscape Analysis: The Safety of Contrastive Learning
The core of the paper lies in its landscape analysis. Theorem 1 proves that for a noiseless sparse coding model, the non-CL loss has infinitely many non-collapsed "bad" global optima. These are solutions that are perfectly valid according to the loss function but are "far away" from the ground truth.
In contrast, the contrastive loss is shown to be far more robust. Under the same conditions, the CL loss is only minimized when the model correctly recovers the ground truth dictionary (up to a permutation). This suggests that CL is mathematically "safer" than its non-contrastive counterparts.
Training Dynamics: The Role of the Predictor
The authors further demonstrate that the success of non-CL is highly dependent on specific architectural choices and training dynamics:
- The Predictor as a Compass: The "predictor" head used in SimSiam/BYOL is not just an extra layer; it is essential for avoiding bad minima. Without it, the model often fails to improve beyond its random initialization.
- Linear Failure vs. ReLU Success: Theorem 2 shows that a linear dual network trained with non-CL loss cannot learn features beyond a linear combination of its initial random weights. However, Theorem 3 shows that with a ReLU activation, row-normalization, and a "warm-start," the training dynamics can eventually converge to the ground truth.
- Fragility: Non-CL success is highly sensitive to the interaction between the optimizer, the specific non-linearity, and the normalization scheme (such as Batch Norm).
Empirical Confirmation
Empirical results confirm these theoretical predictions. While CL consistently recovers the ground truth dictionary across various sparsity levels, non-CL (without a predictor) fails to achieve high "max-cosine" similarity with the true features. This confirms the existence of those bad minima in practice and underscores that avoiding collapse is not a sufficient condition for learning useful representations.
Limitations and Future Work
The primary limitation of this study is the simplicity of the data model. While sparse coding is a natural model for many data types, it does not capture the full hierarchical complexity of real-world images. Additionally, the analysis focuses on shallow networks; the interaction between depth and the optimization landscape remains an open question. Future work may investigate whether other self-supervised objectives, such as those based on information redundancy (e.g., Barlow Twins), suffer from similar landscape issues.
Summary updated