The Bradley-Terry model is a probabilistic model for predicting the outcome of pairwise comparisons, defining the likelihood that one item is preferred over another based on an underlying latent score or strength parameter for each item. In machine learning, particularly for alignment techniques like Direct Preference Optimization (DPO), it models the probability that a human annotator will prefer one language model response over another, given a prompt. This probability is expressed via a logistic function of the difference between the latent scores of the two compared items.
Glossary
Bradley-Terry Model

What is the Bradley-Terry Model?
The Bradley-Terry model is the core statistical framework for pairwise comparisons, providing the mathematical basis for modern preference optimization in AI alignment.
The model's parameters are typically estimated from observed comparison data using maximum likelihood estimation. Its mathematical formulation provides a stable, differentiable objective for training reward models and, in DPO, allows for a closed-form loss that directly optimizes a policy without reinforcement learning. As a special case of the Plackett-Luce model for rankings, it is foundational for translating qualitative human judgments into quantitative training signals for large language models.
Key Characteristics of the Bradley-Terry Model
The Bradley-Terry model is the core probabilistic framework used to model pairwise comparisons. It provides the mathematical basis for the loss functions in modern preference optimization algorithms like DPO.
Pairwise Comparison Framework
The model's fundamental operation is the pairwise comparison between two items, labeled i and j. It does not assign absolute scores but defines the probability that item i is preferred over item j. This probability is expressed via the logistic function of the difference between their latent strength parameters.
- Core Equation: P(i > j) = σ(s_i - s_j) = 1 / (1 + exp(-(s_i - s_j)))
- Latent Strengths: Each item has an associated real-valued strength parameter (s_i, s_j). A higher strength indicates a higher probability of being preferred in any matchup.
- Binary Outcome: The model assumes a binary outcome for each comparison: one item wins, the other loses. It is directly applicable to human preference data where annotators choose between two responses (A or B).
Logistic Function & Latent Strengths
The model uses the logistic (sigmoid) function to map the difference in latent strengths to a valid probability between 0 and 1. This choice is not arbitrary; it emerges from the assumption that the observed preference is determined by a latent utility for each item, with the comparison driven by the difference in these utilities plus random noise following a Gumbel distribution.
- Derivation from Random Utility: If the perceived utility of item i is U_i = s_i + ε_i, where ε_i is Gumbel-distributed noise, then the probability P(U_i > U_j) simplifies to the logistic form.
- Interpretability: The strength parameters (s_i) exist on an interval scale. This means their absolute values are not meaningful in isolation, but the differences between them directly dictate win probabilities.
- Identifiability: The model parameters are only identifiable up to an additive constant. Adding the same number to all strength parameters does not change any pairwise probabilities. A constraint (like sum(s)=0 or s_1=0) is typically applied during estimation.
Parameter Estimation via Maximum Likelihood
Given a dataset of observed pairwise comparisons, the model's strength parameters are estimated by maximizing the likelihood of the observed data. The likelihood function for a set of independent comparisons is the product of the probabilities for each observed outcome.
- Likelihood Function: L(s) = Π_{(i,j) in wins} P(i > j) * Π_{(i,j) in losses} (1 - P(i > j))
- Log-Likelihood: In practice, the log-likelihood is maximized because it converts the product into a sum, which is numerically more stable: LL(s) = Σ [ y_ij * log(P(i > j)) + (1 - y_ij) * log(1 - P(i > j)) ], where y_ij is 1 if i beat j.
- Optimization: This is a convex optimization problem. Parameters are typically estimated using iterative algorithms like Iterative Scaling or standard gradient-based optimizers (e.g., Adam).
Connection to Modern Preference Optimization
The Bradley-Terry model is not just a standalone statistical tool; it is the theoretical backbone for loss functions in alignment algorithms, most notably Direct Preference Optimization (DPO).
- DPO's Closed-Form Loss: The DPO algorithm derives its loss function by applying the Bradley-Terry model assumption to the outputs of a language model. It posits that the probability a human prefers response y_w over y_l given prompt x is given by: P(y_w > y_l | x) = σ( r(x, y_w) - r(x, y_l) ), where r is an implicit reward function.
- Bypassing Reward Modeling: DPO reparameterizes this reward in terms of the policy (language model) itself and its reference model, allowing direct optimization of the policy without training a separate reward model. The resulting DPO loss is a direct maximum likelihood objective under the Bradley-Terry preference model.
- Foundation for Other Methods: Similar derivations underpin other algorithms like IPO (Identity Preference Optimization) and KTO (Kahneman-Tversky Optimization), which modify or extend the core Bradley-Terry assumption.
Generalizations and Related Models
The basic Bradley-Terry model has several important generalizations that extend its applicability to more complex preference data structures.
- Plackett-Luce Model: A major generalization for listwise rankings. It defines a probability distribution over full permutations (rankings) of multiple items, not just pairwise comparisons. It is used in alignment scenarios where humans rank several model responses.
- Bradley-Terry with Ties: Extends the model to accommodate draws or 'no preference' outcomes by including a threshold parameter.
- Feature-Dependent Models: Instead of estimating a single strength per item, the strength can be modeled as a linear (or nonlinear) function of item features. This is analogous to moving from a reward model that scores responses to one that scores based on their content attributes.
Limitations and Assumptions
The model's simplicity relies on specific assumptions that may not always hold in real-world preference data, particularly for language model outputs.
- Independence of Irrelevant Alternatives (IIA): The ratio of probabilities for two items is assumed to be independent of the presence or attributes of any other items. This can be violated if responses are very similar or if a third, clearly terrible option makes two mediocre options seem equally good.
- Transitivity: Implicitly assumed; if A is preferred to B and B to C, then A should be preferred to C. Human preferences can be intransitive.
- Static Strengths: The basic model assumes item strengths are constant, not context-dependent. In LLM alignment, the 'strength' (reward) of a response is highly context-dependent on the prompt (x), which is why the model is applied conditionally (P(y_w > y_l | x)).
- No Modeling of Preference Intensity: The model only captures the binary choice, not how much one item was preferred over the other.
Bradley-Terry vs. Other Preference Models
A technical comparison of the Bradley-Terry model, the foundational statistical model for pairwise comparisons in RLHF and DPO, against other models used for ranking and preference learning.
| Feature / Characteristic | Bradley-Terry Model | Plackett-Luce Model | Thurstone's Law of Comparative Judgment |
|---|---|---|---|
Core Statistical Formulation | Logistic function of latent score difference: P(i > j) = σ(s_i - s_j) | Generalization to rankings via sequential choice probabilities | Assumes normally distributed latent utilities with a probit link function |
Comparison Type | Pairwise (binary) | Listwise (rankings of k items) | Pairwise (binary) |
Primary Use Case in AI Alignment | Loss function for DPO, Reward Model training in RLHF | Training on datasets with full or partial rankings of multiple responses | Historical/classical psychometrics; less common in modern deep learning |
Parameter Estimation | Maximum likelihood estimation (MLE) via iterative algorithms (e.g., MM) | MLE, often with Expectation-Maximization (EM) for partial rankings | MLE, requires solving integrals for the normal CDF (probit) |
Computational Complexity for Training | O(n) for n pairs; efficient for large-scale online data collection | O(k! ) for full rankings; approximations used for k > 5 | O(n); probit computation is more expensive than logistic (Bradley-Terry) |
Handling Ties | Not natively supported; requires extensions (e.g., Davidson model) | Can be incorporated via modified choice probabilities | Can be modeled via thresholds in the latent utility difference |
Underlying Assumption | Stochastic transitivity (if P(A>B) > 0.5 and P(B>C) > 0.5, then P(A>C) > 0.5) | Luce's choice axiom (independence from irrelevant alternatives - IIA) | Latent utilities are normally distributed with constant variance |
Connection to Modern LLM Loss Functions | Directly provides the DPO loss: L_DPO = -log σ(β log(π_θ(y_w)/π_ref(y_w)) - β log(π_θ(y_l)/π_ref(y_l))) | Forms the basis for listwise ranking losses (e.g., ListNet, ListMLE) in information retrieval | No direct, widespread use in contemporary LLM alignment pipelines |
Identifiability | Scores identifiable up to an additive constant (requires a reference point) | Scores identifiable up to a multiplicative constant | Requres fixing the scale of the latent utility distribution (e.g., variance=1) |
Frequently Asked Questions
The Bradley-Terry model is a fundamental statistical framework for analyzing pairwise comparisons. It is the mathematical backbone of modern AI alignment techniques like Direct Preference Optimization (DPO), providing a principled way to model the probability that one item is preferred over another.
The Bradley-Terry model is a probabilistic model used to predict the outcome of pairwise comparisons by assigning a latent 'strength' or 'skill' parameter to each item being compared. It defines the probability that item i is preferred over item j as a logistic function of the difference between their strength parameters. Formally, the probability is given by:
codeP(i > j) = σ(s_i - s_j) = 1 / (1 + exp(-(s_i - s_j)))
where s_i and s_j are the strength parameters for items i and j, and σ is the logistic sigmoid function. This model originated in the 1950s for ranking competitors in chess and other sports but has become foundational in machine learning for preference learning and reinforcement learning from human feedback (RLHF). It provides a statistically sound way to transform subjective human preference judgments into a continuous, differentiable objective for training models.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The Bradley-Terry model is a core statistical component for preference learning. These related terms define the algorithms, data structures, and mathematical concepts that build upon or interact with it in modern AI alignment.
Direct Preference Optimization (DPO)
Direct Preference Optimization (DPO) is an offline alignment algorithm that directly optimizes a language model's policy using a loss function derived from the Bradley-Terry model. It bypasses the need to train a separate reward model or perform reinforcement learning.
- Core Mechanism: Uses the Bradley-Terry probability to define a maximum likelihood objective, allowing the language model's implicit reward to be optimized directly.
- Key Advantage: Eliminates the complex and unstable Reinforcement Learning (RL) loop from RLHF, reducing computational cost and training instability.
- Example: Given a preference dataset, DPO adjusts the model's weights so that the likelihood of generating the preferred response increases relative to the dispreferred one, as defined by the Bradley-Terry pairwise comparison.
Plackett-Luce Model
The Plackett-Luce model is a generalization of the Bradley-Terry model from pairwise comparisons to listwise rankings of multiple items. It defines a probability distribution over all possible permutations of a set of items.
- Mathematical Relationship: The Bradley-Terry model is a special case of the Plackett-Luce model for rankings of just two items.
- Application in AI: Used in alignment methods that leverage ranked lists of multiple model responses, providing a richer training signal than simple pairwise preferences.
- Example: If a human ranks five model outputs from best to worst, the Plackett-Luce model calculates the probability of that specific ranking order based on each output's latent score.
Reinforcement Learning from Human Feedback (RLHF)
Reinforcement Learning from Human Feedback (RLHF) is a multi-stage alignment pipeline where a reward model, trained on human preference data using the Bradley-Terry model, provides training signals to optimize a language model policy via reinforcement learning.
- Bradley-Terry's Role: The reward model is typically trained using a binary cross-entropy loss based on the Bradley-Terry probability that one response is preferred over another.
- Pipeline Stages: 1) Supervised Fine-Tuning (SFT), 2) Reward Model Training, 3) Policy Optimization (e.g., with PPO).
- Contrast with DPO: RLHF explicitly separates reward modeling and RL, while DPO collapses these steps using the same underlying statistical model.
Reward Model
A reward model is a neural network trained to predict a scalar reward value for a given language model output. It is a critical component in RLHF, where it is trained on datasets of human pairwise comparisons.
- Training Objective: The model is trained to score preferred responses higher than dispreferred ones. The standard loss function is derived from the Bradley-Terry model, maximizing the log-likelihood of the observed preferences.
- Function: Once trained, it acts as a proxy for human judgment, providing reward signals to guide reinforcement learning algorithms like PPO.
- Key Challenge: Reward overoptimization (or "hacking") can occur if the policy learns to exploit imperfections in the reward model, generating high-scoring but undesirable outputs.
Preference Dataset
A preference dataset is a collection of data used for AI alignment, containing pairs (or rankings) of model outputs where human annotators have indicated a preferred response. It is the foundational training data for the Bradley-Terry model.
- Standard Format: Each data point typically includes a prompt, a chosen (preferred) response, and a rejected (dispreferred) response.
- Usage: This data directly trains reward models in RLHF and is the sole requirement for Direct Preference Optimization (DPO).
- Scale & Quality: The size and consistency of the preference dataset are primary factors in the effectiveness and safety of the resulting aligned model.
Logistic Function & Latent Score
The Bradley-Terry model relies on the logistic function (sigmoid) to convert the difference between two latent scores into a probability. The latent score represents the underlying, unobserved quality or utility of an item.
- Core Equation: P(i > j) = σ(s_i - s_j) = 1 / (1 + exp(-(s_i - s_j))), where
s_iands_jare the latent scores for items i and j. - Interpretation: In alignment, the latent score
sis typically the output of a reward model for a given response. The model learns to assign higher latent scores to responses preferred by humans. - Mathematical Foundation: This formulation transforms a regression problem (predicting a score) into a probabilistic classification problem (predicting a preference), which is more robust for learning from subjective human judgments.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us