Home Knowledge Base The Bradley-Terry model

The Bradley-Terry model is a probabilistic framework for modeling pairwise comparison outcomes — given two options, it predicts the probability of each one being preferred. It is the mathematical foundation underlying reward model training in RLHF.

The Model

Each option i has a latent strength parameter $\beta_i$. The probability that option i is preferred over option j is:

$$P(i \succ j) = \frac{e^{\beta_i}}{e^{\beta_i} + e^{\beta_j}} = \sigma(\beta_i - \beta_j)$$

Where $\sigma$ is the sigmoid function. The preference probability depends only on the difference in strengths, not their absolute values.

Connection to RLHF

$$P(y_w \succ y_l | x) = \sigma(r(x, y_w) - r(x, y_l))$$

Key Properties

Extensions

Practical Usage

Beyond RLHF, the Bradley-Terry model is used in chess/Elo ratings, sports ranking, A/B testing, and any domain involving pairwise comparisons. The LMSYS Chatbot Arena leaderboard uses it to rank LLMs based on human votes.

bradley-terry modelrlhf

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.