AI GLOSSARY · AI CONCEPTS

Instruction tuning

Markdown version

Definition

Instruction tuning fine-tunes a pretrained language model on instruction–response examples to improve how it follows requests. It changes model weights, but does not ensure compliance or correctness and is narrower than supervised fine-tuning in general.

Also called: instruction fine-tuning, instruction-tuned model, instruction-tuned models, supervised fine-tuning on instructions.

In plain language

A model trained for text continuation may continue a request rather than carry it out; behavior depends on the model and prompt. Instruction tuning is a second round of training in which people show the model many requests together with good replies, such as 'summarise this paragraph' followed by a summary. The aim is to make task-focused responses more likely, not to guarantee faithful compliance. Think of a new employee who has read the whole library and then spends a week being shown how to handle real requests. The limits are that the result is only as good as the examples it was shown, and IBM notes that some gains may come from surface patterns rather than better reasoning. The InstructGPT paper says its tuned models still make simple mistakes, so checks still matter.

Technical definition

Instruction tuning is supervised fine-tuning of a pre-trained language model on a dataset of (instruction, output) pairs, where the instructions resemble real user requests. IBM describes it as a subset of fine-tuning that narrows the gap between the next-token-prediction objective of a base model and the user's need for task-focused answers. The FLAN paper (Wei et al., arXiv 2109.01652) reports that finetuning on tasks described through instructions substantially improved zero-shot performance on unseen tasks. The InstructGPT paper (Ouyang et al., arXiv 2203.02155) fine-tuned GPT-3 on labeler demonstrations and then applied reinforcement learning from human feedback. The tuning changes the model's weights, unlike a prompt, which only changes its input.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    Prompt Engineering for Agents vs Chat Models

    What you see
    The guide explains how to write an agent prompt that states scope, a completion check and a fallback, and where standing rules belong in a project instruction file.
    Why it exercises the concept
    Instruction tuning can improve responses to requests such as 'fix the failing test', but is not the sole way a model can respond to a task. This hypothetical prompt-level illustration changes no weights.
  2. Skill by Skill Almanac · Illustrative, not executed

    prompt-writing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A prompt written with a fixed structure and linted for gaps, with injection rules and a numeric test plan attached.
    Why it exercises the concept
    A tuned model can still misread or ignore an instruction. This contrast improves the prompt structure and test plan, with no change to model weights or claim of measured improvement.
  3. Skill by Hugging Face · Illustrative, not executed

    huggingface-datasets 25/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Metadata, rows, search and filters for a Hugging Face dataset, read through the Dataset Viewer API.
    Why it exercises the concept
    A tuning set can contain instruction–response rows. The illustrated Dataset Viewer workflow inspects hosted metadata and rows; it does not tune a model. The package also documents separate dataset-creation and upload workflows.

How it shows up when you use agents

The FLAN and InstructGPT papers show instruction-focused training in particular models. They do not establish the training history of every assistant or make tuning the sole reason a short request can work. Untuned models can also respond through prompting or in-context examples; inspect the selected model rather than inferring its training from an answer. The tuning step sits after pretraining and is one kind of fine-tuning of a large language model.

What breaks when it is misunderstood: people assume that a tuned model understands what they meant. It may misread, ignore or respond confidently to a vague request. Another trap is thinking tuning is only about facts. IBM describes instruction tuning as improving how a model follows instructions, and says fine-tuning can also supplement knowledge and vocabulary, and notes that a study suggested some gains come from superficial patterns.

Next action: put the work into the prompt and the project instruction file, not into hopes about the model. Write scope, a done-check and a fallback, as the prompt engineering guide for agents lays out. Consider tuning your own model only when a clear, repeated task cannot be solved by better prompts, and expect to need a labelled dataset of good examples. The examples above inspect prompts or dataset rows; they do not execute training.

Common confusions

  • Instruction tuning versus fine-tuning. Supervised fine-tuning (SFT) is broader than instruction tuning. Fine-tuning is the general idea of training a pre-trained model further. Instruction tuning is the variant whose data is instructions paired with desired outputs. See Fine-tuning.
  • Instruction tuning versus RLHF. Instruction tuning learns from written demonstrations. RLHF, reinforcement learning from human feedback, learns from human preference judgements. The InstructGPT paper used labeler demonstrations first and then RLHF. See RLHF.
  • Instruction tuning versus prompting. Tuning changes the model's weights once, ahead of time. A prompt changes only the input of one request. Writing a better prompt does not retrain anything.
  • Following instructions versus being right. A tuned model may follow an instruction fluently and still be wrong. The InstructGPT abstract itself notes that the models still make simple mistakes.

Terms that mention Instruction tuning

3 terms mention this one

More in AI concepts

Next steps

  1. Prompt Engineering for Agents vs Chat Models The long-form guide.
  2. prompt-writing A skill that exercises it.
  3. Large language model (LLM) Related term.
  4. Fine-tuning Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft); OpenAI Codex (bounded factual repairs); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: removed absolutes and unsourced vendor claims; fixed IBM attribution.
  • : Bounded source repairs: Scoped instruction-following tendencies and model-specific evidence; removed broad SFT alias and sole-cause/compliance claims; narrowed prompt/Viewer illustrations. Pending independent re-review.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.