SimCSE: Simple Contrastive Learning of Sentence Embeddings
Tianyu Gao, Xingcheng Yao, Danqi Chen

TL;DR
SimCSE introduces a straightforward contrastive learning method for sentence embeddings that significantly improves performance on semantic similarity tasks, using minimal data augmentation and leveraging both unsupervised and supervised approaches.
Contribution
The paper presents a simple yet effective contrastive learning framework for sentence embeddings, achieving state-of-the-art results with minimal complexity.
Findings
Unsupervised SimCSE performs on par with supervised methods.
Dropout acts as a form of data augmentation in contrastive learning.
Contrastive learning regularizes embedding space for better uniformity.
Abstract
This paper presents SimCSE, a simple contrastive learning framework that greatly advances state-of-the-art sentence embeddings. We first describe an unsupervised approach, which takes an input sentence and predicts itself in a contrastive objective, with only standard dropout used as noise. This simple method works surprisingly well, performing on par with previous supervised counterparts. We find that dropout acts as minimal data augmentation, and removing it leads to a representation collapse. Then, we propose a supervised approach, which incorporates annotated pairs from natural language inference datasets into our contrastive learning framework by using "entailment" pairs as positives and "contradiction" pairs as hard negatives. We evaluate SimCSE on standard semantic textual similarity (STS) tasks, and our unsupervised and supervised models using BERT base achieve an average of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗dangvantuan/vietnamese-embeddingmodel· 208k dl· ♡ 50208k dl♡ 50
- 🤗VoVanPhuc/sup-SimCSE-VietNamese-phobert-basemodel· 584k dl· ♡ 29584k dl♡ 29
- 🤗VoVanPhuc/unsup-SimCSE-VietNamese-phobert-basemodel· 72 dl· ♡ 172 dl♡ 1
- 🤗cyclone/simcse-chinese-roberta-wwm-extmodel· 20 dl· ♡ 3320 dl♡ 33
- 🤗demdecuong/stroke_simcsemodel· 5 dl5 dl
- 🤗demdecuong/stroke_sup_simcsemodel· 3 dl3 dl
- 🤗mrp/simcse-model-distil-m-bertmodel· 6 dl6 dl
- 🤗mrp/simcse-model-m-bert-thai-casedmodel· 102 dl· ♡ 9102 dl♡ 9
- 🤗mrp/simcse-model-roberta-base-thaimodel· 4 dl· ♡ 24 dl♡ 2
- 🤗princeton-nlp/sup-simcse-bert-large-uncasedmodel· 6 dl6 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Sentiment Analysis and Opinion Mining
MethodsAttention Is All You Need · Linear Layer · Contrastive Learning · SimCSE · Linear Warmup With Linear Decay · Softmax · Attention Dropout · Dense Connections · Refunds@Expedia|||How do I get a full refund from Expedia? · Adam
