mlsanityData to 7 Oct 2026

DialogueCSE: Dialogue-based Contrastive Learning of Sentence Embeddings

arXiv 2109.12599 ↗First posted 26 Sep 2021cs.CLcited by 19

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 26 Sep 2021.

Builds on

29 of 37 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  6. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  7. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  8. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  9. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  10. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  11. 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
  12. 2015Skip-Thought Vectorscited by 321
17 more
  1. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  2. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  3. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  4. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
  5. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
  6. 2018An efficient framework for learning sentence representationscited by 197
  7. 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
  8. 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
  9. 2019ConveRT: Efficient and Accurate Conversational Representations from Transformerscited by 95
  10. 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
  11. 2016Learning Distributed Representations of Sentences from Unlabelled Datacited by 90
  12. 2020On the Sentence Embeddings from Pre-trained Language Modelscited by 83
  13. 2018Modeling Multi-turn Conversation with Deep Utterance Aggregationcited by 65
  14. 2019The JDDC Corpus: A Large-Scale Multi-Turn Chinese Dialogue Dataset for E-commerce Customer Servicecited by 47
  15. 2018Microsoft Dialogue Challenge: Building End-to-End Task-Completion Dialogue Systemscited by 46
  16. 2018Learning Semantic Textual Similarity from Conversationscited by 41
  17. 2016Conversational Contextual Cues: The Case of Personalization and History for Response Rankingcited by 21

Built on by

Cited by year

Citing papers per year: 2022: 10; 2023: 6; 2024: 3.

19 papers.

Sort:

By area:

  1. 2022Same Author or Just Same Topic? Towards Content-Independent Style Representationscited by 83
  2. 2022Duplex Conversation: Towards Human-like Interaction in Spoken Dialogue Systemscited by 28
  3. 2022Adaptive Contrastive Learning on Multimodal Transformer for Review Helpfulness Predictionscited by 13
  4. 2022Non-Linguistic Supervision for Contrastive Learning of Sentence Embeddingscited by 10
  5. 2024Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow Extractioncited by 8
  6. 2022Probing Cross-Lingual Lexical Knowledge from Multilingual Sentence Encoderscited by 7
  7. 2023Coarse-to-Fine Knowledge Selection for Document Grounded Dialogscited by 6
  8. 2023Efficient Domain Adaptation of Sentence Embeddings Using Adapterscited by 6
  9. 2024DivTOD: Unleashing the Power of LLMs for Diversifying Task-Oriented Dialogue Representationscited by 4
  10. 2022Layout-Aware Information Extraction for Document-Grounded Dialogue: Dataset, Method and Demonstrationcited by 3
  11. 2022Learning Interpretable Latent Dialogue Actions With Less Supervisioncited by 3
  12. 2022Dial2vec: Self-Guided Contrastive Learning of Unsupervised Dialogue Embeddingscited by 2
7 more
  1. 2022Imagination is All You Need! Curved Contrastive Learning for Abstract Sequence Modeling Utilized on Long Short-Term Dialogue Planningcited by 1
  2. 2023Template-assisted Contrastive Learning of Task-oriented Dialogue Sentence Embeddingscited by 1
  3. 2023FutureTOD: Teaching Future Knowledge to Pre-trained Language Model for Task-Oriented Dialoguecited by 1
  4. 2022Accuracy on In-Domain Samples Matters When Building Out-of-Domain detectors: A Reply to Marek et al. (2021)cited by 0
  5. 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classificationcited by 0
  6. 2023Contrastive Learning for Inference in Dialoguecited by 0
  7. 2024BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responsescited by 0