Evaluating Agents: Elo, Nash Averaging & Beyond
Ratings that assume transitivity, and what to use when it fails.
How do you know whether a new agent is better? The standard answer, an Elo rating, compresses every matchup into one number per agent, which is exact only if the game is transitive. This lesson derives Elo and its statistical model, shows precisely how single ratings fail on cyclic populations and how they can be gamed by adding redundant agents, and builds the alternatives: multidimensional Elo, Nash averaging, Bayesian ratings with uncertainty, and the pairwise-comparison leaderboards now used to rank language models, with their caveats.
What you’ll learn
- Derive the Bradley–Terry model behind Elo, show that the Elo update is stochastic gradient ascent on the log-likelihood, and state when the maximum-likelihood ratings exist.
- Compute how Bradley–Terry ratings fail on a cyclic population and how duplicating one agent shifts other agents' ratings, and represent cycles with multidimensional Elo.
- Define Nash averaging with the maximum-entropy equilibrium, prove its invariance to duplicated agents when the equilibrium is unique, and state its limitations.
- Apply the TrueSkill update to a single game, and analyze Chatbot Arena's Bradley–Terry leaderboard and the documented ways such leaderboards can mislead.
Elo is a logistic model fitted online
The Elo rating (Elo, 1978), adopted by the US Chess Federation in 1960 and by FIDE in 1970, predicts that a player rated scores against one rated
with the logistic function, and after a game with score it updates and by the opposite amount. (Elo himself assumed normally distributed performances; this logistic form is the one rating bodies adopted later.) Its probability model is the Bradley–Terry model (Bradley & Terry, 1952; already Zermelo, 1929): each item has a latent score , and beats with probability . Elo's 400 points and base 10 are only a choice of units.
The log-likelihood of one game between A and B, as a function of the ratings, is
Using , its gradient is the surprise, actual minus expected score:
So Elo's rule is one step of stochastic gradient ascent with step size on a single game's likelihood. Summing the gradient over a fixed set of games shows what the maximum-likelihood ratings satisfy: every player's actual total score equals its predicted total score,
The log-likelihood is concave in the ratings, and the maximizer is unique up to a common shift exactly when the "has beaten" graph is strongly connected: for every split of the players into two groups, someone in each group has beaten someone in the other. If one group has never lost to the other, the likelihood keeps increasing as the gap between the groups grows, and the ratings diverge.
What expected score does Elo predict for a player rated 200 points above its opponent?
Show the answer
0.76
. A 400-point gap gives . Each rating difference maps to one win probability, which is exactly the assumption that fails when the game has cycles.
One number per agent meets a cycle
Take three agents in a cycle: A beats B, B beats C and C beats A, each 90% of the time, with every pair playing equally often. By symmetry the maximum-likelihood ratings are equal, so Elo predicts 50% for every matchup: it has no predictive power at all, although every matchup is lopsided. It also cannot even tell that something is wrong; equal ratings look like three equally strong agents.
Now add C′, an exact copy of C (C and C′ draw against each other), and refit by maximum likelihood, with each pair still playing equally often and C's rating fixed at 0. The moment condition for C reads , so and . Write , (in logit units). The condition for A, which plays B, C and C′:
The left side decreases from 1.5 at ; it equals 1.1 at . In Elo points, multiply by :
Nothing about A or B changed, yet A dropped and B rose, because A now loses to two copies of C and B beats two. The refitted ratings even predict that B beats A with probability , while A in fact beats B 90% of the time. Whoever controls which agents enter the evaluation population can move the ratings: Balduzzi et al. (2018) made this point with the same kind of example.
In the language of the Hodge decomposition (Non-Transitivity & League Training), a single rating can capture only the transitive, gradient part of the matrix of log-odds; the cyclic part is invisible to it, and the gradient part itself depends on who is in the population. Multidimensional Elo (mElo; Balduzzi et al., 2018) adds to each agent a vector and predicts
so each pair of coordinates contributes a rotation, a disc game, while recovers Elo. The cyclic triad fits exactly with : put A, B and C at angles 0°, 120° and 240° on a circle of radius . Then , which is for A against B, B against C and C against A, and reproduces every 90%. mElo's parameters are learned online with updates like Elo's.
Nash averaging
Nash averaging scores agents by how they fare against the least exploitable mixture of the population, not against the population as it happens to be composed. Its behavior at the two extremes is reassuring. In a transitive population, , the equilibrium puts all its weight on the best agent and : an Elo-like order. In a purely cyclic population the maximum-entropy equilibrium is uniform and every agent scores 0: nobody is better.
Copies have identical rows and columns, so any mixture of the enlarged game earns every agent the same payoff as its merged mixture , which adds up the copies' weights. Hence is an equilibrium exactly when is, so by uniqueness. The equilibria are all splits of among the copies, and entropy, , is maximized by the equal split.
Each agent's payoff against equals its payoff against , so the Nash averages are unchanged.
If the old game has several equilibria, the same decomposition shows that copies of agent add the bonus to the entropy, which can shift the maximum-entropy choice toward equilibria that use agent . Agents in the support of some equilibrium still score 0 (equilibrium strategies are interchangeable in zero-sum games), but agents outside every support can see their scores move. Exact invariance needs the equilibrium to be unique, as in the examples here. Balduzzi et al. state the invariance without that condition, but it is needed: if X and Y tie and beat Z with log-odds 1 and 2, the maximum-entropy equilibrium is and Z's Nash average is ; after copying X it is and Z's average becomes .
Compare plain averaging on the population of Non-Transitivity & League Training (A, B, C in a cycle, all beating D, payoffs ). Its unique equilibrium is uniform over A, B and C, so the Nash averages are : the three cycle members tie and D is worst. Their average payoffs against the population are . Add a copy A′ of A: the Nash averages stay for the original four, while the population averages become for A and A′, 0 for B, for C and for D. Duplicating A has promoted C, which beats it, and demoted B, which loses to it.
The price of robustness is pessimism. Nash averaging rates against the toughest mixture of the population, so it rewards agents that are hard to exploit, not agents that beat most opponents; one niche exploiter in the population can lower many agents' scores, and agents outside the equilibrium's support are ranked only by how badly they lose to it. The authors themselves caution that it is not always the right tool: it is only as good as the data, and it takes an adversarial perspective. For many-player and general-sum evaluations, α-Rank (Double Oracle & PSRO) plays a similar role with a unique, polynomial-time computable ranking.
In that example, which quantity is unchanged when a copy of agent A is added to the population?
- Agent C's average payoff against the population
- Agent B's Bradley–Terry rating
- Agent C's Nash average
- The number of agents in the equilibrium's support
Show the answer
C. Agent C's Nash average
The equilibrium is unique, so the copies split A's weight (⅙ each) and every agent's payoff against the equilibrium mixture stays the same: C's Nash average is 0 before and after. C's population average rises from ¼ to ⅖, B's rating falls, and the support grows from three agents to four (A and A′ both appear).
Ratings with uncertainty: TrueSkill
Elo keeps no notion of confidence: a newcomer's rating moves exactly as fast as a veteran's. Glicko (Glickman, 1999) attaches a rating deviation to each player. TrueSkill (Herbrich, Minka & Graepel, 2006), built for matchmaking on Xbox Live, is a full Bayesian model for teams and many players. Each player's skill has a Gaussian belief ; in a game each player performs at , a team performs at the sum of its members' performances, and the observed ranking orders the performances (with a margin for draws). The posterior is approximated by Gaussian message passing on a factor graph, each is inflated slightly between games so that skills can drift, and leaderboards display the conservative estimate . A new player starts at , , and the original paper uses .
The winner and loser differ in performance by a Gaussian with variance ; the evidence is that this difference was positive. Let and be the standard normal density and distribution function:
Matching the first two moments of the truncated Gaussian gives the updates. Means move in proportion to each player's own variance, so uncertain players move fast; is large when the result was a surprise (, an upset) and small when it was expected:
Since , every game shrinks both variances. The structure is Elo's, surprise times a step size, but the step size is each player's current uncertainty rather than a fixed .
Two new players (, , ) play one game and the first one wins. Ignoring draws and the drift term, what is the winner's new ?
Show the answer
29.2
, so . With , , and ; the loser drops to about 20.8. The variance shrinks by the factor , so , and the winner's conservative rating jumps from 0 to about 7.6.
Leaderboards for language models
Pairwise comparison is now a standard way to evaluate language models, because their outputs have no single correct answer. In Chatbot Arena (Chiang et al., 2024), users chat with two anonymous models side by side and vote for the better response; the paper reports over 240,000 votes collected over several months. The leaderboard fits Bradley–Terry coefficients by maximum likelihood instead of running Elo updates, which the authors found better suited to statistical estimation (and which, unlike online Elo, does not depend on the order in which votes arrive). Votes are reweighted by their inverse sampling probabilities so that the estimate targets a uniform mixture over model pairs; uncertainty comes from robust ("sandwich") standard errors, which the authors preferred to the bootstrap for their smaller size in large samples, with simultaneous intervals for the ranking; and pairs are chosen adaptively to shrink the confidence intervals fastest. In the authors' simulation, random pairing needed about 54% more votes to reach the same precision of the win-rate matrix.
Everything in this lesson applies. The Bradley–Terry model assumes one score per model, while preferences differ across the roughly 600 topic clusters the authors found and across voters, whom they describe as likely skewed toward LLM hobbyists and researchers; they also propose a nonparametric extension that remains valid when preferences are non-transitive. Scores depend on the population of models and prompts, and votes can be swayed by properties such as length and formatting that are not the quality one wants to measure.
Key takeaways
- Elo is the Bradley–Terry logistic model fitted by stochastic gradient ascent; at the maximum-likelihood ratings every player's total score equals its predicted total, and the ratings exist when the "has beaten" graph is strongly connected.
- A single rating captures only the transitive part of the data: a 90% cycle gets equal ratings and 50% predictions, and duplicating one agent shifts the others' ratings (about ±72 Elo points in the example). mElo adds rotation planes that can represent cycles.
- Nash averaging scores agents against the maximum-entropy equilibrium of the log-odds meta-game; it reduces to an Elo-like order on transitive data, rates a pure cycle as a tie, and is invariant to duplicated agents when the equilibrium is unique.
- TrueSkill replaces Elo's fixed step by Bayesian uncertainty: means move by and variances shrink after every game, so newcomers converge fast and leaderboards can show .
- LLM leaderboards such as Chatbot Arena are Bradley–Terry fits to crowdsourced votes, with the same assumptions of transitivity and population dependence, plus selection effects: publishing the best of equal variants inflates scores by about standard errors at .
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
What does the Elo update compute, in statistical terms?
- An exact Bayesian posterior mean of the player's skill
- A stochastic-gradient step on the log-likelihood of the Bradley–Terry (logistic) model for the game just played
- The player's average score over all past games
- A Nash equilibrium of the meta-game between players
Show the answer
B. A stochastic-gradient step on the log-likelihood of the Bradley–Terry (logistic) model for the game just played
The derivative of a game's log-likelihood with respect to is , so Elo's rule is gradient ascent with a fixed step size, one game at a time. Its maximum-likelihood fixed points match every player's total score to its predicted total.
Three agents beat each other in a cycle, each winning its favorable matchup 90% of the time, and every pair plays equally often. What do maximum-likelihood Elo ratings predict?
- 50% for every matchup, because the ratings are equal
- 90% for each favorable matchup, because Elo fits the data exactly
- The agent listed first wins every matchup
- The ratings diverge to infinity
Show the answer
A. 50% for every matchup, because the ratings are equal
By symmetry each agent wins exactly half of its games, so the moment conditions give equal ratings and every prediction is 50%, uninformative about every lopsided matchup. One rating per agent cannot represent a cycle; mElo with one rotation plane can.
In a purely transitive population, with log-odds and a unique best agent, what does Nash averaging report?
- : each agent's log-odds against the best agent, an Elo-like order
- 0 for every agent
- The uniform average of each row
- It is undefined, because the meta-game has no equilibrium
Show the answer
A. : each agent's log-odds against the best agent, an Elo-like order
The best agent beats everyone, so the equilibrium puts all weight on it, and . Nash averaging agrees with Elo's order on transitive data and differs only where there are cycles or redundancy.
A provider privately evaluates 10 model variants that are in truth equally good, each score estimated with a standard error of 5 points, and publishes only the best. About how far above the truth is the published score expected to be?
- 0: the variants are equally good
- About 5 points
- About 7.7 points
- About 50 points
Show the answer
C. About 7.7 points
The published score is the maximum of 10 noisy estimates, and the expected maximum of 10 independent standard normals is about 1.54, so the bias is points. Reporting every evaluated variant, or re-estimating the chosen one on fresh votes, removes this winner's curse.
Further reading
- A. E. Elo, The Rating of Chessplayers, Past and Present (Arco, 1978).
- R. A. Bradley & M. E. Terry, "Rank analysis of incomplete block designs: I. The method of paired comparisons," Biometrika 39(3/4), 324–345 (1952).
- R. Herbrich, T. Minka & T. Graepel, "TrueSkill™: A Bayesian skill rating system," NeurIPS (2006).
- D. Balduzzi, K. Tuyls, J. Pérolat & T. Graepel, "Re-evaluating evaluation," NeurIPS (2018).
- W.-L. Chiang, L. Zheng, Y. Sheng, A. N. Angelopoulos, T. Li, D. Li, B. Zhu, H. Zhang, M. Jordan, J. E. Gonzalez & I. Stoica, "Chatbot Arena: An open platform for evaluating LLMs by human preference," ICML (2024).