Abstract
Self-supervised learning (SSL) leverages unlabeled data by aligning different views of the same image. However, these methods often suffer from model collapse or semantic misalignment. This paper introduces Distribution Matching (DM), a framework that enforces a structured geometric prior on the representation space. By matching the empirical distribution of representations to a predefined reference distribution using Mallows' distance, DM avoids collapse and improves transferability. We provide theoretical guarantees linking pretraining success to downstream accuracy and demonstrate state-of-the-art performance on standard benchmarks.
Introduction: The Challenge of Model Collapse
In computer vision, the abundance of unlabeled data contrasts sharply with the scarcity of labeled datasets. Self-supervised learning (SSL) addresses this by teaching models that different augmentations of the same image should have similar representations. A persistent challenge in SSL is model collapse, where the network maps all inputs to a single point to minimize the alignment loss.
Existing solutions, such as contrastive learning with negative samples or architectural constraints (e.g., stop-gradients), can be computationally intensive or semantically ambiguous. For instance, pushing apart two different images of dogs simply because they are not the same instance can hinder the learning of generalizable features. There is a need for a geometrically intuitive and theoretically grounded approach to regularize the representation space.
Methods: Distribution Matching (DM)
The proposed Distribution Matching (DM) framework prevents collapse by forcing the learned representations to follow a structured "template" distribution.
1. Reference Distribution Construction
The authors define a reference distribution consisting of well-separated clusters on the surface of a high-dimensional sphere. These clusters act as "latent concepts" that the model must populate.
2. Alignment and Matching Loss
The objective function combines a standard alignment loss—ensuring augmented views of the same image are close—with a distribution matching loss. The latter uses Mallows' distance (a form of Wasserstein distance) to measure the discrepancy between the model's output distribution and the reference distribution. This can be conceptualized as the optimal transport cost of moving the model's representations to the predefined cluster locations.
3. Mini-max Optimization
To efficiently minimize the Mallows' distance, the authors employ a mini-max optimization strategy. A "critic" network identifies differences between the current and target distributions, while the encoder network updates its parameters to minimize these differences, similar to the training of Generative Adversarial Networks (GANs).
Key Insights and Results
The Power of Over-clustering
A significant finding is that "over-clustering"—using more reference clusters ($K'$) than the number of downstream classes ($K$)—greatly enhances performance. On CIFAR-100, increasing the number of reference concepts from 32 to 384 improved linear probe accuracy from approximately 45% to 66%. This suggests that the model captures fine-grained sub-classes, leading to more robust feature representations.
Empirical Performance
DM was evaluated on CIFAR-10, CIFAR-100, and STL-10, consistently outperforming established methods like SimCLR, Barlow Twins, and VicReg.
- CIFAR-100: DM achieved 66.71% linear accuracy, surpassing SimCLR (64.16%).
- STL-10: DM reached 90.22% linear accuracy, outperforming SimCLR (87.44%).
Theoretical Foundations
Unlike many empirical SSL studies, this work provides end-to-end theoretical guarantees. The authors present Population and Sample Theorems, proving that minimizing the DM loss on unlabeled data bounds the error rate on downstream tasks, even when labeled data is scarce.
Discussion and Future Work
While DM provides a robust framework for SSL, the complexity of the critic network requires careful tuning; an overly complex critic can degrade representation quality. Future research may explore alternative reference shapes beyond spherical clusters or different divergence measures like KL-divergence. Additionally, the theoretical guarantees are sensitive to the quality of data augmentations, highlighting the need for "theoretically aligned" augmentation strategies that preserve semantic integrity.
Summary updated