Contrastive Learning of Sentence Embeddings from Scratch
Abstract
Contrastive learning has been the dominant approach to train state-of-the-art sentence embeddings. Previous studies have typically learned sentence embeddings either through the use of human-annotated natural language inference (NLI) data or via large-scale unlabeled sentences in an unsupervised manner. However, even in the case of 1;unlabeled data, their acquisition presents challenges in certain domains due to various reasons. To address these issues, we present SynCSE, a contrastive learning framework that trains sentence embeddings with synthesized data. Specifically, we explore utilizing large language models to synthesize the required data samples for contrastive learning, including (1) producing positive and negative annotations given unlabeled sentences (SynCSE-partial), and (2) generating sentences along with their corresponding annotations from scratch (SynCSE-scratch). Experimental results on sentence similarity and reranking tasks indicate that both SynCSE-partial and SynCSE-scratch greatly outperform unsupervised baselines, and SynCSE-partial even achieves comparable performance to the supervised models in most settings. 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Debiased Contrastive Learning of Unsupervised Sentence Representations cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Template-assisted Contrastive Learning of Task-oriented Dialogue Sentence Embeddings cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Meta-Task Prompting Elicits Embeddings from Large Language Models cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Subgraph-Aware Training of Language Models for Knowledge Graph Completion Using Structure-Aware Contrastive Learning cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
Cited by top-tier papers7
- Subgraph-Aware Training of Language Models for Knowledge Graph Completion Using Structure-Aware Contrastive LearningYoumin Ko, Hyemin Yang, Taeuk Kim, Hyunjoon KimWWW 2025 · 10 citations
- Meta-Task Prompting Elicits Embeddings from Large Language ModelsYibin Lei, Di Wu, Tianyi Zhou, Tao Shen et al.ACL 2024 · 6 citations
- Optimizing Code Retrieval: High-Quality and Scalable Dataset Annotation through Large Language ModelsRui Li, Qi Liu, Liyang He, Zheng Zhang et al.EMNLP 2024 · 4 citations
- Template-assisted Contrastive Learning of Task-oriented Dialogue Sentence EmbeddingsMinsik Oh, Jiwei Li, Guoyin WangACL 2026 · 2 citations
- Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language ModelsTassilo Klein, Moin NabiACL 2025
Builds on14
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- MIND: A Large-scale Dataset for News RecommendationFangzhao Wu, Ying Qiao, Jiun-Hung Chen, Chuhan Wu et al.ACL 2020 · 454 citations
- Debiased Contrastive Learning of Unsupervised Sentence RepresentationsKun Zhou, Beichen Zhang, Wayne Xin Zhao, Ji-Rong WenACL 2022 · 128 citations
- ZeroGen: Efficient Zero-shot Learning via Dataset GenerationJiacheng Ye, Jiahui Gao, Qintong Li, Hang Xu et al.EMNLP 2022 · 96 citations
Related papers
- InfoCSE: Information-aggregated Contrastive Learning of Sentence EmbeddingsXing Wu, Chaochen Gao, Zijia Lin, Jizhong Han et al.EMNLP Findings 2022 · 24 citations
- Improving Contrastive Learning of Sentence Embeddings from AI FeedbackQinyuan Cheng, Xiaogui Yang, Tianxiang Sun, Linyang Li et al.ACL Findings 2023 · 24 citations
- Generate, Discriminate and Contrast: A Semi-Supervised Sentence Representation Learning FrameworkYiming Chen, Yan Zhang, Bin Wang, Zuozhu Liu et al.EMNLP 2022 · 9 citations
- Refining Sentence Embedding Model through Ranking Sentences Generation with Large Language ModelsLiyang He, Chenglong Liu, Rui Li, Zhenya Huang et al.ACL Findings 2025 · 1 citation
- Narrowing the Gap between Supervised and Unsupervised Sentence Representation Learning with Large Language ModelMingxin Li, Richong Zhang, Zhijie Nie, Yongyi MaoAAAI 2024 · 1 citation
