A Generalized Learning Framework for Self-Supervised Contrastive Learning

Lingyu Si, Jingyao Wang, Wenwen QiangarXiv 2025 · DOI

Self-supervised contrastive learning (SSCL) has transformed how we train vision models without human-labeled data. By teaching a model that different augmentations of the same image should have similar representations, we can learn powerful features. However, a persistent issue in standard SSCL is that every image is treated as a unique category. This often prevents the model from recognizing that semantically similar images—like two different photos of a cat—should be clustered together in the feature space.

In the paper "A Generalized Learning Framework for Self-Supervised Contrastive Learning," researchers from the Chinese Academy of Sciences introduce a "plug-and-play" module designed to fix this clustering problem by calibrating the feature space.

The Generalized Learning Framework (GLF)

The authors propose the Generalized Learning Framework (GLF), which conceptually separates contrastive learning into two distinct components: aligning and constraining.

The GLF architecture decomposes contrastive learning into aligning (CL) and constraining (DCM, LPM) parts.

While traditional methods like SimCLR or MoCo focus heavily on alignment (ensuring different views of one image are similar) and uniformity (ensuring features are spread evenly), the GLF argues that the uniformity constraint is often too rigid. It can force images from the same semantic class apart just to maintain an even distribution. The GLF replaces this with a more flexible "constraining" part that encourages better intra-class compactness and inter-class separability.

Adaptive Distribution Calibration (ADC)

The core innovation is Adaptive Distribution Calibration (ADC). This module can be integrated into existing frameworks like SimCLR, BYOL, or Barlow Twins with minimal overhead. It relies on two key sub-modules:

  1. Distribution Calibration Module (DCM): This module uses the mathematical properties of Gaussian and t-distributions to create a "push-pull" effect. By modeling the local feature space and minimizing the KL divergence between a tight Gaussian and a heavy-tailed t-distribution, the model naturally pulls nearby similar samples closer and pushes distant, dissimilar ones further away.
  2. Local Preserving Module (LPM): To ensure the model doesn't collapse or get misled by outliers, the LPM uses a Dirichlet Distribution and a prior (often from a pre-trained model like CLIP) to maintain the geometric relationships of the original input space.
The "push-pull" mechanism: minimizing divergence between Gaussian and t-distributions forces tighter clustering.

This "push-pull" geometry is highly effective because the t-distribution's fat tails provide a natural gradient that "tucks in" points near the anchor while "kicking out" those further away. The authors even provide a theoretical proof (Theorem 1) showing that minimizing feature variance within latent categories directly improves downstream classification performance.

Experimental Results

The researchers tested ADC across a wide range of benchmarks, from standard datasets like CIFAR-10 and STL-10 to large-scale ImageNet and downstream tasks like object detection on PASCAL VOC.

  • Performance Gains: Adding ADC consistently improved results. For instance, SimCLR+ADC improved linear probe accuracy on CIFAR-10 from 91.80% to 93.46%. On STL-10, BYOL+ADC reached 94.01%, a gain of over 2% over the baseline.
  • Transferability: In object detection, MoCo+ADC achieved an AP50 of 79.0, outperforming both the standard MoCo (77.1) and even the supervised baseline (74.4).
  • Real-World Utility: The framework was also validated on specialized coastal monitoring datasets for ship classification and detection, demonstrating its robustness in practical applications.

Conclusion

The Generalized Learning Framework moves the field beyond the "one-size-fits-all" uniformity constraint. By introducing a geometrically-aware calibration process, ADC allows self-supervised models to organize their feature spaces more naturally. This "plug-and-play" approach offers a significant performance boost for existing contrastive learning algorithms while maintaining theoretical rigor.

Summary updated

BibTeX
@misc{si2025generalized,
  author = {Lingyu Si and Jingyao Wang and Wenwen Qiang},
  title = {{A Generalized Learning Framework for Self-Supervised Contrastive Learning}},
  year = {2025},
  eprint = {2508.13596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13596},
}
Figure