LLM Post-Training: What Actually Updates?
Three deterministic, dependency-free experiments. Each policy permits only two complete responses, A and B, for one prompt. These are toy parameter updates, not training of a language model, a value critic, or a production RLHF system.
Experiment 1 — SFT versus preference/reward estimation
SFT fits the probability of choosing A. A separate Bradley–Terry model fits the probability that A is preferred to B. The two estimation routines do not share parameters.
Fitted quantities over steps
Both routines begin at zero logit and use learning rate 0.4. The SFT policy starts with P(A)=0.5, while the reward estimator starts with preference probability 0.5. Changing the reward labels does not update the policy.
Experiment 2 — One PPO update versus one DPO update
A is the sampled PPO action and the preferred DPO response. Both begin from the same current probability P(A), but the old and reference probabilities have different jobs.
Why can PPO's gradient be zero at this point?
For positive advantage, ratios above 1+ε use a flat clipped branch. For negative advantage, ratios below 1−ε do. The clipping rule is asymmetric; it does not force all updates inside a hard probability interval. The toy PPO update excludes a reference KL penalty.
Experiment 3 — GRPO group advantages and policy updates
Four sampled responses to the same prompt have actions A, B, A, B. Normalize their rewards within the group, then apply a response-level clipped surrogate. Shifted rewards should give the same policy update; equal rewards give no relative task-reward signal.
GRPO uses the ε and step-size controls from Experiment 2. The demonstration omits per-token ratios, multi-epoch reuse, and reference regularization. Changing only the absolute reward offset does not change the group advantages.