When can we Approximate Wide Contrastive Models with Neural Tangent Kernels and Principal Component Analysis?
Not on the map. Why?
Abstract (arXiv)
Contrastive learning is a paradigm for learning representations from unlabelled data that has been highly successful for image and text data. Several recent works have examined contrastive losses to claim that contrastive models effectively learn spectral embeddings, while few works show relations between (wide) contrastive models and kernel principal component analysis (PCA). However, it is not known if trained contrastive models indeed correspond to kernel methods or PCA. In this work, we analyze the training dynamics of two-layer contrastive models, with non-linear activation, and answer when these models are close to PCA or kernel methods. It is well known in the supervised setting that neural networks are equivalent to neural tangent kernel (NTK) machines, and that the NTK of infinitely wide networks remains constant during training. We provide the first convergence results of NTK for contrastive losses, and present a nuanced picture: NTK of wide networks remains almost constant for cosine similarity based contrastive losses, but not for losses based on dot product similarity. We further study the training dynamics of contrastive models with orthogonality constraints on output layer, which is implicitly assumed in works relating contrastive learning to spectral embedding. Our deviation bounds suggest that representations learned by contrastive models are close to the principal components of a certain matrix computed from random features. We empirically show that our theoretical results possibly hold beyond two-layer networks.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 38 of its 47 references that are in the map. First posted on arXiv 13 Mar 2024.
Builds on
38 of 47 references.
References · 38
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
- 2018On Lazy Training in Differentiable Programmingcited by 671
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 572
26 more
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2020Understanding the Behaviour of Contrastive Losscited by 397
- 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
- 2022Masked Siamese Networks for Label-Efficient Learningcited by 301
- 2021Understanding self-supervised Learning Dynamics without Contrastive Pairscited by 254
- 2020Theoretical Analysis of Self-Training with Deep Networks on Unlabeled Datacited by 179
- 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 146
- 2020On the linearity of large non-linear models: when and why the tangent kernel is constantcited by 129
- 2022Masked Video Distillation: Rethinking Masked Feature Modeling for Self-supervised Video Representation Learningcited by 90
- 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
- 2020Contrastive estimation reveals topic posterior information to linear modelscited by 54
- 2021The Power of Contrast for Feature Learning: A Theoretical Analysiscited by 53
- 2021Understanding Negative Samples in Instance Discriminative Self-supervised Representation Learningcited by 47
- 2023The SSL Interplay: Augmentations, Inductive Bias, and Generalizationcited by 40
- 2023On the Stepwise Nature of Self-Supervised Learningcited by 36
- 2022Understanding Deep Contrastive Learning via Coordinate-wise Optimizationcited by 35
- 2023Towards a Unified Theoretical Understanding of Non-contrastive Learning via Rank Differential Mechanismcited by 32
- 2021Max-Margin Contrastive Learningcited by 27
- 2021On the Surrogate Gap between Contrastive and Supervised Lossescited by 25
- 2022Contrasting the landscape of contrastive and non-contrastive learningcited by 24
- 2022What shapes the loss landscape of self-supervised learning?cited by 19
- 2022Joint Embedding Self-Supervised Learning in the Kernel Regimecited by 12
- 2023Non-Parametric Representation Learning with Kernelscited by 11
- 2022Augmentation Component Analysis: Modeling Similarity via the Augmentation Overlapscited by 5
- 2023Representation Learning Dynamics of Self-Supervised Modelscited by 3
- 2023Spectal Harmonics: Bridging Spectral Embedding and Matrix Completion in Self-Supervised Learningcited by 2
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Infinite Width Limits of Self Supervised Neural Networkscited by 4
- 2024Infinite Width Limits of Self Supervised Neural Networks17 Nov 2024