mlsanityData to 7 Oct 2026

SNCSE: Contrastive Learning for Unsupervised Sentence Embedding with Soft Negative Samples

arXiv 2201.05979 ↗First posted 16 Jan 2022cs.CLcited by 39

Not on the map. Why?

Abstract (arXiv)

Unsupervised sentence embedding aims to obtain the most appropriate embedding for a sentence to reflect its semantic. Contrastive learning has been attracting developing attention. For a sentence, current models utilize diverse data augmentation methods to generate positive samples, while consider other independent sentences as negative samples. Then they adopt InfoNCE loss to pull the embeddings of positive pairs gathered, and push those of negative pairs scattered. Although these models have made great progress on sentence embedding, we argue that they may suffer from feature suppression. The models fail to distinguish and decouple textual similarity and semantic similarity. And they may overestimate the semantic similarity of any pairs with similar textual regardless of the actual semantic difference between them. This is because positive pairs in unsupervised contrastive learning come with similar and even the same textual through data augmentation. To alleviate feature suppression, we propose contrastive learning for unsupervised sentence embedding with soft negative samples (SNCSE). Soft negative samples share highly similar textual but have surely and apparently different semantic with the original samples. Specifically, we take the negation of original sentences as soft negative samples, and propose Bidirectional Margin Loss (BML) to introduce them into traditional contrastive learning framework, which merely involves positive and negative samples. Our experimental results show that SNCSE can obtain state-of-the-art performance on semantic textual similarity (STS) task with average Spearman's correlation coefficient of 78.97% on BERTbase and 79.23% on RoBERTabase. Besides, we adopt rank-based error analysis method to detect the weakness of SNCSE for future study.

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

Builds on

17 of 24 references.

References · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  6. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  7. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  8. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  9. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  10. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  11. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  12. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
5 more
  1. 2021CPT: Colorful Prompt Tuning for Pre-trained Vision-Language Modelscited by 182
  2. 2020Intriguing Properties of Contrastive Lossescited by 129
  3. 2021Can contrastive learning avoid shortcut solutions?cited by 114
  4. 2021ESimCSE: Enhanced Sample Building Method for Contrastive Learning of Unsupervised Sentence Embeddingcited by 73
  5. 2021Prompt-Learning for Fine-Grained Entity Typingcited by 62

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 7; 2023: 15; 2024: 9; 2025: 4; 2026: 4.

39 papers.

Sort:

By area:

  1. 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
  2. 2023Contrastive Learning of Sentence Embeddings from Scratchcited by 24
  3. 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervisioncited by 18
  4. 2023Alleviating Over-smoothing for Unsupervised Sentence Representationcited by 16
  5. 2022Ranking-Enhanced Unsupervised Sentence Representation Learningcited by 15
  6. 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
  7. 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 14
  8. 2024KDMCSE: Knowledge Distillation Multimodal Sentence Embeddings with Adaptive Angular margin Contrastive Learningcited by 13
  9. 2022MIA 2022 Shared Task: Evaluating Cross-lingual Open-Retrieval Question Answering for 16 Diverse Languagescited by 11
  10. 2022SDA: Simple Discrete Augmentation for Contrastive Sentence Representation Learningcited by 8
  11. 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thoughtcited by 8
  12. 2024Enhancing Semantics in Multimodal Chain of Thought via Soft Negative Samplingcited by 8
27 more
  1. 2022Contrastive Learning with Prompt-derived Virtual Semantic Prototypes for Unsupervised Sentence Embeddingcited by 6
  2. 2023Clustering-Aware Negative Sampling for Unsupervised Sentence Representationcited by 5
  3. 2023Revealing the Blind Spot of Sentence Encoder Evaluation by HEROScited by 5
  4. 2023DebCSE: Rethinking Unsupervised Contrastive Sentence Embedding Learning in the Debiasing Perspectivecited by 5
  5. 2026PaAno: Patch-Based Representation Learning for Time-Series Anomaly Detectioncited by 5
  6. 2024DenoSent: A Denoising Objective for Self-Supervised Sentence Representation Learningcited by 4
  7. 2024Enhancing Unsupervised Sentence Embeddings via Knowledge-Driven Data Augmentation and Gaussian-Decayed Contrastive Learningcited by 4
  8. 2024Towards Ontology-Enhanced Representation Learning for Large Language Modelscited by 3
  9. 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Passcited by 3
  10. 2022Block-SCL: Blocking Matters for Supervised Contrastive Learning in Product Matchingcited by 2
  11. 2023Identical and Fraternal Twins: Fine-Grained Semantic Contrastive Learning of Sentence Representationscited by 2
  12. 2024HU at SemEval-2024 Task 8A: Can Contrastive Learning Learn Embeddings to Detect Machine-Generated Text?cited by 2
  13. 2022ZusammenQA: Data Augmentation with Specialized Models for Cross-lingual Open-retrieval Question Answering Systemcited by 1
  14. 2023ESCL: Equivariant Self-Contrastive Learning for Sentence Representationscited by 1
  15. 2023Adapting Sentence Transformers for the Aviation Domaincited by 1
  16. 2023HiCL: Hierarchical Contrastive Learning of Unsupervised Sentence Embeddingscited by 1
  17. 2025Domain Adaptation for Japanese Sentence Embeddings with Contrastive Learning based on Synthetic Sentence Generationcited by 1
  18. 2023D2CSE: Difference-aware Deep continuous prompts for Contrastive Sentence Embeddingscited by 0
  19. 2023Generate to Understand for Representationcited by 0
  20. 2023Harnessing Attention Mechanisms: Efficient Sequence Reduction using Attention-based Autoencoderscited by 0
  21. 2024DefSent+: Improving sentence embeddings of language models by projecting definition sentences into a quasi-isotropic or isotropic vector space of unlimited dictionary entriescited by 0
  22. 2024reCSE: Portable Reshaping Features for Sentence Embedding in Self-supervised Contrastive Learningcited by 0
  23. 2025Cross-Modal Clustering-Guided Negative Sampling for Self-Supervised Joint Learning from Medical Images and Reportscited by 0
  24. 2025Cropping outperforms dropout as an augmentation strategy for self-supervised training of text embeddingscited by 0
  25. 2026Finding Meaning in Embeddings: Concept Separation Curvescited by 0
  26. 2026IdioLink: Retrieving Meaning Beyond Words Across Idiomatic and Literal Expressionscited by 0
  27. 2026MiqraBERT: Regression-Based Sentence-BERT Finetuning for Biblical Hebrew Parallel Detectioncited by 0