paper-with-me

Papers

DialogueCSE: Dialogue-based Contrastive Learning of Sentence Embeddings

2021-09-26 · EMNLP 2021 11 · Che Liu, Rui Wang, Jinghua Liu, Jian Sun, Fei Huang, Luo Si

Learning sentence embeddings from dialogues has drawn increasing attention due to its low annotation cost and high domain adaptability. Conventional approaches employ the siamese-network for this task, which obtains the sentence embeddings through modeling the context-response semantic relevance by applying a feed-forward network on top of the sentence encoders. However, as the semantic textual similarity is commonly measured through the element-wise distance metrics (e.g. cosine and L2 distance), such architecture yields a large gap between training and evaluating. In this paper, we propose DialogueCSE, a dialogue-based contrastive learning approach to tackle this issue. DialogueCSE first introduces a novel matching-guided embedding (MGE) mechanism, which generates a context-aware embedding for each candidate response embedding (i.e. the context-free embedding) according to the guidance of the multi-turn context-response matching matrices. Then it pairs each context-aware embedding with its corresponding context-free embedding and finally minimizes the contrastive loss across all pairs. We evaluate our model on three multi-turn dialogue datasets: the Microsoft Dialogue Corpus, the Jing Dong Dialogue Corpus, and the E-commerce Dialogue Corpus. Evaluation results show that our approach significantly outperforms the baselines across all three datasets in terms of MAP and Spearman's correlation measures, demonstrating its effectiveness. Further quantitative experiments show that our approach achieves better performance when leveraging more dialogue context and remains robust when less training data is provided.

📄 PDF Abstract BibTeX arXiv:2109.12599

Code (1)

wangruicn/dialoguecse 공식 구현

Tasks

Contrastive LearningSemantic Textual SimilaritySentenceSentence Embeddings

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

TaDSE: Template-aware Dialogue Sentence Embeddings

2023-05-23 · Minsik Oh, Jiwei Li, Guoyin Wang

Learning high quality sentence embeddings from dialogues has drawn increasing attentions as it is essential to solve a variety of dialogue-oriented tasks with low annotation cost. However, directly annotating and gatheri…

Contrastive Learningintent-classificationIntent ClassificationSemantic Compression+6

Dial2vec: Self-Guided Contrastive Learning of Unsupervised Dialogue Embeddings

2022-10-27 · Che Liu, Rui Wang, Junfeng Jiang, Yongbin Li 외

In this paper, we introduce the task of learning unsupervised dialogue embeddings. Trivial approaches such as combining pre-trained word or sentence embeddings and encoding through pre-trained language models (PLMs) have…

Contrastive LearningRetrievalSentenceSentence Embeddings

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

Contrastive LearningSemantic Textual SimilaritySentenceSentence Embeddings+1

Two-Level Supervised Contrastive Learning for Response Selection in Multi-Turn Dialogue

2022-03-01 · Wentao Zhang, Shuang Xu, Haoran Huang

Selecting an appropriate response from many candidates given the utterances in a multi-turn dialogue is the key problem for a retrieval-based dialogue system. Existing work formalizes the task as matching between the utt…

Contrastive LearningConversational Response SelectionRetrievalSentence+1

Two-Level Supervised Contrastive Learning for Response Selection in Multi-Turn Dialogue

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Selecting an appropriate response from many candidates given the utterances in a multi-turn dialogue is the key problem for a retrieval-based dialogue system. Existing work formalizes the task as matching between the ut…

Contrastive LearningRetrievalSentenceSTS