Generative Dialog Policy for Task-oriented Dialog Systems

Tian Lan, Xianling Mao, Heyan HuangarXiv 2019

Introduction

Task-oriented dialogue systems, which power modern virtual assistants, rely on a Dialogue Policy (DP) to determine the system's next action based on user intent and conversation state. Traditionally, this has been framed as a classification problem. However, this paper proposes a paradigm shift toward a Generative Dialogue Policy (GDP). By treating action selection as a sequence-to-sequence (seq2seq) generation task, the authors enable systems to handle complex, multi-part responses that were previously difficult to model.

The Challenge of Multi-Act Responses

In standard restaurant or travel booking bots, a single user turn often requires the bot to perform multiple actions simultaneously. For instance, a bot might need to offer a restaurant name while also informing the user of its price range.

Classification-based models struggle with this "combinatorial explosion." To handle every possible combination of dialogue acts and slots, a classifier would require an exponentially large number of labels. Consequently, these models often default to picking a single act, losing critical information, or fail to include specific parameters for all required acts. Analysis of common datasets shows that 50% to 60% of dialogue turns require these complex, multi-act responses, highlighting a significant gap in traditional approaches.

Proposed Methodology: Generative Dialogue Policy (GDP)

The GDP model replaces the fixed label set of a classifier with a generative decoder that "writes" the dialogue policy as a sequence of tokens. This approach allows the model to learn the "language" of actions rather than just selecting from a list.

The GDP architecture integrates a Bi-GRU encoder, a Dialogue Belief Tracker, and a generative Policy Maker to produce structured action sequences.

Architecture Components

  • Encoder: A bidirectional Gated Recurrent Unit (Bi-GRU) encodes dialogue history and user input into a dense vector representation.
  • Dialogue Belief Tracker (DBT): This component tracks user goals and constraints (e.g., "Food=Chinese", "Price=cheap") throughout the conversation.
  • Generative Policy Maker: A seq2seq decoder with an attention mechanism generates the sequence of dialogue acts and their corresponding parameters (slots/values).
  • Language Template Generator: The generated action sequence is finally mapped to a natural language response using predefined templates.

Training Strategy

The model undergoes a two-stage training process. First, it is trained via Supervised Learning using cross-entropy loss to predict correct sequences. Second, it is fine-tuned using Reinforcement Learning (RL) via the REINFORCE algorithm, where the model receives rewards for generating accurate acts and parameters.

Experimental Setup and Datasets

The GDP model was evaluated on two distinct benchmarks: the DSTC2 (Dialogue State Tracking Challenge 2), a standard human-machine dataset for restaurant reservations, and Maluuba (Frames), a complex human-human travel booking dataset featuring 60 different slots and continuous values.

Results and Discussion

The GDP model significantly outperformed state-of-the-art classification baselines like E2ECM and CDM across multiple metrics. On the DSTC2 dataset, the GDP+RL model achieved an Action Accuracy (APRA) of 0.5766, nearly doubling the performance of the CDM+RL baseline (0.2873). Furthermore, the model's BLEU score of 0.2879 indicates a higher quality of natural language response.

A key advantage of the generative approach is its ability to handle continuous values naturally. Because the model generates tokens, it does not require values like specific prices to be discretized, allowing for more precise information delivery in complex domains like travel booking.

Limitations and Future Work

While highly effective, the GDP model introduces increased computational complexity. The generative nature of the policy requires a significantly larger parameter count compared to simple classifiers.

Comparison of model and dialogue policy sizes across different architectures, showing the increased complexity of the GDP model.

As shown in the figure above, the GDP model is substantially larger, leading to longer training times—for example, 134 minutes on the Maluuba dataset compared to 29 minutes for the baseline. Future research may focus on optimizing this complexity or moving toward a fully end-to-end generative Natural Language Generator (NLG) to replace the current template-based system.

Summary updated

BibTeX
@misc{lan2019generative,
  author = {Tian Lan and Xianling Mao and Heyan Huang},
  title = {{Generative Dialog Policy for Task-oriented Dialog Systems}},
  year = {2019},
  eprint = {1909.09484},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.09484},
}
Figure