Decoupled Contrastive Learning

By Chun-Hsiao Yeh, Cheng-Yao Hong, Yen-Chi Hsu, Tyng-Luh Liu, Yubei Chen, Yann LeCun. 2021

259 citations recorded by the source corpus.

Contrastive learning (CL) is one of the most successful paradigms for self-supervised learning (SSL). In a principled way, it considers two augmented"views"of the same image as positive to be pulled closer, and all other images as negative to be pushed further apart. However, behind the impressive success of CL-based techniques, their formulation often relies on heavy-computation settings, including large sample batches, extensive training epochs, etc. We are thus motivated to tackle these issues and establish a simple, efficient, yet competitive baseline of contrastive learning. Specifically, we identify, from theoretical and empirical studies, a noticeable negative-positive-coupling (NPC) effect in the widely used InfoNCE loss, leading to unsuitable learning efficiency concerning the batch size. By removing the NPC effect, we propose decoupled contrastive learning (DCL) loss, which removes the positive term from the denominator and significantly improves the learning efficiency. DCL achieves competitive performance with less sensitivity to sub-optimal hyperparameters, requiring neither large batches in SimCLR, momentum encoding in MoCo, or large epochs. We demonstrate with various benchmarks while manifesting robustness as much less sensitive to suboptimal hyperparameters. Notably, SimCLR with DCL achieves 68.2% ImageNet-1K top-1 accuracy using batch size 256 within 200 epochs pre-training, outperforming its SimCLR baseline by 6.4%. Further, DCL can be combined with the SOTA contrastive learning method, NNCLR, to achieve 72.3% ImageNet-1K top-1 accuracy with 512 batch size in 400 epochs, which represents a new SOTA in contrastive learning. We believe DCL provides a valuable baseline for future contrastive SSL studies.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Ocean Engineering, Representation & Self-Supervised Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Tom Goldstein
  2. In-So Kweon
  3. Andrew Gordon Wilson
  4. Yuandong Tian
  5. Quoc V. Le
  6. Sergey Levine
  7. Yann LeCun
  8. Yoshua Bengio

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Xiaogang Wang
  4. Jitendra Malik
  5. Trevor Darrell
  6. Ming-Hsuan Yang
  7. Bernt Schiele
  8. Andrea Vedaldi

In Ocean Engineering

  1. Andrew Gordon Wilson
  2. Yann LeCun
  3. In-So Kweon
  4. Ari S. Morcos

In Representation & Self-Supervised Learning

  1. In-So Kweon
  2. Hamed Pirsiavash
  3. Tom Goldstein
  4. Adrien Bardes
  5. Yuandong Tian
  6. Grégoire Mialon
  7. Sepp Hochreiter
  8. Yann LeCun

Citations in the corpus