Skip to content

Generative Reward Models

optionalextendedfrontierpaperrubric 7/122024 · ~25 min

Dakota Mahan, Duy Van Phung, Rafael Rafailov, …, Alon Albalak

Status

TL;DR. A Bradley–Terry reward model is an LLM with its language head removed and a scalar head added. GenRM keeps the language head: the reward model is an LLM that reads the prompt and two responses, optionally reasons, and outputs which response is better. Trained with STaR-style self-generated rationales and DPO (STaR-DPO), an 8B judge matches classic RMs in-distribution and generalises much better out of distribution, especially on reasoning.

The paper starts from an identity. Under Bradley–Terry, the RLHF reward of yy relative to a reference completion is a log-odds:

rϕ(x,y)−rϕ(x,yref)=log⁡p(y≻yref∣x)1−p(y≻yref∣x).r_\phi(x,y)-r_\phi(x,y_\text{ref})=\log\frac{p(y\succ y_\text{ref}\mid x)}{1-p(y\succ y_\text{ref}\mid x)}.

So RLHF is already optimising a preference probability, and nothing requires that probability to come from a scalar head. GenRM models p(y1≻y2∣x)p(y_1\succ y_2\mid x) directly with an LLM, either from the indicator-token likelihood or from majority-vote counts. It then trains that LLM judge in several ways, all starting from Llama-3.1-8B-Instruct prompted with an MT-Bench-style judge prompt:

VariantWhat is trained
GenRMSFT on the verdict token only (the LLM used as a classifier)
STaR-SFTSFT on self-sampled rationales whose verdict was correct
STaR-DPODPO with correct-verdict rationales as chosen and wrong-verdict rationales as rejected
STaR-RationalizerSFT on rationales produced when the model is told the correct answer

Trained on UltraFeedback (61K general preference pairs), Bradley–Terry, PairRM and GenRM all reach about 73–74% in-distribution, and STaR-DPO 73.9%, while STaR-SFT stays near the base judge at 67.4%. On RewardBench, STaR-DPO is best at 81.9%, against 77.8% for the zero-shot CoT judge and 78.9% for GenRM. Trained on UltraInteract (math, code and logic reasoning traces), the explicit RMs reach about 94% in-distribution and STaR-DPO 90.2% (base 68.8%). On RewardBench reasoning the picture flips: the BT model is worse than random, GenRM scores 70.8%, the zero-shot judge 76.6% and STaR-DPO 87.2%. On RewardBench non-reasoning subsets the zero-shot judge leads (78.0%), with STaR-DPO close behind (75.0%). Majority voting over 32 samples adds 1.6 / 3.8 points (UltraFeedback in-distribution / RewardBench) and 4.6 / 4.9 (UltraInteract). Results are accuracy on preference pairs only. The paper does not train a policy with these rewards.

  • Where the scalar RM comes from: reward modeling, DPO (the same log-ratio algebra, used here to train the judge).
  • Map: rewards map places GenRM among verifiers, BT models and rubric judges.
  • Bootstrapping rationales: STaR.
  • The benchmark used: RewardBench.
  • Judges in IR evaluation: LLM-as-a-judge and UMBRELA face the same question: how far does a prompted LLM’s verdict agree with human labels, and does fine-tuning help?
  • Judges with structure: Rubrics as Rewards and Rubric-ARM.
  • Risk: generative verifiers can be steered by adversarial outputs. See verifier robustness.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    The paper notes that, under Bradley–Terry, the RLHF reward relative to a reference answer equals the log-odds that the answer beats the reference. A generative judge says a policy sample beats the reference with probability 26/32 = 0.8125 (26 of 32 votes), and another sample with probability 16/32 = 0.5. Compute both rewards, explain why this lets an LLM judge plug into PPO, and say what goes wrong near probabilities 0 or 1.

    What a strong answer covers
    • r(y) − r(y_ref) = log(p / (1 − p)). For p = 26/32 = 0.8125 this is ln(13/3) ≈ 1.466. For p = 0.5 it is 0, the same reward as the reference.
    • Any model that outputs p(y ≻ y_ref | x), including an LLM reading both answers, therefore defines a reward up to a constant. A scalar BT head is one special parameterisation of it.
    • With 32 votes p takes values in steps of 1/32. At 32/32 the logit is infinite, so in practice you clip or smooth (for example (k + 1)/(n + 2)). Rewards near the extremes are noisy and dominate the batch unless bounded.
    • The reward is relative to a fixed reference. A weak reference compresses all good samples into high p, which leaves little signal to separate them.
  2. Mechanism

    STaR-SFT trains the judge only on its own rationales that reached the correct verdict, while STaR-DPO also uses rationales that reached the wrong verdict as rejected examples. STaR-SFT barely moved from the base model in-distribution (67.4% vs about 74% for the others), yet STaR-DPO matched the trained RMs. Explain why, and why rationales written by a separate rationalizer model generalised worse than self-generated ones.

    What a strong answer covers
    • SFT on filtered correct traces mostly re-teaches what the model already did right and gives no signal on the cases it gets wrong. DPO uses (correct, incorrect) pairs from the same prompt, so the gradient specifically pushes down the reasoning patterns that lead to wrong verdicts.
    • This is the STaR → DPO move: negatives are the informative part when the base judge is already decent.
    • STaR-Rationalizer (SFT on rationales written given the correct answer) matched STaR-DPO in-distribution but fell below even the base judge on RewardBench in both training settings.
    • The paper's hypothesis: post-hoc rationales are off-policy. They are reasoning the model would not produce when it does not know the answer, so the model imitates their surface form on training prompts and fails on new ones.
  3. Critique

    Trained on UltraInteract, the explicit reward models (Bradley–Terry, PairRM) reach about 94% in-distribution but the Bradley–Terry model scores below random on RewardBench reasoning, while STaR-DPO scores 90.2% in-distribution and 87.2% on RewardBench reasoning. What does this say about evaluating reward models by held-out accuracy, and what does the comparison not establish?

    What a strong answer covers
    • In-distribution accuracy rewards fitting dataset-specific cues (style of chosen vs rejected answers). A classifier head can reach 94% that way without learning to check reasoning, then fail when the cues change.
    • A reasoning judge has a strong prior from pretraining and is trained on its own rationales, so it transfers better to new prompts and response sources.
    • For RL, the relevant distribution is the policy's own samples, which drift during training. Out-of-distribution robustness is closer to what matters than in-distribution accuracy.
    • Not established: no policy is actually trained with these rewards, so RL gains are unknown. A CoT judge also costs a full generation (×32 for majority vote) per comparison, which the accuracy tables ignore. All results use one 8B base model.

Done with this page?

Status