Understanding Dimensional Collapse in Contrastive Self-supervised Learning

Li Jing, Pascal Vincent, Yann LeCun, Yuandong Tian
10/18/2021
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: facebookresearch/directclr (81 stars, Python, last commit 2022-09-06).

Abstract

Self-supervised visual representation learning aims to learn useful representations without relying on human annotations. Joint embedding approach bases on maximizing the agreement between embedding vectors from different views of the same image.

Show full abstract

Various methods have been proposed to solve the collapsing problem where all embedding vectors collapse to a trivial constant solution. Among these methods, contrastive learning prevents collapse via negative sample pairs. It has been shown that non-contrastive methods suffer from a lesser collapse problem of a different nature: dimensional collapse, whereby the embedding vectors end up spanning a lower-dimensional subspace instead of the entire available embedding space. Here, we show that dimensional collapse also happens in contrastive learning. In this paper, we shed light on the dynamics at play in contrastive learning that leads to dimensional collapse. Inspired by our theory, we propose a novel contrastive learning method, called DirectCLR, which directly optimizes the representation space without relying on an explicit trainable projector. Experiments show that DirectCLR outperforms SimCLR with a trainable linear projector on ImageNet.

View on arXivView PDF

Code Implementations(1)

Code used in "Understanding Dimensional Collapse in Contrastive Self-supervised Learning" paper.

818PythonFeb 2, 20224 years agoNOASSERTION

Similar Papers

Cite this paper

@article{jing2021understanding,
  title  = {Understanding Dimensional Collapse in Contrastive Self-supervised Learning},
  author = {Li Jing and Pascal Vincent and Yann LeCun and Yuandong Tian},
  year   = {2021},
  eprint = {2110.09348},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09348}
}

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/2110.09348.svg)](https://codeofpaper.com/paper/2110.09348)

Discussion