UBAR: Towards Fully End-to-End Task-Oriented Dialog System with GPT-2

Yunyi Yang, Yunhao Li, Xiaojun Quan

Abstract

Task-oriented dialog (TOD) systems traditionally rely on complex, multi-module pipelines that are prone to error propagation. This paper introduces UBAR, a system that models an entire dialog session as a single continuous sequence using the GPT-2 architecture. By fine-tuning on sequences containing user utterances, belief states, database results, system acts, and responses, UBAR achieves state-of-the-art performance on the MultiWOZ benchmark. Crucially, UBAR demonstrates superior robustness in realistic evaluation settings where it must rely on its own generated history rather than ground-truth annotations.

Introduction

The development of effective Task-Oriented Dialog (TOD) systems—designed to assist users with specific tasks like booking flights or hotels—has historically favored modular pipeline architectures. These pipelines typically consist of Dialogue State Tracking (DST), Policy Learning, and Natural Language Generation (NLG). However, this separation often leads to error propagation, where a failure in state tracking cascades through the system. While end-to-end models aim to mitigate this, many existing approaches still rely on human-annotated "oracle" history during evaluation, which does not reflect real-world performance. UBAR addresses these challenges by treating the entire dialog session as a unified sequence modeling task.

Methodology

UBAR leverages the pre-trained GPT-2, a unidirectional language model, and adapts it for TOD through session-level training. Unlike turn-based models, UBAR is trained on the complete sequence of a dialog session.

The UBAR architecture using a unidirectional language model.

The training data is structured as a long string: User Utterance -> Belief State -> DB Result -> System Act -> System Response. This sequence repeats for every turn in the session. By representing belief states and system acts as text spans, the model learns to generate these intermediate symbolic representations as part of its natural language output.

Example of a task-oriented dialog session flow in UBAR.

To improve generalization, the system employs delexicalization, replacing specific entity names (e.g., "The Grand Hotel") with placeholders (e.g., [hotel_name]) that are later populated via database lookups. During testing, UBAR operates realistically by using its own previously generated content to drive the conversation forward.

Results

Evaluated on the MultiWOZ 2.0 and 2.1 datasets, UBAR established new performance benchmarks. On MultiWOZ 2.0, it achieved a combined score of 105.1, representing a 9.4-point improvement over previous state-of-the-art end-to-end models. The system showed high task completion rates, with an Inform rate of 95.4% and a Success rate of 80.7%. Furthermore, UBAR demonstrated strong performance in Dialogue State Tracking, achieving a Joint Goal Accuracy of 52.59%, outperforming several specialized DST models.

Key Insights

A key finding of the research is the power of context. By including intermediate belief states and acts from previous turns in the current sequence, the model gains a better understanding of the task workflow. Interestingly, UBAR often performs better when using its own generated history compared to using ground-truth history. This suggests that the model maintains internal consistency; it can adapt its current response based on its own previous (potentially imperfect) states, whereas ground-truth history might introduce contradictions with the model's internal logic.

Limitations and Future Work

Despite its success, UBAR is limited by the 1024-token context window of GPT-2, which necessitates truncation for very long dialogs. Future work may explore architectures capable of handling longer sequences. Additionally, while the model shows promise in few-shot learning, it remains susceptible to "catastrophic forgetting" when learning new domains. Finally, while automated metrics like BLEU and Success Rate are standard, future studies would benefit from more extensive human evaluation to assess the naturalness and helpfulness of the system in practice.

Conclusion

UBAR represents a significant step toward fully end-to-end task-oriented dialog systems. By simplifying the architecture into a single sequence modeling problem and training at the session level, it achieves remarkable performance and robustness, paving the way for more integrated and realistic conversational AI.

Summary updated

BibTeX
@inproceedings{yang2021ubar,
  author = {Yunyi Yang and Yunhao Li and Xiaojun Quan},
  title = {{UBAR: Towards Fully End-to-End Task-Oriented Dialog System with GPT-2}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i16.17674},
}
Figure