English

How does Contrastive Learning Organize Images?

Machine Learning 2023-11-22 v2 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Contrastive learning, a dominant self-supervised technique, emphasizes similarity in representations between augmentations of the same input and dissimilarity for different ones. Although low contrastive loss often correlates with high classification accuracy, recent studies challenge this direct relationship, spotlighting the crucial role of inductive biases. We delve into these biases from a clustering viewpoint, noting that contrastive learning creates locally dense clusters, contrasting the globally dense clusters from supervised learning. To capture this discrepancy, we introduce the "RLD (Relative Local Density)" metric. While this cluster property can hinder linear classification accuracy, leveraging a Graph Convolutional Network (GCN) based classifier mitigates this, boosting accuracy and reducing parameter requirements. The code is available \href{https://github.com/xsgxlz/How-does-Contrastive-Learning-Organize-Images/tree/main}{here}.

Keywords

Cite

@article{arxiv.2305.10229,
  title  = {How does Contrastive Learning Organize Images?},
  author = {Yunzhe Zhang and Yao Lu and Qi Xuan},
  journal= {arXiv preprint arXiv:2305.10229},
  year   = {2023}
}
R2 v1 2026-06-28T10:37:06.707Z