Episode Details
Back to Episodes
How a Reward Model Actually Trains an LLM
Episode 5945
Published 1 month, 1 week ago
Description
Everyone draws the reward model as a smiley face between "human feedback" and "better model" — but what is it actually doing? This episode takes the reward model apart: how it's built by cutting the unembedding layer off an SFT checkpoint and bolting on a single linear head, why it's trained on preference trios with a Bradley-Terry loss for exactly one epoch, and why a 6B critic was used to steer a 175B policy. Then the part that usually gets hand-waved: the mechanism by which one scalar reward moves the policy's weights. Along the way: whether reward models keep learning during RL, whether you can grab one off a shelf (RewardBench says sometimes, with caveats), and why the value function exists at all when the reward arrives once, at the very end.
Key sources:
• Nathan Lambert, *RLHF and Post-Training*, Ch. 5 Reward Modeling — https://rlhfbook.com/c/05-reward-models
• Nathan Lambert, *RLHF and Post-Training*, Ch. 6 Reinforcement Learning — https://rlhfbook.com/c/06-policy-gradients
• Ouyang et al., Training language models to follow instructions with human feedback (InstructGPT), arXiv:2203.02155 — https://arxiv.org/abs/2203.02155
Episode 5945 — myweirdprompts.com/n/5945 (permanent short link: myweirdprompts.com/854943)