Debiased Contrastive Learning

Ching-Yao Chuang, Joshua Robinson, Lin Yen-Chen, Antonio Torralba, Stefanie Jegelka
7/1/2020
cs.LGstat.ML
contrastive-ssl

Official code: chingyaoc/DCL (286 stars, Python, MIT, last commit 2023-03-22).

Abstract

A prominent technique for self-supervised representation learning has been to contrast semantically similar and dissimilar pairs of samples. Without access to labels, dissimilar (negative) points are typically taken to be randomly sampled datapoints, implicitly accepting that these points may, in reality, actually have the same label.

Show full abstract

Perhaps unsurprisingly, we observe that sampling negative examples from truly different labels improves performance, in a synthetic setting where labels are available. Motivated by this observation, we develop a debiased contrastive objective that corrects for the sampling of same-label datapoints, even without knowledge of the true labels. Empirically, the proposed objective consistently outperforms the state-of-the-art for representation learning in vision, language, and reinforcement learning benchmarks. Theoretically, we establish generalization bounds for the downstream classification task.

View on arXivView PDF

Code Implementations(1)

chingyaoc/DCLOfficial100%
MIT

NeurIPS 2020, Debiased Contrastive Learning

28635PythonJun 25, 20203 years agoMIT

Similar Papers

Cite this paper

@article{chuang2020debiased,
  title  = {Debiased Contrastive Learning},
  author = {Ching-Yao Chuang and Joshua Robinson and Lin Yen-Chen and Antonio Torralba and Stefanie Jegelka},
  year   = {2020},
  eprint = {2007.00224},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.00224}
}

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

Discussion