Dynamic Dialogue Policy Transformer for Continual Reinforcement Learning

Christian Geishauser, Carel van Niekerk, Nurul Lubis, Michael Heck, Hsien-Chin Lin, Shutong Feng, Milica Gasic · DOI

Introduction

Task-oriented dialogue systems (TODS) are traditionally built upon static ontologies—predefined maps of domains, slots, and values. While effective in controlled environments, these systems struggle to adapt to new requirements post-deployment. Expanding a system’s capabilities usually necessitates retraining from scratch or adding new parameters, both of which are computationally expensive and prone to catastrophic forgetting, where the model loses its proficiency in previously learned tasks.

This paper introduces the Dynamic Dialogue Policy Transformer (DDPT), the first comprehensive framework designed for continual reinforcement learning (RL) in dialogue policies. By utilizing natural language descriptions and a novel architectural "domain gate," DDPT enables dialogue systems to learn new tasks sequentially without increasing parameter count or sacrificing performance on older domains.

The Challenge: Continual Learning in Dialogue

In the context of dialogue policy—the component responsible for deciding the system's next action—continual learning presents a significant hurdle. Unlike state tracking, which has seen some progress in continual learning, the policy must navigate a shifting action space as new domains are introduced. Existing methods often rely on "adapters" that grow the model size or experience replay buffers that are difficult to balance. The authors identify a critical gap in the field: the lack of a standardized framework, metrics, and baseline architectures for training policies that can grow and adapt as fluidly as human agents.

The DDPT Framework

To address these challenges, the researchers propose a two-pronged approach involving a specific training algorithm and a novel architecture.

1. Training with CLEAR

The framework adapts the CLEAR algorithm (Experience Replay with VTRACE) for the dialogue setting. This method maintains a replay buffer of past interactions. During training, the model performs a mix of "on-policy" updates to master the current task and "off-policy" updates using the buffer to prevent the erosion of knowledge from previous tasks.

2. DDPT Architecture

The DDPT model departs from traditional ID-based slot and intent representations in favor of a more flexible, language-centric design:

  • Description Embeddings: Instead of treating slots and intents as arbitrary indices, DDPT uses a frozen RoBERTa model to generate embeddings of their natural language descriptions (e.g., "area of the hotel"). This allows the model to exploit semantic similarities across different domains.
  • Transformer Encoder-Decoder: The dialogue state is represented as a set of these description embeddings, which are then processed by a Transformer to capture dependencies between different parts of the conversation.
  • The Domain Gate: This is the model's most critical innovation. To manage an expanding action space, the model first utilizes a gate to determine whether the next action should pertain to a domain currently "active" in the dialogue or a "non-current" one. This abstraction simplifies the search space and prevents the model from becoming overwhelmed as the number of domains grows.

Experimental Setup

The framework was evaluated using the MultiWOZ dataset, focusing on five core domains: Hotel, Restaurant, Train, Taxi, and Attraction. To simulate real-world learning scenarios, the researchers presented these domains in three distinct sequences: Easy-to-hard, Hard-to-easy, and Mixed.

Performance was measured using both rule-based and Transformer-based (TUS) user simulators. Furthermore, a human trial via Amazon Mechanical Turk was conducted to validate the system's effectiveness in real-world interactions.

Key Insights and Results

Zero-Shot and Forward Transfer

By using language as a universal interface, DDPT demonstrates remarkable zero-shot capabilities. Because the model understands the semantic meaning of slots (like "price" or "location"), it can transfer logic learned in one domain (e.g., Hotels) to a new one (e.g., Restaurants) immediately. In the "easy-to-hard" setup, DDPT achieved a forward transfer success rate of 0.73, significantly outperforming the best baseline, which reached only 0.39.

Mitigation of Forgetting

DDPT proved highly resilient to catastrophic forgetting. Its forgetting metric ($F$) remained near zero (0.01 to 0.03), whereas baseline models saw their performance on old tasks degrade significantly, with $F$ values ranging from 0.14 to 0.20.

Human Validation

In trials with human users, DDPT achieved a 77% success rate, nearly matching the 81% success rate of a "Gold" upper-bound model (a model trained on all domains simultaneously until convergence). In contrast, a standard "Binary" baseline model lagged far behind with a success rate of only 45%.

Conclusion

The DDPT framework represents a significant step toward scalable, lifelong learning in dialogue systems. By maintaining a constant parameter count and leveraging natural language descriptions, it provides a blueprint for systems that can handle hundreds of niche domains without the need for constant retraining. Future work includes extending the framework to end-to-end dialogue systems and exploring non-stationary environments where domain definitions themselves may evolve over time.

Summary updated

BibTeX
@inproceedings{geishauser2022dynamic,
  author = {Christian Geishauser and Carel van Niekerk and Nurul Lubis and Michael Heck and Hsien-Chin Lin and Shutong Feng and Milica Gasic},
  title = {{Dynamic Dialogue Policy Transformer for Continual Reinforcement Learning}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=VX1pt-eS9V},
}
Figure