对比潜在表示学习与去噪分数匹配
Contrastive latent representation learning with denoising score matching
Christopher Marouani, Grigory Bartosh, Christian A. Naesseth
AI 速读 基于摘要
ScoreCLR 通过去噪分数匹配估计对比学习中的排斥力,以线性批次成本替代显式负样本,在 CIFAR-10 和 ImageNet-100 上保持接近 SimCLR 的线性探测精度。
stat.ML · cs.LG
查看原文摘要
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.