paper-with-me

Papers

Sentence Embeddings using Supervised Contrastive Learning

2021-06-09 · Danqi Liao

Sentence embeddings encode sentences in fixed dense vectors and have played an important role in various NLP tasks and systems. Methods for building sentence embeddings include unsupervised learning such as Quick-Thoughts and supervised learning such as InferSent. With the success of pretrained NLP models, recent research shows that fine-tuning pretrained BERT on SNLI and Multi-NLI data creates state-of-the-art sentence embeddings, outperforming previous sentence embeddings methods on various evaluation benchmarks. In this paper, we propose a new method to build sentence embeddings by doing supervised contrastive learning. Specifically our method fine-tunes pretrained BERT on SNLI data, incorporating both supervised crossentropy loss and supervised contrastive loss. Compared with baseline where fine-tuning is only done with supervised cross-entropy loss similar to current state-of-the-art method SBERT, our supervised contrastive method improves 2.8% in average on Semantic Textual Similarity (STS) benchmarks and 1.05% in average on various sentence transfer tasks.

📄 PDF Abstract BibTeX arXiv:2106.04791

Code (1)

Danqi7/584-final 공식 구현 pytorch

Tasks

Contrastive LearningSemantic Textual SimilaritySentenceSentence EmbeddingsSTS

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
SBERT 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Non-contrastive sentence representations via self-supervision

2023-10-26 · Marco Farina, Duccio Pappadopulo

Sample contrastive methods, typically referred to simply as contrastive are the foundation of most unsupervised methods to learn text and sentence embeddings. On the other hand, a different class of self-supervised loss …

SentenceSentence Embeddings

PCL: Peer-Contrastive Learning with Diverse Augmentations for Unsupervised Sentence Embeddings

2022-01-28 · Qiyu Wu, Chongyang Tao, Tao Shen, Can Xu 외

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+1

DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings

2022-04-21 · NAACL 2022 7 · Yung-Sung Chuang, Rumen Dangovski, Hongyin Luo, Yang Zhang 외

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 sen…

Contrastive LearningLanguage ModelingLanguage ModellingRepresentation Learning+3

Contrastive Learning of Sentence Embeddings from Scratch

2023-05-24 · Junlei Zhang, Zhenzhong Lan, Junxian He

Contrastive learning has been the dominant approach to train state-of-the-art sentence embeddings. Previous studies have typically learned sentence embeddings either through the use of human-annotated natural language in…

Contrastive LearningNatural Language InferenceRerankingSentence+2

Improving Contrastive Learning of Sentence Embeddings from AI Feedback

2023-05-03 · Qinyuan Cheng, Xiaogui Yang, Tianxiang Sun, Linyang Li 외

Contrastive learning has become a popular approach in natural language processing, particularly for the learning of sentence embeddings. However, the discrete nature of natural language makes it difficult to ensure the q…

Contrastive LearningData AugmentationSemantic Textual SimilaritySentence+3