ElemedexA pocket encyclopedia of AI architectures
ChatGPT (InstructGPT)
No. 039

ChatGPT (InstructGPT)

Chat Generative Pre-trained Transformer

Helpful Assistant

It was born as an autocomplete that did not know when to stop. About forty people taught it manners: they wrote model answers, ranked its own from best to worst, and a reward model did the rest. Ever since, it opens almost everything with “Certainly! I'd be happy to help.”

Height
96 (InstructGPT-175B, like GPT-3) · ChatGPT: ?
Weight
≈ 350 GB (175 B, fp16)
Parameters
1.3 B · 6 B · 175 B (InstructGPT) · ChatGPT (GPT-3.5): undisclosed
Context
≈ 4,096 tokens (gpt-3.5-turbo, 2023)
Training data
GPT-3.5 pretraining + ≈ 13,000 demonstrations, 33,000 prompts (RM) and 31,000 prompts (PPO) for InstructGPT
Year
2022
Generation
6 · Assistants, reasoning, and agents
Creators
OpenAI (InstructGPT: Ouyang, Wu, Jiang et al.)
Kind
System

Base stats

Total
362

Approximate, ordinal scales meant for comparing species with each other; the hard numbers are in the data sheet.

Weaknesses

  • Sycophancy: it tends to agree with whoever is asking, because that is what raters tend to reward.
  • It hallucinates as fluently as it gets things right, and preference tuning can worsen the calibration of its probabilities.
  • Shallow alignment: jailbreaks that pit one norm against another still work.
  • Verbosity and verbal tics: the “assistant style” is a training artifact, not a communicative virtue.

Habitat

It was pretrained on web text, books and code, and raised on demonstrations and rankings written by hired labelers (for InstructGPT, through Upwork and Scale AI). It entered the world through a chat window on November 30, 2022, and now lives in browsers, phones, offices and classrooms.

Moves

Abilities

Instruction tuning
Supervised fine-tuning on answers written by people: the model learns to answer the question instead of continuing it.
Reward model
A copy of the model that outputs a number instead of text: how much a human rater would prefer that answer.
Assistant persona
A stable character (helpful, honest, harmless) that post-training teaches it to play in every dialogue.

Anatomy

The InstructGPT recipe, which ChatGPT inherited with small changes: a pretrained base model is tuned on demonstrations (SFT); people rank its answers to train a reward model; and PPO optimizes the policy (a copy of the SFT model) against that score, with a penalty for drifting too far from the original.

Evolution chain

  • instruction tuning plus reinforcement learning from human feedback032 GPT-3
039 ChatGPT (InstructGPT)

ChatGPT is a system, not a model: a chat interface built on top of a GPT-3.5 decoder that was taught to behave like an assistant. Alammar & Grootendorst (2024) stress the distinction: “ChatGPT” names the product, which ran on GPT-3.5 at launch and later on more capable variants such as GPT-4 (2024, p. 23). OpenAI introduced it on November 30, 2022, as a “sibling model” to InstructGPT, trained with the same methods and slight differences in data collection (OpenAI, 2022). Since ChatGPT's recipe was never published in detail, what follows describes InstructGPT's (Ouyang et al., 2022).

How it works

A base model pretrained on next-token prediction does not follow instructions: given a question, it tends to continue it, or to make up new questions (Alammar & Grootendorst, 2024, p. 357). The recipe for turning it into an assistant has three steps (Ouyang et al., 2022, sec. 3.1):

  1. Supervised fine-tuning (SFT). A team of about 40 contractors writes ideal answers to real prompts, and the model is fine-tuned to imitate them: this is instruction tuning.
  2. Reward model. The SFT model generates several answers to the same prompt; people rank them from best to worst, and a copy of the model, with a scalar output instead of words, learns to predict those preferences (Alammar & Grootendorst, 2024, pp. 379–382).
  3. Reinforcement learning. The SFT model becomes a “policy” that generates answers; the reward model scores them, and the PPO algorithm adjusts the weights to raise the score, with a penalty that keeps it from drifting too far from the SFT model (Ouyang et al., 2022, sec. 3.5). According to Alammar & Grootendorst (2024), PPO was used to train the original ChatGPT of November 2022 (2024, p. 383).

Steps 2 and 3 make up RLHF, a technique that Christiano et al. (2017) had tested on Atari games and simulated robots, with human feedback on less than 1% of the interactions. The striking thing is the relative cost: tuning the 175-billion-parameter model with SFT and PPO took less than 2% of the compute used to pretrain GPT-3, and yet raters preferred the answers of a 1.3-billion-parameter InstructGPT to those of GPT-3 (Ouyang et al., 2022, secs. 1 and 5.1).

What changed

Compared with GPT-3, almost nothing changed in the architecture and almost everything in the behavior. GPT-3 did in-context learning if you knew how to phrase the prompt as the beginning of a document; ChatGPT answers direct requests, sustains a conversation and declines some of them. Preferences carry more nuance than demonstrations: they say not only which answer is good but which one is better (Alammar & Grootendorst, 2024, p. 133). The technique has siblings: Constitutional AI replaces part of the human feedback with that of another model guided by a list of principles (Bai et al., 2022), and DPO does away with the explicit reward model (Alammar & Grootendorst, 2024, p. 384).

Limits

The InstructGPT authors themselves warn that the procedure aligns the model “to the stated preferences of a specific group of people (mostly our labelers and researchers), rather than any broader notion of ‘human values’” (Ouyang et al., 2022, secs. 1 and 5.2). The reward model is an imperfect proxy for those preferences, and optimizing against it favors verbosity, confident hallucination and sycophancy: Goodhart's law at work (Alammar & Grootendorst, 2024, p. 377). In April 2025 OpenAI had to roll back a GPT-4o update because of its excessive sycophancy (OpenAI, 2025). Buckner (2024) also notes that the signal is poor (a thumbs up or down, a helpfulness scale) compared with the rich, affective, multidimensional social feedback humans learn from (2024, p. 341). And jailbreaks still work: see the professor's note.

Sources