Source-linked AI summary

Deep Dyna-Q: Integrating Planning for Task-Completion Dialogue Policy Learning

Baolin Peng, Xiujun Li, Jianfeng Gao, Jingjing Liu, Kam-Fai Wong, Shang-Yu Su

arXiv:1801.06176v3cs.CLcs.AIcs.LGcs.NE

TL;DR

Training task-completion dialogue policies with real users is costly, and simulators may not capture human conversational complexity. Deep Dyna-Q integrates a world model and planning into dialogue policy learning, using real and simulated experience. The paper reports significant success-rate improvement and validates the approach in human-in-the-loop experiments.

  • Problem

    Real-user reinforcement learning for task-completion dialogue is costly, while simulators may lack human conversational complexity and carry design biases.

    Source: §1 · p. 1
  • Method

    Deep Dyna-Q integrates a world model into dialogue policy learning, using real-user experience to update the model and policy and simulated experience for planning.

    Source: §1 · p. 2
  • Results

    Deep Dyna-Q significantly improved success rate on a nontrivial task and was validated in human-in-the-loop experiments.

    Source: §1 · p. 2, §4 · p. 9
  • Takeaways & Limitations

    The approach is reported to adapt dialogue policies efficiently with a small number of real-user interactions, at an affordable cost in many nontrivial domains.

    Source: §1 · p. 2, §4 · p. 9

    Choosing the planning-step count is nontrivial because it must balance world-model quality against simulated experience, which may hurt performance when low quality late in training.

    Source: §3.3 · p. 7

Abstract

from arXiv · show

Training a task-completion dialogue agent via reinforcement learning (RL) is costly because it requires many interactions with real users. One common alternative is to use a user simulator. However, a user simulator usually lacks the language complexity of human interlocutors and the biases in its design may tend to degrade the agent. To address these issues, we present Deep Dyna-Q, which to our knowledge is the first deep RL framework that integrates planning for task-completion dialogue policy learning. We incorporate into the dialogue agent a model of the environment, referred to as the world model, to mimic real user response and generate simulated experience. During dialogue policy learning, the world model is constantly updated with real user experience to approach real user behavior, and in turn, the dialogue agent is optimized using both real experience and simulated experience. The effectiveness of our approach is demonstrated on a movie-ticket booking task in both simulated and human-in-the-loop settings.

1 Introduction

Training dialogue policies with real users can be costly, while user simulators may miss human conversational complexity and introduce design bias. Deep Dyna-Q integrates planning into dialogue policy learning and is presented as a way to adapt efficiently through a small number of real-user interactions.

1 Introduction

  • Real-user reinforcement learning can be costly because failures in task-completion dialogue may carry significant real-world costs.The paper notes that, beyond very simple tasks, training dialogue agents from scratch with real users is too expensive.Source: §1 · p. 1
  • User simulators can provide unlimited simulated experience, but their conversational limitations and design biases make their validity for training controversial.The paper also notes that there is no universally accepted metric for evaluating a user simulator.Source: §1 · pp. 1–2
  • The approach incorporates a world model that generates simulated user experience, while real-user experience improves the model and directly updates the dialogue policy.Policy improvement through the world model is called planning or indirect reinforcement learning; direct updates are called direct reinforcement learning.Source: §1 · p. 2
  • The framework combines Dyna-Q with neural-network representations to handle the larger action-state space of dialogue policy learning.The paper contrasts this setting with earlier Dyna extensions using linear function approximation.Source: §1 · p. 2
  • The paper positions its approach against model-based RL methods developed mainly for synthetic simulation problems rather than human-in-the-loop settings.It proposes learning through real-user interaction while using only a small number of such interactions.Source: §1 · p. 2
  • Deep Dyna-Q integrates planning into task-completion dialogue policy learning and is presented as the first deep RL framework for this purpose.The paper also demonstrates policy adaptation through real-user interactions and reports a significant success-rate improvement on a nontrivial task.Source: §1 · p. 2

2 Dialogue Policy Learning via Deep Dyna-Q (DDQ)

DDQ combines a modular dialogue agent with direct learning from users, world-model refinement, and planning from simulated experience.

2 Dialogue Policy Learning via Deep Dyna-Q (DDQ)

  • The five-module agent iteratively combines direct reinforcement learning, world-model learning, and planning to improve its dialogue policy.Its modules cover NLU, state tracking, policy, NLG, and simulated user actions and rewards.Source: §2 · pp. 2–3

2.1 Direct Reinforcement Learning

  • The policy selects actions with an ε-greedy Q-network, learns from real dialogue transitions, and updates its value function through minibatch Deep Q-learning.The Q-network is trained to minimize mean-squared loss, using a periodically updated target value function.Source: §2.1 · p. 3

2.2 Planning

  • Planning rolls out dialogues from sampled user goals and uses the world model to generate simulated responses, rewards, and termination signals for policy updates.The agent stores simulated experience separately and performs K planning steps per direct-learning step.Source: §2.2 · pp. 3–4

2.3 World Model Learning

  • The world model is refined on real experience using a multi-task network with shared lower layers and task-specific heads for user actions, termination, and reward.The tasks comprise two classifications and one regression.Source: §2.3 · p. 5

3 Experiments and Results

The experiments evaluate Deep Dyna-Q on movie-ticket booking using simulated and human users, and compare it with direct-RL and other DDQ variants.

3.1 Dataset

  • The movie-ticket dataset contains 280 manually annotated dialogues, averaging approximately 11 turns, with 11 dialogue acts and 16 slots.Source: §3.1 · p. 5

3.2 Dialogue Agents for Comparison

  • The comparisons include direct-RL DQN, DDQ with a pretrained or randomly initialized world model, fixed-model DDQ, and DQN with extra real experience.The fixed-model DDQ and extra-experience DQN variants were evaluated only in simulation.Source: §3.2 · p. 5

3.3 Simulated User Evaluation

  • In simulation, DDQ(10) reached 50% success in 50 epochs, compared with about 180 epochs for DQN.DDQ agents consistently outperformed DQN by a statistically significant margin.Source: Figure 4 · p. 6, §3.3 · pp. 6–7
  • Planning-step choice trades world-model quality against useful simulated experience; low-quality experience can hurt late training, so the implementation heuristically reduces K.Pretraining speeds early learning, while updating the world model improves final performance; DDQ was almost 10% better than fixed-model DDQ after 400 epochs.Source: Figure 5 · p. 6, §3.3 · p. 7

3.4 Human-in-the-Loop Evaluation

  • In human evaluation, DDQ significantly outperformed DQN; after 100 real dialogues, DDQ completed 50% of user tasks.The study collected 1,500 dialogue sessions across five agents.Source: §3.4 · pp. 7–8
  • Human results also showed better outcomes with larger K and improved learning efficiency and performance from pretraining the world model on conversational data.Source: Figure 6 · p. 7, §3.4 · pp. 8–9

4 Conclusion

Deep Dyna-Q integrates planning into task-completion dialogue policy learning and is validated in human-in-the-loop experiments. The conclusion identifies planning exploration as a future challenge.

4 Conclusion

  • Human-in-the-loop experiments validate DDQ's ability to efficiently adapt dialogue policies on the fly through deep RL.The approach is intended to learn efficiently with only a small number of real-user interactions.Source: §4 · p. 9
  • Deep Dyna-Q integrates planning into task-completion dialogue policy learning and is presented as an efficient strategy for learning from real users.The paper reports that it uses only a small number of real-user interactions.Source: §4 · p. 9
  • Future work must address planning exploration: trying actions to improve the world model without greatly degrading performance.The paper frames this as a balance between exploration and exploiting the current model.Source: §4 · p. 9

A Dataset Annotation Schema

Table 4 presents the data annotation schema, detailing the annotated dialogue acts and slots.

A Dataset Annotation Schema

B User Simulator

In task-completion dialogue, the agent must help users achieve goals that remain implicit to it. The simulator represents those goals with slots and samples goals assembled from labeled dialogue data.

B User Simulator

  • The user goal is implicit to the agent, whose objective is to help the user accomplish it.Source: B User Simulator · p. 11
  • User goals include inform slots with constraints and request slots for values users want from the agent.In the movie-booking scenario, required slots include movie name, theater, start time, date, and number of people; other slots can be optional.Source: B User Simulator · p. 11
  • The simulator builds its user-goal database by extracting slots from first turns or from first appearances across turns, then samples a goal for each dialogue.Source: B User Simulator · p. 11
Loading 1801.06176v3…