Reward Modeling

Reward modeling learns a scoring function that approximates human, expert, user, or verifier preferences. It is often used when the true objective is difficult to write as a direct loss.

For pairwise preference data , a common model is:

The reward model is trained with:

where is preferred over .

Key Ideas

  • A reward model turns qualitative judgment into an optimization target.
  • The model can rank generated answers, agent trajectories, protein designs, molecular candidates, or tool-use outcomes if the comparison protocol is well defined.
  • Reward models are proxies, so they can be exploited by policies trained too aggressively against them.
  • Reward modeling should be paired with held-out human review, task metrics, or external verification.

Reward Model Contract

FieldQuestion
Scored objectfinal answer, trajectory, action, code diff, molecule, pose, design, or experiment plan?
Conditioning contextprompt, task, target, pocket, assay, environment, or verifier state?
Training labelpairwise preference, scalar score, pass/fail, or rubric item?
Aggregationone reward, multi-objective reward, or rubric-weighted reward?
Calibrationare reward scores comparable across tasks or only within a prompt?
Held-out checkwhat evaluates the reward model itself?

The score:

is a learned proxy. The note should state what real-world or benchmark objective it is supposed to approximate.

Failure Modes

FailureSymptom
reward hackingpolicy finds high-reward outputs that humans or verifiers reject
distribution shiftreward model fails on outputs from a newer policy
length/style biasreward tracks verbosity, formatting, or surface style
annotator biaspreference reflects rater artifacts rather than task quality
sparse coveragereward model uncertain on rare task types
proxy mismatchhigh reward does not improve external metric

For agent trajectories, reward should distinguish correct final answer from unsafe or inefficient tool use.

Evaluation

EvaluationWhat It Tests
preference accuracywhether reward ranks held-out pairs correctly
calibration by score bucketwhether higher scores mean better external quality
adversarial exampleswhether reward can be gamed
policy optimization auditwhether optimizing reward improves independent metrics
slice analysiswhether reward works across task types and domains

Practical Checks

  • What exactly is being compared: final answer, full trajectory, code diff, molecule, pose, or experimental plan?
  • Are preference labels consistent across annotators and task types?
  • Does the reward model generalize outside the data distribution it was trained on?
  • Are high-reward outputs also high quality under external evaluation?
  • Is the reward model evaluated on outputs from the optimized policy, not only the data-collection policy?
  • Are uncertainty, disagreement, or low-confidence reward regions handled?