Preference data provides relative order
In one lineChoosing A says only that A was preferred to B for this prompt, not how good A is. How comparisons are collected shapes the RM score.
A user asks how to fix an error. Response A gives a working fix; B gives a lengthy explanation without resolving it. Choosing A records a preference between these two answers to this prompt.
That choice does not give A an objective quality score or establish what a different user would prefer. A reward model (RM) learns patterns across many comparisons and uses them to score new answers. The way those comparisons were collected shapes what the score means.
Why comparisons instead of scores
In one lineComparing two answers aligns judgments more easily than scoring each. Disagreement remains, so record ties and reasons instead of forcing a winner.
Two annotators may mean different things by a score of 8 out of 10. Asking them to compare answers to the same prompt against a stated criterion can make their judgments easier to align. A common record contains a prompt $x$, the preferred response $y_w$, and the response not selected, $y_l$.
Pairwise comparisons are not automatically reliable. Both answers may be poor, each may have different strengths, or annotators may have different priorities. Rather than forcing a winner, it can help to record ties, mark both answers as unacceptable, and retain reasons for disagreement.
Bradley-Terry: turning comparisons into a score
In one lineBradley–Terry passes the score gap through a sigmoid to get a preference probability; training fits the observed choices by maximum likelihood.
Learning a scoring function from pairwise comparisons requires a relationship between scalar scores and preference order. Bradley–Terry uses the difference between two scores to model the probability that one response is preferred:
$$P(y_w \succ y_l \mid x) = \sigma\big(r(x, y_w) - r(x, y_l)\big)$$
| Symbol | Meaning |
|---|---|
| $r(x,y)$ | the reward model's scalar score for response $y$ |
| $\sigma$ | the sigmoid function, $\sigma(z)=1/(1+e^{-z})$, which maps the score difference to (0,1) |
| the difference | the probability depends on how far apart the scores are, not on their absolute values |
Training maximizes the likelihood of the observed preferences, or equivalently minimizes this negative log-likelihood:
$$\mathcal{L}_{\text{RM}} = -\mathbb{E}_{(x,y_w,y_l)}\left[\log \sigma\big(r(x,y_w) - r(x,y_l)\big)\right]$$
A common implementation adds a scalar output head to a pretrained model, producing one score from the prompt and complete response. Models can also supply the comparisons or generate their judgments as text; see below.
With three or four responses per prompt, further choices arise: weight prompts or pairs, train on full rankings or pairwise comparisons, and preserve ties. Training on multiple-response rankings works through these choices, including Plackett–Luce probabilities and gradients.
Score offsets and scale
In one lineAdding a constant to both scores changes nothing; doubling them changes the probability. In RL, scale can also shift the balance of reward and KL.
Suppose rewards for A and B are 2 and 1. Bradley–Terry gives A a preference probability of $\sigma(1)\approx0.731$. Adding 10 to both rewards gives 12 and 11 without changing the probability.
Multiplying both by 2 is different: the gap becomes 2 and the probability becomes $\sigma(2)\approx0.881$. Adding the same constant leaves the probability unchanged; scaling generally does not. Depending only on differences does not make the scale arbitrary.
Scores still are not universal units of utility shared across reward models. In reinforcement learning (RL), reward scale can affect advantages—how much better a response is than a baseline—along with gradients and the balance between the reward term and a Kullback–Leibler (KL) divergence penalty. That penalty discourages deviation from a reference policy. Advantage standardization can cancel some effects of rescaling, so whether to normalize depends on the objective and implementation.
Stronger preferences: a weight or a larger margin?
In one lineA margin shifts the loss curve and a weight rescales it; one matching gradient does not make them equal. Nor is a margin a target gap to fit.
Choosing A can mean that it is slightly better or substantially better. If annotations preserve that strength, how can the loss use it? Llama 2 (2023, v2 §3.2.2 and Appendix A.3.3) maps discrete preference-strength categories to margins; it does not simply subtract separate 1–5 ratings for the two responses.
Let $\Delta=r(x,y_w)-r(x,y_l)$ be the model's current score difference and $m\ge0$ the margin assigned to the annotation:
$$ \begin{aligned} L_m(\Delta)&=-\log\sigma(\Delta-m)\\ &=\operatorname{softplus}(m-\Delta),\\ \frac{\partial L_m}{\partial\Delta}&=-\sigma(m-\Delta). \end{aligned} $$
Suppose A and B both provide a working fix, but A also handles an important edge case. The model currently gives $\Delta=\ln3$. Compare three illustrative margins, not the paper's hyperparameters:
| Margin $m$ | Loss | Gradient with respect to the score difference |
|---|---|---|
| $0$ | 0.287682 | -0.25 |
| $\ln3$ | 0.693147 | -0.50 |
| $\ln9$ | 1.386294 | -0.75 |
For the same model outputs, a larger margin pushes harder to separate the scores. But this is not regression toward a target difference of $m$: at $\Delta=m$, the gradient remains $-1/2$. For one pair with a definite winner and no other constraints, the loss keeps decreasing toward zero as the score difference grows.
Alternatively, multiply the ordinary BT loss by a weight $w>0$. Its gradient is $-w\sigma(-\Delta)$. With $w=2$ and $\Delta=\ln3$, it also gives $-0.5$, matching the margin $m=\ln3$ at that point. At $\Delta=0$, however, the weighted gradient is $-1$ while the margin gradient is $-0.75$. A weight rescales the loss curve; a margin shifts it. Matching one gradient does not make the objectives equivalent.
First check what the annotation means. “A is much better” expresses preference strength; “I am certain A is slightly better” expresses confidence. They are not interchangeable, and the mapping from categories to numbers needs validation. The Llama 2 ablation cited above found that larger margins helped clearly separated responses but could hurt comparisons between similar responses, while also changing the reward distribution. After changing margins, inspect strong and weak preferences separately and recheck reward scale rather than relying only on average accuracy.
Four traps in preference data
In one lineCheck a small sample four ways: annotator agreement, length preference, fact checking and A/B order.
Start with a small sample and four concrete checks:
| Check | How to test it | What to distinguish |
|---|---|---|
| Annotator agreement | Have people independently compare the same pairs | Unclear criteria versus genuinely different preferences |
| Length preference | Add repetition without changing useful information | Useful detail versus length alone |
| Factual checking | Supply verifiable sources or execute the code | Credible-looking versus correct |
| Presentation order | Swap A/B and hide model names | Compare answer IDs, not left/right choices |
Inter-annotator agreement is not a universal upper bound on reward-model accuracy. It depends on the annotators, aggregation rule, and data distribution. It is more useful for identifying cases that need clearer criteria or multiple preference profiles.
Reward models can become stale
In one lineAn RM trained on old-policy answers can misjudge the updated policy's outputs. A KL penalty does not keep it reliable; inspect current samples.
A reward model may have seen only outputs from an older policy. Updating the policy—the model that generates answers—can change the kinds of responses it produces. An RM that still performs well on its old validation set can misjudge these new outputs.
For example, detailed explanations may have been useful in the old data, while the new policy learns to repeat itself for a higher score. Reward increases without helping the user. Inspect current-policy samples rather than relying only on the old validation set.
A KL penalty discourages drift from a reference policy; it does not guarantee that the RM can still judge new answers reliably. Independent human review, task checks, and evaluation on new outputs are still needed.
Labels and scores can also come from models
In one lineModels can supply labels and scores, but bias remains. In the example, one misjudged rubric item ties two answers and zeroes their GRPO advantages.
So far, people have supplied the comparisons and a scalar output head has produced the scores. Either part can be replaced. The question is what each replacement changes, and what still needs checking.
AI-generated preferences. In Constitutional AI (Bai et al., 2022, §4.1), a model compares responses for harmlessness using human-written principles. Those preferences train a reward model, which then guides policy updates. The authors call this RL from AI Feedback (RLAIF). Their method replaces human pairwise labels for harmlessness, not all human feedback: helpfulness labels remain human-provided, as do the principles and final evaluation.
Lee et al. (ICML 2024, §4.1) compare RLAIF with RL from Human Feedback (RLHF). In their experiments, human preference results are similar for summarization and helpful dialogue, while RLAIF achieves a higher harmlessness rate on the harmless-dialogue task. They also test direct RLAIF (d-RLAIF), which obtains rewards from an off-the-shelf large language model (LLM) during training rather than fitting a separate reward model. AI labels can reduce human annotation work, but do not automatically remove position or length bias. A judge's systematic errors may recur throughout the dataset.
Generative reward models. A reward model can make its judgment by generating text. GenRM (Zhang et al., ICLR 2025, v3 §3) trains verifiers through next-token prediction and uses the probability of Yes as a correctness score. Its GenRM-CoT variant generates a reasoning trace before judging. What the paper calls “majority voting” averages the Yes probabilities across sampled traces; it does not simply count binary votes.
DeepSeek-GRM (Liu et al., 2025, v3 §4) generates principles for the question, writes a critique, and assigns each response an integer score from 1 to 10. At inference, it samples $k$ judgments in parallel and sums each response's scores. An optional meta reward model evaluates the principles and critiques, retaining only the higher-scoring judgments. The input can contain one, two, or many responses, each receiving its own score; separate scores do not imply separate judging calls.
RM-R1 (Chen et al., 2025, v4 §2.3.1) organizes its reasoning by task type. For chat, it develops grading criteria; for reasoning tasks such as math or code, it first attempts its own solution, then compares the candidates against it. Generating these judgments costs additional computation, and repeated sampling for the same candidates can produce different judgments.
Rubric-based rewards. When code alone cannot adequately judge quality, as in open-ended medical questions, a rubric can break a good answer into individual requirements. In Rubrics as Rewards (Gunjal et al., 2025), a judge marks each requirement as met or unmet, giving $c_j$ a value of 1 or 0. The explicit aggregation method weights these judgments by $w_j$ and divides their sum by the total weight (v2 §2.2, Eq. 1):
$$r(x,\hat y)=\frac{\sum_j w_j\,c_j(x,\hat y)}{\sum_j w_j}$$
The example below uses nonnegative weights with a positive total, keeping the reward between 0 and 1. Alternatively, the judge can receive the whole rubric and return an overall score, an approach the paper calls implicit aggregation.
The authors train Qwen2.5-7B with Group Relative Policy Optimization (GRPO), using gpt-4o-mini as the judge, 16 responses per prompt at temperature 1.0, and eight H100 GPUs. They report that implicit aggregation improves on the Direct-Likert baseline, which assigns a single 1–10 rating, by up to 31% on HealthBench and 7% on GPQA-Diamond (v2 §§4–5). These are relative gains under that setup, not percentage-point gains or results attributable to the explicit weighted sum above.
Work it through: one misjudged requirement
Return to the error-fixing example. Suppose the user asks, “Python raises KeyError: 'id'. How do I fix it?” The rubric has four requirements with illustrative weights. Assume that a missing field is allowed to trigger a default path. If the field is required, the fix should repair the data source or raise an explicit error, not merely suppress the exception with .get.
| Requirement | Weight | A: gives a working fix | B: long explanation, no fix |
|---|---|---|---|
Explains the cause: the dict has no 'id' key |
3 | 1 | 1 |
Gives a fix that runs, such as checking the key or using .get |
3 | 1 | 0 |
| Warns that the fix can hide a missing field upstream | 1 | 0 | 0 |
| Invents no nonexistent functions or arguments | 2 | 1 | 1 |
A scores $(3+3+2)/9\approx0.889$ and B scores $(3+2)/9\approx0.556$. Now suppose the judge wrongly marks B's second requirement as met. B rises to $8/9$, the same as A.
If these two responses form one GRPO group, their original rewards have mean $13/18$ and population standard deviation $1/6$, giving standardized advantages of approximately $[1,-1]$. After the error, both rewards are equal. With a small positive constant in the denominator to prevent division by zero, the advantage vector becomes $[0,0]$. Using the sample standard deviation changes the original magnitudes, but not the loss of distinction when rewards tie. Only this outcome-reward advantage has vanished; other terms, such as a KL penalty, can still produce different updates for the two responses.
weights = [3, 3, 1, 2]
answer_a = [1, 1, 0, 1]
answer_b = [1, 0, 0, 1]
def rubric_reward(checks):
return sum(weight * check for weight, check in zip(weights, checks)) / sum(weights)
assert abs(rubric_reward(answer_a) - 8 / 9) < 1e-12
assert abs(rubric_reward(answer_b) - 5 / 9) < 1e-12
misjudged_b = [1, 1, 0, 1]
assert rubric_reward(misjudged_b) == rubric_reward(answer_a)
A rubric therefore needs two checks: who sets the weights, and who judges each requirement. Item-level judgments are easier to audit than one overall 1–10 score. For example, you can measure errors on “gives a fix that runs” separately. If a model also wrote the rubric, check for missing requirements: the reward cannot account for what the rubric omits.
Whether people or models supply the labels, with or without a rubric, the same problem remains: as the policy changes, check that its new outputs are still judged reliably. For common judge biases and ways to test for them, see LLM-as-a-Judge.
What to look for in a preference-training experiment
In one lineLook for the annotation criteria, a check of the RM on current-policy outputs, and evidence beyond training reward. An RM score alone proves little.
Look for three things: the annotation criteria, an assessment of the reward model's judgments on current-policy outputs, and evidence independent of the training reward. An RM score alone does not establish that users prefer the resulting model.
Quick learning: the boundary between preference data and a reward model
In one lineReview question: a pair records only a relative preference, RM scores are not units of utility, and an RM goes stale as the policy changes.
What does a comparison provide, and what does a score difference mean?
Remember: a chosen/rejected pair records a relative preference, not proof that one answer is acceptable and the other is not. A reward model fits these choices; its scores are not universal units of utility. Adding a shared constant leaves Bradley–Terry probabilities unchanged, while scaling the differences generally changes them.
Reference answer
Preference data records choices for the same prompt. Bradley–Terry fits choice probabilities using score differences, whose magnitudes matter as well as their signs. Scores are not objective utility units: check annotator disagreement, position and length bias, and distribution shifts after policy updates.
Deep dive: why does a reward model become stale?
The RM may have learned only from an older policy's outputs. As the policy changes, it can generate unfamiliar answers or exploit blind spots that earn high scores. Accuracy on the old validation set can remain high even when the RM misjudges new answers. Check current-policy samples with human review and held-out adversarial examples.
Starting papers
- Deep RL from Human Preferences — an influential early deep-RL example of training a reward model from pairwise preferences
- Learning to summarize from human feedback — early evidence on KL penalties and reward hacking
- InstructGPT — the three-stage pipeline and annotation guidelines
- Constitutional AI — a model compares responses against a list of principles: RLAIF
- Inference-Time Scaling for Generalist Reward Modeling — DeepSeek-GRM: write principles and a critique, then score
- Rubrics as Rewards — rubric-based rewards when code alone cannot adequately judge quality