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):
- 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.
- 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).
- 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.