presentsUNAIVERSE
The UN AI timeline

Learn AI /Training and Model Adaptation /Instruction tuning

Instruction tuning

Also called: instruction following.

Detail

In five seconds

What it is

A post-pretraining adaptation step that teaches a general language model to respond to prompts in the requested format, style and task pattern.

In plain words

A general model may write fluent text but still be poor at doing what you ask. This training step shows it many examples of instructions and good answers so it becomes better at following prompts across different tasks.

An everyday example

A translation team has a linguist who already knows many languages from years of reading books and reports. But when field staff send requests, the linguist does not always deliver what is wanted: sometimes they paraphrase instead of translating, or they ignore the requested bullet format. So the team prepares many small examples: “translate exactly”, “give a two-line summary”, “list place names only”, “keep the speaker’s uncertainty”. After reviewing many such examples, the linguist becomes much better at following the instructions attached to each request.

Where the story stops working

A human linguist can reflect on rules, ask clarifying questions and deliberately change strategy from one job to another. A model does not do that in the same way; it adjusts statistical patterns during training and then generates likely continuations at use time. Also, instruction tuning usually uses very large datasets and numerical optimisation, not a small team review process.

Remember thisInstruction tuning does not make a model generally smarter; it mainly makes a pretrained model more likely to respond in the way a prompt asks.

This term is contested

The term overlaps strongly with supervised fine-tuning, and different authors draw the boundary differently. Some use 'instruction tuning' for broad multi-task supervised post-training, while others use it more loosely for almost any supervised tuning on prompt-response data.

Understand it

Understand it

Why it matters

If you procure, evaluate or govern AI systems, this term tells you why two models built from similar base technology can behave very differently in practice. Instruction tuning often explains whether a model will follow format, task and tone requests with little prompt engineering. It also helps you ask better questions: Was the model adapted for general instruction following, for one domain only, or not at all? That affects usability, testing, risk controls and how much human checking is needed.

How instruction tuning turns a base model into a more usable assistant

Show the ordered steps from a general pretrained model to a version that follows prompts more reliably, and distinguish this from pretraining and later preference-based methods.

  1. 01

    1. Start with a pretrained model

    Begin with a model that has learned broad language patterns from large text collections but has not yet been specialised to follow instructions consistently.

    Draw a large rounded rectangle labelled 'Pretrained model'. Add a smaller subtitle: 'good at predicting text, uneven at following task requests'.

  2. 02

    2. Collect instruction-response examples

    Prepare many examples where an input prompt is paired with a desired answer, often covering summarisation, extraction, translation, question answering and formatting.

    Draw a stack of cards labelled with short prompts and matching outputs. Add small icons for summary, translation and list formatting.

  3. 03

    3. Train on those pairs

    Use supervised training to adjust the model’s weights so outputs like the target answers become more likely when similar instructions appear.

    Show the stack feeding into a gear icon connected to the model. Label the gear 'weight updates from prompt-answer pairs'.

  4. 04

    4. Test instruction following

    Check whether the updated model now obeys requested structure, tone and task type across prompts it did not memorise exactly.

    Add a checklist panel with items: 'follows format', 'answers directly', 'switches tasks', 'generalises beyond examples'.

  5. 05

    5. Produce an instruction-tuned checkpoint

    Save the updated model as a new checkpoint or version that is usually more useful in assistant-style interaction, though not automatically more truthful or safe.

    Draw a final highlighted model box labelled 'Instruction-tuned checkpoint' with callouts: 'better prompt following' and 'not a guarantee of factuality or safety'.

A left-to-right step diagram with five boxes connected by arrows. Read from the general model on the left to the adapted model on the right. Each box adds one part of the process: starting point, training examples, parameter updates, evaluation and resulting behaviour.

Hover or tap each step to reveal one concrete example prompt and how the model behaviour changes at that stage.

Describe this without the diagram

This diagram is a five-step process. Step 1 shows a pretrained model that predicts text well but does not reliably follow requests. Step 2 adds a dataset of many prompt-and-answer pairs across tasks such as summarising, translating and extracting items. Step 3 shows training that updates the model’s internal weights using those pairs. Step 4 shows evaluation, checking whether the model follows requested formats and task types on new prompts. Step 5 shows the result: a saved instruction-tuned checkpoint that is more responsive to prompts, while still not guaranteed to be factual, safe or current.

With reduced motion: Show the same five boxes and arrows as a static left-to-right process, with the final box highlighted and a short note under it saying instruction tuning improves prompt following but does not by itself guarantee truthfulness or safety.

A model after pretraining can continue text well, but it may not reliably follow a user’s instruction. Instruction tuning is a later training step that uses many prompt-and-answer pairs so the model learns the pattern: a person asks for a task, and the model should produce a helpful response in the requested form.

What goes in is usually a dataset of examples such as “summarise this paragraph”, “translate this sentence”, or “extract the dates”, each paired with a target answer. During training, the model’s parameters, meaning its internal numerical weights, are adjusted so that responses matching the desired answers become more likely.

What happens is similar to supervised fine-tuning, and many people use the terms almost interchangeably. The emphasis, though, is not just on learning one narrow task. It is on teaching the model a broad instruction-response behaviour across many tasks and formats, so the model becomes more usable in chat, assistant and task-oriented settings.

What comes out is a new checkpoint or model version that usually follows prompts better than the base model. It may answer more directly, respect requested output structure and switch between tasks with less extra prompting. This does not guarantee factuality, safety or domain expertise, and it does not mean the model gained new up-to-date knowledge unless that was also present in the training data.

How “Training a translator to follow briefing notes” maps onto the real thing

In the storyIn the AI system
A linguist with broad language exposureA pretrained language model with general language patterns
Many request-and-good-response examplesInstruction-tuning dataset of prompts paired with target outputs
Reviewing examples and correcting behaviourTraining that updates model parameters to favour instruction-following outputs
Delivering in bullets, exact translation or named entities as askedProducing outputs that better match requested task format and intent

A worked example

An information management officer in a regional bureau oversees adaptation of an approved offline model for the coding task before the field presence must clear its progress report at close of business.

Starting from: Training pair: Instruction: “Assign one category from the supplied list. Return only the category and a brief rationale.” Input: “More practice using spreadsheets would help me prepare the monthly figures.” Target: “Digital skills | The response requests spreadsheet practice.”

  1. Start with a pretrained checkpoint that can interpret the response but may return several categories, extra commentary or the wrong format.
  2. Prepare supervised instruction-input-output pairs using synthetic or properly de-identified examples. Include varied wording, ambiguous cases and the exact output structures required for the coding sheet.
  3. Run supervised fine-tuning. For each pair, update the model weights to increase the probability of the target response, conditioned on both the instruction and the supplied answer.
  4. Evaluate the adapted checkpoint on held-out examples, checking category selection, format compliance and whether rationales remain grounded in the input.
  5. Version the adapted checkpoint and test it in the approved offline environment before making it available to the human resources officer.

Result: The instruction-tuned checkpoint is more likely to return one permitted category in the required structure. It has not acquired judgement about staff needs, and ambiguous or sensitive responses still require human review.

In a United Nations workplace

At a field presence where the connection drops regularly, a human resources officer is coding open-ended answers from a staff learning needs assessment. The coded annex for the monthly progress report is due at close of business, and an approved offline model has been configured to return one category and a short rationale for each response.

Instruction tuning is what makes the adapted model more likely to follow that recurring task pattern: apply the supplied category list, preserve the requested output structure and avoid adding a small essay of its own. It learns this behaviour from supervised prompt-response examples, rather than from the officer repeating formatting instructions for every answer.

Before you try thisDo not upload raw responses, names or combinations that could identify staff to a tool not approved for human resources data. Free text may reveal medical, conduct or other personal information. Use synthetic or properly de-identified examples for testing, and use real responses only where the approved system, access controls and stated purpose cover them. The officer must review every classification.

Where you may hear it

  • During an ICT governance board review of an internal assistant
  • In a procurement unit’s technical clarification after a vendor demonstration
  • At a regional bureau model-evaluation session before deployment to the field
  • In a technical briefing comparing pretrained and instruction-tuned checkpoints

Avoid confusion

Avoid confusion

Often confused with

Common misconceptions

  • Common misconception: Instruction tuning simply adds new knowledge to the model.

    Correction: Its main purpose is usually behavioural: teaching the model to respond to prompts in a useful way. It may expose the model to some new information if that appears in the training pairs, but that is not the core mechanism or guarantee. A model can become better at following instructions without becoming more current or more accurate about facts.

  • Common misconception: Instruction tuning and reinforcement learning from human feedback are the same thing.

    Correction: They are related but different stages. Instruction tuning usually trains on fixed prompt-answer examples with supervised learning. Reinforcement learning from human feedback uses preference signals or reward models to push behaviour further toward preferred responses. Some systems use both, in sequence.

  • Common misconception: Any fine-tuning on company data counts as instruction tuning.

    Correction: Not necessarily. Fine-tuning is a broad category. If the examples mainly teach the model to complete one narrow task or style, that may be ordinary supervised fine-tuning rather than broad instruction following. Instruction tuning usually aims to improve how the model handles many kinds of explicit requests.

Quick check

Which description best matches instruction tuning?

Go deeper

Go deeper

The simple version

A general model may write fluent text but still be poor at doing what you ask. This training step shows it many examples of instructions and good answers so it becomes better at following prompts across different tasks.

The technical version

Instruction tuning is a post-pretraining adaptation stage in which a language model is optimised on a supervised dataset of instruction-input-output triples or prompt-response pairs. The objective is usually next-token prediction over the target response conditioned on the instruction and any supplied input, but the dataset is constructed to represent task requests rather than generic text continuation. In practice, this often overlaps with supervised fine-tuning; the distinction is usually about intent and dataset design. Supervised fine-tuning could target one narrow behaviour, while instruction tuning aims for broad generalisation across heterogeneous tasks, formats and interaction patterns. The output is an updated checkpoint whose conditional generation better matches explicit user requests. This step commonly precedes, but does not require, later preference optimisation methods such as reinforcement learning from human feedback or other preference-learning approaches.

Reviewed external resources

  • EncyclopaediaWikipedia search: Instruction tuning (opens in a new tab)Wikipedia

    A search results page that helps a beginner find Wikipedia entries or related topics on instruction tuning, but it is not a single curated article.

    search results, not one pagelink checked 2026-07-31

  • CourseLLM Course (opens in a new tab)Hugging Face

    A structured course resource suited to readers who want a guided explanation of LLM training and post-training concepts, including where instruction tuning fits.

    Deeperlink checked 2026-07-31

  • CourseShort Courses (opens in a new tab)DeepLearning.AI

    A set of short courses suited to practitioners who prefer hands-on lessons and practical demonstrations over long theory-first study.

    Intermediatelink checked 2026-07-31

  • VideoVideo explanations: Instruction tuning (opens in a new tab)YouTube search

    A YouTube search results page that helps visual learners find multiple video explanations and teaching styles, but it is not one verified source.

    search results, not one pagelink checked 2026-07-31

  • DiscussionCommunity discussion: Instruction tuning (opens in a new tab)Reddit search

    A Reddit search results page that lets readers see community questions and practitioner discussion, best for informal perspectives rather than authoritative definitions.

    search results, not one pagelink checked 2026-07-31

Where this came from

Drafted with a language model through an offline pipeline, checked against this site's schema, and every external link above fetched to see whether it answers. Treat it as a starting point and check anything that matters against the primary sources. How this site is built and what that means.

The one thing to remember

Instruction tuning does not make a model generally smarter; it mainly makes a pretrained model more likely to respond in the way a prompt asks.