Bootstrapped Policy Learning for Task-oriented Dialogue through Goal Shaping

Yangyang Zhao, Ben Niu, Mehdi Dastani, Shihan WangEMNLP 2024

Abstract

Reinforcement Learning (RL) in Task-oriented Dialogue (ToD) systems often suffers from the sparse reward problem, where agents fail to learn from complex tasks due to infrequent success signals. We present Bootstrapped Policy Learning (BPL), a framework that employs "Goal Shaping" to dynamically decompose complex dialogue goals into manageable subgoals. By mastering these subgoals and incrementally evolving them back into the original tasks, BPL facilitates efficient policy optimization without requiring manually defined curricula. Experimental results across multiple datasets demonstrate that BPL significantly outperforms traditional RL and existing curriculum learning baselines.

Introduction

Task-oriented Dialogue (ToD) systems aim to assist users in completing specific tasks, such as booking flights or making restaurant reservations. While Reinforcement Learning (RL) is a standard approach for optimizing dialogue policies, it faces a significant bottleneck: reward sparsity. In complex scenarios involving numerous information "slots" (e.g., date, time, location), an agent receives a reward only upon successful completion of the entire task. A single error in a long dialogue sequence results in zero reward, leaving the agent with little guidance on which actions were correct.

Existing solutions like Curriculum Learning (CL) attempt to mitigate this by training agents on simpler tasks first. However, CL typically requires a pre-existing set of intermediate goals, which are often unavailable in real-world datasets. This paper introduces Bootstrapped Policy Learning (BPL), which enables an agent to "shape" its own goals by decomposing failures and evolving successes.

Methodology: Goal Shaping

The core of the BPL framework is the Goal Shaping mechanism, which consists of two primary components: the Decomposer and the Evolver.

Goal Decomposition

When an agent fails to achieve a complex goal $g_i$, the Decomposer analyzes the dialogue trajectory. It utilizes "Boundary State Detection" to identify the furthest state $s_k$ where the agent was still performing correctly before the dialogue diverged from the goal. This boundary state is used to create a simplified Boundary Subgoal, while the remaining unfulfilled constraints form a Failed Subgoal. This process allows the agent to focus on mastering the reachable parts of a task first.

Goal Evolution

Once the agent demonstrates proficiency in a simplified subgoal, the Evolver takes over. It gradually reintroduces the original constraints, ensuring a "smooth knowledge transition." This evolutionary process allows the agent to build upon previously learned skills to tackle increasingly complex versions of the task.

The Goal Shaping process within the BPL framework, illustrating how failed trajectories are decomposed into subgoals and subsequently evolved back into complex goals.

The framework is "bootstrapped" because it generates its own curriculum based on the agent's current performance, eliminating the need for human-defined intermediate steps.

Experimental Setup

The BPL framework was evaluated on four public datasets of varying complexity:

  • Movie Ticket Booking (Easy: 5–7 slots)
  • Restaurant Reservation (Moderate: 5–12 slots)
  • Taxi Ordering (Difficult: 8–13 slots)
  • MultiWOZ 2.1 (Multi-domain complexity)

The researchers tested various configurations, including different decomposition triggers (e.g., immediate failure vs. failure after $N$ epochs) and evolution strategies (e.g., fixed slot increments vs. reward-based control).

Results and Discussion

BPL variants consistently outperformed standard Deep Q-Networks (DQN) and state-of-the-art curriculum learning methods like VACL and SDPL.

Performance comparison of BPL variants against state-of-the-art baselines across three datasets. BPL variants consistently outperform standard RL and curriculum learning methods.

Key findings include:

  • Superior Success Rates: In the "Difficult" Taxi dataset, BPL achieved a success rate of approximately 81.8%, more than doubling the performance of the standard DQN baseline (~36.4%).
  • Universal Patterns: Two specific configurations, BPL-TF and BPL-TE, emerged as "universal" high-performers. These involve delaying decomposition until after initial training epochs, preventing the agent from prematurely simplifying tasks it might have solved with more exploration.
  • Knowledge Transfer: The study confirmed that mastering subgoals provides reusable skills. An agent that learns to book a taxi for one specific goal can apply that knowledge to other goals sharing the same requirements.

Conclusion

Bootstrapped Policy Learning offers a robust solution to the sparse reward problem in ToD systems. By automating the creation of a task curriculum through Goal Shaping, BPL enables agents to learn complex policies more efficiently and effectively than traditional methods. Future research will explore the transferability of these learned skills across different agents and domains to further enhance the versatility of the framework.

Summary updated

BibTeX
@inproceedings{zhao2024bootstrapped,
  author = {Yangyang Zhao and Ben Niu and Mehdi Dastani and Shihan Wang},
  title = {{Bootstrapped Policy Learning for Task-oriented Dialogue through Goal Shaping}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.263},
}
Figure