An assistant that follows instructions can still be wrong, unhelpful, or unsafe. Alignment fixes that with feedback: people (or another model) pick the better answer, that pick becomes a reward, and the model is nudged toward it — over and over.
A base assistant can produce two fluent answers to the same prompt — one genuinely helpful, one lazy or unsafe. Following instructions isn't enough; someone has to say which is better.
A preference is just 'A over B'. To train on it, a second model — the reward model — turns each answer into one number, and learns to score the preferred answer higher.
One preference barely moves anything. Repeat it across thousands of prompts and each small nudge adds up — the model's answers drift toward the preferred style.
You've seen how a model is shaped. Next, how it runs: prefill vs decode — why reading your prompt and writing the reply are two very different phases, and what that means for speed and cost.