InstructDial: Improving Zero and Few-shot Generalization in Dialogue through Instruction Tuning

Prakhar Gupta, Cathy Jiao, Yi-Ting Yeh, Shikib Mehri, Maxine Eskenazi +1 more
5/25/2022
cs.CL

Official code: prakharguptaz/Instructdial (101 stars, Python, Apache-2.0, last commit 2023-05-06).

Abstract

Instruction tuning is an emergent paradigm in NLP wherein natural language instructions are leveraged with language models to induce zero-shot performance on unseen tasks. Instructions have been shown to enable good performance on unseen tasks and datasets in both large and small language models.

Show full abstract

Dialogue is an especially interesting area to explore instruction tuning because dialogue systems perform multiple kinds of tasks related to language (e.g., natural language understanding and generation, domain-specific interaction), yet instruction tuning has not been systematically explored for dialogue-related tasks. We introduce InstructDial, an instruction tuning framework for dialogue, which consists of a repository of 48 diverse dialogue tasks in a unified text-to-text format created from 59 openly available dialogue datasets. Next, we explore cross-task generalization ability on models tuned on InstructDial across diverse dialogue tasks. Our analysis reveals that InstructDial enables good zero-shot performance on unseen datasets and tasks such as dialogue evaluation and intent detection, and even better performance in a few-shot setting. To ensure that models adhere to instructions, we introduce novel meta-tasks. We establish benchmark zero-shot and few-shot performance of models trained using the proposed framework on multiple dialogue tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for the paper Code for the paper InstructDial: Improving Zero and Few-shot Generalization in Dialogue through Instruction Tuning

10114Python, ShellMay 20, 20223 years agoApache-2.0
dialoguedialogue-generationdialogue-systemdialogue-understandingfew-shot-learning+2 more

Similar Papers

Cite this paper

@article{gupta2022instructdial,
  title  = {InstructDial: Improving Zero and Few-shot Generalization in Dialogue through Instruction Tuning},
  author = {Prakhar Gupta and Cathy Jiao and Yi-Ting Yeh and Shikib Mehri and Maxine Eskenazi and Jeffrey P. Bigham},
  year   = {2022},
  eprint = {2205.12673},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12673}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.12673.svg)](https://codeofpaper.com/paper/2205.12673)

Discussion