The Post-training Process OpenAI Used for ChatGPT
Sharon Zhou ยท rss ยท 2026-09-21 Reader ๐ฅ๏ธ
AI Alignment & SafetyAI Productization PipelineExtended Thinking / ReasoningMCP (Model Context Protocol)RLHF / Post-Training Pipeline (SFT โ Reward Model โ RLHF)
The behaviors that make frontier models like ChatGPT feel conversational, safe, tool-capable, and intelligent are not emergent side effects of pretraining scale but engineered outcomes of the post-training pipeline โ supervised fine-tuning on human demonstrations, reward modeling on human preference comparisons, and reinforcement learning (PPO) against that reward model โ and each stage of that pipeline produces a measurable, stacking improvement in response quality over the last.
theoretical ยท expository โ Primarily explains and defends how a technical process works (post-training turns a raw pretrained model into ChatGPT), grounded in the InstructGPT paper's methodology and results, rather than arguing the reader should take a specific action. There is a thin practical undercurrent aimed at engineers ('getting it right takes significant engineering effort'), but the dominant mode is exposition of mechanism plus evidentiary argument for why the mechanism works.
Structure
| Part | Role |
|---|---|
| Opening: the golden-retriever prompt before/after ChatGPT's November 2022 launch | context |
| Behavior survey: conversational/helpful, safety/alignment, tool use, reasoning | evidence โ enumerates the specific capabilities post-training is claimed to produce |
| The classic ChatGPT/InstructGPT pipeline (three stages: SFT, reward modeling, RLHF) | mechanism โ the detailed causal account of how the claimed behaviors are actually produced |
| Stage-by-stage deep dive: SFT data collection, reward-model architecture and training, the 9-step PPO/RLHF loop, KL-penalty and reward-hacking discussion | evidence โ technical detail intended to make the mechanism credible and inspectable, not just asserted |
| 'Getting it right' closing section: human-eval results (RLHF > SFT > base GPT-3; a 1.3B RLHF model beating a 175B SFT model) and the held-out-labeler caveat | conclusion โ the empirical payoff that is meant to validate the whole pipeline, with a self-qualifying caveat about whose preferences were optimized |
Key terms
- post-training
The staged process applied after pretraining โ SFT, reward modeling, RLHF, and by extension reasoning/tool-use training โ that converts a raw next-token predictor into a usable assistant. - rollout RLHF / Post-Training Pipeline (SFT โ Reward Model โ RLHF)
A single prompt-response pair generated by the current policy during the RL loop; RL training operates on batches of rollouts. - reward hacking
The failure mode where an RL policy, if unconstrained, finds degenerate outputs that exploit quirks in the reward model to score highly without being good responses. - alignment tax RLHF / Post-Training Pipeline (SFT โ Reward Model โ RLHF)
The tradeoff where optimizing for human preference (reward) via RL degrades the model's general pretraining-derived capabilities (knowledge recall, coherent long text) unless mitigated (e.g. by mixing in pretraining loss) โ a form of catastrophic forgetting. - preference data / preference model
Human rankings of multiple model responses to the same prompt, converted to pairwise comparisons; the reward model trained on this data is interchangeably called a 'preference model.'
Propositions
- explicitPost-training, not raw model scale, is what converts a pretrained model into a usable conversational assistant.conf: high
- explicitThe classic ChatGPT/InstructGPT pipeline has three stages that build on each other: supervised fine-tuning (SFT) on human demonstrations, training a reward model on human preference comparisons, and reinforcement learning with human feedback (RLHF, via PPO) that optimizes the SFT model against the reward model.conf: highextendsPresentation: Engineering AI for Creativity and Curiosity on Mobile ยท p2 โ Supplies the concrete SFT -> reward-model -> PPO mechanics behind the 'RLHF family' alternative that this proposition frames as one of two locked-in post-training tradeoffs (vs. DPO).extendsIntroducing System One Models & Jev ยท p14 โ Gives the actual technical account of the 'RLHF-era methods behind ChatGPT' that Jev's founder is credited with having helped build at OpenAI.
- explicitSafety and helpfulness are fundamentally in tension, and where to draw the line between them is a human, organizational decision made within labs, not a technical given.conf: high
- explicitThe raw capacity to reason is latent in pretrained models (from training data containing proofs, logic, and commented code) but pretrained models default to pattern-matching rather than deliberate step-by-step reasoning unless post-trained to reason.conf: high
- explicitHow a model is trained can matter as much as how large it is: human evaluators preferred a 1.3B-parameter RLHF model's outputs over a 175B-parameter SFT-only model's outputs most of the time.conf: high
- explicitPreventing reward hacking requires an explicit KL-divergence penalty that tethers the RL policy to the original SFT reference model, trading off reward maximization against distributional drift from that reference.conf: highsupportsCoding Models Are Doing Too Much ยท p13 โ OpenAI's practice of mixing pretraining data into the SFT and RL objectives to prevent catastrophic forgetting is a concrete real-world instance consistent with this proposition's general distributional-distance account of forgetting.supportsI benchmarked CC's caveman plugin against 'be brief'. The token math is wild. ยท p2 โ The KL penalty's job is precisely to keep the RL policy close to the SFT-shaped reference model, which is the mechanism that would make RLHF-trained stylistic habits like excessive politeness resistant to being prompted away.
- explicitTool use and function calling are taught almost entirely through supervised fine-tuning initially, with reinforcement learning subsequently refining correct versus incorrect/unnecessary invocations.conf: high
- implicitBecause the reward model is trained on one specific labeler population's preferences, RLHF optimizes the model toward that population's specific preferences rather than toward a population-neutral standard of 'good response' โ evaluation by a different, held-out population shows the same preference gains but noticeably diminished.conf: medium
Arguments
The three-stage RLHF pipeline reliably improves response quality at each successive stage, and the improvement comes from training method, not just scale. strength: medium
Explicit premises:
- Human evaluators preferred RLHF outputs over SFT outputs, and SFT outputs over base GPT-3 outputs, in head-to-head comparison.
- A 1.3B RLHF model was preferred over a 175B SFT-only model most of the time.
- The RLHF model was better at following explicit constraints, less likely to produce harmful outputs, and hallucinated less than the SFT model.
Implicit premises:
- Human labeler pairwise preference judgments are a valid, sufficiently general proxy for the qualities readers actually want from an assistant.
- A reward model trained on one labeler population's preference data generalizes adequately to other users, not just to the population that produced its training data.
Inferences:
- If preference gains measurably shrink under a held-out labeler population (as the article's own caveat shows), then reported RLHF 'win rate' style benchmarks likely systematically overstate real-world preference gains for user populations that differ from the original labeling pool โ a caveat the article notes locally but does not generalize to the field's benchmarking practices.
A KL-divergence penalty tying the RL policy to the original SFT model is what keeps reward maximization from degenerating into reward hacking. strength: medium
Explicit premises:
- Unconstrained reward maximization finds 'weird, degenerate outputs that exploit quirks in the reward model to get high scores without actually being good responses.'
- The KL penalty discourages the RL policy from drifting too far from the SFT reference policy, and the coefficient controls how strongly.
Implicit premises:
- The reward model's own flaws/exploitable quirks are the primary source of degenerate outputs, so constraining drift from a known-good reference is an adequate general remedy.
- The SFT reference model itself defines an acceptable quality floor worth staying close to, even though the article elsewhere notes SFT models hallucinate and lose the thread across long conversations.
Inferences:
- If the fix for reward hacking is essentially 'don't drift too far from a model that is itself imperfect,' then RL-driven quality is bounded above by (reward-model shaping) + (SFT-model quality), not liberated from the SFT model's own limitations โ the KL penalty contains reward hacking rather than eliminating the underlying misspecification in the reward model.
Narratives
- The 'Why do people like golden retrievers?' prompt: GPT-3 answers nonsensically before ChatGPT; the identical-in-spirit prompt gets a coherent, helpful answer after post-training, regardless of who asks.
โ Grounds the abstract thesis (post-training, not scale, produces the usable behavior) in a single concrete, memorable before/after example carried over from part 1 of the series. - A veterinary-appointment-scheduling assistant: a user asks about a same-day appointment for a limping golden retriever; a pretrained model would fabricate a plausible but fictional appointment time, while a post-trained model with tool use calls the real scheduling API and returns a grounded, conversational answer.
โ Makes the abstract 'tool use requires several coordinated sub-skills' proposition concrete โ recognizing intent, selecting the tool, constructing the call, and presenting the result conversationally. - Reward-model training toy example: given the prompt 'What's 2+2?' with candidate responses '4' and 'Yes,' the labeler prefers '4,' and the loss is described as small when the reward model correctly separates the two and huge when it doesn't.
โ Makes the pairwise cross-entropy reward-model loss mechanically intuitive without requiring the reader to parse the underlying math.
Questions addressed
- โ
What specific behaviors does post-training add on top of a raw pretrained model?
Conversational fluency, safety/alignment, tool use and function calling, and reasoning ('thinking' before answering). - โ
How exactly does the classic ChatGPT/InstructGPT post-training pipeline work, stage by stage?
Described in detail: SFT on ~13K human-labeled demonstrations, reward-model training on ranked preference comparisons, and a 9-step PPO/RLHF loop with a KL-divergence penalty against the SFT reference model. - โ
Does training method matter more than model scale for producing preferred outputs?
Demonstrated in one striking comparison (1.3B RLHF beating 175B SFT-only), but not generalized into a broader claim about scale vs. training method across model families or tasks. - โญ Where should the line between safety and helpfulness be drawn, and by whose authority?
Explicitly named as 'a human decision within labs' with no further engagement. - โญ Does an RLHF-aligned model's behavior generalize to users whose preferences differ from the labeler population that produced its training data?
Touched on empirically (held-out labelers showed smaller but still positive preference gains) but the implications for deployment to a broader, more diverse user base are not examined.
Gaps
- incompleteThe article states in its own framing note that 'modern systems use more advanced approaches today' than the classic InstructGPT pipeline it describes, but never says which approaches, why labs moved past the classic pipeline, or what specifically changed (e.g. DPO in place of PPO, RLAIF/Constitutional AI in place of human-only preference data, reasoning-specific RL such as RLVR).
Read next: DPO and RLAIF papers; Anthropic's Constitutional AI writeup; part 4 of this same series (implementing your own pipeline, due 2026-10-07). - incompleteThe piece names that OpenAI 'contracted ~40 human labelers' and flags that model behavior is shaped by whichever population created the training/preference data, but never examines who those labelers were, how they were trained, compensated, or managed โ a significant omission given the article's own admission that labeler population materially determines what the model optimizes for.
Read next: Reporting and research on RLHF/data-labeling labor conditions (e.g. contractor working conditions at outsourced annotation firms) and on labeler demographic effects on model behavior. - illogicalThe article defines safety as whatever the lab chooses to encode into the reward signal ('If you think cats are unsafe... you can teach the model that in post-training') but never confronts the consequence: this makes 'safety' indistinguishable from 'the preferences of whoever controls the reward signal,' which undermines the article's own implicit framing of safety as a stable, inspectable engineering property rather than a contingent policy choice.
Read next: extract-ai-alignment-is-impossible (this corpus) and broader critiques of whose values get encoded via RLHF/constitutional methods. - incompleteReward hacking and the KL-penalty mitigation are discussed only in the abstract ('weird, degenerate outputs') with no concrete, named examples from production frontier models, and no indication of how often reward hacking still occurs today or how it is currently detected/monitored โ leaving the reader unable to judge whether this is a solved, contained, or ongoing live problem in 2026 systems.
Read next: Anthropic/OpenAI research on reward hacking and specification gaming in current frontier models.
Closes gaps elsewhere
- AI Alignment Is Impossible ยท g4 โ Supplies the RLHF specifics (the three-stage SFT -> reward-model -> PPO pipeline, KL-divergence penalty against reward hacking, and preference-data mechanics) that the alignment-is-impossible critique's engagement with generic 'reward/punishment training' explicitly lacked.
Related documents
- I benchmarked CC's caveman plugin against 'be brief'. The token math is wild.
- Coding Models Are Doing Too Much
- Introducing System One Models & Jev
- Presentation: Engineering AI for Creativity and Curiosity on Mobile
- Anthropic Can Now Read Claude's Mind
- A global workspace in language models
- Claude Code: Best practices for agentic coding
- "Our model is the most aligned yet!" ๐ค