A Note on Connecting Barlow Twins with Negative-Sample-Free Contrastive Learning

Yao-Hung Hubert Tsai, Shaojie Bai, Louis-Philippe Morency, Ruslan Salakhutdinov
4/28/2021
43 citations
cs.LG
contrastive-ssl

Official code: yaohungt/Barlow-Twins-HSIC (57 stars, Python, MIT, last commit 2021-12-20).

Abstract

In this report, we relate the algorithmic design of Barlow Twins' method to the Hilbert-Schmidt Independence Criterion (HSIC), thus establishing it as a contrastive learning approach that is free of negative samples. Through this perspective, we argue that Barlow Twins (and thus the class of negative-sample-free contrastive learning methods) suggests a possibility to bridge the two major families of self-supervised learning philosophies: non-contrastive and contrastive approaches.

Show full abstract

In particular, Barlow twins exemplified how we could combine the best practices of both worlds: avoiding the need of large training batch size and negative sample pairing (like non-contrastive methods) and avoiding symmetry-breaking network designs (like contrastive methods).

View on arXivView PDF

Code Implementations(1)

MIT
5718PythonApr 17, 20214 years agoMIT

Similar Papers

Cite this paper

@article{tsai2021note,
  title  = {A Note on Connecting Barlow Twins with Negative-Sample-Free Contrastive Learning},
  author = {Yao-Hung Hubert Tsai and Shaojie Bai and Louis-Philippe Morency and Ruslan Salakhutdinov},
  year   = {2021},
  eprint = {2104.13712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.13712}
}

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

Discussion