Home/Language & LLMs/Instruction Tuning
Language & LLMs

Instruction Tuning

Training a text predictor to follow instructions — the step that turned an autocomplete into an assistant, and it may take only a thousand examples.

Reviewed July 13, 2026Stable
Reading level: Curious
Pick your depth ↓

When not to use it

  • On a model that's already instruction-tuned. Which is all of them. You'll degrade what's there.
  • To add knowledge. It teaches format and style. Use RAG or task-specific fine-tuning.
  • With a huge mediocre dataset. LIMA: 1,000 good examples beat volume. Quality and diversity dominate.
  • With verbose or tic-laden examples. The model learns the style very literally and permanently.

Reach for something else instead

  • Prompting — if you want a different format, ask.
  • Task-specific fine-tuning — if you want different behaviour on your task, train on your task.
  • RAG — if the gap is knowledge.
  • Preference training (DPO) — if you want better responses, not just responsive ones.

The full account

The step that turned a text predictor into something you can talk to

A base language model is a spectacularly good autocomplete and nothing more. Trained to predict the next token across the internet, it will happily continue your question with more questions, because on the web a question is often followed by other questions. Ask it "How do I reset my password?" and a base model might reply "How do I change my email? How do I delete my account?" — perfectly plausible text, useless as an answer. Instruction tuning is the step that fixes this, and it's a larger part of why modern models feel helpful than most people realise.

The intervention is conceptually simple: after pretraining, fine-tune the model on a dataset of instructions paired with good responses. Thousands to millions of examples of the shape here is a request, here is how a helpful assistant answers it. The model isn't learning new facts — those came from pretraining. It's learning a format, a disposition: that when text looks like a request, the continuation should be a direct, helpful completion of that request rather than a statistically likely ramble.

Why it works better than it should

The surprising empirical finding, sharpened by work like Zhou et al.'s "LIMA," is how little instruction data it takes. A base model instruction-tuned on only about a thousand carefully curated examples became strikingly capable at following instructions — which suggests the knowledge and ability were already latent in the pretrained weights, and instruction tuning mostly surfaces an ability the model already had rather than teaching it something new. The pretrained model already knew how to be helpful; it just didn't know that helpfulness was what you wanted. A small, high-quality set of demonstrations is enough to point it in the right direction.

This is the "superficial alignment" idea, and it reframes what instruction tuning is doing. It's not installing capability. It's selecting, from the vast space of behaviours a base model can produce, the narrow band that reads as a cooperative assistant — and the reason a thousand examples suffice is that you're choosing among existing behaviours, not building new ones.

Instruction tuning is not preference tuning

A common confusion worth clearing: instruction tuning and RLHF are different steps that do different things, usually applied in sequence. Instruction tuning uses supervised learning on demonstrations — here's a good answer, imitate it. It teaches the model to follow instructions at all. Preference-based methods that come after (RLHF, DPO) then optimise which of the model's acceptable answers humans prefer — tone, safety, helpfulness, honesty — by learning from comparisons rather than demonstrations.

The order matters and the division of labour matters. Instruction tuning gets you a model that answers the question. Preference tuning gets you a model that answers it the way people want. Skipping the first makes the second nearly impossible, because you can't rank responses from a model that doesn't produce coherent responses to rank.

The quality trap

Because so little data has such large effect, instruction tuning is unusually sensitive to what's in the examples. Quality dominates quantity: a thousand clean, diverse, genuinely-helpful demonstrations beat a hundred thousand mediocre ones, and bad instruction data teaches bad habits with the same efficiency that good data teaches good ones. Style leaks — if your demonstrations are all verbose, the model becomes verbose; if they hedge, it hedges. The model is learning a persona from the examples, and it learns whatever persona you actually showed it, not the one you intended.

This is why instruction datasets are curated, not scraped, and why the composition of that dataset is one of the quiet, high-leverage decisions in building a model that people find pleasant to use.

Further reading

  • Wei et al. (2021), Finetuned Language Models Are Zero-Shot Learners — FLAN; instruction-following generalises to unseen tasks.
  • Ouyang et al. (2022), Training language models to follow instructions with human feedback — InstructGPT; instruction tuning plus preference training, the recipe everything uses.
  • Zhou et al. (2023), LIMA: Less Is More for Alignment — 1,000 examples, and the Superficial Alignment Hypothesis.

Primary sources, listed so you can check the claims on this page rather than take them on trust.

Where people go wrong

  • Reaching for it when prompting would do. It's already been done to your model.
  • Assuming more data is better. A thousand diverse, high-quality examples is the finding.
  • Not noticing that response style is inherited wholesale, including the tics.
  • Expecting it to add capability. The evidence says it mostly selects a mode that pretraining already built.

At a glance

FieldLanguage & LLMs
What it doesturns a text predictor into something that answers
The finding~1,000 curated examples is competitive (LIMA)
The hypothesisalignment is superficial; capability is all pretraining
What it teachesformat and style, very literally
DifficultyIntermediate
Flashcards for this concept · study, save or share them →
Question
Answer
1 / 4

Often compared with

Instruction tuning vs. pretraining — one gave the model everything it knows; the other taught it to answer when asked. LIMA's claim is that the second is a thousand examples of style.

Where this sits

26 concepts come first. Understanding it opens up 13 more.

12Levelsteps in
26Needs firstconcepts
13Opens up4% of 310
3Areascrosses fields
Learn these firstFine-tuning
LEARN FIRST Fine-tuning Instruction Tuning RLHF UNLOCKS
Instruction Tuning sits after Fine-tuning, and leads to 1 concept.

Computed from the prerequisite graph, not assigned. How this works