Abstract
Building a universal conversational agent has been a long-standing goal of the dialogue research community. Most previous works only focus on a small set of dialogue tasks. In this work, we aim to build a unified dialogue foundation model (DFM) which can be used to solve massive diverse dialogue tasks. To achieve this goal, a large-scale well-annotated dialogue dataset with rich task diversity (DialogZoo) is collected. We introduce a framework to unify all dialogue tasks and propose novel auxiliary self-supervised tasks to achieve stable training of DFM on the highly diverse large scale DialogZoo corpus. Experiments show that, compared with models of the same size, DFM can achieve state-of-the-art or competitive performance on very rich cross-domain downstream dialogue tasks. This demonstrates that DFM largely extends the ability of unified dialogue pre-trained model.
The Challenge of Task Isolation
The current landscape of Conversational AI is fragmented. Most models are "one-trick ponies": a model trained for Task-Oriented Dialogue (TOD) like booking a hotel often fails at casual conversation (chitchat) or summarizing a long transcript. This lack of generalization stems from two primary issues: task isolation, where research focuses on narrow subsets of dialogue, and data inconsistency, where different tasks use wildly different input/output formats (e.g., classification labels vs. SQL queries vs. natural language).
The authors argue that a true "Dialogue Foundation Model" should possess two core skills: superb understanding of multi-turn dynamics and the ability to ground responses in external knowledge, such as databases or knowledge graphs.
The DFM Framework
The researchers built DFM using a three-pronged approach to unify the disparate world of dialogue tasks into a single, cohesive system.
Unified Text-to-Text Format
Following the lead of models like T5, DFM converts all 15 dialogue-oriented tasks (DOTs) into a single format. The input prompt is structured as: [Task ID] dialogue history [External Knowledge] task definition. The output is always a text string, whether it is a "Yes/No" label, a summary, or a logical form.
Novel Self-Supervised Tasks
To help the model learn the "flow" of conversation beyond simple word prediction, DFM introduces two denoising tasks:
- REO (Reverse Order): The model is given a shuffled set of dialogue turns and must recover the original chronological order.
- CLO (Cloze): Meaningful entities in the dialogue are masked, and the model must recover them using a provided (but permuted) set of entities as external knowledge.
Task-Iterative Training Strategy
To prevent the model from being overwhelmed by "dominant" large datasets (like Dialogue State Tracking), a balanced sampling strategy is used. In each training iteration, the model samples an equal number of instances from every task, ensuring that even smaller datasets contribute significantly to the model's weights.
DialogZoo: A Diverse Corpus
The authors introduced DialogZoo, the largest and most diverse form-unified dialogue dataset to date. It aggregates 73 publicly available datasets into 15 distinct task categories, ranging from basic understanding to complex generation.
These tasks include:
- Understanding: Intent Detection, Slot Filling, Emotion Recognition.
- Knowledge-Grounded: Text-to-SQL (Spider, CoSQL), Document QA, Knowledge-graph Dialogue.
- Generation: Dialogue Summary, Chitchat, User Simulation, and Dialogue Rewrite.
Key Insights and Results
One of the most important findings is that training on a massive variety of tasks actually improves performance on unseen downstream tasks. The model learns a generalized "dialogue-level" representation that standard language models often miss. Furthermore, the auxiliary self-supervised tasks (REO and CLO) acted as essential regularizers, stabilizing training across such diverse data.
DFM was evaluated on the DialoGLUE benchmark and several generative tasks, showing impressive versatility:
- Intent Detection: Reached 100% accuracy on the CLINC150 dataset.
- Dialogue State Tracking (DST): Achieved a Joint Goal Accuracy (JGA) of 60.58 on MultiWOZ 2.1, significantly outperforming the standard T5 baseline (57.21).
- Knowledge Distillation: On Text-to-SQL tasks (Spider/CoSQL), DFM outperformed specialized baselines, reaching an exact match accuracy of 68.47 on Spider when using PICARD decoding.
- End-to-End TOD: On the MultiWOZ 2.0 benchmark, DFM set a new state-of-the-art "Combined Score" of 110.96.
Conclusion and Future Work
While DFM is a major step toward a universal agent, challenges remain. Despite iterative training, the massive disparity in dataset sizes is difficult to optimize perfectly. Additionally, while DFM excels at information extraction, its multi-step logical reasoning (e.g., complex math within a chat) could be expanded. The authors suggest that scaling DFM from "Base" to "Large" or "XL" parameter sizes would likely yield even more significant gains in zero-shot generalization.
Summary updated