Reward increased: what explanations should we rule out?
In one lineA higher reward may only mean longer answers, more attempts or a pleased judge. Fix problems, budget and grading, then check subgroups and variance.
A higher training reward might reflect better ability, longer answers, more attempts, or better accommodation of a particular judge. Before reducing everything to one score, fix the comparison conditions.
| Check | Procedure | Misinterpretation prevented |
|---|---|---|
| Problems and data splits | Hold out problems from training and tuning; audit near-duplicates and template leakage | Memorization mistaken for generalization |
| Generation budget | Match sample counts, token limits, and decoding; report costs too | Extra attempts mistaken for a better model |
| Independent acceptance | Add boundary tests, human audits, or another standard beyond the training verifier | A faulty reward function grading its own success |
| Subgroups | Break down difficulty, language, length, and task type | Average gains concealing a subgroup regression |
| Variability and uncertainty | Keep paired per-problem results; report sample size, seeds, and suitable intervals | A small sample or lucky generation mistaken for a stable improvement |
| Capability and cost regression | Check previous tasks, refusals, factuality, latency, and output length | Improving one behavior while harming another |
A small example: if each independent sample succeeds with probability $0.5$, four attempts yield at least one success with probability $1-(1-0.5)^4=0.9375$. The model did not change; the budget did. This teaching calculation assumes independent attempts with a fixed success probability. Real problems vary in difficulty, so an aggregate average success rate cannot simply be substituted into this formula. Distinguish single-generation and multiple-attempt results; if a selector must identify the correct answer, include its error and cost as well.
For a preference judge, randomize A/B order and check whether it merely favors longer answers. Do not discard every disagreement with human labels: disagreement may reveal an unclear rubric. See LLM-as-a-Judge for examples and metric robustness for paired comparisons and population mixtures.
How evaluation feeds back into training
In one lineGate releases with a frozen suite, shadow runs and a small A/B test. Sort production failures into demonstrations, pairs, verifier cases or system rules.
The checks above cover one comparison. Across the whole training process, evaluate capability regression, factual grounding, safety and policy compliance, tool use and task completion, multi-turn consistency, latency, and cost separately. Open-ended responses can combine human review, calibrated LLM judges, and deterministic checks; math, code, and structured tasks should prefer verifiers where possible.
From launch to feeding failures back into training, work in this order:
- Before launch: keep a frozen regression suite and compare every candidate version on the same problems.
- Shadow evaluation: the new model runs alongside real traffic, but its outputs are not returned to users.
- Controlled A/B test: expose only part of the traffic, with the metrics and stopping conditions fixed in advance.
- Handle production failures: do not feed them all straight back. Classify failures by type, deduplicate, audit, and stratify them, then decide where each kind belongs:
| What this kind of failure can supply | Better destination |
|---|---|
| A correct answer can be written | SFT demonstration |
| One of two answers can be judged better | chosen/rejected pair |
| A program can judge right or wrong | verifier case |
| The problem lies in format, permissions, or call flow | system rule; the model may not need to change |
Common questions
In one lineSix questions on the four roles, KL, the Critic and GRPO, DPO versus PPO, reward-score scale and the limits of verifiers.
What roles appear in typical PPO-style RLHF, and which train?
The four common roles are Actor, Critic, Reward, and Reference; they do not require four full models to be resident simultaneously. Actor and Critic update weights in this setup. Reward is frozen after stage 2; Reference is a frozen SFT copy. Actor and Reference start identical, but only the Actor changes as policy training proceeds.
Why are the reference model and KL penalty needed? What happens if you remove them?
Preferences learned from limited data may not generalize to later policy outputs. Stronger optimization can find high-scoring answers that people do not actually prefer, such as accommodating a stylistic bias instead of improving the answer.
Reference KL adds a cost for deviating from an anchor. Increasing $\beta$ generally strengthens that cost, but its effect also depends on reward scale. Removing KL does not guarantee collapse, and retaining it does not guarantee freedom from reward hacking. Compare its presence and coefficient with independent evaluation rather than treating a nonzero coefficient as a law. See Reference and Critic for the derivation and numerical example.
What is the Critic for, and how does GRPO avoid it?
The Critic estimates state value $V_t$ to construct advantages such as $\hat A_t=\hat G_t-V_t$. A suitable baseline can reduce variance; TD or GAE also introduces a bootstrapping bias tradeoff. Training without a Critic is still possible; REINFORCE is one example.
GRPO constructs relative signals from answers to the same prompt instead of training a separate Critic. It saves Critic-related costs but requires group sampling; all-correct or all-wrong groups (see DAPO's dynamic sampling), reward scales, and length normalization still matter. Counting fewer models does not establish lower total training cost.
What is the key difference between DPO and PPO?
DPO uses a derivation: a KL-regularized reward objective with fixed $\beta>0$ has a closed-form optimum under the policy-support and integrability conditions. This is not a per-update guarantee of a fixed KL radius. The reward can then be rewritten in terms of the policy and the preference loss differentiated directly. Standard offline DPO therefore trains no separate reward model and runs no online RL loop; the reward difference is implicit in the loss. See the DPO derivation for the full objective and conditions.
One limitation of standard offline DPO is its fixed preference dataset. The policy changes while the data does not, so training cannot actively explore the current policy's new failures. PPO and other online RL methods resample from the current policy and are more natural for exploration, environment interaction, or verifiable multi-step outcomes, but rollout is expensive and training less stable.
DPO therefore cannot replace PPO everywhere, but PPO is not universally better either. Use DPO when high-quality static preferences cover the task; use online methods when the current policy must keep producing new evidence. Online DPO variants reinforce that the real distinction is the data-and-feedback loop, not only the loss name.
Can reward-model scores be compared directly?
Bradley–Terry directly constrains the gap between chosen and rejected answers to the same prompt. Adding a constant to every score leaves the loss unchanged, so the zero point has no identifiable meaning; a score of $2.4$ is not “2.4 units of satisfaction.”
A fixed Reward Model's raw outputs can of course be used numerically, but comparisons across prompts, domains, or model versions require evidence that calibration and scale are stable. Implementations may also whiten or normalize rewards; that is an optimization choice, not a rule implied by Bradley–Terry.
Why is independent evaluation still needed with a verifier?
A verifier only checks the conditions implemented in it. Incomplete tests, faulty answer extraction, or missing boundary cases can reward incorrect outputs. A deterministic program need not express the full task correctly.
RLVR fits tasks or subgoals with automatically checkable outcomes. Open-ended dialogue can also use format or tool-argument checks, but these do not cover all aspects of answer quality. Reserve independent problems, different test families, and human review where needed to distinguish task learning from checker exploitation. Verifiable rewards starts from a worked counterexample: a constant-output “solution” that passes a single sorting test.
Self-check
In one lineFive items, including what the reference KL and old-policy ratio each compare against and when PPO clipping zeroes the gradient.
- What each role does in typical PPO-style RLHF, and why four roles do not imply four resident weight copies.
- What the reference KL and the old-policy ratio each compare the current policy against.
- What the Critic helps estimate, and what tradeoffs GRPO makes by not training one.
- Why DPO needs no reward model, and what it gives up for that.
- For PPO-style clipping, which two combinations of advantage sign and ratio crossing make the local gradient zero?
Further reading (Chinese)
This chapter covers the main RLHF workflow. Separate notes examine the individual algorithms: start with PPO, GRPO, and DPO, then read DAPO, Clipping and gradients, GSPO and ASPO, and asynchronous training as needed.
- Reinforcement learning in large models — a Zhihu article, in Chinese, as a supplement. It runs from MDP elements, the Bellman equation, and the bias-variance tradeoff across MC/TD/GAE, through PPO's four-model setup and DPO with IPO/KTO, to what GRPO, DAPO, Dr. GRPO, RLOO, and REINFORCE++ each set out to fix.
Papers to start with
- InstructGPT — where the three stages come from
- PPO
- DPO
- DeepSeekMath — GRPO
- Learning to summarize from human feedback — early evidence on KL and reward hacking