SimCSE: Simple Contrastive Learning of Sentence Embeddings

By Tianyu Gao, Xingcheng Yao, Danqi Chen. 2021

4,614 citations recorded by the source corpus.

This paper presents SimCSE, a simple contrastive learning framework that greatly advances the 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 76.3% and 81.6% Spearman’s correlation respectively, a 4.2% and 2.2% improvement compared to previous best results. We also show—both theoretically and empirically—that contrastive learning objective regularizes pre-trained embeddings’ anisotropic space to be more uniform, and it better aligns positive pairs when supervised signals are available.

Subfields: Artificial Intelligence, Natural Language Processing, Representation & Self-Supervised Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Jianfeng Gao
  4. Graham Neubig
  5. Percy Liang
  6. Yejin Choi
  7. Hannaneh Hajishirzi
  8. Noah A. Smith

In Natural Language Processing

  1. Graham Neubig
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Yejin Choi
  5. Jianfeng Gao
  6. Percy Liang
  7. Noah A. Smith
  8. Hannaneh Hajishirzi

In Representation & Self-Supervised Learning

  1. Graham Neubig
  2. Armand Joulin
  3. Furu Wei
  4. Ishan Misra
  5. Luke S. Zettlemoyer
  6. Piotr Bojanowski
  7. Noah A. Smith
  8. Yann LeCun

Citations in the corpus