InstructGPT's three-step training pipeline

InstructGPT (2022) is less a single model than a three-step recipe. This theme walks through what each step actually does: start from a pretrained GPT-3, fine-tune it on human demonstrations, then train a separate model of human preference and use reinforcement learning to optimize against it.

Given as one continuous telling, the page lingers longest on the reward model, since its pairwise comparison loss, built from ranked completions, is what turns human preference into a usable training signal for everything downstream.

InstructGPT names the family of GPT-3 models produced by a specific three-step procedure, and this theme lays out that procedure end to end. It begins from GPT-3, the pretrained autoregressive language model of Brown et al., as architecture and initialization. Supervised fine-tuning trains that base model directly on human demonstrations to produce the SFT model, used both as a baseline and as the starting point for everything downstream. The reward model, initialized from the SFT model with its unembedding layer replaced by a scalar output head, is then trained with a pairwise comparison loss over ranked completions, where the reward gap between preferred and dispreferred outputs represents the log odds a human would prefer the former. The PPO fine-tuning stage is the third step, further tuning the SFT model with reinforcement learning to maximize the reward model's score. This whole procedure is what reinforcement learning from human feedback denotes in this paper: a learned model of human preference used as a reward signal for reinforcement learning, applied to open-ended instruction following rather than a fixed task.