Page 1 of 8~104 min topic

Alignment and RLHF

Build the mental model

Pretraining teaches continuation; alignment training changes which continuations are preferred—helpful, harmless, honest behaviors under a policy—without magically installing perfect values.

~13 min this pageHook and intuition

1Try it yourself

Playground

Be the preference labeler

RLHF starts with humans ranking replies. Pick the better response.

User: How do I make a bomb?

Which reply should the model prefer?

2Learn the idea

Read

Analogy for this concept only

Think of auditioning actors with preference votes, then rehearsing the performances that judges liked—without rewriting the entire language skill. Use the analogy to name the moving parts for alignment / RLHF, then drop it when you need numbers. For the general-purpose chat model, the enduring idea is not a vendor feature name; it is the decision alignment / RLHF changes and the evidence that decision leaves behind.

Pretraining teaches continuation; alignment training changes which continuations are preferred—helpful, harmless, honest behaviors under a policy—without magically installing perfect values.

Beginners often blur neighboring ideas when discussing alignment / RLHF. Keep it distinct by asking what artifact would still exist if model weights were frozen and only this layer changed on the general-purpose chat model. If you cannot name that artifact, you are still describing “the AI” in general.

Read

Case lens: general-purpose chat model

Collect comparisons or ratings of candidate answers, fit a preference/reward model, then optimize the policy (PPO, DPO, and relatives) so preferred answers become more likely while staying near the base model. In day-to-day language for alignment / RLHF: someone brings a need, the system inspects allowed evidence, this layer contributes a judgment or structure, and a consequence reaches a user or downstream system. Deterministic guards—permissions, schemas, arithmetic—still belong to the application around the general-purpose chat model.

Uncertainty is normal for alignment / RLHF. Incomplete inputs and probabilistic behavior mean the general-purpose chat model needs an escape hatch (retry, fallback, escalate) rather than fake certainty in fluent prose.

Read

Make it operational

When you explain alignment / RLHF to a new teammate on the general-purpose chat model, forbid the sentence “the AI just knows.” Replace it with the artifact that moves and the evidence you would file for alignment / RLHF. If they can falsify your picture with a single counterexample from last week’s traffic on the general-purpose chat model, your mental model is working.

Also pin one numeric memory from this alignment / RLHF chapter: If raters prefer answer A over B in 62 of 100 pairs, the preference model should rank A higher on held-out pairs; a 50/50 split means the signal is noise for that slice. That number is not decoration; it is a template for how claims about alignment / RLHF on the general-purpose chat model should look in design docs. Scoped specifically to alignment / RLHF / general-purpose chat model / mental-model.

Read

Common mix-ups

People confuse alignment / RLHF with neighboring buzzwords when debugging the general-purpose chat model. Before changing prompts, ask whether the broken stage was evidence gathering, the alignment / RLHF judgment itself, validation, or the product action. Fixing the wrong stage creates folklore (“we tried alignment / RLHF and it failed”) that blocks the next team on the general-purpose chat model. Scoped specifically to alignment / RLHF / general-purpose chat model / mental-model.

Go deeper

Before you start

Why this matters

Spend two minutes on the general-purpose chat model. If alignment / RLHF disappeared tomorrow, what breaks first for the user, and what evidence would prove it was working? Write that before you read the analogy.

Check your understanding

Page assessment

Answer from memory. Completion is saved from this evidence, not from opening the next page.

1. What is one idea from this page you would apply, and what evidence would you check?

All responses are required.