[Paper Review] Unnatural Instructions: Tuning Language Models with (Almost) No Human Labor
This paper introduces Unnatural Instructions, a 240,670-example dataset of natural language instructions and corresponding inputs/outputs generated automatically using a language model with only 15 seed examples. Despite containing noise, fine-tuning an 11B T5 model on this data outperforms models trained on manually curated datasets like T0++ and Tk-Instruct across multiple benchmarks, demonstrating that model-generated data can rival human-annotated data in quality and diversity while drastically reducing labor costs.
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.
Motivation & Objective
- To develop a scalable, low-labor method for creating diverse, high-quality instruction tuning datasets.
- To investigate whether language model-generated data can match or exceed the performance of manually curated instruction datasets.
- To explore the feasibility of using model-generated instructions for general-purpose instruction tuning without human supervision.
- To evaluate the impact of data diversity and creativity on downstream model generalization across out-of-distribution tasks.
Proposed method
- The authors use a pretrained language model to generate 64,000 instruction-input-output triplets by prompting it with three seed examples from Super-Natural Instructions, using five different seed sets.
- They apply a two-step generation process: first generating instructions and inputs, then deterministically generating outputs to maximize accuracy.
- To enhance diversity, each instruction is paraphrased using the same model, preserving input and output content while varying phrasing.
- The dataset is expanded to ~240,000 examples through iterative paraphrasing, with minimal human involvement.
- Performance is evaluated by fine-tuning an 11B T5 model on Unnatural Instructions and comparing it to models trained on T0++ and Tk-Instruct across multiple benchmarks.
- Ablation studies compare one-step (unified) and two-step (separate) generation, showing that deterministic output generation improves performance.
Experimental results
Research questions
- RQ1Can a language model generate a diverse and high-quality instruction tuning dataset with minimal human labor?
- RQ2Does training on model-generated data outperform training on manually curated instruction datasets in terms of downstream performance?
- RQ3How does the diversity and creativity of model-generated instructions compare to human-annotated data?
- RQ4What is the impact of data generation strategy (e.g., one-step vs. two-step) on model performance?
- RQ5Can model-generated data improve generalization to out-of-distribution tasks not covered in standard benchmarks?
Key findings
- Fine-tuning an 11B T5 model on Unnatural Instructions achieves an 18-point gain on the BIG-bench Hard benchmark compared to a baseline model.
- The model trained on Unnatural Instructions achieves a 16-point gain on the LMentry benchmark, indicating strong generalization to non-traditional NLP tasks.
- Despite containing noise, over 50% of the generated examples are correct, and even incorrect examples often contain useful information for instruction tuning.
- The two-step generation process (separate input and output generation) outperforms the one-step unified generation by 1.7 points on the Super-Natural Instructions validation set.
- The dataset exhibits significantly higher task and phrasing diversity than Super-Natural Instructions, including many creative and non-standard NLP tasks.
- Performance scales log-linearly with dataset size, suggesting that further gains are possible by increasing the scale of model-generated data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.