Unnatural Instructions: Tuning Language Models with (Almost) No Human Labor

Or Honovich, Thomas Scialom, Omer Levy, Timo Schick
12/19/2022
cs.CLcs.AIcs.LG

Official code: orhonovich/unnatural-instructions (181 stars, MIT, last commit 2023-02-23).

Abstract

Instruction tuning enables pretrained language models to perform new tasks from inference-time natural language descriptions. These approaches rely on vast amounts of human supervision in the form of crowdsourced datasets or user interactions. In this work, we introduce Unnatural Instructions: a large dataset of creative and diverse instructions, collected with virtually no human labor. We collect 64,000 examples by prompting a language model with three seed examples of instructions and eliciting a fourth. This set is then expanded by prompting the model to rephrase each instruction, creating a total of approximately 240,000 examples of instructions, inputs, and outputs. Experiments show that despite containing a fair amount of noise, training on Unnatural Instructions rivals the effectiveness of training on open-source manually-curated datasets, surpassing the performance of models such as T0++ and Tk-Instruct across various benchmarks. These results demonstrate the potential of model-generated data as a cost-effective alternative to crowdsourcing for dataset expansion and diversification.

View on arXivView PDF

Code Implementations(1)

MIT
18111Dec 19, 20223 years agoMIT

Similar Papers

Cite this paper

@article{honovich2022unnatural,
  title  = {Unnatural Instructions: Tuning Language Models with (Almost) No Human Labor},
  author = {Or Honovich and Thomas Scialom and Omer Levy and Timo Schick},
  year   = {2022},
  eprint = {2212.09689},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09689}
}

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/2212.09689.svg)](https://codeofpaper.com/paper/2212.09689)

Discussion