# InstructGPT

> Canonical: https://skillalmanac.com/glossary/instructgpt | Last verified: 2026-11-24 | Index status: not offered to search engines

InstructGPT is a family of OpenAI language models, described in a 2022 paper, that fine-tuned GPT-3 with human feedback so it follows user instructions better, with fewer untruthful or toxic outputs.

Also called: Instruct GPT, InstructGPT paper, InstructGPT models, GPT-3 instruct.

## In plain language

Early large language models were trained to continue text, which is not the same as doing what you ask. InstructGPT is the name OpenAI gave to GPT-3 models that were adjusted using feedback from human reviewers: people wrote example answers and ranked model outputs, and the model was tuned toward the answers people preferred. It is like an apprentice who learns from a supervisor's corrections. The limits are that it still makes simple mistakes, and the people who wrote and ranked answers shaped its behaviour. The paper reports the models were less toxic and more truthful in its tests, not perfect.

## Technical definition

The paper (arXiv 2203.02155, submitted 4 March 2022) describes three steps. First, labelers wrote demonstrations of desired behaviour on prompts, used to fine-tune GPT-3 with supervised learning. Second, labelers ranked model outputs, which, as IBM's RLHF page describes, trained a reward model to predict preferences. Third, the model was further tuned with reinforcement learning against that reward model, which is reinforcement learning from human feedback (RLHF). OpenAI's own page says the reinforcement step used the PPO algorithm and that a small amount of the original GPT-3 training data was mixed in to reduce an alignment tax, meaning lost performance on some academic NLP tasks.

## How it shows up when you use agents

You do not run InstructGPT when you use Claude Code, Codex or Cursor, but its recipe shaped how assistant models are made. A model that only continues text needs a prompt written as the start of a document. A model tuned on demonstrations and human rankings can take a plain instruction such as "rename this function and update the callers". The recipe in the paper, and in IBM's description of [RLHF](/glossary/rlhf), is a version of [fine-tuning](/glossary/fine-tuning) followed by reinforcement learning against a [reward model](/glossary/reward-model).

What breaks when it is misunderstood: people read "follows instructions" as "does what you meant". The authors say the models still make simple mistakes, so an agent can obey the wording of an instruction and miss its intent. The paper also describes training toward the preferences of the labelers and the prompts they saw, so behaviour reflects those choices.

Next actions: write instructions that state the outcome and the check, then test them on a small set of examples, as the [LLM eval test sets](/skills/skill-almanac/llm-eval-test-sets) skill does. For the model family itself, see [GPT](/glossary/gpt).

## Common confusions

- **InstructGPT versus GPT-3.** GPT-3 is the base model. InstructGPT is GPT-3 after supervised fine-tuning and reinforcement learning from human feedback.
- **InstructGPT versus ChatGPT.** They are different products. OpenAI's page describes InstructGPT as models on its API; this page makes no claims about how ChatGPT was trained.
- **InstructGPT versus RLHF.** RLHF is the method. InstructGPT is the named set of models that used it.
- **Myth: human feedback makes a model truthful.** The paper reports better truthfulness than GPT-3 in its evaluations and also reports remaining mistakes.

## Worked examples in this catalogue

### [What Is an LLM? The Facts Agent Users Need](https://skillalmanac.com/learn/what-is-an-llm-for-agent-users)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An explanation that an LLM predicts text one token at a time inside a fixed context window, with the context, cost and error facts that shape agent runs.

Why it exercises the concept: InstructGPT is a way of tuning that kind of next-token model to follow instructions, so the guide gives the base behaviour the tuning changes.

### [prompt-writing](https://skillalmanac.com/skills/skill-almanac/prompt-writing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Writes and lints LLM prompts with a fixed structure, injection rules and a numeric test plan.

Why it exercises the concept: Instruction-tuned models respond to written instructions, so prompt structure is where a user meets the result of this training.

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.

Why it exercises the concept: The paper judged models by human preference ratings. Building a test set with graders is the practical way to check whether a model follows your instructions.

## Related terms

- [Reinforcement learning from human feedback (RLHF)](https://skillalmanac.com/glossary/rlhf.md)
- [GPT (generative pre-trained transformer)](https://skillalmanac.com/glossary/gpt.md)
- [Fine-tuning](https://skillalmanac.com/glossary/fine-tuning.md)
- [Reward model](https://skillalmanac.com/glossary/reward-model.md)
- [Instruction tuning](https://skillalmanac.com/glossary/instruction-tuning.md)
- [Reinforcement learning](https://skillalmanac.com/glossary/reinforcement-learning.md)

## Sources

- [Training language models to follow instructions with human feedback](https://arxiv.org/abs/2203.02155), arXiv (accessed 2026-11-24)
- [Aligning language models to follow instructions](https://openai.com/index/instruction-following/), OpenAI (accessed 2026-11-24)
- [What is reinforcement learning from human feedback (RLHF)?](https://www.ibm.com/think/topics/rlhf), IBM (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
