Abstract
InstructDial is a novel framework designed to bring the power of instruction tuning specifically to the dialogue domain. By training models on a massive repository of 48 diverse dialogue tasks described in natural language, the authors demonstrate that models can generalize to completely unseen dialogue tasks in zero-shot and few-shot settings, often outperforming much larger general-purpose models like GPT-3.
Introduction
Large Language Models (LLMs) have shown an incredible ability to perform new tasks when given a natural language prompt, such as "Summarize this dialogue." However, dialogue systems are unique and complex; they require managing multi-turn context, identifying user intents, adhering to safety constraints, and generating grounded responses. Until now, there hasn't been a systematic effort to see if instruction tuning can help models master the nuances of conversation. Existing dialogue models typically require extensive fine-tuning on massive datasets for every new task, which is expensive and inefficient. InstructDial asks: Can we build a model that understands how to "do" dialogue just by reading instructions?
Methodology
The authors introduce INSTRUCTDIAL, a framework consisting of a unified taxonomy, an instruction schema, and specialized meta-tasks. They converted 59 open-access dialogue datasets into 48 distinct tasks (e.g., intent detection, response selection, emotion grounding) using a unified text-to-text format. This massive collection includes well-known sets like MultiWOZ for task-oriented dialogue, DailyDialog for social interactions, and WoW for knowledge-grounded conversation.
Each training instance includes a task definition, the dialogue context, optional constraints (such as "use these keywords"), and a prompt. To prevent models from simply memorizing patterns and ignoring instructions, the authors introduced two "meta-tasks": Instruction Selection, where the model chooses the correct instruction for an input-output pair, and Instruction Binary, where it predicts if an instruction matches a pair. They fine-tuned two base models, BART0 (406M parameters) and T0-3B, on this mixture of dialogue tasks.
Key Insights and Ideas
- Dialogue-Specific Tuning Wins: General-purpose instruction-tuned models struggle with dialogue nuances. By tuning specifically on dialogue tasks, the authors' smaller models (DIAL-BART0) frequently outperformed models 10x their size.
- The Importance of Meta-Tasks: Without meta-tasks, performance on unseen classification tasks dropped significantly, suggesting they are crucial for forcing the model to actually "read" and "understand" the instruction rather than relying on statistical distributions.
- Instructions are Essential: Training with full natural language instructions led to much better generalization than using just task names. The descriptive nature of the instructions provides the necessary bridge to new, unseen tasks.
- Scaling Tasks: Generalization performance improves sharply as the number of seen tasks increases to about 20-25, after which it continues to climb more steadily.
Key Results
InstructDial models demonstrate superior performance in zero-shot and few-shot scenarios across various benchmarks, often surpassing much larger models like GPT-3.
- Zero-Shot Superiority: On unseen tasks like "Eval Selection," DIAL-BART0 achieved 66.7% accuracy, compared to only 22.2% for the base BART0 model and 57.5% for GPT-3.
- Massive Gains in Slot Filling: In a zero-shot setting on the Restaurant8k dataset, InstructDial improved the F1 score by 36.9 points over previous state-of-the-art methods.
- Few-Shot Efficiency: Adding just 100 examples of a new task boosted performance by 12-16% for classification and a staggering 30-50% for certain generation tasks.
- Intent Prediction: On the BANKING77 benchmark, DIAL-BART0 reached 58.02% accuracy in a zero-shot setting, whereas the base BART0 model sat at a meager 14.72%.
Limitations and Future Work
The models remain moderately sensitive to how an instruction is phrased, and some instances of "negative transfer" were noted when training on a very large number of tasks. Currently, the framework is limited to English-language datasets and sequence length constraints of Transformer models. Future directions include exploring multi-modal instructions and improving robustness to varied instruction wording.
Summary updated