Contrastive Learning Can Find An Optimal Basis For Approximately View-Invariant Functions

10/04/2022
by   Daniel D. Johnson, et al.
0

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.

READ FULL TEXT

page 8

page 9

page 32

page 33

research
09/29/2022

Joint Embedding Self-Supervised Learning in the Kernel Regime

The fundamental goal of self-supervised learning (SSL) is to produce use...
research
04/01/2023

Towards Understanding the Mechanism of Contrastive Learning via Similarity Structure: A Theoretical Analysis

Contrastive learning is an efficient approach to self-supervised represe...
research
03/27/2023

Contrastive Learning Is Spectral Clustering On Similarity Graph

Contrastive learning is a powerful self-supervised learning method, but ...
research
09/05/2023

Non-Parametric Representation Learning with Kernels

Unsupervised and self-supervised representation learning has become popu...
research
09/06/2023

Contrastive Learning as Kernel Approximation

In standard supervised machine learning, it is necessary to provide a la...
research
03/09/2023

Distortion-Disentangled Contrastive Learning

Self-supervised learning is well known for its remarkable performance in...
research
03/09/2023

Learning Stationary Markov Processes with Contrastive Adjustment

We introduce a new optimization algorithm, termed contrastive adjustment...

Please sign up or login with your details

Forgot password? Click here to reset