RedLectern topic

Preference and reward training

Human and AI feedback · preference optimization · reward models · verifiable rewards.

For: Technical learners · researchers.

After this page you can: Distinguish preference-based methods from verifiable-reward training.

Page reviewed

Part of: Artificial Intelligence › AI training and adaptation

About Preference and reward training

Preference and reward training studies how feedback changes a model after pretraining. Preference-based methods use judgments about which response is better. In reinforcement learning from human feedback, annotators compare responses, a reward model learns from those preferences, and reinforcement learning optimizes the model against that learned signal. AI feedback can supply the comparisons instead of human judgments.

Direct preference optimization trains on preferred and dispreferred responses without an explicit reinforcement-learning loop. Verifiable-reward training uses a different signal: a checker can test an answer or run unit tests, then use the result as reward. The key distinction is the source of the training signal. Preferences express a judgment about quality; verifiers check a defined criterion. This page introduces both approaches and their shared concern: the model is optimized against a signal that stands in for the intended goal.

Start here

route

Start with preference comparisons

Read the Stanford introduction to see how response comparisons lead to reward modeling, reinforcement learning, and direct preference optimization.

Start with: Foundations — Machine Learning from Human Preferences

Learn the foundations

1.Feedback, reward models, and optimizationPreference-based training begins with comparisons: for a prompt, a person or another feedback source indicates which of two responses is better.

Preference-based training begins with comparisons: for a prompt, a person or another feedback source indicates which of two responses is better. In a common RLHF setup, a reward model learns to predict those preferences, then reinforcement learning updates the policy to increase the learned reward while remaining near a reference model. The reward model is a proxy for the judgments represented in its training data.

RLAIF changes who supplies the comparisons: an AI system evaluates responses and its preferences train a preference model. DPO uses preference pairs directly and removes the explicit reward-model-plus-RL pipeline described in standard RLHF. These methods share preference data, but their optimization procedures differ. A learned score or preference remains a proxy; it should not be mistaken for a direct check of correctness.

RLHF

Reinforcement learning in which rewards are derived from human feedback.

RLAIF

Reinforcement learning in which feedback supplied by AI systems provides the preference signal.

Reward model

A model that scores outputs according to a learned preference or objective.

DPO

A method that optimizes preferred responses over rejected responses without an explicit reinforcement-learning loop.

RLVR

Reinforcement learning that uses rewards checked against defined criteria, such as matching a correct answer or passing code unit tests.

Try it

A reviewer picks the clearer of two answers; a test harness checks whether a generated function passes specified tests. Which signal is preference feedback, and which is a verifiable reward?

The reviewer's choice is preference feedback because it ranks responses by judgment. The test result is a verifiable reward because it checks the function against specified tests.

2.What preference data representsPreference data records a choice among candidate outputs, often as a pairwise comparison.

Preference data records a choice among candidate outputs, often as a pairwise comparison. It can come from human annotators, or from an AI system acting as an evaluator. In the RLHF example described by Ouyang and colleagues, human labelers rank model outputs, and those rankings are used in later reinforcement learning. In Constitutional AI, a model evaluates two samples, and the resulting AI preferences train a preference model.

The comparison tells the training process which candidate was preferred under the task and evaluation criteria. It does not by itself provide an objective correctness check. Consider what the annotators or evaluator were asked to value, how consistent their choices are, and whether the preference represents the goal you intend to optimize.

Try it

For a writing assistant, name one preference question a human reviewer could answer and one property a simple automatic checker could verify.

A reviewer could choose which of two explanations is clearer. A checker could verify whether the response contains a required phrase. The first is a judgment between responses; the second tests a defined condition.

3.When rewards can be checkedVerifiable-reward training uses a checker to turn a defined criterion into a reward signal.

Verifiable-reward training uses a checker to turn a defined criterion into a reward signal. Examples in recent research include answer checkers for mathematics, validators for structured tool calls, and unit-test harnesses for code. This makes the signal different from a preference judgment: the checker returns a result for a specified condition rather than choosing which response seems better.

The check only supports the criterion it actually tests. A unit-test result does not establish that code meets every possible requirement, and a correct final answer does not certify every reasoning step. This approach fits tasks with outcomes that can be checked programmatically; open-ended qualities such as clarity require a different kind of judgment or an explicitly defined scoring process.

Try it

A training task rewards a response when its final math answer matches a supplied answer key. Is that preference feedback or a verifiable reward? What does the reward establish?

It is a verifiable reward because the answer is checked against a supplied key. It establishes that the final answer matches that key; it does not establish that every reasoning step was sound.

Latest

No recent updates are available.

See the sources list

Books

Glossary

5 terms on this page.

Browse the AI glossary

Questions and comments