Tailored Sequence to Sequence Models to Different Conversation Scenarios

Hainan Zhang, Yanyan Lan, Jiafeng Guo, Jun Xu, Xueqi Cheng

Abstract

Standard dialogue models often default to "safe" but uninformative responses like "I don't know" because they attempt to average out all possible valid answers. This paper introduces two tailored optimization strategies to address the "one-to-many" mapping problem: Maximum Generated Likelihood (MGL) for technical helpdesks where accuracy is paramount, and Conditional Value-at-Risk (CVaR) for social chatbots where diversity and engagement are key. Evaluations on the Ubuntu and Weibo datasets show that these scenario-specific objectives significantly outperform standard average-likelihood models.

Introduction

In natural conversation, a single prompt can elicit many valid responses—a phenomenon known as "one-to-many" mapping. Current Sequence-to-Sequence (Seq2Seq) models typically train by maximizing the average likelihood of all responses in the training data. This "one-size-fits-all" approach leads to the "lowest common denominator" effect, where models produce generic, repetitive replies—the "I don't know" trap.

Different dialogue scenarios have distinct requirements. A customer service bot must be specific and accurate, while a social chatbot should be varied and engaging. This research argues that the root of generic responses lies in the objective function rather than the neural architecture itself.

Methodology

The authors propose moving away from global averaging toward two scenario-specific objectives built on a standard LSTM-based Seq2Seq architecture with attention.

Maximum Generated Likelihood (MGL)

Designed for specific-requirement scenarios, MGL encourages the model to commit to the most significant matching pattern rather than an average of all ground-truth responses. By approximating a "max" operator with a softmax function, the model is pushed to generate high-quality, specific answers.

Conditional Value-at-Risk (CVaR)

Designed for diverse-requirement scenarios, CVaR borrows from financial risk management to focus on the "tail" of a distribution. It forces the model to improve performance on the "worst" (least likely) valid responses. This ensures the model captures less frequent but semantically distinct patterns, leading to a wider variety of responses for the same prompt.

Experimental Results

The models were evaluated on the Ubuntu Dialogue Corpus (technical support) and the Chinese Weibo Dataset (social media).

Specific Scenario: Ubuntu

On the Ubuntu dataset, the MGL model demonstrated superior performance in technical accuracy. As shown in the results below, MGL achieved the highest BLEU score (1.354) and the lowest Perplexity (26.34) among all tested models.

Performance of various models on the Ubuntu Dialogue Corpus. MGL achieves the best BLEU and PPL scores.

Human evaluators corroborated these findings, giving MGL an average score of 2.18 (out of 3), compared to 1.68 for the baseline Seq2Seq-att model. It successfully generated technical instructions where other models produced generic "What do you mean?" replies.

Diverse Scenario: Weibo

In the social media context, the CVaR model excelled at generating diverse responses. The following table highlights that CVaR achieved the lowest "overlap" score (38.96), indicating that its generated responses for the same prompt were significantly more distinct from one another.

Performance on the Weibo dataset. CVaR significantly reduces response overlap, enhancing diversity.

Human evaluators preferred CVaR's responses for their relevance to different potential topics within a single post, such as discussing specific players in a sports-related thread versus the game's outcome.

Conclusion

The "safe response" problem is primarily a consequence of objective functions that average different valid meanings into a mathematical "gray." By employing MGL for commitment and CVaR for coverage, dialogue systems can be better tailored to their specific operational goals. Future work will explore the robustness of these risk-sensitive functions and their application to multi-turn conversations.

Summary updated

BibTeX
@inproceedings{zhang2018tailored,
  author = {Hainan Zhang and Yanyan Lan and Jiafeng Guo and Jun Xu and Xueqi Cheng},
  title = {{Tailored Sequence to Sequence Models to Different Conversation Scenarios}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-1137},
}
Figure