Improving Contrastive Learning of Sentence Embeddings with Case-Augmented Positives and Retrieved Negatives
Following SimCSE, contrastive learning based methods have achieved the state-of-the-art (SOTA) performance in learning sentence embeddings. However, the unsupervised contrastive learning methods still lag far behind the supervised counterparts. We attribute this to the quality of positive and negative samples, and aim to improve both. Specifically, for positive samples, we propose switch-case augmentation to flip the case of the first letter of randomly selected words in a sentence. This is to counteract the intrinsic bias of pre-trained token embeddings to frequency, word cases and subwords. For negative samples, we sample hard negatives from the whole dataset based on a pre-trained language model. Combining the above two methods with SimCSE, our proposed Contrastive learning with Augmented and Retrieved Data for Sentence embedding (CARDS) method significantly surpasses the current SOTA on STS benchmarks in the unsupervised setting.
Code (1)
Tasks
AttributeContrastive LearningLanguage ModelingLanguage ModellingSentenceSentence EmbeddingSentence-EmbeddingSentence EmbeddingsSTSMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
PCL: Peer-Contrastive Learning with Diverse Augmentations for Unsupervised Sentence Embeddings
Learning sentence embeddings in an unsupervised manner is fundamental in natural language processing. Recent common practice is to couple pre-trained language models with unsupervised contrastive learning, whose success …
Contrastive LearningOpen-Ended Question AnsweringSentenceSentence Embeddings+1Leveraging Multi-lingual Positive Instances in Contrastive Learning to Improve Sentence Embedding
Learning multi-lingual sentence embeddings is a fundamental task in natural language processing. Recent trends in learning both mono-lingual and multi-lingual sentence embeddings are mainly based on contrastive learning …
Contrastive LearningCross-Lingual TransferRetrievalSemantic Similarity+5A Mutually Reinforced Framework for Pretrained Sentence Embeddings
The lack of labeled data is a major obstacle to learning high-quality sentence embeddings. Recently, self-supervised contrastive learning (SCL) is regarded as a promising way to address this problem. However, the existin…
Contrastive LearningRepresentation LearningSentenceSentence EmbeddingsLearning Monolingual Sentence Embeddings with Large-scale Parallel Translation Datasets
Although contrastive learning has greatly improved sentence representation, its performance is still limited by the size of monolingual sentence-pair datasets. Meanwhile, there exist large-scale parallel translation pair…
Contrastive LearningSemantic Textual SimilaritySentenceSentence Embeddings+2Learning Universal Sentence Embeddings with Large-scale Parallel Translation Datasets
Although contrastive learning has greatly improved sentence representation, its performance is still limited by the size of monolingual sentence-pair datasets. Meanwhile, there exist large-scale parallel translation pair…
Contrastive LearningSemantic Textual SimilaritySentenceSentence Embeddings+2