Preference Evaluation › Preference Aggregation and Ranking
Language AI HandbookAll chapters Preference Evaluation › Preference Aggregation and RankingOne section · Sections in this chapter5 / 13 ↓
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
When you have collected thousands of pairwise comparisons across dozens of models, you need reliable methods to aggregate these into a final ranking. The challenge is that online Elo updates, while computationally convenient, are sensitive to the order in which matches are processed. A model that faces its strongest competitors early in the sequence will receive lower ratings than one that faces them later, even if both eventually participate in the same number of matches. Batch methods that process all comparisons simultaneously avoid this path dependence.
Maximum Likelihood Estimation
Rather than iteratively updating Elo ratings, you can fit the Bradley-Terry model directly using maximum likelihood estimation. Given a comparison matrix where counts wins of model over model , the log-likelihood is:
where:
- : the log-likelihood function of the Bradley-Terry model parameters
- : the vector of strength parameters for all models
- : the number of times model defeated model (element of comparison matrix )
- : the number of times model defeated model
- : the natural logarithm
- The summation iterates over all unique pairs of models where is less than
You maximize this subject to the constraint to fix the scale. This constraint is necessary because adding a constant to all values leaves the probabilities unchanged; we need an anchor to make the parameters identifiable. This approach is more statistically efficient than online Elo updates, especially when comparison graphs are sparse (some models never play each other directly). Maximum likelihood estimation uses all available information simultaneously rather than processing matches sequentially, yielding estimates with lower variance when the model assumptions hold.
The MLE approach also produces natural measures of uncertainty through the Fisher information matrix. The curvature of the log-likelihood at its maximum tells us how precisely the parameters have been estimated: sharp curvature implies high precision, while flat curvature indicates that the data are consistent with a wide range of parameter values. This uncertainty quantification is directly interpretable as confidence intervals around each model's rating. This gives the statistical infrastructure needed to determine which differences in rankings are reliable and which are within the margin of error.
Handling Disconnected Components
A practical challenge arises when the comparison graph is disconnected. If Group A models only ever compared against Group A, and Group B models only against Group B, you cannot determine whether Group A or Group B is stronger. Mathematically, the likelihood becomes flat in directions that shift mass between disconnected components, making the parameters unidentifiable. This requires anchor models: reference systems that bridge different communities of models by playing against all of them.
In practice, strong baseline models like GPT-4 or Claude act as universal anchors. This gives the connective tissue that allows Elo ratings to be comparable across the entire ecosystem. Without such anchors, you might find that Model X has a higher rating than Model Y, but this could merely reflect that X faced weaker competition within its isolated subgroup. The inclusion of widely-evaluated anchor models ensures that the comparison graph remains connected. This allows the ranking algorithm to establish a global scale rather than merely local orderings.
Graph connectivity affects both the technical analysis and measurement validity. Imagine comparing two national chess leagues without any players who competed in both. Any ranking that spans both leagues is purely speculative. The same logic applies to LLM evaluation. If your comparison graph has disconnected subgraphs, any ranking that places models from different subgraphs relative to each other is statistically unjustified. This is why evaluation systems like LMSYS Chatbot Arena are careful to include widely-compared models that serve as reference points across the entire comparison graph.
Regularization gives an alternative approach to the disconnected graph problem. Instead of requiring connectivity, you can add a prior over the parameters that shrinks them toward zero. This prevents any model's rating from diverging to infinity when it has a perfect record (which would happen with the unregularized MLE when a model wins every comparison), and it implicitly connects all models through the shared prior. The regularized objective is:
where controls the strength of the regularization. Larger produces stronger shrinkage toward equal ratings, while smaller allows ratings to spread more freely. The choice of can be made via cross-validation or by treating it as a hyperparameter that shows prior beliefs about how much the models differ in quality.
Active Sampling
Random pairing is statistically inefficient. If Model A has a 1500 rating and Model B has 1000, the outcome is nearly deterministic. This gives little information. The variance of the rating update is proportional to , which approaches zero when one model is heavily favored. Active sampling strategies pair models with similar ratings or high uncertainty, maximizing the information gained per comparison.
Thompson sampling or Bayesian optimization approaches can select matchups that most reduce uncertainty in the global ranking, cutting the number of required comparisons by 50% or more compared to random pairing. These methods maintain a posterior distribution over possible rating configurations and select the matchup with the highest expected information gain. For example, if Model C and Model D have similar ratings but high uncertainty, a match between them gives more information about their relative ordering than a match between a certain champion and a certain loser. This adaptive approach is particularly useful when evaluation budgets are limited, letting precise ranking with fewer expensive human judgments.
The information-theoretic framing of active sampling reveals a deep connection to the design of scientific experiments more broadly. In both settings, the goal is to select observations that maximally reduce uncertainty about quantities of interest. For Elo-based evaluation, the quantity of interest is the vector of ratings , and the optimal sampling strategy is the one that minimizes the posterior entropy after observing the new comparison result. Greedy approaches that approximate this criterion by selecting the matchup with the highest expected prediction error are easy to implement and perform well in practice.