Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere

By Tongzhou Wang, Phillip Isola. 2020

2,520 citations recorded by the source corpus.

Contrastive representation learning has been outstandingly successful in practice. In this work, we identify two key properties related to the contrastive loss: (1) alignment (closeness) of features from positive pairs, and (2) uniformity of the induced distribution of the (normalized) features on the hypersphere. We prove that, asymptotically, the contrastive loss optimizes these properties, and analyze their positive effects on downstream tasks. Empirically, we introduce an optimizable metric to quantify each property. Extensive experiments on standard vision and language datasets confirm the strong agreement between both metrics and downstream task performance. Remarkably, directly optimizing for these two metrics leads to representations with comparable or better performance at downstream tasks than contrastive learning. Project Page: this https URL Code: this https URL , this https URL

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Dacheng Tao
  2. Jianfeng Gao
  3. Quoc V. Le
  4. Mohit Bansal
  5. Trevor Darrell
  6. Yoshua Bengio
  7. Jiashi Feng
  8. Zhe Gan

In Computer Vision and Pattern Recognition

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

In Representation & Self-Supervised Learning

  1. Ishan Misra
  2. Yann LeCun
  3. Phillip Isola
  4. Andrew Zisserman
  5. Matthieu Cord
  6. Yonglong Tian
  7. Nikos Komodakis
  8. Patrick Pérez

Citations in the corpus