Lune

ACL Findings2022

Exploring the Impact of Negative Samples of Contrastive Learning: A Case Study of Sentence Embedding

Rui Cao, Yihao Wang, Yuxin Liang, Ling Gao, Jie Zheng, Jie Ren, Zheng Wang

摘要

Contrastive learning is emerging as a powerful technique for extracting knowledge from unlabeled data. This technique requires a balanced mixture of two ingredients: positive (similar) and negative (dissimilar) samples. This is typically achieved by maintaining a queue of negative samples during training. Prior works in the area typically uses a fixed-length negative sample queue, but how the negative sample size affects the model performance remains unclear. The opaque impact of the number of negative samples on performance when employing contrastive learning aroused our in-depth exploration. This paper presents a momentum contrastive learning model with negative sample queue for sentence embedding, namely MoCoSE. We add the prediction layer to the online branch to make the model asymmetric and together with EMA update mechanism of the target branch to prevent the model from collapsing. We define a maximum traceable distance metric, through which we learn to what extent the text contrastive learning benefits from the historical information of negative samples. Our experiments find that the best results are obtained when the maximum traceable distance is at a certain range, demonstrating that there is an optimal range of historical information for a negative sample queue. We evaluate the proposed unsupervised MoCoSE on the semantic text similarity (STS) task and obtain an average Spearman's correlation of 77.27%. Source code is available here.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relations 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relations 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • HOBIT: Hardness Optimized Batch Sampling for InfoNCE Training 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddings 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Composition-contrastive Learning for Sentence Embeddings 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Composition-contrastive Learning for Sentence Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Composition-contrastive Learning for Sentence Embeddings 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Modeling Sequential Sentence Relation to Improve Cross-lingual Dense Retrieval 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense RelationsWanqiu Long, Bonnie WebberEMNLP 2022 · 15 次引用
  2. Composition-contrastive Learning for Sentence EmbeddingsSachin Chanchani, Ruihong HuangACL 2023 · 11 次引用
  3. miCSE: Mutual Information Contrastive Learning for Low-shot Sentence EmbeddingsTassilo Klein, Moin NabiACL 2023 · 10 次引用
  4. Modeling Sequential Sentence Relation to Improve Cross-lingual Dense RetrievalShunyu Zhang, Yaobo Liang, Ming Gong, Daxin Jiang 等ICLR 2023 · 1 次引用
  5. HOBIT: Hardness Optimized Batch Sampling for InfoNCE TrainingHimanshu Dutta, Lokesh Nagalapatti, Yashoteja PrabhuICML 2026

它引用的 Paper16

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用
  3. Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun 等ICML 2021 · 2,942 次引用
  4. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
  5. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用

相关 Paper

  1. InfoCSE: Information-aggregated Contrastive Learning of Sentence EmbeddingsXing Wu, Chaochen Gao, Zijia Lin, Jizhong Han 等EMNLP Findings 2022 · 24 次引用
  2. A Sentence is Worth 128 Pseudo Tokens: A Semantic-Aware Contrastive Learning Framework for Sentence EmbeddingsHaochen Tan, Wei Shao, Han Wu, Ke Yang 等ACL Findings 2022 · 16 次引用
  3. TNCSE: Tensor Norm Constraints for Unsupervised Contrastive Learning of Sentence EmbeddingsTianyu Zong, Bingkang Shi, Hongzhu Yi, Jungang XuAAAI 2025 · 2 次引用
  4. Instance Smoothed Contrastive Learning for Unsupervised Sentence EmbeddingHongliang He, Junlei Zhang, Zhenzhong Lan, Yue ZhangAAAI 2023 · 10 次引用
  5. Unsupervised Sentence Representation via Contrastive Learning with Mixing NegativesYanzhao Zhang, Richong Zhang, Samuel Mensah, Xudong Liu 等AAAI 2022 · 71 次引用
黄昏的海面,两侧是细线勾勒的悬崖