Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks

Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Atharva Naik, Arjun Ashok, Arut Selvan Dhanasekaran, Anjana Arunkumar, David Stap, Eshaan Pathak, Giannis Karamanolakis, Haizhi Gary Lai, Ishan Purohit, Ishani Mondal, Jacob Anderson, Kirby Kuznia, Krima Doshi, Kuntal Kumar Pal, Maitreya Patel, Mehrad Moradshahi, Mihir Parmar, Mirali Purohit, Neeraj Varshney, Phani Rohitha Kaza, Pulkit Verma, Ravsehaj Singh Puri, Rushang Karia, Savan Doshi, Shailaja Keyur Sampat, Siddhartha Mishra, Sujan Reddy A, Sumanta Patro, Tanay Dixit, Xudong Shen

Abstract

Recent advances in Large Language Models (LLMs) have shifted the paradigm from task-specific fine-tuning to general-purpose instruction following. However, the factors driving cross-task generalization remain poorly understood. This paper introduces SUPER-NATURALINSTRUCTIONS, a comprehensive benchmark comprising over 1,600 NLP tasks across 76 types and 55 languages, each accompanied by expert-curated instructions. We present Tk-INSTRUCT, an 11B-parameter model trained on this dataset that significantly outperforms larger models like the 175B-parameter InstructGPT on unseen tasks. Our findings suggest that task diversity and structured declarative instructions are more critical for generalization than raw parameter count.

Introduction

The field of Natural Language Processing (NLP) has transitioned toward building "generalist" models capable of performing a wide array of tasks based on natural language prompts. Despite this progress, two significant challenges persist: a lack of large-scale, diverse, and publicly available instruction datasets, and a limited understanding of how models generalize to novel tasks. Proprietary datasets used for models like InstructGPT remain inaccessible, hindering systematic research.

To address these gaps, we present SUPER-NATURALINSTRUCTIONS (SUP-NATINST), a massive "meta-dataset" designed to rigorously evaluate cross-task generalization. By providing a transparent framework for instruction-based learning, we investigate the impact of task variety, instruction components, and model scale on performance.

Methodology

The core of our approach is the SUP-NATINST benchmark, which expands upon previous efforts by 26-fold, covering 1,616 tasks. Each task is defined by a structured schema designed to provide the model with a comprehensive "manual" for the target behavior.

Instruction Schema

As illustrated in Figure 1, each task in the benchmark includes:

  • Definition: A high-level explanation of the task's goal in plain language.
  • Positive Examples: Demonstrations of correct input-output pairs, often accompanied by explanations of why they are correct.
  • Negative Examples: Examples of incorrect or invalid outputs, providing a signal of what the model should avoid.
The SUPER-NATURALINSTRUCTIONS schema, showing the components of a task instruction (Definition, Examples) and the evaluation process for the Tk-INSTRUCT model.

Tk-INSTRUCT Model

We developed Tk-INSTRUCT, a model based on the T5 architecture, which is meta-trained to map these structured instructions and inputs to the desired outputs. Unlike standard multi-task learning, Tk-INSTRUCT is specifically optimized to leverage the declarative components of the instruction schema to generalize to task types it has never encountered during training.

Experimental Setup

We evaluated cross-task generalization by holding out 154 tasks across 12 distinct categories. This ensures that the model's performance on the test set reflects its ability to understand new instructions rather than memorizing task-specific patterns. We compared Tk-INSTRUCT against several baselines, including CrossFit, PromptSource (T0), FLAN, and the 175B-parameter InstructGPT.

Results

Our experiments yielded several key insights into the nature of instruction following:

  1. Efficiency of Scale: The 11B-parameter Tk-INSTRUCT model outperformed the 175B-parameter InstructGPT by 9.9 ROUGE-L points on unseen English tasks. In the multilingual setting, mTk-INSTRUCT surpassed InstructGPT by 13.3 points.
  2. Diversity vs. Volume: Performance gains were primarily driven by the number of unique tasks rather than the number of examples per task. Performance plateaued at approximately 64 examples per task, suggesting that exposure to a wide variety of task types is the primary driver of generalization.
  3. Instruction Components: The task Definition provided the most significant performance boost. Interestingly, the inclusion of negative examples and detailed explanations sometimes led to a slight decrease in performance, suggesting that current models may struggle to effectively learn from "what not to do."
  4. Human Alignment: Human evaluation revealed that Tk-INSTRUCT's outputs were considered at least as good as the ground truth for 77% of test instances, demonstrating high-quality alignment with human intent.

Discussion and Conclusion

The success of Tk-INSTRUCT demonstrates that massive model scaling is not the only path to high-performance generalist models. By focusing on high-quality, diverse, and structured instructions, smaller models can achieve superior generalization.

However, limitations remain. The current benchmark is biased toward shorter outputs and English-centric tasks. Future work should focus on expanding the diversity of response lengths and improving the model's ability to utilize negative feedback and complex reasoning chains. By releasing SUP-NATINST to the public, we hope to foster a more collaborative and transparent era of LLM research.

Summary updated

BibTeX
@inproceedings{wang2022super,
  author = {Yizhong Wang and Swaroop Mishra and Pegah Alipoormolabashi and Yeganeh Kordi and Amirreza Mirzaei and Atharva Naik and Arjun Ashok and Arut Selvan Dhanasekaran and Anjana Arunkumar and David Stap and Eshaan Pathak and Giannis Karamanolakis and Haizhi Gary Lai and Ishan Purohit and Ishani Mondal and Jacob Anderson and Kirby Kuznia and Krima Doshi and Kuntal Kumar Pal and Maitreya Patel and Mehrad Moradshahi and Mihir Parmar and Mirali Purohit and Neeraj Varshney and Phani Rohitha Kaza and Pulkit Verma and Ravsehaj Singh Puri and Rushang Karia and Savan Doshi and Shailaja Keyur Sampat and Siddhartha Mishra and Sujan Reddy A and Sumanta Patro and Tanay Dixit and Xudong Shen},
  title = {{Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.340},
}
Figure