# Bradley–Terry 模型

Bradley–Terry 模型是一种用于配对比较数据的概率模型，其中每个对象都有一个强度参数，对象 \( i \) 优于对象 \( j \) 的概率仅取决于二者强度之差。该模型由 Ralph Allan Bradley 与 [Milton E. Terry](https://www.edgepedia.org/zh/milton-e-terry) 在 1952 年发表于 *Biometrika* 的论文《不完全区组设计的秩分析：I. 配对比较方法》中提出<sup>[1](https://academic.oup.com/biomet/article-abstract/39/3-4/324/326091)</sup>，是与 Thurstone–Mosteller 模型并列的最广泛使用的配对比较模型之一<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。

| 关键事实 | 详情 |
|---|---|
| 起源 | Bradley 与 Terry（1952），*Biometrika* 39(3/4)：324–345；其似然此前已由 Zermelo（1929）讨论过<sup>[1](https://academic.oup.com/biomet/article-abstract/39/3-4/324/326091)</sup><sup> • </sup><sup>[3](https://github.com/stan-dev/example-models/blob/master/knitr/bradley-terry/bradley-terry.Rmd)</sup> |
| 核心方程 | \( p_{ij} = e^{\mu_i}/(e^{\mu_i}+e^{\mu_j}) = 1/(1+e^{-(\mu_i-\mu_j)}) \)，其中 \( \mu_i \) 为项目 \( i \) 的强度<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup> |
| 统计形式 | 二元响应逻辑回归的一个特例；其似然与一个以差值为协变量、无截距、响应恒定的二元逻辑模型完全相同<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup><sup> • </sup><sup>[4](https://stats.oarc.ucla.edu/wp-content/uploads/2016/02/logistic.pdf)</sup> |
| 估计 | 极大似然，并施加线性约束（如 \( \sum_i \mu_i = 0 \)）以保证可辨识性；Ford（1957）的划分条件保证极大似然估计唯一<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup> |
| 平局 | 由 Rao 与 Kupper 以及 Davidson 分别扩展，以允许表达无偏好；在平衡实验中，极大似然估计给出的排名与 2-1-0 胜-平-负计分制一致<sup>[5](https://www.tandfonline.com/doi/abs/10.1080/01621459.1970.10481082)</sup> |
| 现代应用 | RLHF 中奖励建模的标准模型；直接偏好优化等价于拟合一个重参数化的 Bradley–Terry 模型<sup>[6](https://arxiv.org/abs/2411.04991)</sup><sup> • </sup><sup>[7](https://papers.neurips.cc/paper_files/paper/2023/file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf)</sup> |

## 模型

配对比较数据产生于将一组对象两两比较之时，例如由评审小组品尝的产品、体育比赛中的选手，或对同一提示的两个候选回复。每次比较都有一个二元结果：一个对象获胜。在线性配对比较框架中，队伍 \( i \) 击败队伍 \( j \) 的概率写作 \( p_{ij} = F(\mu_i - \mu_j) \)，其中 \( F \) 是某个连续对称分布的累积分布函数，\( \mu_i \) 是强度参数<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。

当 \( F \) 为标准逻辑分布的累积分布函数时，模型变为

\[ p_{ij} = \frac{e^{\mu_i}}{e^{\mu_i}+e^{\mu_j}} = \frac{1}{1+e^{-(\mu_i-\mu_j)}}, \]

即 Bradley–Terry 模型。当 \( F \) 为标准正态累积分布函数时，模型 \( p_{ij} = \Phi(\mu_i - \mu_j) \) 称为 Thurstone–Mosteller 模型<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。二者分别是二元响应逻辑回归与 probit 回归的特例<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。

强度 \( \mu_i \) 只能识别到相差一个可加常数的程度，因此需要施加线性约束，常见的是 \( \sum_{i=1}^{m} \mu_i = 0 \)，或对某个固定的 \( i \) 令 \( \mu_i = 0 \)<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。系数具有对数几率的解释：差值 \( \mu_i - \mu_j \) 是 \( i \) 击败 \( j \) 的概率的 logit<sup>[4](https://stats.oarc.ucla.edu/wp-content/uploads/2016/02/logistic.pdf)</sup>。

## 估计

推断通过极大似然进行。给定极大似然估计 \( \hat{\mu}_i \)，将之代入模型方程即得 \( p_{ij} \) 的估计<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。唯一极大似然估计的存在性并非自动成立。Ford（1957）的条件要求：对项目的任意一个二分非空划分，第二个集合中总有某个项目至少击败过第一个集合中的某个项目一次；用图论的话说，若为每次获胜画一条有向边，则从每个项目到其他任何项目都必须存在路径<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。若比较图不连通——例如各组之间没有任何比较——当每个连通分量都是强连通时，有限极大似然估计仍可能存在且不唯一，但各分量之间的相对强度无法识别；整张图的强连通性则保证在固定可加常数后存在唯一的有限极大似然估计<sup>[8](https://proceedings.mlr.press/v162/bong22a/bong22a.pdf)</sup>。后续工作表明，图的拓扑结构以及项目之间的性能差距都会影响极大似然估计是否存在以及能被多准确地估计<sup>[8](https://proceedings.mlr.press/v162/bong22a/bong22a.pdf)</sup><sup> • </sup><sup>[9](https://www.mdpi.com/2075-1680/12/6/575)</sup>。

由于该似然与一个二元逻辑回归的似然相同——其协变量向量对胜者为 +1、对负者为 −1、其余为零——标准的逻辑回归软件可以直接拟合该模型<sup>[4](https://stats.oarc.ucla.edu/wp-content/uploads/2016/02/logistic.pdf)</sup>。早在 1973 年，排序文献中就描述了在弱假设下单调收敛到唯一估计的迭代方法<sup>[10](https://www.tandfonline.com/doi/abs/10.1080/03610927308827035)</sup>。贝叶斯估计也有使用：将 Bradley–Terry 似然与先验配对，或与一个联合估计能力总体变异的层次先验配对，可以进行完整的后验推断并更精确地估计能力<sup>[3](https://github.com/stan-dev/example-models/blob/master/knitr/bradley-terry/bradley-terry.Rmd)</sup>。

## 扩展

基本模型假定每次比较都产生一个胜者。Rao 与 Kupper 以及 Davidson 分别将模型扩展到允许表达无偏好的情形，为平局赋予概率，作为明确偏好之外的一种选择<sup>[5](https://www.tandfonline.com/doi/abs/10.1080/01621459.1970.10481082)</sup>。对于两个以上项目的完整排序，Plackett–Luce 模型推广了 Bradley–Terry，二者合称的模型族常被称为 Bradley–Terry–Luce（BTL）模型<sup>[8](https://proceedings.mlr.press/v162/bong22a/bong22a.pdf)</sup>。此外还发展了协变量增强的变体、用于列联表分析的对数线性形式，以及描述尺度值随时间变化的纵向模型<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup><sup> • </sup><sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S0167947301001062)</sup><sup> • </sup><sup>[12](https://www.tandfonline.com/doi/abs/10.1080/03610918.2015.1026989)</sup>。

## 应用

**体育与竞技。** 一种自然的用法是取过去一段时间的比赛结果，计算各队强度的极大似然估计，并用其预测未来的获胜概率<sup>[13](https://www.stat.berkeley.edu/~aldous/157/Lectures/lecture_3.pdf)</sup>。该模型也被用于评估体育赛事以及对来自不同群体的排名进行聚合<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC9924872/)</sup>。

**机器学习评估。** 有人提出用贝叶斯 Bradley–Terry 模型在多个数据集上比较多种机器学习算法，统计一种算法优于另一种算法的频率；贝叶斯形式支持概率陈述以及对任意度量给出实际等价区域<sup>[15](https://arxiv.org/abs/2208.04935)</sup>。该模型还与 PageRank 竞争，用于对锦标赛中的队伍或引文网络中的期刊等实体进行排序<sup>[16](https://arxiv.org/abs/2402.07811)</sup>。

**奖励建模与 RLHF。** 在基于人类反馈的强化学习中，人类偏好以模型回复之间的配对比较形式收集，而 Bradley–Terry 模型是将这些比较转换为标量奖励值的标准方法：选择概率由潜在奖励差决定<sup>[6](https://arxiv.org/abs/2411.04991)</sup><sup> • </sup><sup>[17](https://arxiv.org/abs/2607.04590)</sup>。[InstructGPT](https://www.edgepedia.org/zh/instructgpt) 流程在人工标注的比较数据上训练奖励模型，然后用 PPO 针对该奖励模型微调 GPT-3，在实践中确立了这一设计<sup>[18](https://openai.com/index/instruction-following/?_hsmi=202743306)</sup>。直接偏好优化（DPO）去掉了显式的奖励模型，但在数学上等价于拟合一个重参数化的 Bradley–Terry 模型，因此在偏好数据分布的适当假设下继承了其一致性性质<sup>[7](https://papers.neurips.cc/paper_files/paper/2023/file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf)</sup>。DPO 的扩展用 Rao–Kupper 或 Davidson 平局模型替换了 Bradley–Terry 核心<sup>[19](https://arxiv.org/abs/2409.17431)</sup>。

## 局限

该模型假定每次比较都是独立的[伯努利试验](https://www.edgepedia.org/zh/bernoulli-trial)，其概率仅取决于强度差。诊断方面的工作已涉及对此类模型假设有效性的检验，而 ROC 分析——评估二元模型判别能力的标准工具——在不加修改的情况下对配对比较数据无法给出可靠结果，因为当每场比赛都可以从任一方的视角记录时，“成功”与“失败”的定义是模糊的<sup>[2](https://academic.oup.com/jrsssa/article/188/3/741/7734185)</sup>。

具体到奖励建模，选择概率服从 Bradley–Terry 对数几率的假设可能以可识别的方式失效。一项受理性疏忽启发的简约式分析表明，被动比较数据一般无法区分奖励、注意力与默认倾向，而异质的注意力会使标准的 Bradley–Terry 奖励建模得到误导性的排名<sup>[17](https://arxiv.org/abs/2607.04590)</sup>。从优化的角度看，该模型也不是必要的选择：奖励模型只需在真实奖励的单调变换下保持正确的排名预测，这一性质称为顺序一致性，Bradley–Terry 模型具备它，但其他目标函数也可以满足<sup>[6](https://arxiv.org/abs/2411.04991)</sup>。

## References

1. [Bradley, R. A., Terry, M. E. (1952). Rank analysis of incomplete block designs: I. The method of paired comparisons. *Biometrika* 39(3/4): 324–345.](https://academic.oup.com/biomet/article-abstract/39/3-4/324/326091)
2. [Receiver operating characteristic analysis for paired comparison data. *Journal of the Royal Statistical Society Series A* 188(3): 741.](https://academic.oup.com/jrsssa/article/188/3/741/7734185)
3. [Carpenter, B. (2018). The Bradley-Terry Model of Ranking via Paired Comparisons. Stan example models.](https://github.com/stan-dev/example-models/blob/master/knitr/bradley-terry/bradley-terry.Rmd)
4. [Bradley-Terry Model for Paired Comparison. UCLA IDRE Statistical Consulting.](https://stats.oarc.ucla.edu/wp-content/uploads/2016/02/logistic.pdf)
5. [On Extending the Bradley-Terry Model to Accommodate Ties in Paired Comparison Experiments. *JASA* 65(329).](https://www.tandfonline.com/doi/abs/10.1080/01621459.1970.10481082)
6. [Sun, H., Shen, Y., Ton, J.-F. (2024). Rethinking Bradley-Terry Models in Preference-Based Reward Modeling: Foundations, Theory, and Alternatives. arXiv:2411.04991.](https://arxiv.org/abs/2411.04991)
7. [Rafailov, R. et al. (2023). Direct Preference Optimization. NeurIPS.](https://papers.neurips.cc/paper_files/paper/2023/file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf)
8. [Bong, H. et al. (2022). Generalized Results for the Existence and Consistency of the MLE in the BTL Model. ICML.](https://proceedings.mlr.press/v162/bong22a/bong22a.pdf)
9. [Comparative Analysis of the Existence and Uniqueness Conditions of Parameter Estimation in Paired Comparison Models. *Mathematics* 12(6): 575.](https://www.mdpi.com/2075-1680/12/6/575)
10. [Ranking by maximum likelihood under a model for paired comparisons. *Communications in Statistics* 1(5).](https://www.tandfonline.com/doi/abs/10.1080/03610927308827035)
11. [Modelling dependencies in paired comparison data: A log-linear approach. *Computational Statistics & Data Analysis*.](https://www.sciencedirect.com/science/article/abs/pii/S0167947301001062)
12. [Usami, S. Bayesian longitudinal paired comparison model and its application to sports data. *Communications in Statistics - Simulation and Computation* 46(3).](https://www.tandfonline.com/doi/abs/10.1080/03610918.2015.1026989)
13. [Aldous, D. Lecture 3: Sports rating models. UC Berkeley Stat 157.](https://www.stat.berkeley.edu/~aldous/157/Lectures/lecture_3.pdf)
14. [Evaluating the capacity of paired comparison methods to aggregate rankings of separate groups. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC9924872/)
15. [Wainer, J. (2022). A Bayesian Bradley-Terry model to compare multiple ML algorithms on multiple data sets. arXiv:2208.04935.](https://arxiv.org/abs/2208.04935)
16. [PageRank and the Bradley-Terry model. arXiv:2402.07811.](https://arxiv.org/abs/2402.07811)
17. [Attention Limited Reward Learning. arXiv:2607.04590.](https://arxiv.org/abs/2607.04590)
18. [Aligning language models to follow instructions. OpenAI.](https://openai.com/index/instruction-following/?_hsmi=202743306)
19. [On Extending Direct Preference Optimization to Accommodate Ties. arXiv:2409.17431.](https://arxiv.org/abs/2409.17431)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › 基础模型方法与训练 › 后训练与对齐方法

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/bradley-terry-model

English original: https://www.edgepedia.org/bradley-terry-model
