Barlow Twins: Self-Supervised Learning via Redundancy Reduction

Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, Stéphane Deny
3/4/2021
3,395 citations
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: facebookresearch/barlowtwins (1,014 stars, Python, MIT, last commit 2022-03-03).

Abstract

Self-supervised learning (SSL) is rapidly closing the gap with supervised methods on large computer vision benchmarks. A successful approach to SSL is to learn embeddings which are invariant to distortions of the input sample.

Show full abstract

However, a recurring issue with this approach is the existence of trivial constant solutions. Most current methods avoid such solutions by careful implementation details. We propose an objective function that naturally avoids collapse by measuring the cross-correlation matrix between the outputs of two identical networks fed with distorted versions of a sample, and making it as close to the identity matrix as possible. This causes the embedding vectors of distorted versions of a sample to be similar, while minimizing the redundancy between the components of these vectors. The method is called Barlow Twins, owing to neuroscientist H. Barlow's redundancy-reduction principle applied to a pair of identical networks. Barlow Twins does not require large batches nor asymmetry between the network twins such as a predictor network, gradient stopping, or a moving average on the weight updates. Intriguingly it benefits from very high-dimensional output vectors. Barlow Twins outperforms previous methods on ImageNet for semi-supervised classification in the low-data regime, and is on par with current state of the art for ImageNet classification with a linear classifier head, and for transfer tasks of classification and object detection.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch implementation of Barlow Twins.

1,014130PythonMar 4, 20214 years agoMIT

Similar Papers

Cite this paper

@article{zbontar2021barlow,
  title  = {Barlow Twins: Self-Supervised Learning via Redundancy Reduction},
  author = {Jure Zbontar and Li Jing and Ishan Misra and Yann LeCun and Stéphane Deny},
  year   = {2021},
  eprint = {2103.03230},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03230}
}

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

Discussion