DialogueCSE: Dialogue-based Contrastive Learning of Sentence Embeddings
Che Liu, Rui Wang, Jinghua Liu, Jian Sun, Fei Huang, Luo Si

TL;DR
DialogueCSE introduces a contrastive learning method with a novel matching-guided embedding mechanism for improved sentence embeddings from dialogues, outperforming baselines across multiple datasets and demonstrating robustness with varying context and data size.
Contribution
The paper proposes DialogueCSE, a novel contrastive learning framework with a matching-guided embedding mechanism for better dialogue-based sentence embeddings.
Findings
Significantly outperforms baselines on three dialogue datasets.
Achieves better performance with more dialogue context.
Remains robust with limited training data.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Speech and dialogue systems
MethodsContrastive Learning
