GenTUS: Simulating User Behaviour and Language in Task-oriented Dialogues with Generative Transformers

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

Introduction

Training robust task-oriented dialogue systems (DS)—such as those designed for booking travel or managing banking transactions—requires extensive interaction data. Traditionally, researchers have relied on User Simulators (US) to bypass the high costs and slow speeds associated with human-in-the-loop training. However, existing simulators often suffer from a "reality gap." Rule-based simulators are interpretable but lack linguistic variety, while data-driven models are frequently bound to specific ontologies, making them difficult to transfer to new domains. Furthermore, modular simulators often decouple the dialogue policy ("what to say") from Natural Language Generation ("how to say it"), leading to unnatural interactions.

GenTUS (Generative Transformer-based User Simulator) addresses these challenges by jointly optimizing dialogue policy and language generation within a unified, domain-independent framework. By leveraging the power of pre-trained transformers, GenTUS bridges the gap between structured semantic actions and natural human speech.

Methodology

GenTUS is built upon the BART (Bidirectional and Auto-Regressive Transformers) architecture, utilizing a sequence-to-sequence approach to model user behavior.

Unified Sequence-to-Sequence Modeling

A core innovation of GenTUS is treating structured data—including system actions, user goals, and dialogue history—as JSON-formatted word sequences. By representing the internal state and the output in a text-based format, the model can utilize the vast linguistic knowledge inherent in BART. This allows the model to reason about complex goals using the same mechanisms it uses to generate English sentences.

Joint Optimization and Constrained Decoding

Unlike modular systems, GenTUS generates both a semantic action (e.g., inform(hotel, area=north)) and a natural language utterance (e.g., "I'm looking for a place in the north.") in a single decoding pass. To ensure the model remains grounded and avoids "hallucinating" invalid actions, the researchers implemented a graph-based constraint. This mechanism restricts the model to generating semantic actions that are valid according to the specific ontology and the current user goal.

Reinforcement Learning and Personas

While the model is initially trained via supervised learning, it is further refined using Proximal Policy Optimization (PPO). This reinforcement learning phase allows researchers to "shape" user behavior. By adjusting the reward function, GenTUS can be tuned to exhibit specific personas, such as an "efficient" user who provides only necessary information or a "chatty" user who offers additional context in every turn.

Experimental Setup

The model was evaluated on two primary benchmarks:

  • MultiWOZ (Multi-Domain Wizard-of-Oz): A standard dataset featuring seven domains (e.g., hotel, taxi, attraction).
  • SGD (Schema-Guided Dialogue): A larger dataset with 20 domains, used to test the model’s zero-shot transfer capabilities. By training on one dataset and testing on the other, the researchers could assess how well GenTUS adapts to unseen ontologies.

Key Results

GenTUS demonstrated significant improvements over existing baselines in both automated metrics and human evaluations:

  • Linguistic Quality: On the MultiWOZ dataset, GenTUS achieved a sacre-BLEU score of 19.61, nearly doubling the performance of the SC-GPT baseline (10.51).
  • Human Preference: In blind testing, human evaluators rated GenTUS as significantly more natural than previous state-of-the-art simulators.
  • System Training Success: Dialogue systems trained using GenTUS achieved an 86% success rate in human trials, outperforming systems trained on traditional rule-based simulators (which ranged from 75% to 79%).
  • Zero-Shot Robustness: The model maintained high performance when transferred to the unseen SGD dataset, proving that its reliance on text-based JSON inputs allows it to generalize across domains without retraining the architecture.

Discussion and Limitations

GenTUS represents a significant step toward more realistic and flexible user simulation. The inclusion of the "user goal" in the input sequence was found to be critical; ablation studies showed that when the NLG module understands the ultimate objective, the resulting text is more coherent and purposeful.

However, some limitations remain. The current implementation avoids complex decoding strategies like beam search to maintain computational efficiency, which may limit language diversity. Additionally, while the dialogue policy is shaped by reinforcement learning, the NLG component remains static after the supervised learning phase. Future work may explore using RL to tune the "personality" or "sentiment" of the generated text, further narrowing the gap between simulated and human behavior.

Summary updated

BibTeX
@inproceedings{lin2022gentus,
  author = {Hsien-Chin Lin and Christian Geishauser and Shutong Feng and Nurul Lubis and Carel van Niekerk and Michael Heck and Milica Gasic},
  title = {{GenTUS: Simulating User Behaviour and Language in Task-oriented Dialogues with Generative Transformers}},
  booktitle = {SIGDIAL},
  year = {2022},
  doi = {10.18653/v1/2022.sigdial-1.28},
}
Figure