MEMD: A Diversity-Promoting Learning Framework for Short-Text Conversation

Meng Zou, Xihan Li, Haokun Liu, Zhi-Hong DengCOLING 2018

Abstract

Meng Zou, Xihan Li, Haokun Liu, Zhihong Deng. Proceedings of the 27th International Conference on Computational Linguistics.

2018.

Introduction

Standard neural encoder-decoder (Seq2Seq) models in chatbots frequently suffer from the "generic response" problem, where the system defaults to safe but meaningless phrases like "I don't know" or "Me too." This research identifies two primary causes: Encoder Clustering, where distinct inputs are mapped to nearly identical latent vectors, and Decoder Insensitivity, where the decoder ignores the latent bridge and relies on high-probability language patterns.

The Multi-Encoder to Multi-Decoder (MEMD) framework addresses these issues by introducing auxiliary components during training that force the model to develop more distinct and expressive internal representations.

Methodology: The MEMD Framework

The MEMD framework augments the standard Seq2Seq architecture with an auxiliary encoder and an auxiliary decoder. These components are utilized exclusively during the training phase to regularize the latent space, ensuring the final inference model remains efficient.

The MEMD framework architecture featuring auxiliary encoder and decoder components used during training.

The training process involves three simultaneous paths:

  1. Post Reconstruction (Major Encoder → Aux Decoder): The model reconstructs the original input post from its latent vector, preventing the encoder from "blurring" unique inputs into a single cluster.
  2. Standard Conversation (Major Encoder → Major Decoder): The primary task of mapping a post to a response.
  3. Response Reconstruction (Aux Encoder → Major Decoder): The model reconstructs the target response from its own latent representation. This "practices" the decoder’s sensitivity to high-quality semantic features.

Latent Space Analysis and Results

A key insight of the MEMD framework is the correlation between latent vector dispersion and output diversity. By using Principal Component Analysis (PCA) to visualize the latent space, the authors demonstrated that MEMD produces a significantly more "scattered" distribution of vectors compared to baseline models.

PCA visualization of latent vectors showing increased dispersion in the MEMD framework compared to baseline models.

Quantitative and Qualitative Performance

The framework was evaluated on the STC-weibo corpus, consisting of approximately 200,000 post-response pairs.

  • Diversity Metrics: MEMD achieved substantial gains in "Distinct-1" and "Distinct-2" scores. In test sets, the number of distinct unigrams rose from 148 (standard Seq2Seq) to 882.
  • Human Evaluation: In blind tests, human labelers preferred MEMD responses, rating them as "informative and interesting" 40% of the time, more than double the baseline's 18%.
  • Contextual Relevance: Unlike baseline models that often fail to grasp specific entities, MEMD demonstrated an ability to maintain context, such as correctly identifying geographic locations in a dialogue.

Conclusion and Future Work

MEMD provides a zero-cost improvement to chatbot diversity by optimizing the latent space without requiring external knowledge bases. However, the framework currently focuses on single-turn short-text conversations. Future research is needed to determine its scalability to multi-turn dialogues and its performance across different languages, as the current evaluation was limited to Chinese social media data. Additionally, the sensitivity of the model to initialization strategies suggests that training requires careful hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{zou2018memd,
  author = {Meng Zou and Xihan Li and Haokun Liu and Zhi-Hong Deng},
  title = {{MEMD: A Diversity-Promoting Learning Framework for Short-Text Conversation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=rbF2m1DTsXs},
}
Figure