mlsanityData to 7 Oct 2026

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

arXiv 2202.13093 ↗First posted 26 Feb 2022cs.CLcited by 25

Not on the map. Why?

Abstract (arXiv)

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 at https://github.com/xbdxwyh/mocose.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 26 Feb 2022.

Builds on

24 of 39 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  7. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  9. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  10. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  11. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  12. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
12 more
  1. 2020Whitening for Self-Supervised Representation Learningcited by 278
  2. 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
  3. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  4. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  5. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
  6. 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
  7. 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
  8. 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
  9. 2020Contrastive Learning with Adversarial Examplescited by 91
  10. 2021CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understandingcited by 50
  11. 2021Jigsaw Clustering for Unsupervised Visual Representation Learningcited by 30
  12. 2021SICKNL: A Dataset for Dutch Natural Language Inferencecited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 11; 2024: 6; 2025: 3; 2026: 1.

25 papers.

Sort:

By area:

  1. 2024GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuningcited by 40
  2. 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
  3. 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
  4. 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 14
  5. 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 11
  6. 2022Hyperbolic Hierarchical Contrastive Hashingcited by 9
  7. 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddingscited by 7
  8. 2023Improving Speech Translation by Cross-Modal Multi-Grained Contrastive Learningcited by 7
  9. 2024Extracting Sentence Embeddings from Pretrained Transformer Modelscited by 7
  10. 2023Efficient Domain Adaptation of Sentence Embeddings Using Adapterscited by 6
  11. 2025Wrong Answers Can Also Be Useful: PlausibleQA -- A Large-Scale QA Dataset with Answer Plausibility Scorescited by 5
  12. 2024Label-aware Hard Negative Sampling Strategies with Momentum Contrastive Learning for Implicit Hate Speech Detectioncited by 4
13 more
  1. 2023Modeling Sequential Sentence Relation to Improve Cross-lingual Dense Retrievalcited by 3
  2. 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
  3. 2022A Benchmark Study of Contrastive Learning for Arabic Social Meaningcited by 2
  4. 2023Identical and Fraternal Twins: Fine-Grained Semantic Contrastive Learning of Sentence Representationscited by 2
  5. 2022Contrastive Learning of Sociopragmatic Meaning in Social Mediacited by 1
  6. 2023RepCL: Exploring Effective Representation for Continual Text Classificationcited by 1
  7. 2023An Efficient Self-Supervised Cross-View Training For Sentence Embeddingcited by 1
  8. 2023Leveraging Generative Language Models for Weakly Supervised Sentence Component Analysis in Video-Language Joint Learningcited by 1
  9. 2023SCRAPS: Speech Contrastive Representations of Acoustic and Phonetic Spacescited by 0
  10. 2024reCSE: Portable Reshaping Features for Sentence Embedding in Self-supervised Contrastive Learningcited by 0
  11. 2024ManiNeg: Manifestation-guided Multimodal Pretraining for Mammography Classificationcited by 0
  12. 2025Text2Token: Unsupervised Text Representation Learning with Token Target Predictioncited by 0
  13. 2026Task-Conditional Flow Matching for Balanced Multilingual Text Embedding Adaptationcited by 0