Learning Rewards from Judgments
An expert trajectory demonstrates how to act. A preference says which of two outcomes is better:
Comparisons are often easier to provide than complete demonstrations, especially when competent behavior is difficult to execute but easy to recognize. Reward learning converts those judgments into a scalar model
that can be optimized by a reinforcement-learning agent.
Unlike inverse reinforcement learning, preference learning does not assume the observed behavior came from an approximately optimal policy. It assumes only that comparison probabilities depend on latent cumulative reward.
Preference-Based Reward Learning
Producing a high-quality demonstration may be difficult, while comparing two behaviors is easy. Given trajectories and , an evaluator supplies
The reward model assigns scores
The Bradley-Terry model defines
Preference learning is logistic regression on cumulative reward differences.
For ordered comparisons, maximize
Equivalently, minimize
For a binary label and predicted probability ,
The winner's reward increases relative to the loser's, with a larger update when the model was wrong or uncertain.
A temperature can model annotator noise:
Small represents nearly deterministic choices. Large represents noisier judgments.
Useful comparisons are uncertain, diverse, near the current policy, or safety-critical. Pure uncertainty sampling can overselect nearly indistinguishable pairs that humans cannot label reliably, so query selection should balance informativeness and coverage.
Reward Identifiability
Observed behavior typically identifies only reward differences relevant to that behavior.
Additive constants. Preference probabilities are unchanged by
because the constant cancels from . Absolute reward offset is unidentifiable.
Positive scaling. In deterministic optimal control,
preserves the maximizing policies. In maximum-entropy models, scaling changes the sharpness of
so reward scale and behavioral temperature are coupled.
Potential-based shaping. The shaped reward
preserves optimal policies under standard assumptions. Even complete optimal behavior therefore need not determine a unique numerical reward.
Unvisited regions. If demonstrations and comparisons never cover a region , they provide little constraint on
A reward can fit all observed evidence and behave arbitrarily elsewhere.
Reward Hacking and Validation
Let the learned reward be
where is model error. Policy optimization chooses
A capable optimizer searches for regions where is positive, even when the intended reward is poor. This is the optimizer's curse:
can exploit the error term. Stronger policy optimization can therefore make a fixed reward model fail more severely.
The problem is amplified by distribution shift:
New rollouts may enter regions never constrained by demonstrations or comparisons.
Useful protections include reward regularization, conservative policy updates, repeated human feedback, and uncertainty penalties. With an ensemble,
we can optimize the conservative reward
This discourages exploitation of regions where reward models disagree.
Validation should include:
- held-out preference accuracy and probability calibration;
- expert likelihood or feature matching;
- expert-versus-learner occupancy statistics;
- direct evaluation of policies optimized against the reward;
- counterexamples with high predicted reward but poor human judgment.
Prediction accuracy alone is insufficient. A reward model may rank familiar examples correctly while assigning extreme scores to novel behaviors found by the optimizer.
A Reward Must Survive Optimization
Preference accuracy on familiar held-out pairs is necessary but insufficient. The deployed policy searches for trajectories with maximal predicted reward:
This changes the evaluation distribution and exposes errors that ordinary validation may never see. Reliable reward learning therefore alternates among data collection, reward fitting, policy optimization, and adversarial evaluation of the resulting behavior.
The central loop is
A reward model is successful when the policies it induces remain aligned with evaluator judgments, including in the novel regions found by optimization.