DPO Concept › From Reward Models to Preference Models
Language AI HandbookAll chapters DPO Concept › From Reward Models to Preference ModelsOne section · Sections in this chapter4 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
With this reparameterization in hand, we can reconsider how preference learning works and see whether we can eliminate the reward model entirely. The key question is: can we express preference predictions using only policy probabilities, without needing an explicit reward function?
Recall from our discussion of the Bradley-Terry model that we model the probability of preferring response over as:
where:
- : the probability that response is preferred over given prompt
- : the sigmoid function, , which maps any real number to a probability between 0 and 1
- : the scalar reward value for a response, representing its quality
The reward model's job in traditional RLHF is to learn such that this probability matches human preferences. When humans prefer over , the reward model should assign higher reward to , making the sigmoid output close to 1. When humans prefer , the reward model should assign higher reward to , making the sigmoid output close to 0.

Substituting the Policy-Based Reward
Now let's substitute our reparameterization of the reward in terms of the policy. We replace with in both the chosen and rejected reward terms. For the chosen response:
For the rejected response:
Taking the difference, the terms cancel identically:
This cancellation is important because is intractable to compute for language models. Computing it would require summing over all possible sequences the model could generate, an astronomical number for any realistic vocabulary and sequence length. The fact that cancels means we never need to compute it.
Substituting back into the Bradley-Terry formula, we obtain:
where:
- : the probability that the policy implicitly assigns to preferring over
- : the sigmoid function that maps the scaled log-ratio difference to a probability
- : the KL coefficient inherited from the RLHF objective
- : the policy's probability of generating the chosen response
- : the reference model's probability of generating the chosen response
- : the policy's probability of generating the rejected response
- : the reference model's probability of generating the rejected response
The reward model has vanished entirely from this expression. We can now directly compute the probability of a preference using only language model probabilities. Both the policy and reference model are language models that can compute for any sequence and prompt . This is a standard operation: we run the sequence through the model and sum up the log probabilities of each token given its predecessors. No separate reward model is needed.
This observation is the core theoretical insight behind DPO. Preference probabilities can be expressed purely in terms of policy and reference model probabilities, without any explicit reward function. If we want to train a model to match human preferences, we can directly optimize the policy to make this expression match the observed preferences in our dataset.