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

Introduction

Training robust dialogue policies for task-oriented systems typically relies on Reinforcement Learning (RL), which requires thousands of interactions to learn effectively. Since human-in-the-loop training is prohibitively expensive, researchers utilize User Simulators (US). Historically, developers faced a trade-off: rule-based simulators (like ABUS) are reliable but require extensive manual engineering for every new domain, while data-driven simulators (like VHUS) often fail to generalize to unseen domains present in their training data.

This paper introduces TUS (Transformer-based User Simulator), a novel approach that leverages Transformer architectures and a generic feature representation to mimic human behavior. TUS is designed to be domain-independent, allowing it to generalize to new tasks in a zero-shot fashion without retraining.

Methods

The core innovation of TUS is its Domain-independent Feature Representation. Instead of using domain-specific labels (e.g., "Hotel-Price"), each slot is represented by a generic vector composed of several sub-vectors:

  • $v_{basic}$: Encodes the status of a slot (e.g., whether it is a user constraint or already fulfilled).
  • $v_{system\_action}$: Encodes the most recent system action related to the slot (e.g., did the system request this information?).
  • $v_{user\_action}$: Encodes the user's previous turn actions.
  • $v_{index}$: A unique identifier for each slot that allows the model to distinguish between different slots without semantic knowledge.
The architecture of the TUS User Policy Network, showing the domain-independent feature representation and the Transformer-based processing layers.

The architecture utilizes a standard Transformer (2 layers, 100-dimensional hidden size). Because Transformers handle variable-length sequences, TUS can process a dynamic list of slots that changes as the dialogue progresses. The model simultaneously predicts slot-level actions (e.g., "provide," "request," or "ignore") and identifies active domains using the [CLS] token.

Evaluation and Results

The model was evaluated using the MultiWOZ 2.1 dataset. To test zero-shot generalization, the authors employed a "leave-one-domain-out" strategy, training the simulator on all domains except one and then testing its performance on that held-out domain.

Policy Robustness

Dialogue policies trained with TUS demonstrated superior robustness compared to those trained on other data-driven simulators. When cross-evaluated against different simulators, TUS-trained policies maintained high success rates, particularly when tested against the gold-standard rule-based ABUS (~79% success rate).

Cross-evaluation results showing the success rates of policies trained with different simulators (ABUS, VHUS, TUS) when tested against each other.

Human Evaluation and Efficiency

In trials with real humans, TUS achieved an overall rating of 4.03/5, slightly outperforming the rule-based ABUS (3.90/5). Furthermore, TUS showed high sample efficiency, maintaining comparable success rates even when a major domain (comprising 40% of the training data) was removed during the training phase.

Conclusion

TUS successfully disentangles user behavior from specific domains by focusing on the structural logic of task-oriented dialogues. By using a domain-independent representation and a Transformer architecture, it achieves zero-shot transfer capabilities that surpass previous data-driven approaches. Future work includes integrating learned Natural Language Generation (NLG) and optimizing the order of slot mentions to further enhance human-likeness.

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