Lune

ICML2022Top-tier venue

Do More Negative Samples Necessarily Hurt In Contrastive Learning?

Pranjal Awasthi, Nishanth Dikkala, Pritish Kamath

Abstract

Recent investigations in noise contrastive estimation suggest, both empirically as well as theoretically, that while having more "negative samples" in the contrastive loss improves downstream classification performance initially, beyond a threshold, it hurts downstream performance due to a "collision-coverage" trade-off. But is such a phenomenon inherent in contrastive learning? We show in a simple theoretical setting, where positive pairs are generated by sampling from the underlying latent class (introduced by Saunshi et al. (ICML 2019)), that the downstream performance of the representation optimizing the (population) contrastive loss in fact does not degrade with the number of negative samples. Along the way, we give a structural characterization of the optimal representation in our framework, for noise contrastive estimation. We also provide empirical support for our theoretical results on CIFAR-10 and CIFAR-100 datasets.

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.

14 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

  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites A Simple Framework for Contrastive Learning of Visual Representations
  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style cites A Simple Framework for Contrastive Learning of Visual Representations
  • Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
  • Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • On the Alignment Between Supervised and Self-Supervised Contrastive Learning cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • On the Alignment Between Supervised and Self-Supervised Contrastive Learning cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • On the Alignment Between Supervised and Self-Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • On the Alignment Between Supervised and Self-Supervised Contrastive Learning cites Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning
  • Embedding Dimension of Contrastive Learning and k-Nearest Neighbors cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • Embedding Dimension of Contrastive Learning and k-Nearest Neighbors cites Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style
  • Embedding Dimension of Contrastive Learning and k-Nearest Neighbors cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Embedding Dimension of Contrastive Learning and k-Nearest Neighbors cites A Simple Framework for Contrastive Learning of Visual Representations
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Improving Self-Supervised Learning by Characterizing Idealized Representations cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • Improving Self-Supervised Learning by Characterizing Idealized Representations cites Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style
  • Improving Self-Supervised Learning by Characterizing Idealized Representations cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Improving Self-Supervised Learning by Characterizing Idealized Representations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Improving Self-Supervised Learning by Characterizing Idealized Representations cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Improving Self-Supervised Learning by Characterizing Idealized RepresentationsYann Dubois, Stefano Ermon, Tatsunori B. Hashimoto, Percy LiangNeurIPS 2022 · 50 citations
  2. Self-Supervised Contrastive Learning is Approximately Supervised Contrastive LearningAchleshwar Luthra, Tianbao Yang, Tomer GalantiNeurIPS 2025 · 7 citations
  3. Headless Language Models: Learning without Predicting with Contrastive Weight TyingNathan Godey, Éric Villemonte de la Clergerie, Benoît SagotICLR 2024 · 5 citations
  4. Embedding Dimension of Contrastive Learning and k-Nearest NeighborsDmitrii Avdiukhin, Vaggos Chatziafratis, Orr Fischer, Grigory YaroslavtsevNeurIPS 2024 · 5 citations
  5. On the Alignment Between Supervised and Self-Supervised Contrastive LearningAchleshwar Luthra, Priyadarsi Mishra, Tomer GalantiICLR 2026 · 4 citations

Builds on11

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
  4. Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 citations
  5. Self-Supervised Learning with Data Augmentations Provably Isolates Content from StyleJulius von Kügelgen, Yash Sharma, Luigi Gresele, Wieland Brendel et al.NeurIPS 2021 · 421 citations

Related papers

  1. On the Surrogate Gap between Contrastive and Supervised LossesHan Bao, Yoshihiro Nagano, Kento NozawaICML 2022 · 27 citations
  2. Understanding Contrastive Learning Requires Incorporating Inductive BiasesNikunj Saunshi, Jordan T. Ash, Surbhi Goel, Dipendra Misra et al.ICML 2022 · 130 citations
  3. A theoretical study of inductive biases in contrastive learningJeff Z. HaoChen, Tengyu MaICLR 2023 · 2 citations
  4. Generalization Analysis for Contrastive Representation LearningYunwen Lei, Tianbao Yang, Yiming Ying, Ding-Xuan ZhouICML 2023 · 28 citations
  5. Statistical Consistency and Generalization of Contrastive Representation LearningYuanfan Li, Xiyuan Wei, Tianbao Yang, Yiming YingICML 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines