Contrastive latent representation learning with denoising score matching
Christopher Marouani, Grigory Bartosh, Christian A. Naesseth
Abstract
Contrastive representation learning methods operate by pulling different views of the same data sample together while pushing them away from views of different samples. A fundamental challenge is the estimation of the repulsive force, which typically requires large batch sizes, can exhibit high variance, and is susceptible to the curse of dimensionality. We introduce ScoreCLR, a contrastive representation learning method that offers a novel way to estimate this repulsion term. We consider the framework of representation learning by maximizing the mutual information between two latent views of a sample. By deriving the gradient of the Shannon entropy with respect to the encoder parameters, we obtain an equivalent objective that involves the score of the latent representation. We then use denoising score matching techniques to estimate this score with a lightweight network that is trained jointly with the encoder. We further propose regularization techniques using different noise levels and a Gaussian prior on the latent representation. ScoreCLR replaces the batch of explicit negative samples in contrastive methods with a learned repulsion whose cost is linear in the batch size rather than quadratic. On CIFAR-10 and ImageNet-100 it does so with minimal loss of linear-probe accuracy compared to SimCLR under a shared recipe, while producing projector outputs of higher effective rank, closer to the Gaussian prior.
Create a lesson
Related papers
Integrating Latent Block Models into Variational Autoencoders for Disentangled Representation Learning
Shared title terminology · Anasse Essalih, Reda Khoufache, Laurent Durville et al.
Flow Matching from Non-Gaussian Sources: A Theory of Efficient Sampling
Shared title terminology · Yuchen Zhou, Lili Zheng, Yuxin Chen et al.
Differentially Private Score Estimation with Applications to Score-Based Generative Models
Shared title terminology · Mengxiao Gao, Elly K. H. Hung, Yuchen Wu et al.
NOTREKS: Marginal Independence in Score-based Structure Learning
Shared title terminology · Fabian Bleile, Sarah Lumpp, Mathias Drton
Improved Leverage Score Sampling for Constrained Active Linear Regression
Shared title terminology · Aarshvi Gajjar, Syamantak Kumar, Aditya Makkar et al.
DL101 The Representation Capability of Neural Network Models
Shared title terminology · Fernando Berzal