[Paper Review] Better Conversations by Modeling,Filtering,and Optimizing for Coherence and Diversity
This paper proposes a unified framework to improve response coherence and diversity in open-domain dialogue systems by introducing a GloVe-based coherence measure, filtering training data for coherence and lexical diversity, and training a conditional variational autoencoder (cVAE) with a context gate that explicitly conditions on coherence. Experiments on OpenSubtitles show significant gains in BLEU, coherence, and diversity metrics over competitive baselines.
We present three enhancements to existing encoder-decoder models for open-domain conversational agents, aimed at effectively modeling coherence and promoting output diversity: (1) We introduce a measure of coherence as the GloVe embedding similarity between the dialogue context and the generated response, (2) we filter our training corpora based on the measure of coherence to obtain topically coherent and lexically diverse context-response pairs, (3) we then train a response generator using a conditional variational autoencoder model that incorporates the measure of coherence as a latent variable and uses a context gate to guarantee topical consistency with the context and promote lexical diversity. Experiments on the OpenSubtitles corpus show a substantial improvement over competitive neural models in terms of BLEU score as well as metrics of coherence and diversity.
Motivation & Objective
- To address the lack of explicit coherence modeling in neural response generation, which leads to generic and incoherent outputs.
- To improve response diversity by filtering training data for topical coherence and lexical richness.
- To integrate coherence as a latent variable in a conditional variational autoencoder (cVAE) for better control over response quality.
- To combine context gating with coherence-aware training to ensure topical consistency and reduce repetition.
- To provide a fully unsupervised, data-driven approach to coherence modeling without relying on external annotations or linguistic rules.
Proposed method
- Defining coherence as the average cosine similarity between GloVe word embeddings of context and response tokens.
- Filtering the OpenSubtitles corpus by selecting context-response pairs with high coherence scores to form a refined training set.
- Training a conditional variational autoencoder (cVAE) where one latent variable encodes the dialogue context and another encodes the coherence measure.
- Incorporating a context gate mechanism that dynamically balances attention between context words and previously generated response tokens to promote topical relevance.
- Jointly training the cVAE model using both reconstruction loss and coherence-based regularization to guide generation toward coherent and diverse outputs.
- Using beam search decoding with the context gate to generate responses that are both contextually grounded and lexically varied.
Experimental results
Research questions
- RQ1Can a purely unsupervised, embedding-based coherence measure effectively identify high-quality, coherent dialogue responses?
- RQ2To what extent does filtering training data based on coherence improve the quality of generated responses?
- RQ3Can explicit modeling of coherence as a latent variable in a cVAE architecture lead to more coherent and diverse responses?
- RQ4How does the integration of a context gate with coherence-aware training affect response topicality and lexical diversity?
- RQ5Does the proposed framework outperform existing neural response generation models in terms of BLEU, coherence, and diversity metrics?
Key findings
- The proposed model achieves a significant improvement in BLEU score compared to competitive baselines, demonstrating better overall response quality.
- The model shows substantial gains in automatic coherence and diversity metrics, confirming the effectiveness of the coherence-aware training approach.
- Ablation studies confirm that each component—coherence filtering, cVAE with coherence latent variable, and context gate—contributes meaningfully to performance.
- Human evaluation (implied in future work) is expected to validate the model’s ability to generate more coherent and engaging responses.
- The cVAE-XGate (1.0) model generates more specific and contextually relevant responses than the MMI baseline, as shown in qualitative examples on the fOST test set.
- The model outperforms strong baselines like MMI and vanilla cVAE, particularly in generating responses that are thematically consistent and lexically diverse.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.