VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning

Adrien Bardes, Jean Ponce, Yann LeCun
5/11/2021
cs.CVcs.AIcs.LG

Official code: facebookresearch/vicreg (575 stars, MIT, last commit 2023-07-06).

Abstract

Recent self-supervised methods for image representation learning are based on maximizing the agreement between embedding vectors from different views of the same image. A trivial solution is obtained when the encoder outputs constant vectors. This collapse problem is often avoided through implicit biases in the learning architecture, that often lack a clear justification or interpretation. In this paper, we introduce VICReg (Variance-Invariance-Covariance Regularization), a method that explicitly avoids the collapse problem with a simple regularization term on the variance of the embeddings along each dimension individually. VICReg combines the variance term with a decorrelation mechanism based on redundancy reduction and covariance regularization, and achieves results on par with the state of the art on several downstream tasks. In addition, we show that incorporating our new variance term into other methods helps stabilize the training and leads to performance improvements.

View on arXivView PDF

Code Implementations(1)

MIT

VICReg official code base

57592PythonFeb 28, 20223 years agoMIT

Similar Papers

Cite this paper

@article{bardes2021vicreg,
  title  = {VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning},
  author = {Adrien Bardes and Jean Ponce and Yann LeCun},
  year   = {2021},
  eprint = {2105.04906},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.04906}
}

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

Discussion