Contrasting the landscape of contrastive and non-contrastive learning

Ashwini Pokle, Jinjin Tian, Yuchen Li, Andrej Risteski
3/29/2022
cs.LGcs.CVstat.ML
contrastive-ssl

Official code: ashwinipokle/contrastive_landscape (8 stars, Python, MIT, last commit 2022-03-20).

Abstract

A lot of recent advances in unsupervised feature learning are based on designing features which are invariant under semantic data augmentations. A common way to do this is contrastive learning, which uses positive and negative samples.

Show full abstract

Some recent works however have shown promising results for non-contrastive learning, which does not require negative samples. However, the non-contrastive losses have obvious "collapsed" minima, in which the encoders output a constant feature embedding, independent of the input. A folk conjecture is that so long as these collapsed solutions are avoided, the produced feature representations should be good. In our paper, we cast doubt on this story: we show through theoretical results and controlled experiments that even on simple data models, non-contrastive losses have a preponderance of non-collapsed bad minima. Moreover, we show that the training process does not avoid these minima.

View on arXivView PDF

Code Implementations(1)

MIT
80Python, ShellFeb 22, 20224 years agoMIT

Similar Papers

Cite this paper

@article{pokle2022contrasting,
  title  = {Contrasting the landscape of contrastive and non-contrastive learning},
  author = {Ashwini Pokle and Jinjin Tian and Yuchen Li and Andrej Risteski},
  year   = {2022},
  eprint = {2203.15702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15702}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.15702.svg)](https://codeofpaper.com/paper/2203.15702)

Discussion