DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations

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 high...

Full description

Bibliographic Details
Main Authors: Giorgi, John, Nitski, Osvald, Wang, Bo, Bader, Gary
Format: Text
Language:unknown
Published: 2020
Subjects:
DML
Online Access:http://arxiv.org/abs/2006.03659
id ftarxivpreprints:oai:arXiv.org:2006.03659
record_format openpolar
spelling ftarxivpreprints:oai:arXiv.org:2006.03659 2023-09-05T13:19:06+02:00 DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations Giorgi, John Nitski, Osvald Wang, Bo Bader, Gary 2020-06-05 http://arxiv.org/abs/2006.03659 unknown http://arxiv.org/abs/2006.03659 Computer Science - Computation and Language Computer Science - Machine Learning text 2020 ftarxivpreprints 2023-08-16T15:55:13Z 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. Comment: ACL2021 Camera Ready V2 Text DML ArXiv.org (Cornell University Library)
institution Open Polar
collection ArXiv.org (Cornell University Library)
op_collection_id ftarxivpreprints
language unknown
topic Computer Science - Computation and Language
Computer Science - Machine Learning
spellingShingle Computer Science - Computation and Language
Computer Science - Machine Learning
Giorgi, John
Nitski, Osvald
Wang, Bo
Bader, Gary
DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
topic_facet Computer Science - Computation and Language
Computer Science - Machine Learning
description 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. Comment: ACL2021 Camera Ready V2
format Text
author Giorgi, John
Nitski, Osvald
Wang, Bo
Bader, Gary
author_facet Giorgi, John
Nitski, Osvald
Wang, Bo
Bader, Gary
author_sort Giorgi, John
title DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
title_short DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
title_full DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
title_fullStr DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
title_full_unstemmed DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations
title_sort declutr: deep contrastive learning for unsupervised textual representations
publishDate 2020
url http://arxiv.org/abs/2006.03659
genre DML
genre_facet DML
op_relation http://arxiv.org/abs/2006.03659
_version_ 1776199923695353856