MSDF: A General Open-Domain Multi-skill Dialog Framework

Yu Zhao, Xinshuo Hu, Yunxin Li, Baotian Hu, Dongfang Li, Sichao Chen, Xiaolong Wang

TL;DR

MSDF (Multi-Skill Dialog Framework) is a general-purpose architecture designed to handle diverse conversational tasks—like knowledge-grounded chat, persona-based dialog, and recommendations—within a single system. By combining a multi-source encoder-decoder generator with a RoBERTa-based consistency selector, it achieves state-of-the-art performance and won 3rd prize in the 2021 Language and Intelligence Challenge.

What Problem Does This Paper Address?

Most current dialog systems are "specialists"—they are meticulously designed for a single scenario, such as movie recommendations or factual question answering. However, real-world human conversation is fluid; we often jump between sharing personal anecdotes, discussing facts, and suggesting products in a single session.

Building separate, complex models for every possible scenario is inefficient and results in systems that lack universality. The authors of MSDF tackle the challenge of creating a general framework that can effectively utilize information from diverse sources (structured knowledge, user profiles, persona descriptions) and transfer easily across different dialog sub-tasks without requiring a complete architectural overhaul.

Methods

The MSDF architecture employs a two-stage "generate-then-select" pipeline to ensure both diversity and contextual relevance.

Overall MSDF Framework
  1. Response Generator: The backbone is an encoder-decoder model featuring BERT-based encoders and a GPT-based decoder. To handle different types of input, the authors use multiple identical encoders to process dialog history, external knowledge, and persona information separately. These are then integrated via a multi-source information fusion module in the decoder. A copy mechanism is also included, allowing the model to directly "point" to and extract entities from the provided knowledge base to ensure factual accuracy.
  2. Consistency Selector: Generative models often suffer from the "one-to-many" problem, where they might produce several valid-sounding responses, some of which are generic or slightly off-topic. MSDF addresses this by using a RoBERTa-based binary classifier. This selector ranks a pool of candidate responses generated in the first stage and picks the one that is most contextually consistent with the conversation history.
Detailed Generation Process

Datasets

The model underwent extensive training across several large-scale Chinese datasets:

  • Pre-training: To build a general conversational foundation, the authors used LCCC, Weibo, Douban, DuConv, KdConv, and DuRecDial.
  • Fine-tuning & Evaluation: The framework was tested on three specific tasks:
  • DuConv: For knowledge-grounded dialog (e.g., chatting about movies and stars).
  • DuRecDial: For conversational recommendation (e.g., suggesting movies based on user interest).
  • Chinese Persona Chat (CPC): For persona-based dialog (e.g., maintaining a consistent bot personality).

Key Insights and Ideas

  • The "Generate-then-Select" Advantage: While end-to-end generation is standard, adding a dedicated selection stage significantly boosts performance. The consistency selector, trained via negative sampling, acts as a filter that prevents the model from outputting generic "safe" responses (like "I don't know") in favor of more relevant ones.
  • Modular Multi-Source Fusion: Instead of concatenating all inputs into one long string, using separate encoders for history, persona, and knowledge allows the model to learn more distinct representations. This modularity makes the framework "pluggable"—you can easily add or remove a persona module depending on the task.
  • Knowledge Copying is Crucial: The inclusion of a pointer-generator-style copy mechanism was found to be vital for tasks requiring factual grounding, as it allows the model to precisely replicate names and dates from the knowledge graph.

Key Results

MSDF significantly outperformed standard baselines like Seq2Seq, HRED, and even large pre-trained models like DialoGPT.

  • Quantitative Dominance: On an aggregate score of F1 and BLEU metrics across the three tasks, MSDF achieved a score of 0.934, nearly doubling the performance of the BERT-GPT baseline (0.573).
  • Ablation Studies: Removing the consistency selector dropped the score to 0.872, while removing the extra knowledge module caused a massive drop to 0.705, proving that the framework effectively leverages external information.
  • Competition Success: MSDF won 3rd prize in the 2021 Language and Intelligence Challenge, notably ranking higher in human evaluation (6th) than in automatic metrics (9th), suggesting it produces more "human-like" responses than its competitors.

Limitations and Future Work

The authors noted that the consistency selector occasionally exhibits a bias toward "common" responses, which can sometimes dilute the specific persona of the bot. Additionally, while the model handles three major skills, real-world interaction involves even more nuances. Future work aims to expand MSDF to a wider variety of tasks and further refine the balance between response diversity and contextual consistency.

Summary updated

BibTeX
@inproceedings{zhao2021msdf,
  author = {Yu Zhao and Xinshuo Hu and Yunxin Li and Baotian Hu and Dongfang Li and Sichao Chen and Xiaolong Wang},
  title = {{MSDF: A General Open-Domain Multi-skill Dialog Framework}},
  booktitle = {NLPCC},
  year = {2021},
  url = {https://openreview.net/forum?id=MweWUM09UlM},
}
Figure