Lune

AAAI2025Top-tier venue

Generalization Analysis for Deep Contrastive Representation Learning

Nong Minh Hieu, Antoine Ledent, Yunwen Lei, Cheng Yeaw Ku

Abstract

In this paper, we present generalization bounds for the unsupervised risk in the Deep Contrastive Representation Learning framework, which employs deep neural networks as representation functions. We approach this problem from two angles. On the one hand, we derive a parameter-counting bound that scales with the overall size of the neural networks. On the other hand, we provide a normbased bound that scales with the norms of neural networks' weight matrices. Ignoring logarithmic factors, the bounds are independent of k, the size of the tuples provided for contrastive learning. To the best of our knowledge, this property is only shared by one other work, which employed a different proof strategy and suffers from very strong exponential dependence on the depth of the network which is due to a use of the peeling technique. Our results circumvent this by leveraging powerful results on covering numbers with respect to uniform norms over samples. In addition, we utilize loss augmentation techniques to further reduce the dependency on matrix norms and the implicit dependence on network depth. In fact, our techniques allow us to produce many bounds for the contrastive learning setting with similar architectural dependencies as in the study of the sample complexity of ordinary loss functions, thereby bridging the gap between the learning theories of contrastive learning and DNNs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mitigating Spurious Features in Contrastive Learning with Spectral Regularization cites Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings
  • Mitigating Spurious Features in Contrastive Learning with Spectral Regularization cites A Simple Framework for Contrastive Learning of Visual Representations
  • Contrastive Multi-View Representation Learning on Graphs cites A Simple Framework for Contrastive Learning of Visual Representations
  • Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings cites Contrastive Multi-View Representation Learning on Graphs
  • Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings cites A Simple Framework for Contrastive Learning of Visual Representations
  • Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings cites Supervised Contrastive Learning
  • Statistical Consistency and Generalization of Contrastive Representation Learning cites Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings
  • Statistical Consistency and Generalization of Contrastive Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • A Simple Framework for Contrastive Learning of Visual Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • Generalization Bounds for Rank-sparse Neural Networks cites Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings
  • A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning cites Mitigating Spurious Features in Contrastive Learning with Spectral Regularization
  • A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning cites Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID Settings
  • A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning cites Generalization Bounds for Rank-sparse Neural Networks
  • A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning cites Supervised Contrastive Learning
  • Supervised Contrastive Learning cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Mitigating Spurious Features in Contrastive Learning with Spectral RegularizationNaghmeh Ghanooni, Waleed Mustafa, Dennis Wagner, Sophie Fellenz et al.NeurIPS 2025 · 4 citations
  2. Generalization Bounds for Rank-sparse Neural NetworksAntoine Ledent, Rodrigo Alves, Yunwen LeiNeurIPS 2025 · 4 citations
  3. Statistical Consistency and Generalization of Contrastive Representation LearningYuanfan Li, Xiyuan Wei, Tianbao Yang, Yiming YingICML 2026 · 1 citation
  4. Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID SettingsNong Minh Hieu, Antoine LedentICML 2025
  5. A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation LearningMinh Hieu Nong, Antoine LedentICML 2026

Builds on27

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  4. Contrastive Multi-View Representation Learning on GraphsKaveh Hassani, Amir Hosein Khas AhmadiICML 2020 · 1,663 citations
  5. Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 citations

Related papers

  1. Generalization Analysis for Contrastive Representation LearningYunwen Lei, Tianbao Yang, Yiming Ying, Ding-Xuan ZhouICML 2023 · 28 citations
  2. An Augmentation-Aware Theory for Self-Supervised Contrastive LearningJingyi Cui, Hongwei Wen, Yisen WangICML 2025
  3. Norm-Based Generalisation Bounds for Deep Multi-Class Convolutional Neural NetworksAntoine Ledent, Waleed Mustafa, Yunwen Lei, Marius KloftAAAI 2021 · 24 citations
  4. Nearly-tight Bounds for Deep Kernel LearningYifan Zhang, Min-Ling ZhangICML 2023 · 3 citations
  5. Toward Understanding the Feature Learning Process of Self-supervised Contrastive LearningZixin Wen, Yuanzhi LiICML 2021 · 162 citations
Dusk over the sea between two cliffs drawn in fine vertical lines