Abstract
Building task-oriented dialog (TOD) systems traditionally requires significant manual effort in data collection and model retraining for every new domain. AnyTOD addresses this "scaling wall" by proposing a neuro-symbolic framework that treats dialog policy as a programmable execution. By combining the natural language understanding of large language models (LMs) with a designer-provided symbolic policy, AnyTOD achieves state-of-the-art zero-shot performance on unseen domains without requiring task-specific training data.
Introduction
Task-oriented dialog systems, such as those used for flight bookings or banking, are typically data-hungry. Adding a new domain usually involves collecting thousands of labeled conversations to teach the model specific "business logic" and slot-filling requirements. While previous zero-shot attempts tried to learn this logic implicitly, AnyTOD argues for an explicit programming approach. This allows developers to define the rules of a task while leveraging LMs to handle the inherent variability of human conversation.
Methods: Neuro-Symbolic Architecture
AnyTOD splits the dialog management process between a neural component (a T5-based Language Model) and a symbolic program.
- Schema-Guided Tracking: The system utilizes a schema where parameters (slots) and actions are described in natural language. The LM reads these descriptions to perform Dialog State Tracking (DST) and Action State Tracking (AST).
- The Symbolic Policy: Instead of a black-box policy, designers write a symbolic program that defines the task logic (e.g., "if the destination is known but the departure city is not, ask for the departure city").
- Soft Execution: The LM predicts the current state, which is processed by the symbolic program to generate a list of recommended actions. These recommendations are then fed back to the LM as context. This "soft" execution allows the model to follow the program's guidance while remaining flexible enough to handle user tangents or "unhappy paths."
Experimental Setup
The framework was evaluated across several major benchmarks:
- STARV2: An author-introduced update to the STAR dataset with richer natural language descriptions and better annotations.
- ABCD: Focused on complex customer service flows.
- SGD (Schema-Guided Dialogue): A large-scale dataset for testing cross-domain generalization.
- MultiWOZ: Used for cross-dataset zero-shot transfer experiments.
Results and Analysis
AnyTOD established new benchmarks for zero-shot performance in TOD systems. On the STARV2 zero-shot domain setting, the AnyTOD (XXL) variant achieved a System Action F1 (SaF1) of 68.0, approaching the performance of fully supervised models. Furthermore, when trained on SGD and tested on MultiWOZ, AnyTOD demonstrated robust generalization, performing comparably to models trained directly on the target distribution.
Error analysis reveals that performance is heavily influenced by the quality of natural language descriptions in the schema. Larger models, such as T5-XXL, are significantly more effective at interpreting these descriptions to guide their reasoning and reducing errors across state tracking and policy execution.
Discussion and Limitations
The primary advantage of AnyTOD is the "separation of concerns": the LM handles natural language nuances while the program handles business logic. This makes the system more debuggable and robust. However, some limitations remain. The system operates within a closed action space defined by the schema and requires manual effort from designers to write the symbolic programs. Future research may focus on automatically inducing these programs from a small number of example dialogues to further reduce the development burden.
Conclusion
AnyTOD represents a significant step toward scalable, zero-shot task-oriented dialog systems. By replacing data-intensive retraining with a programmable symbolic policy, it enables rapid deployment of conversational agents in new domains while maintaining the flexibility of modern language models.
Summary updated