DialogZoo: Large-Scale Dialog-Oriented Task Learning

Zhi Chen, Jijia Bao, Lu Chen, Yuncong Liu, Da Ma, Bei Chen, Mengyue Wu, Su Zhu, Jian-Guang Lou, Kai Yu

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.

Introduction

In the field of Natural Language Processing (NLP), foundation models like GPT-4 have demonstrated remarkable general-purpose capabilities. However, the dialogue research community has remained fragmented, with most models specialized for narrow tasks such as intent classification, chitchat, or database querying (Text-to-SQL). This specialization creates a gap in universality and generalization: a model trained solely on chitchat often lacks the structured reasoning required for task-oriented systems, while task-oriented bots frequently lack conversational fluidity.

The authors address this by proposing the Dialogue Foundation Model (DFM), a single model designed to master the entire spectrum of dialogue capabilities by training on a massive, diverse meta-dataset called DialogZoo.

Methodology

The creation of DFM follows a three-step pipeline designed to unify disparate dialogue tasks into a single learning objective.

Overview of the DFM framework, including corpus collection, task unification, and model architecture.

1. Unified Text-to-Text Framework

Following the success of models like T5, all 15 dialogue tasks are converted into a standardized text-to-text format. The input pattern includes a task identifier (e.g., [dst]), dialogue history, external knowledge (such as database schemas or documents), and a specific task definition.

2. Self-Supervised Denoising Tasks

To ensure the model understands the underlying structure of dialogue beyond simple prompt-response mapping, two novel auxiliary tasks were introduced:

  • Reverse Order (REO): The model must recover the original chronological order of a shuffled set of dialogue turns, forcing it to learn logical conversational flow.
  • Cloze (CLO): Entities within the dialogue are masked, and the model must recover them by reasoning over provided external knowledge.

3. Task-Iterative Training Strategy

To handle the extreme imbalance among the 73 datasets in DialogZoo, the authors employed an iterative training strategy. The model cycles through all tasks in fixed-size mini-batches, ensuring that smaller datasets receive adequate exposure and preventing the model from being dominated by high-volume tasks like Dialogue State Tracking (DST).

DialogZoo: A Massive Meta-Dataset

The core contribution of this work is DialogZoo, a curated collection of 10.6 million training samples. It integrates 73 individual corpora, including well-known benchmarks like MultiWOZ, PersonaChat, SQuAD, and Spider, spanning 15 distinct task categories.

Distribution of samples across the 73 datasets and 15 task categories in DialogZoo, highlighting the scale and diversity of the corpus.

Experimental Results

DFM (based on T5-Base) was evaluated across representation, knowledge distillation, and generation benchmarks, demonstrating significant versatility:

  • Representation: On the DialoGLUE benchmark, DFM achieved an average score of 87.56, outperforming ConvBERT despite the latter being trained on significantly more raw data (70 million Reddit samples).
  • Knowledge Distillation: The model reached 100% accuracy on the CLINC150 intent detection task and set new state-of-the-art marks for parsing dialogues into logical forms (Text-to-SQL).
  • Generation and End-to-End Performance: DFM outperformed existing SOTA models in chitchat and dialogue rewriting. On the MultiWOZ 2.0 benchmark, it achieved a combined score of 110.96, surpassing specialized models like GALAXY.

Conclusion

DFM demonstrates that pre-training on a massive, diverse set of labeled dialogue tasks can produce a superior foundation for conversational AI compared to training on raw text alone. While challenges remain regarding scaling to larger parameter counts and further balancing data distribution, DialogZoo provides a robust new benchmark for the community to develop truly unified dialogue models.

Summary updated

BibTeX
@article{chen2022dialogzoo,
  author = {Zhi Chen and Jijia Bao and Lu Chen and Yuncong Liu and Da Ma and Bei Chen and Mengyue Wu and Su Zhu and Jian-Guang Lou and Kai Yu},
  title = {{DialogZoo: Large-Scale Dialog-Oriented Task Learning}},
  journal = {AI Open},
  year = {2022},
}
Figure