Contrastive Learning Inverts the Data Generating Process
Roland S. Zimmermann, Yash Sharma, Steffen Schneider, Matthias Bethge, Wieland Brendel
Abstract
Contrastive learning has recently seen tremendous success in self-supervised learning. So far, however, it is largely unclear why the learned representations generalize so effectively to a large variety of downstream tasks. We here prove that feedforward models trained with objectives belonging to the commonly used InfoNCE family learn to implicitly invert the underlying generative model of the observed data. While the proofs make certain statistical assumptions about the generative model, we observe empirically that our findings hold even if these assumptions are severely violated. Our theory highlights a fundamental connection between contrastive learning, generative modeling, and nonlinear independent component analysis, thereby furthering our understanding of the learned representations as well as providing a theoretical foundation to derive more effective contrastive losses. 1
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.
119 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
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 Big Self-Supervised Models are Strong Semi-Supervised Learners
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites What Makes for Good Views for Contrastive Learning?
- Can contrastive learning avoid shortcut solutions? cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Can contrastive learning avoid shortcut solutions? cites A Simple Framework for Contrastive Learning of Visual Representations
- Can contrastive learning avoid shortcut solutions? cites What Makes for Good Views for Contrastive 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 wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
- Big Self-Supervised Models are Strong Semi-Supervised Learners cites A Simple Framework for Contrastive Learning of Visual Representations
- Big Self-Supervised Models are Strong Semi-Supervised Learners cites What Makes for Good Views for Contrastive Learning?
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations cites A Simple Framework for Contrastive Learning of Visual Representations
- What Makes for Good Views for Contrastive Learning? cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers119
- The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor VeitchICML 2024 · 461 citations
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 citations
- 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
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on GraphsYongqiang Chen, Yonggang Zhang, Yatao Bian, Han Yang et al.NeurIPS 2022 · 246 citations
- Can contrastive learning avoid shortcut solutions?Joshua Robinson, Li Sun, Ke Yu, Kayhan Batmanghelich et al.NeurIPS 2021 · 185 citations
Builds on16
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech RepresentationsAlexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, Michael AuliNeurIPS 2020 · 9,451 citations
- Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi et al.NeurIPS 2020 · 2,611 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
- What Makes for Good Views for Contrastive Learning?Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan et al.NeurIPS 2020 · 1,631 citations
Related papers
- InfoNCE Induces Gaussian DistributionRoy Betser, Eyal Gofer, Meir Yossef Levi, Guy GilboaICLR 2026 · 17 citations
- Towards a Unified Framework of Contrastive Learning for Disentangled RepresentationsStefan Matthes, Zhiwei Han, Hao ShenNeurIPS 2023 · 17 citations
- Contrastive Learning is Spectral Clustering on Similarity GraphZhiquan Tan, Yifan Zhang, Jingqin Yang, Yang YuanICLR 2024 · 34 citations
- Towards the Generalization of Contrastive Self-Supervised LearningWeiran Huang, Mingyang Yi, Xuyang Zhao, Zihao JiangICLR 2023 · 21 citations
- A theoretical study of inductive biases in contrastive learningJeff Z. HaoChen, Tengyu MaICLR 2023 · 2 citations
