Integrating planning for task-completion dialogue policy learning

Baolin Peng, Xiujun Li, Jianfeng Gao, Jingjing Liu, Kam-Fai WongarXiv 2018

TL;DR

This paper introduces Deep Dyna-Q (DDQ), a novel deep reinforcement learning framework that integrates planning into dialogue policy learning for task-completion agents. By incorporating a learned "world model" of user behavior, DDQ efficiently leverages both real user interactions and simulated experiences to train more robust and adaptable dialogue agents, significantly outperforming traditional methods.

What Problem Does This Paper Address?

Training dialogue agents using reinforcement learning (RL) typically requires extensive interaction with real users, which is costly and time-consuming. While user simulators offer a cheaper alternative, they often lack the complexity and nuances of human conversation, leading to agents that perform poorly when deployed with actual users. This gap highlights the need for a more efficient and effective way to train dialogue agents that can learn from limited real-world data while still benefiting from simulated interactions.

Methods

The core contribution is the Deep Dyna-Q (DDQ) framework. DDQ builds upon the Dyna-Q architecture, which combines direct RL with planning using a learned world model. The key innovation here is the application of deep learning to represent the state-action space, enabling DDQ to handle the complexity of dialogue tasks.

Here's a breakdown of the DDQ process:

  • World Model: A neural network (specifically, a multi-task neural network) is trained to predict user responses, rewards, and dialogue termination based on the current dialogue state and the agent's action. This model learns from real user interactions.
  • Planning: The learned world model is used to generate simulated user experiences. The dialogue agent then uses these simulated experiences to "plan" and improve its policy, similar to how one might practice a skill in their mind before performing it. This planning step is crucial for efficient learning.
  • Direct Reinforcement Learning: The agent also learns directly from real user interactions using a Deep Q-Network (DQN) approach.
  • Iterative Training: These processes (world model learning, planning, and direct RL) are integrated into an iterative training loop. Real user data updates the world model, and both real and simulated experiences are used to train the dialogue policy.

Datasets

The experiments were conducted on a movie-ticket booking task using a dataset collected via Amazon Mechanical Turk. This dataset was manually labeled with 11 dialogue acts and 16 slots, comprising 280 annotated dialogues with an average length of 11 turns. The paper also mentions adapting a publicly available user simulator for evaluation.

Key Insights and Ideas

  • Bridging the Simulation-Real Gap: DDQ offers a promising way to leverage the efficiency of simulators while mitigating their limitations by continuously updating the world model with real user data. This allows the agent to adapt to real user behavior.
  • Planning for Dialogue Efficiency: Integrating planning significantly speeds up the learning process. DDQ agents reach high success rates much faster than pure DQN agents, requiring fewer real user interactions.
  • World Model Quality Matters: The performance of DDQ is sensitive to the quality of the learned world model. Pre-training the world model with human conversational data leads to more efficient learning and better final performance compared to starting with a randomly initialized model.
  • The Role of Planning Steps (K): A larger number of planning steps (K) generally leads to more aggressive learning and better results, but there's a trade-off. Aggressive planning with a low-quality world model can actually hurt performance. The paper suggests a heuristic to reduce K in later stages of training.

Key Results

  • Superior Performance: DDQ agents consistently outperformed standard DQN agents in both simulated and human-in-the-loop evaluations, achieving statistically significant improvements in success rate.
  • Faster Learning: DDQ agents reached a 50% success rate in approximately 180 real dialogues, whereas a pure DQN agent required significantly more. DDQ with planning (K>0) achieved this much faster.
  • Human-in-the-Loop Success: In human-in-the-loop experiments, DDQ agents demonstrated robustness and adaptability, completing tasks more successfully than DQN agents. For instance, after 100 dialogues, DDQ could complete 50% of user tasks, while DQN still behaved like a naive rule-based agent.
  • Impact of Pre-training: DDQ agents with a pre-trained world model showed significantly better performance than those with a randomly initialized world model.

Limitations and Future Work

  • Exploration in Planning: The paper acknowledges that adapting the world model in a changing environment presents a challenge, particularly concerning the exploration-exploitation trade-off in planning. Future work could focus on optimizing this exploration strategy.
  • Optimizing K: The optimal number of planning steps (K) is not fixed and may need to be adjusted during training. The paper suggests a heuristic but leaves the principled optimization of K for future research.
  • Domain Adaptation: The challenge of adapting dialogue models to new domains is mentioned as an area for future investigation.

Summary updated

BibTeX
@misc{peng2018integrating,
  author = {Baolin Peng and Xiujun Li and Jianfeng Gao and Jingjing Liu and Kam-Fai Wong},
  title = {{Integrating planning for task-completion dialogue policy learning}},
  year = {2018},
  eprint = {1801.06176},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.06176},
}
Figure