摘要
Unsupervised contrastive learning has achieved outstanding success, while the mechanism of contrastive loss has been less studied. In this paper, we concentrate on the understanding of the behaviours of unsupervised contrastive loss. We will show that the contrastive loss is a hardness-aware loss function, and the temperature τ controls the strength of penalties on hard negative samples. The previous study has shown that uniformity is a key property of contrastive learning. We build relations between the uniformity and the temperature τ . We will show that uniformity helps the contrastive learning to learn separable features, however excessive pursuit to the uniformity makes the contrastive loss not tolerant to semantically similar samples, which may break the underlying semantic structure and be harmful to the formation of features useful for downstream tasks. This is caused by the inherent defect of the instance discrimination objective. Specifically, instance discrimination objective tries to push all different instances apart, ignoring the underlying relations between samples. Pushing semantically consistent samples apart has no positive effect for acquiring a prior informative to general downstream tasks. A well-designed contrastive loss should have some extents of tolerance to the closeness of semantically similar samples. Therefore, we find that the contrastive loss meets a uniformity-tolerance dilemma, and a good choice of temperature can compromise these two properties properly to both learn separable features and tolerant to semantically similar samples, improving the feature qualities and the downstream performances.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 191 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Can contrastive learning avoid shortcut solutions? 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Can contrastive learning avoid shortcut solutions? 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Can contrastive learning avoid shortcut solutions? 引用了 What Makes for Good Views for Contrastive Learning?
- Data-Efficient Image Recognition with Contrastive Predictive Coding 引用了 Local Aggregation for Unsupervised Learning of Visual Embeddings
- Delving into Out-of-Distribution Detection with Vision-Language Representations 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 Data-Efficient Image Recognition with Contrastive Predictive Coding
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- A Simple Framework for Contrastive Learning of Visual Representations 引用了 Data-Efficient Image Recognition with Contrastive Predictive Coding
- A Simple Framework for Contrastive Learning of Visual Representations 引用了 Local Aggregation for Unsupervised Learning of Visual Embeddings
- Balanced Contrastive Learning for Long-Tailed Visual Recognition 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- What Makes for Good Views for Contrastive Learning? 引用了 Data-Efficient Image Recognition with Contrastive Predictive Coding
- What Makes for Good Views for Contrastive Learning? 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- What Makes for Good Views for Contrastive Learning? 引用了 Local Aggregation for Unsupervised Learning of Visual Embeddings
引用它的顶会 Paper191
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation LearningWeixin Liang, Yuhui Zhang, Yongchan Kwon, Serena Yeung 等NeurIPS 2022 · 834 次引用
- Delving into Out-of-Distribution Detection with Vision-Language RepresentationsYifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun 等NeurIPS 2022 · 308 次引用
- Multi-Modal Self-Supervised Learning for RecommendationWei Wei, Chao Huang, Lianghao Xia, Chuxu ZhangWWW 2023 · 256 次引用
- Balanced Contrastive Learning for Long-Tailed Visual RecognitionJianggang Zhu, Zheng Wang, Jingjing Chen, Yi-Ping Phoebe Chen 等CVPR 2022 · 194 次引用
- Can contrastive learning avoid shortcut solutions?Joshua Robinson, Li Sun, Ke Yu, Kayhan Batmanghelich 等NeurIPS 2021 · 185 次引用
它引用的 Paper9
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
- What Makes for Good Views for Contrastive Learning?Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan 等NeurIPS 2020 · 1,631 次引用
- Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 次引用
- Local Aggregation for Unsupervised Learning of Visual EmbeddingsChengxu Zhuang, Alex Lin Zhai, Daniel YaminsICCV 2019 · 462 次引用
相关 Paper
- Model-Aware Contrastive Learning: Towards Escaping the DilemmasZizheng Huang, Haoxing Chen, Ziqi Wen, Chao Zhang 等ICML 2023 · 15 次引用
- Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 次引用
- Difficult Examples Hurt Unsupervised Contrastive Learning: A Theoretical PerspectiveYi-Ge Zhang, Jingyi Cui, Qiran Li, Yisen WangICLR 2026 · 2 次引用
- Intriguing Properties of Contrastive LossesTing Chen, Calvin Luo, Lala LiNeurIPS 2021 · 206 次引用
- Self-Supervised Image-to-Point Distillation via Semantically Tolerant Contrastive LossAnas Mahmoud, Jordan S. K. Hu, Tianshu Kuai, Ali Harakeh 等CVPR 2023
