Amalgamating Knowledge from Two Teachers for Task-oriented Dialogue System with Adversarial Training

Wanwei He, Min Yang, Rui Yan, Chengming Li, Ying Shen

Abstract

Task-oriented dialogue systems (TDSs) face the dual challenge of accurate knowledge base (KB) retrieval and fluent natural language generation. Traditional models often struggle to balance these competing objectives, leading to either factual errors or incoherent responses. We propose the Two-Teacher One-Student (TTOS) framework, which decouples these skills into two specialized teacher networks: a KB-oriented teacher and a dialogue pattern teacher. A student model is then trained via adversarial learning to amalgamate the expertise of both teachers. Experimental results on CamRest and In-Car Assistant benchmarks show that TTOS significantly outperforms existing state-of-the-art models in both BLEU and Entity F1 scores, demonstrating superior stability in multi-turn conversations.

Introduction

Task-oriented dialogue systems (TDSs) are designed to assist users in completing specific tasks, such as restaurant reservations or schedule management. To be effective, these systems must navigate a "dual-burden": they must accurately query external Knowledge Bases (KB) to provide correct information while simultaneously generating human-like, contextually appropriate responses.

Traditional pipeline architectures (NLU → DST → Policy → NLG) often suffer from error propagation, where a misunderstanding in the early stages leads to a failure in the final response. While end-to-end neural models mitigate this, they frequently struggle to master both factual accuracy and linguistic fluency. Models optimized for accuracy may sound robotic, while those optimized for fluency may "hallucinate" incorrect entities. This paper introduces a novel training strategy to bridge this gap.

Methods: The TTOS Framework

The core of our approach is the Two-Teacher One-Student (TTOS) framework. This architecture utilizes a sequence-to-sequence backbone with dynamic key-value memory, enhanced by a specialized training regime involving two "expert" teachers.

The TTOS framework architecture featuring pre-training with two specialized teachers and adversarial learning with dual discriminators.

Specialized Teachers

  1. KB-Oriented Teacher ($T_{KB}$): This network is trained using Reinforcement Learning (RL) with a reward function based on Entity F1 scores. It specializes exclusively in retrieving the correct entities from the database.
  2. Dialogue Pattern Teacher ($T_{DP}$): Also trained via RL, this teacher uses BLEU scores as its reward. Its goal is to master the natural flow and grammatical structure of human conversation.

Adversarial Amalgamation

The student network ($S$) is the final deployable model. Rather than using standard Knowledge Distillation—which can be overly restrictive by forcing the student to mimic exact output probabilities—we employ Adversarial Training. Two discriminators are used: one to distinguish the student's output from the KB expert, and another to distinguish it from the language expert. The student learns to "fool" both discriminators, effectively internalizing the strengths of both teachers in a "relaxed coupling" that allows for better generalization.

Experimental Results

We evaluated the TTOS framework on two benchmark datasets: CamRest (restaurant reservations) and In-Car Assistant (scheduling, weather, and navigation).

Quantitative Performance

On the CamRest dataset, TTOS achieved a BLEU score of 20.45 and an Entity F1 of 61.50, representing a substantial improvement over previous state-of-the-art models like GLMP (~22% and ~21% improvement, respectively). Similar gains were observed on the In-Car Assistant dataset, where TTOS outperformed baselines across most metrics.

Stability in Long Dialogues

A critical finding of this research is the model's stability over time. As shown in Figure 2, many baseline models experience a significant drop in performance as the number of turns in a dialogue increases. In contrast, TTOS maintains a high and stable BLEU score, suggesting it tracks context and manages the dialogue state more effectively than its predecessors.

Comparison of BLEU scores across dialogue turns, demonstrating the stability of the TTOS model compared to baselines.

Human Evaluation

In addition to automated metrics, human annotators performed blind tests. TTOS was consistently rated higher in both "informativeness" and "human-likeness," confirming that the adversarial amalgamation of teacher knowledge translates into a measurably better user experience.

Conclusion and Future Work

The TTOS framework demonstrates that specializing expertise into separate teacher models and then merging them via adversarial training is a powerful strategy for task-oriented dialogue. By relaxing the coupling between teacher and student, the model achieves a superior balance of factual accuracy and linguistic fluency.

However, challenges remain in domains requiring complex multi-step reasoning, such as point-of-interest navigation. Future research will explore more sophisticated methods for integrating KB knowledge to handle these intricate logic chains more robustly.

Summary updated

BibTeX
@inproceedings{he2020amalgamating,
  author = {Wanwei He and Min Yang and Rui Yan and Chengming Li and Ying Shen and Ruifeng Xu},
  title = {{Amalgamating Knowledge from Two Teachers for Task-oriented Dialogue System with Adversarial Training}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.281},
}
Figure