mlsanityData to 7 Oct 2026

Generalization Analysis for Contrastive Representation Learning

arXiv 2302.12383 ↗First posted 24 Feb 2023cs.LG cs.AIcited by 25

Not on the map. Why?

Abstract (arXiv)

Recently, contrastive learning has found impressive success in advancing the state of the art in solving various machine learning tasks. However, the existing generalization analysis is very limited or even not meaningful. In particular, the existing generalization error bounds depend linearly on the number k of negative examples while it was widely shown in practice that choosing a large k is necessary to guarantee good generalization of contrastive learning in downstream tasks. In this paper, we establish novel generalization bounds for contrastive learning which do not depend on k, up to logarithmic terms. Our analysis uses structural results on empirical covering numbers and Rademacher complexities to exploit the Lipschitz continuity of loss functions. For self-bounding Lipschitz loss functions, we further improve our results by developing optimistic bounds which imply fast rates in a low noise condition. We apply our results to learning with both linear representation and nonlinear representation by deep neural networks, for both of which we derive Rademacher complexity bounds to get improved generalization bounds.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 32 of its 57 references that are in the map. First posted on arXiv 24 Feb 2023.

Builds on

32 of 57 references.

References · 32

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  6. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  7. 2020Supervised Contrastive Learningcited by 2,803
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  9. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  10. 2019Contrastive Multiview Codingcited by 1,297
  11. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
  12. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
20 more
  1. 2020Debiased Contrastive Learningcited by 354
  2. 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
  3. 2017Size-Independent Sample Complexity of Neural Networkscited by 289
  4. 2020Representation Learning via Invariant Causal Mechanismscited by 197
  5. 2020Predicting What You Already Know Helps: Provable Self-Supervised Learningcited by 152
  6. 2020Contrastive learning, multi-view redundancy, and linear modelscited by 146
  7. 2016A vector-contraction inequality for Rademacher complexitiescited by 141
  8. 2022Chaos is a Ladder: A New Theoretical Understanding of Contrastive Learning via Augmentation Overlapcited by 105
  9. 2022Understanding Contrastive Learning Requires Incorporating Inductive Biasescited by 96
  10. 2020Understanding Self-supervised Learning with Dual Deep Networkscited by 62
  11. 2020Contrastive estimation reveals topic posterior information to linear modelscited by 54
  12. 2021Investigating the Role of Negatives in Contrastive Representation Learningcited by 54
  13. 2021Understanding Negative Samples in Instance Discriminative Self-supervised Representation Learningcited by 47
  14. 2022Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performancecited by 40
  15. 2021On the Surrogate Gap between Contrastive and Supervised Lossescited by 25
  16. 2019PAC-Bayesian Contrastive Unsupervised Representation Learningcited by 20
  17. 2020Self-supervised Learning from a Multi-view Perspectivecited by 18
  18. 2015Multi-class SVMs: From Tighter Data-Dependent Generalization Bounds to Novel Algorithmscited by 14
  19. 2016Generalization error bounds for learning to rank: Does the length of document lists matter?cited by 4
  20. 2013Guaranteed Classification via Regularized Similarity Learningcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 13; 2026: 8.

25 papers.

Sort:

By area:

  1. 2023Towards Understanding the Mechanism of Contrastive Learning via Similarity Structure: A Theoretical Analysiscited by 6
  2. 2024Tight PAC-Bayesian Risk Certificates for Contrastive Learningcited by 6
  3. 2025An Augmentation Overlap Theory of Contrastive Learningcited by 5
  4. 2025Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settingscited by 3
  5. 2025An Augmentation-Aware Theory for Self-Supervised Contrastive Learningcited by 3
  6. 2024On Discriminative Probabilistic Modeling for Self-Supervised Representation Learningcited by 2
  7. 2025A Statistical Learning Perspective on Semi-dual Adversarial Neural Optimal Transport Solverscited by 2
  8. 2025Probabilistic Variational Contrastive Learningcited by 2
  9. 2025Unmasking Puppeteers: Leveraging Biometric Leakage to Expose Impersonation in AI-Based Videoconferencingcited by 2
  10. 2024Adv-SSL: Adversarial Self-Supervised Representation Learning with Theoretical Guaranteescited by 1
  11. 2025How does Labeling Error Impact Contrastive Learning? A Perspective from Data Dimensionality Reductioncited by 1
  12. 2025Enhancing Small-Scale Dataset Expansion with Triplet-Connection-based Sample Re-Weightingcited by 1
13 more
  1. 2025LIHE: Linguistic Instance-Split Hyperbolic-Euclidean Framework for Generalized Weakly-Supervised Referring Expression Comprehensioncited by 1
  2. 2025Towards Efficient Contrastive PAC Learningcited by 0
  3. 2025Contrastive Learning with Nasty Noisecited by 0
  4. 2025Rate-Distortion Limits for Multimodal Retrieval: Theory, Optimal Codes, and Finite-Sample Guaranteescited by 0
  5. 2025Generalization Bounds for Semi-supervised Matrix Completion with Distributional Side Informationcited by 0
  6. 2026Towards Initialization-dependent and Non-vacuous Generalization Bounds for Overparameterized Shallow Neural Networkscited by 0
  7. 2026Frequency-Corrupt Based Graph Self-Supervised Learningcited by 0
  8. 2026Meta Additive Model: Interpretable Sparse Learning With Auto Weightingcited by 0
  9. 2026On the Stability and Generalization of First-order Bilevel Minimax Optimizationcited by 0
  10. 2026Fast Rates for Semi-Supervised Learning via Data-Augmentation Graph Regularizationcited by 0
  11. 2026Similarity search generalisation in contrastive learning with InfoNCE losscited by 0
  12. 2026Expressivity In Multimodal Contrastive Learningcited by 0
  13. 2026Optimal VC Dimension of Contrastive Learning with Margincited by 0