Optimal Sample Complexity of Contrastive Learning
Noga Alon, Dmitrii Avdiukhin, Dor Elboim, Orr Fischer, Grigory Yaroslavtsev
摘要
Contrastive learning is a highly successful technique for learning representations of data from labeled tuples, specifying the distance relations within the tuple. We study the sample complexity of contrastive learning, i.e. the minimum number of labeled tuples sufficient for getting high generalization accuracy. We give tight bounds on the sample complexity in a variety of settings, focusing on arbitrary distance functions, both general -distances, and tree metrics. Our main result is an (almost) optimal bound on the sample complexity of learning -distances for integer . For any we show that labeled tuples are necessary and sufficient for learning -dimensional representations of -point datasets. Our results hold for an arbitrary distribution of the input samples and are based on giving the corresponding bounds on the Vapnik-Chervonenkis/Natarajan dimension of the associated problems. We further show that the theoretical bounds on sample complexity obtained via VC/Natarajan dimension can have strong predictive power for experimental results, in contrast with the folklore belief about a substantial gap between the statistical learning theory and the practice of deep learning.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Formal Models of Active Learning from Contrastive Examples 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- The Complexity of Finding Local Optima in Contrastive Learning 引用了 Embedding Dimension of Contrastive Learning and k-Nearest Neighbors
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- On the Alignment Between Supervised and Self-Supervised Contrastive Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- On the Alignment Between Supervised and Self-Supervised Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- On the Alignment Between Supervised and Self-Supervised Contrastive Learning 引用了 Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning
- On the Alignment Between Supervised and Self-Supervised Contrastive Learning 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Embedding Dimension of Contrastive Learning and k-Nearest Neighbors 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Embedding Dimension of Contrastive Learning and k-Nearest Neighbors 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Embedding Dimension of Contrastive Learning and k-Nearest Neighbors 引用了 Debiased Contrastive Learning
- SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Debiased Contrastive Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Debiased Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
引用它的顶会 Paper10
- Self-Supervised Contrastive Learning is Approximately Supervised Contrastive LearningAchleshwar Luthra, Tianbao Yang, Tomer GalantiNeurIPS 2025 · 7 次引用
- Embedding Dimension of Contrastive Learning and k-Nearest NeighborsDmitrii Avdiukhin, Vaggos Chatziafratis, Orr Fischer, Grigory YaroslavtsevNeurIPS 2024 · 5 次引用
- On the Alignment Between Supervised and Self-Supervised Contrastive LearningAchleshwar Luthra, Priyadarsi Mishra, Tomer GalantiICLR 2026 · 4 次引用
- Formal Models of Active Learning from Contrastive ExamplesFarnam Mansouri, Hans Simon, Adish Singla, Yuxin Chen 等NeurIPS 2025 · 2 次引用
- The Complexity of Finding Local Optima in Contrastive LearningJingming Yan, Yiyuan Luo, Vaggos Chatziafratis, Ioannis Panageas 等NeurIPS 2025 · 2 次引用
它引用的 Paper19
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
- Debiased Contrastive LearningChing-Yao Chuang, Joshua Robinson, Yen-Chen Lin, Antonio Torralba 等NeurIPS 2020 · 761 次引用
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
相关 Paper
- Tree Learning: Optimal Sample Complexity and AlgorithmsDmitrii Avdiukhin, Grigory Yaroslavtsev, Danny Vainstein, Orr Fischer 等AAAI 2023 · 1 次引用
- Generalization Analysis for Supervised Contrastive Representation Learning under Non-IID SettingsNong Minh Hieu, Antoine LedentICML 2025
- Provable Accuracy Collapse of Embedding-Based Representations under Dimensionality MismatchDionysis Arvanitakis, Vaggos Chatziafratis, Yiyuan LuoICML 2026
- VC dimension and distribution-free sample-based testingEric Blais, Renato Ferreira Pinto Jr., Nathaniel HarmsSTOC 2021
- Generalization Analysis for Contrastive Representation LearningYunwen Lei, Tianbao Yang, Yiming Ying, Ding-Xuan ZhouICML 2023 · 28 次引用
