0

DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings

DiffCSE, an unsupervised contrastive learning framework, achieves top performance in sentence embedding by differentiating original and edited sentences through stochastic masking and sampling from a masked language model.

Year
2022
Venue
NAACL 2022 7
Authors
10
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2204.10298ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

We propose DiffCSE, an unsupervised contrastive learning framework for learning sentence embeddings. DiffCSE learns sentence embeddings that are sensitive to the difference between the original sentence and an edited sentence, where the edited sentence is obtained by stochastically masking out the original sentence and then sampling from a masked language model. We show that DiffSCE is an instance of equivariant contrastive learning (Dangovski et al., 2021), which generalizes contrastive learning and learns representations that are insensitive to certain types of augmentations and sensitive to other "harmful" types of augmentations. Our experiments show that DiffCSE achieves state-of-the-art results among unsupervised sentence representation learning methods, outperforming unsupervised SimCSE by 2.3 absolute points on semantic textual similarity tasks.

Authors

10