Zero-shot Generalization in Dialog State Tracking through Generative Question Answering

Shuyang Li, Jin Cao, Mukund Sridhar, Henghui Zhu, Shang-Wen Li, Wael Hamza, Julian J. McAuley

Abstract

Traditional Dialog State Tracking (DST) systems often rely on fixed ontologies, limiting their ability to generalize to new domains or unseen slot types. This paper presents an ontology-free framework that reformulates DST as a generative question-answering task. By utilizing natural language queries to extract slot values from dialog history, the proposed model leverages the semantic knowledge of pre-trained language models like GPT-2. Our approach achieves state-of-the-art zero-shot performance and demonstrates significant robustness in multi-domain scenarios.

Introduction

In task-oriented dialog systems, Dialog State Tracking (DST) is responsible for maintaining an accurate representation of the user's goals and preferences throughout a conversation. These preferences are typically represented as slot-value pairs, such as (hotel-price: cheap). Historically, DST models have been constrained by a predefined ontology—a static list of all possible domains, slots, and values. This dependency creates a bottleneck when scaling to new services or handling the dynamic nature of real-world interactions.

To address these limitations, we propose a generative framework that treats slot-filling as answering natural language questions about the conversation. This shift from classification to generation allows the model to handle open-vocabulary values and generalize to entirely new domains without retraining.

Methodology

DST as Generative Question Answering

The core innovation of this work is the transformation of the DST task into a natural language query format. Instead of predicting a label for a slot like hotel-area, the model is prompted with a human-readable question: "In what area is the user looking for a hotel?"

Figure 1: The proposed model frames Dialog State Tracking as a generative question-answering task, converting abstract slot types into natural language queries.

By using full sentences, the model reduces "linguistic friction," allowing a pre-trained Transformer (specifically GPT-2) to better map the dialog context to the desired information. The input to the model consists of the concatenated dialog history and the natural language question, and the model generates the slot value as the "answer."

Conditional Language Modeling (CLMQ)

The model is trained using a Conditional Language Modeling (CLM) objective. Specifically, we calculate the cross-entropy loss only over the tokens corresponding to the question and the answer (CLMQ). This focused training signal helps the model prioritize the relationship between the query and the extracted value, outperforming standard language modeling objectives.

Slot Carry-over Mechanism

In multi-turn dialogs, users often maintain the same preferences across several exchanges. To improve efficiency and accuracy, we introduce a carried over token. If a user's preference for a specific slot remains unchanged from the previous turn, the model is trained to predict this special token rather than re-extracting the value. This mechanism significantly reduces spurious errors in long conversations.

Experimental Setup

We evaluated our framework on two major benchmarks:

  • MultiWOZ 2.1: A standard multi-domain dataset containing approximately 10,000 conversations across domains such as Hotels, Restaurants, and Attractions.
  • DSTC8 (Schema-Guided Dialogue): A large-scale dataset featuring 45 domains, used primarily for data augmentation and testing zero-shot transfer capabilities.

Results and Discussion

Zero-Shot and Transfer Learning

The generative QA approach excels in zero-shot settings. In "leave-one-out" experiments—where the model is trained on four domains and tested on a fifth unseen domain—our model outperformed previous state-of-the-art methods like TRADE and SUMBT by an average of 5.9% in Joint Goal Accuracy (JGA). When augmented with training data from DSTC8, the zero-shot performance gain increased to 11% over existing benchmarks.

Impact of Carry-over

The introduction of the carry-over mechanism proved vital for maintaining accuracy as conversations progressed. By explicitly identifying unchanged states, the model avoids the accumulation of errors that often plagues traditional DST systems in later turns.

Figure 4: Joint Goal Accuracy (JGA) by turn number, comparing the base model against the version with the carry-over mechanism. The carry-over approach maintains higher accuracy across longer dialogs.

Supervised Performance

Even in supervised settings where all domains are seen during training, the model remains highly competitive. Using a GPT-2 medium backbone, the system achieved a JGA of 52.58% on MultiWOZ 2.1, demonstrating that the generative QA formulation does not sacrifice performance for flexibility.

Limitations

Despite its strengths, the model faces challenges with temporal reasoning, occasionally confusing similar slots like leaveAt and arriveBy. Additionally, while the carry-over mechanism improves robustness, it can lead to error propagation; if a value is incorrectly predicted early in the dialog, the model may continue to "carry over" that error in subsequent turns.

Conclusion

Framing Dialog State Tracking as generative question answering provides a powerful path toward truly ontology-free dialog systems. By leveraging the semantic depth of large pre-trained language models and incorporating mechanisms like slot carry-over, we can build trackers that are not only more accurate but also significantly more adaptable to the ever-expanding landscape of digital services.

Summary updated

BibTeX
@inproceedings{li2021zero,
  author = {Shuyang Li and Jin Cao and Mukund Sridhar and Henghui Zhu and Shang-Wen Li and Wael Hamza and Julian J. McAuley},
  title = {{Zero-shot Generalization in Dialog State Tracking through Generative Question Answering}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.91},
}
Figure