Domain-independent User Simulation with Transformers for Task-oriented Dialogue Systems

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

Abstract

Dialogue policy optimisation via reinforcement learning requires a large number of training interactions, which makes learning with real users time consuming and expensive. Many set-ups therefore rely on a user simulator instead of humans. These user simulators have their own problems. While hand-coded, rule-based user simulators have been shown to be sufficient in small, simple domains, for complex domains the number of rules quickly becomes intractable. State-of-the-art data-driven user simulators, on the other hand, are still domain-dependent. This means that adaptation to each new domain requires redesigning and retraining. In this work, we propose a domain-independent transformer-based user simulator (TUS). The structure of our TUS is not tied to a specific domain, enabling domain generalisation and learning of cross-domain user behaviour from data. We compare TUS with the state of the art using automatic as well as human evaluations. TUS can compete with rule-based user simulators on pre-defined domains and is able to generalise to unseen domains in a zero-shot fashion.

Introduction

Training task-oriented dialogue systems (TDS) typically relies on Reinforcement Learning (RL), which requires thousands of interactions to converge. Interacting with real human users at this scale is prohibitively expensive and slow. Consequently, researchers employ User Simulators (US) to provide a scalable training environment. However, existing simulators often force a trade-off between being data-driven and being domain-independent.

The landscape of user simulators: TUS occupies a unique position as both data-driven and domain-independent.

Rule-based simulators, such as the Agenda-Based User Simulator (ABUS), are interpretable but require significant manual effort to define rules for every new domain. Conversely, state-of-the-art data-driven simulators learn from corpora but are typically domain-dependent, requiring redesign and retraining for each new task. The authors introduce TUS (Transformer-based User Simulator) to bridge this gap, offering a data-driven approach that generalizes across domains.

The TUS Architecture

The core innovation of TUS lies in its ability to disentangle user behavior from the specific ontology of a domain. It achieves this through a novel feature representation and a Transformer-based policy network.

Domain-Independent Feature Representation

Instead of using specific slot names (e.g., "Price" or "Area"), TUS represents each slot as a set of binary sub-vectors describing its status in the dialogue:

  • $v_{basic}$: Captures the slot's role in the user's goal (constraint vs. request) and its fulfillment status.
  • $v_{system\_action}$: Encodes the most recent system action related to the slot.
  • $v_{user\_action}$: Encodes the simulator's own previous action.
  • $v_{index}$: Provides a unique identifier to distinguish between slots with identical statuses, preventing "over-generation" of information.

Transformer-based Policy Network

TUS utilizes a Transformer architecture to handle the dynamic nature of dialogue, where the number of relevant slots can change turn-by-turn. The self-attention mechanism allows the model to capture complex dependencies between slots regardless of their order.

The TUS architecture: A Transformer-based policy network processing domain-independent feature vectors.

The network performs multi-granularity prediction: it simultaneously predicts actions for individual slots and identifies active domains at the turn level using a [CLS] token.

Experimental Evaluation

The model was evaluated on the MultiWOZ 2.1 dataset. To test its generalization capabilities, the authors employed a "leave-one-domain-out" training strategy, where TUS was trained on all but one domain and then tested on the unseen domain in a zero-shot setting.

Key Results

  • Cross-Model Robustness: A dialogue policy trained against TUS achieved a 79% success rate when evaluated with the rule-based ABUS. In contrast, a policy trained on ABUS saw its success rate drop from 93% to 58% when faced with TUS, indicating that TUS provides a more diverse and challenging training environment.
  • Zero-Shot Generalization: TUS demonstrated strong performance on unseen domains. For instance, a policy trained on a zero-shot TUS for the "Attraction" domain achieved a success rate of 0.71.
  • Human Evaluation: In trials with human users, policies trained on TUS received an average rating of 4.03/5, slightly outperforming those trained on the gold-standard ABUS (3.90/5).

Conclusion and Future Work

TUS represents a significant step toward universal user simulation for task-oriented dialogue. By focusing on the "role" of information rather than literal names, it learns a general user policy applicable to new domains without retraining. Future work includes integrating learned Natural Language Generation (NLG) to move beyond semantic-level interactions and improving the human-like ordering of dialogue actions.

Summary updated

BibTeX
@inproceedings{lin2021domain,
  author = {Hsien-Chin Lin and Nurul Lubis and Songbo Hu and Carel van Niekerk and Christian Geishauser and Michael Heck and Shutong Feng and Milica Gasic},
  title = {{Domain-independent User Simulation with Transformers for Task-oriented Dialogue Systems}},
  booktitle = {SIGDIAL},
  year = {2021},
  doi = {10.18653/v1/2021.sigdial-1.47},
}
Figure