GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
ACL 2023

Self-Instruct: Aligning Language Models with Self-Generated Instructions

Starting from 175 hand-written tasks, GPT-3 generated 52,000 instructions and 82,000 examples for its own fine-tuning. Only 54% of sampled examples were fully correct, and it still helped.

Breakdown by FDE Interviews · 10 min read · Updated

About the original · 2022
AUTHORS
Wang, Kordi, Mishra, Liu, Smith, Khashabi, Hajishirzi
FROM
University of Washington, Tehran Polytechnic, Arizona State University, Johns Hopkins University, Allen Institute for AI
PUBLISHED
Dec 2022 · ACL 2023
CITED BY
3,907Semantic Scholar · Nov 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 24% of this breakdown.

01

The paper in one minute

Instruction tuning, training a model on many tasks written as instructions with example answers, makes models follow new instructions zero-shot. Most instruction data was written by people, which limits how much there is and what it covers. Self-Instruct asks a pretrained model to write the data itself.

The loop starts with 175 tasks written by the authors, one instruction and one example each. In each round, eight instructions are sampled from the pool (six human-written, two model-generated) and shown to GPT-3, which writes a new instruction. A second prompt decides whether the new instruction is a classification task. For classification tasks the model writes possible labels first and then inputs for each label, so the data is not skewed toward one class; for other tasks it writes the input first, then the output. Filters drop instructions too similar to existing ones (ROUGE-L of 0.7 or more), instructions mentioning images or graphs, duplicate instances and malformed outputs. Survivors join the pool, and the loop repeats.

Run on the original GPT-3 (davinci), this produced 52,445 instructions and 82,439 instances. The authors fine-tuned the same GPT-3 on them. On Super-NaturalInstructions' 119 unseen tasks, ROUGE-L rose from 6.8 to 39.9, close to InstructGPT-001's 40.8 and above GPT-3 trained on the T0 collection (37.9). On 252 new user-oriented instructions rated by their authors, the model beat GPT-3 variants trained on public instruction sets and, counting answers with minor flaws as acceptable, was about 5 points behind InstructGPT-001.

A review of 200 generated examples found 92% valid instructions but only 54% fully correct examples. Regenerating the outputs with InstructGPT-003 lifted the share of top-rated answers by 10 points.

THE IDEA, VISUALLY
THE BOOTSTRAP LOOP (FIGURE 2) task pool 175 seeds -> 52,445 sample 8: 6 seeds + 2 generated generate a new instruction classification task? instances: label first if so filter: ROUGE-L < 0.7 to all survivors rejoin Fine-tune GPT3 on the 82,439 generated instances: Super-NI ROUGE-L 6.8 -> 39.9 (InstructGPT-001: 40.8). 200 GENERATED EXAMPLES, REVIEWED (TABLE 2) instruction is a valid task 92% input fits the instruction 79% output is correct 58% every field valid 54% line = 95% interval on 200 samples Nearly half the training examples have an error, and fine-tuning still helped. Regenerating outputs with InstructGPT-003 raised top-rated answers from 44.4% to 54.4%. The 0.7 filter blocks rephrasings but kept 'Classify whether the review is positive' next to 'Is this review positive?' (ROUGE-L 0.43, our test). arXiv 2212.10560, University of Washington and others
Left: the Self-Instruct loop. Sample 8 instructions from the pool (6 human-written seeds, 2 generated), ask the model for a new one, decide whether it is a classification task, generate inputs and outputs, filter, and add survivors to the pool. A new instruction joins only if its ROUGE-L overlap with every pool instruction is below 0.7. Right: the authors' review of 200 generated examples (Table 2): 92% of instructions describe a valid task, 79% of inputs fit, 58% of outputs are correct, 54% are valid in every field.
Research notes: the problem, approach and results
175 -> 52,445

hand-written seed tasks and generated instructions after filtering (Table 1)

54%

sampled generated examples valid in instruction, input and output (Table 2, 200 reviewed)

+33.1 pts

ROUGE-L on Super-NaturalInstructions, 6.8 to 39.9; the abstract's '33%' is in these units (Table 3)

THE PROBLEM

Instruction-tuned models need large sets of human-written instructions and answers, which are costly, limited in variety and skewed toward classic NLP tasks. Could a pretrained model produce its own instruction data instead?

THE IDEA

Bootstrap from 175 seed tasks: prompt GPT-3 with a few existing instructions to write new ones, generate inputs and outputs for each (labels first for classification tasks), filter near-duplicates and invalid outputs, and fine-tune GPT-3 on the result.

THE RESULT

52,445 instructions and 82,439 instances. GPT-3 fine-tuned on them scored 39.9 ROUGE-L on Super-NaturalInstructions against 6.8 before and 40.8 for InstructGPT-001, and on 252 new user-oriented tasks came within about 5 points of InstructGPT-001 counting acceptable answers.

02

Why it matters to an FDE

Synthetic data can bootstrap coverage cheaply. When a customer has a handful of examples of each task type and needs thousands, a model can expand them. Self-Instruct is the template for that loop: seed, generate, filter, repeat.

Review a sample before you trust it. Nearly half the generated examples had some error, mostly in outputs. Fine-tuning still helped, but in a customer setting the errors become the model's behavior. Review a random sample of a few hundred, measure field-level correctness, and fix the generator before scaling.

Similarity filters stop rephrasings, not paraphrases. The 0.7 ROUGE-L rule blocks "Please write X" when "Write X" exists, but lets through a reworded version of the same task. Expect semantic duplicates and add an embedding or judge-based check if diversity matters.

The generator sets the ceiling. The largest single gain came from regenerating outputs with a stronger model. In practice most synthetic data pipelines are distillation from a stronger model, with the licensing questions that come with it.

Report gains in their units. The abstract's "33% absolute improvement" is 33 ROUGE-L points against a model that could barely follow instructions. Read every headline against its metric and baseline.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 290 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The pipeline, the data, its quality, results on two benchmarks, size and quality effects

    Free account
  2. 04How it works

    Each prompt in the loop, the filters, fine-tuning settings, and the two evaluations

    Premium
  3. 05The numbers that matter

    Data statistics, the quality review, Super-NI results, human ratings, data size and quality

    Premium
  4. 06Try it yourself

    Run the 0.7 ROUGE-L filter, watch the pool saturate, see what it misses, and size the error

    Premium
  5. 07Where it breaks

    Noisy outputs, word-overlap dedup, a weak base model, evaluation choices and licensing

    Premium
  6. 08Using it on a deployment

    A seeded synthetic data pipeline with review, semantic dedup, and a held-out human test set

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →