paper-with-me

Papers

When can we Approximate Wide Contrastive Models with Neural Tangent Kernels and Principal Component Analysis?

2024-03-13 · Gautham Govind Anil, Pascal Esser, Debarghya Ghoshdastidar

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.

📄 PDF Abstract BibTeX arXiv:2403.08673

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive Learning

Methods 이 논문이 사용한 방법론

NTK 설명 없음
Contrastive Learning 설명 없음
PCA Principle Components Analysis (PCA) is an unsupervised method primary used for dimensionality reduction within machine learning. PCA is calculated via a singular value…

Similar Papers 제목 키워드 기반

Few-shot Backdoor Attacks via Neural Tangent Kernels

2022-10-12 · Jonathan Hayase, Sewoong Oh

In a backdoor attack, an attacker injects corrupted examples into the training set. The goal of the attacker is to cause the final trained model to predict the attacker's desired target label when a predefined trigger is…

Backdoor AttackBilevel Optimization

Controlling the Inductive Bias of Wide Neural Networks by Modifying the Kernel's Spectrum

2023-07-26 · Amnon Geifman, Daniel Barzilai, Ronen Basri, Meirav Galun

Wide neural networks are biased towards learning certain functions, influencing both the rate of convergence of gradient descent (GD) and the functions that are reachable with GD in finite training time. As such, there i…

Inductive Bias

Equivariant Neural Tangent Kernels

2024-06-10 · Philipp Misof, Pan Kessel, Jan E. Gerken

Little is known about the training dynamics of equivariant neural networks, in particular how it compares to data augmented training of their non-equivariant counterparts. Recently, neural tangent kernels (NTKs) have eme…

Data Augmentationimage-classificationImage ClassificationMedical Image Analysis+1

Learning with Neural Tangent Kernels in Near Input Sparsity Time

2021-04-01 · Amir Zandieh

The Neural Tangent Kernel (NTK) characterizes the behavior of infinitely wide neural nets trained under least squares loss by gradient descent. However, despite its importance, the super-quadratic runtime of kernel metho…

ARC

Random Gegenbauer Features for Scalable Kernel Methods

2022-02-07 · Insu Han, Amir Zandieh, Haim Avron

We propose efficient random features for approximating a new and rich class of kernel functions that we refer to as Generalized Zonal Kernels (GZK). Our proposed GZK family, generalizes the zonal kernels (i.e., dot-produ…