End-to-End Task-Oriented Dialogue Systems Based on Schema

Wiradee Imrattanatrai, Ken FukudaACL 2023

Introduction

Task-oriented dialogue (TOD) systems, such as virtual assistants for booking services, typically rely on a "unified schema" assumption. This assumes that all services within a specific domain (e.g., restaurant booking) use identical labels and structures for data slots like "address" or "cuisine." However, real-world services often exhibit significant variation in their schemas. One service might use cuisine while another uses category; one might treat serves_alcohol as a boolean, while another uses a categorical list.

Comparison of differing schemas for the same domain (Restaurants_1 vs Restaurants_2).

When models are trained on fixed, unified schemas, they struggle to adapt to these variations or generalize to new services. To address this, researchers from AIST Japan proposed SchemaTOD, a schema-aware end-to-end model designed to handle dynamic slot sets by incorporating slot descriptions and constraints directly into the learning process.

SchemaTOD Architecture

SchemaTOD is built upon the T5 (Text-to-Text Transfer Transformer) architecture and utilizes a "schema-aware" approach to track dialogue states and generate responses. The system consists of five primary components:

  1. Dialogue Encoder: Encodes the conversation history and the current user utterance.
  2. Domain Decoder: Identifies the relevant domain (e.g., Hotels, Restaurants) for the current turn.
  3. Schema Encoder: Converts slot names, natural language descriptions (e.g., "name of the restaurant"), and value constraints into vector embeddings.
  4. Schema-aware Belief Decoder: Tracks the user's goals (belief state) by attending to both dialogue history and the specific slot embeddings.
  5. Schema-aware Response Decoder: Generates system actions and natural language responses tailored to the specific service's capabilities.
The SchemaTOD architecture, highlighting the interaction between the Schema Encoder and the Belief/Response Decoders.

By treating slots as input context rather than fixed output classes, SchemaTOD can adapt to varying numbers of slots per turn. The model also employs "delexicalization," replacing specific values with placeholders (e.g., [slot]) to improve generalization.

Evaluation and Results

The model was evaluated using the Schema-Guided Dialogue (SGD) dataset, which features over 16,000 dialogues across 16-20 domains with overlapping but distinct schemas. This dataset is ideal for testing a system's ability to generalize across services and domains.

Performance Metrics

SchemaTOD demonstrated significant improvements over state-of-the-art baselines such as SOLOIST, UBAR, and MTTOD:

  • End-to-End Success: On the "Combined" metric (BLEU, Inform, and Success rates), SchemaTOD achieved 38.27, significantly higher than MTTOD's 27.86.
  • Dialogue State Tracking (DST): The model reached a 31.14% Joint Goal Accuracy (JGA), representing a 6% absolute improvement over previous best results.

Zero-Shot Generalization

A key strength of SchemaTOD is its performance in zero-shot settings. By learning to map natural language descriptions to dialogue states, the model can handle unseen domains. For instance, in the "Events" domain, SchemaTOD achieved a combined score of 8.96, nearly doubling the performance of SOLOIST (5.17).

Conclusion

SchemaTOD represents a shift toward more flexible and scalable task-oriented dialogue systems. By making the model "schema-aware," it moves away from the limitations of unified schemas and enables better generalization to new services and domains. Future work will focus on addressing the domain prediction bottleneck and incorporating hierarchical schema structures to further enhance performance.

Summary updated

BibTeX
@inproceedings{imrattanatrai2023end,
  author = {Wiradee Imrattanatrai and Ken Fukuda},
  title = {{End-to-End Task-Oriented Dialogue Systems Based on Schema}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.645},
}
Figure