preprintarXiv (Cornell University)May 20, 2020GREEN OA

Understanding Contrastive Representation Learning through Alignment and\n Uniformity on the Hypersphere

Indexed inarxiv

Abstract

Contrastive representation learning has been outstandingly successful in\npractice. In this work, we identify two key properties related to the\ncontrastive loss: (1) alignment (closeness) of features from positive pairs,\nand (2) uniformity of the induced distribution of the (normalized) features on\nthe hypersphere. We prove that, asymptotically, the contrastive loss optimizes\nthese properties, and analyze their positive effects on downstream tasks.\nEmpirically, we introduce an optimizable metric to quantify each property.\nExtensive experiments on standard vision and language datasets confirm the\nstrong agreement between both metrics and downstream task performance.\nRemarkably, directly optimizing for…

Citation impact

512
total citations
FWCI
Percentile
References
0
Citations per year

Authors

2

Topics & keywords

Keywords
  • Hypersphere
  • Closeness
  • Metric (unit)
  • Representation (politics)
  • Computer science
  • Code (set theory)
  • Artificial intelligence
  • Property (philosophy)
No related works found for this paper.