Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations

About

Sentence embeddings are an important component of many natural language processing (NLP) systems. Like word embeddings, sentence embeddings are typically learned on large text corpora and then transferred to various downstream tasks, such as clustering and retrieval. Unlike word embeddings, the highest performing solutions for learning sentence embeddings require labelled data, limiting their usefulness to languages and domains where labelled data is abundant. In this paper, we present DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations. Inspired by recent advances in deep metric learning (DML), we carefully design a self-supervised objective for learning universal sentence embeddings that does not require labelled training data. When used to extend the pretraining of transformer-based language models, our approach closes the performance gap between unsupervised and supervised pretraining for universal sentence encoders. Importantly, our experiments suggest that the quality of the learned embeddings scale with both the number of trainable parameters and the amount of unlabelled training data. Our code and pretrained models are publicly available and can be easily adapted to new domains or used to embed unseen text.

John Giorgi, Osvald Nitski, Bo Wang, Gary Bader• 2020

Related benchmarks

TaskDatasetResultRank
Semantic Textual SimilaritySTS tasks (STS12, STS13, STS14, STS15, STS16, STS-B, SICK-R)
STS12 Score52.41
195
Natural Language UnderstandingGLUE (test dev)
MRPC Accuracy72.86
81
Scientific Document Representation EvaluationSCIDOCS (test)
MAG F181.2
13
Linear-probe classificationSentEval
MR Accuracy85.2
13
Showing 4 of 4 rows

Other info

Follow for update