Revisiting Contrastive Learning Through the Lens of Neighborhood Component Analysis: An Integrated Framework

Abstract

As a seminal tool in self-supervised representation learning, contrastive learning has gained unprecedented attention in recent years. In essence, contrastive learning aims to leverage pairs of positive and negative samples for representation learning, which relates to exploiting neighborhood information in a feature space. By investigating the connection between contrastive learning and neighborhood component analysis (NCA), we provide a novel stochastic nearest neighbor viewpoint of contrastive learning and subsequently propose a series of contrastive losses that outperform the existing ones. Under our proposed framework, we show a new methodology to design integrated contrastive losses that could simultaneously achieve good accuracy and robustness on downstream tasks. With the integrated framework, we achieve up to 6% improvement on the standard accuracy and 17% improvement on the robust accuracy.

Cite

Text

Ko et al. "Revisiting Contrastive Learning Through the Lens of Neighborhood Component Analysis: An Integrated Framework." International Conference on Machine Learning, 2022.

Markdown

[Ko et al. "Revisiting Contrastive Learning Through the Lens of Neighborhood Component Analysis: An Integrated Framework." International Conference on Machine Learning, 2022.](https://mlanthology.org/icml/2022/ko2022icml-revisiting/)

BibTeX

@inproceedings{ko2022icml-revisiting,
  title     = {{Revisiting Contrastive Learning Through the Lens of Neighborhood Component Analysis: An Integrated Framework}},
  author    = {Ko, Ching-Yun and Mohapatra, Jeet and Liu, Sijia and Chen, Pin-Yu and Daniel, Luca and Weng, Lily},
  booktitle = {International Conference on Machine Learning},
  year      = {2022},
  pages     = {11387-11412},
  volume    = {162},
  url       = {https://mlanthology.org/icml/2022/ko2022icml-revisiting/}
}