On The Inadequacy of Optimizing Alignment and Uniformity in Contrastive Learning of Sentence Representations
Zhijie Nie, Richong Zhang, Yongyi Mao
摘要
Contrastive learning is widely used in areas such as visual representation learning (VRL) and sentence representation learning (SRL). Considering the differences between VRL and SRL in terms of negative sample size and evaluation focus, we believe that the solid findings obtained in VRL may not be entirely carried over to SRL. In this work, we consider the suitability of the decoupled form of contrastive loss, i.e., alignment and uniformity, in SRL. We find a performance gap between sentence representations obtained by jointly optimizing alignment and uniformity on the STS task and those obtained using contrastive loss. Further, we find that the joint optimization of alignment and uniformity during training is prone to overfitting, which does not occur on the contrastive loss. Analyzing them based on the variation of the gradient norms, we find that there is a property of ``gradient dissipation'' in contrastive loss and believe that it is the key to preventing overfitting. We simulate similar "gradient dissipation" of contrastive loss on four optimization objectives of two forms, and achieve the same or even better performance than contrastive loss on the STS tasks, confirming our hypothesis.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper1
相关 Paper
- On Isotropy, Contextualization and Learning Dynamics of Contrastive-based Sentence Representation LearningChenghao Xiao, Yang Long, Noura Al MoubayedACL Findings 2023 · 6 次引用
- A Simple Angle-based Approach for Contrastive Learning of Unsupervised Sentence RepresentationYoo Hyun Jeong, Myeong Soo Han, Dong-Kyu ChaeEMNLP Findings 2024 · 2 次引用
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
- RankCSE: Unsupervised Sentence Representations Learning via Learning to RankJiduan Liu, Jiahao Liu, Qifan Wang, Jingang Wang 等ACL 2023 · 30 次引用
- Narrowing the Gap between Supervised and Unsupervised Sentence Representation Learning with Large Language ModelMingxin Li, Richong Zhang, Zhijie Nie, Yongyi MaoAAAI 2024 · 1 次引用
