Contrastive Learning Can Find An Optimal Basis For Approximately View-Invariant Functions
Daniel D. Johnson, Ayoub El Hanchi, Chris J. Maddison
Abstract
Contrastive learning is a powerful framework for learning self-supervised representations that generalize well to downstream supervised tasks. We show that multiple existing contrastive learning methods can be reinterpreted as learning kernel functions that approximate a fixed positive-pair kernel. We then prove that a simple representation obtained by combining this kernel with PCA provably minimizes the worst-case approximation error of linear predictors, under a straightforward assumption that positive pairs have similar labels. Our analysis is based on a decomposition of the target function in terms of the eigenfunctions of a positive-pair Markov chain, and a surprising equivalence between these eigenfunctions and the output of Kernel PCA. We give generalization bounds for downstream linear prediction using our Kernel PCA representation, and show empirically on a set of synthetic tasks that applying Kernel PCA to contrastive learning models can indeed approximately recover the Markov chain eigenfunctions, although the accuracy depends on the kernel parameterization as well as on the augmentation strength.
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.
16 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
- Complementary Benefits of Contrastive Learning and Self-Training Under Distribution Shift cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
- Complementary Benefits of Contrastive Learning and Self-Training Under Distribution Shift cites A Simple Framework for Contrastive Learning of Visual Representations
- Complementary Benefits of Contrastive Learning and Self-Training Under Distribution Shift cites VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning
- 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 VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
- Rethinking Weak Supervision in Helping Contrastive Learning cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
- Rethinking Weak Supervision in Helping Contrastive Learning 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
- Understanding Augmentation-based Self-Supervised Representation Learning via RKHS Approximation and Regression cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
- Understanding Augmentation-based Self-Supervised Representation Learning via RKHS Approximation and Regression cites A Simple Framework for Contrastive Learning of Visual Representations
- Understanding Augmentation-based Self-Supervised Representation Learning via RKHS Approximation and Regression cites VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning cites Big Self-Supervised Models are Strong Semi-Supervised Learners
- On the Stepwise Nature of Self-Supervised Learning cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
- On the Stepwise Nature of Self-Supervised Learning cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- On the Stepwise Nature of Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- On the Stepwise Nature of Self-Supervised Learning cites VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning
- Bridging Mini-Batch and Asymptotic Analysis in Contrastive Learning: From InfoNCE to Kernel-Based Losses cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Bridging Mini-Batch and Asymptotic Analysis in Contrastive Learning: From InfoNCE to Kernel-Based Losses cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers16
- On the Stepwise Nature of Self-Supervised LearningJames B. Simon, Maksis Knutins, Liu Ziyin, Daniel Geisz et al.ICML 2023 · 45 citations
- Rethinking Weak Supervision in Helping Contrastive LearningJingyi Cui, Weiran Huang, Yifei Wang, Yisen WangICML 2023 · 20 citations
- Understanding Augmentation-based Self-Supervised Representation Learning via RKHS Approximation and RegressionRuntian Zhai, Bingbin Liu, Andrej Risteski, J. Zico Kolter et al.ICLR 2024 · 18 citations
- Complementary Benefits of Contrastive Learning and Self-Training Under Distribution ShiftSaurabh Garg, Amrith Setlur, Zachary C. Lipton, Sivaraman Balakrishnan et al.NeurIPS 2023 · 13 citations
- Bridging Mini-Batch and Asymptotic Analysis in Contrastive Learning: From InfoNCE to Kernel-Based LossesPanagiotis Koromilas, Giorgos Bouritsas, Theodoros Giannakopoulos, Mihalis Nicolaou et al.ICML 2024 · 7 citations
Builds on9
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 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
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised LearningAdrien Bardes, Jean Ponce, Yann LeCunICLR 2022 · 1,226 citations
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 citations
Related papers
- When Can We Approximate Wide Contrastive Models with Neural Tangent Kernels and Principal Component Analysis?Gautham Govind Anil, Pascal Mattia Esser, Debarghya GhoshdastidarAAAI 2025 · 1 citation
- Understanding Contrastive Learning Requires Incorporating Inductive BiasesNikunj Saunshi, Jordan T. Ash, Surbhi Goel, Dipendra Misra et al.ICML 2022 · 130 citations
- Augmentation Component Analysis: Modeling Similarity via the Augmentation OverlapsLu Han, Han-Jia Ye, De-Chuan ZhanICLR 2023
- REBAR: Retrieval-Based Reconstruction for Time-series Contrastive LearningMaxwell A. Xu, Alexander Moreno, Hui Wei, Benjamin M. Marlin et al.ICLR 2024 · 23 citations
- Non-parametric Representation Learning with KernelsPascal Mattia Esser, Maximilian Fleissner, Debarghya GhoshdastidarAAAI 2024 · 11 citations
