Non-Transitivity & League Training
Rock–paper–scissors cycles in real games, and how AlphaStar’s league handled them.
Rock beats scissors, scissors beats paper, paper beats rock: no strategy is best, and an agent that only tries to beat its predecessor can circle forever. Real games mix such cycles with a genuine ladder of skill. This lesson makes the mix precise. A population's evaluation matrix splits uniquely into a transitive part and a cyclic part; real games look like spinning tops, with cycles widest at intermediate skill; and diversity measures, population methods and AlphaStar's league are designed to climb past the cycles.
What you’ll learn
- Define functional-form games and evaluation matrices, and prove the Hodge decomposition of an antisymmetric matrix into a transitive gradient and a divergence-free cyclic part, with ratings .
- Decompose a small population by hand, and use the Schur form to tell transitive structure from cycles.
- Explain population performance, effective diversity, rectified Nash response and the DPP-based diversity measure, and compute DPP diversity for simple populations.
- State the spinning-top hypothesis, Nash clustering and the theorem relating populations to guaranteed progress, and connect them to the design of AlphaStar's league.
Evaluation matrices and their Hodge decomposition
Balduzzi et al. (2019) describe a symmetric two-player zero-sum game between parametrized agents as a functional-form game: an antisymmetric function giving agent 's payoff against agent , for instance its win probability minus ½, or its log-odds of winning. For a population , the evaluation matrix is antisymmetric.
Two extremes frame everything. The game is transitive if for a single strength : then , a gradient, and maximizing is the whole game. It is cyclic if every agent's payoffs against the population sum to zero, as in rock–paper–scissors. Every evaluation matrix is a unique, orthogonal sum of the two, a fact from combinatorial Hodge theory (Jiang, Lim, Yao & Ye, 2011) that Balduzzi and colleagues brought to multi-agent evaluation.
Least squares. Minimize . Differentiating in and using antisymmetry, , the normal equations reduce to
The residual is cyclic. With , each row sum is . is antisymmetric, so its column sums vanish too.
Orthogonality. Zero row and column sums kill both terms:
Uniqueness. If , then has zero row sums: for every , so is constant, hence zero under the normalization.
Four agents: A beats B, B beats C and C beats A (payoff ), and all three beat a weak agent D. Rows and columns in the order A, B, C, D:
The gradient part is zero among A, B and C (equal ratings) and exactly 1 between any of them and D. Subtracting it leaves pure rock–paper–scissors among A, B, C and nothing involving D:
The decomposition separated the ladder (D at the bottom) from the cycle (A, B, C), which no rating can order.
In that four-agent example, what fraction of belongs to the cyclic part ?
Show the answer
0.5
has twelve entries equal to , so . has six (the rock–paper–scissors block) and the gradient six (the column and row of D), and orthogonality makes them add: . Half of this population's structure is a ladder and half is a cycle.
A finer view uses the real Schur decomposition of the antisymmetric matrix, whose blocks place the agents in planes where the game acts as a rotation (a disc game). Antisymmetric matrices have even rank, so rank alone does not separate the two kinds of structure; the directions do. A transitive matrix is a single block spanned by and , whereas a purely cyclic matrix kills (its rows sum to zero), so all its blocks are orthogonal to .
Progress and diversity in a cyclic world
If the game has cycles, "is the new agent better?" has no answer for single agents, but it does for populations. Balduzzi et al. (2019) compare populations and through the zero-sum meta-game between them: the relative population performance is at a Nash equilibrium of that meta-game, well defined because all equilibria of a zero-sum game share its value. The gamescape of a population, the convex hull of its rows of the evaluation matrix, describes everything its mixtures can do, and progress means growing it in useful directions.
They also define the effective diversity of a population, with a Nash equilibrium of the population's own meta-game: how much the agents that matter beat each other. A transitive population has effective diversity zero (its Nash puts all weight on the best agent), and a population that covers a cycle has a lot. Their PSRO with rectified Nash response (PSRO) trains each agent in the Nash support only against the opponents it already beats or ties, weighted by their Nash probabilities, to amplify strengths rather than patch weaknesses, which grows effective diversity; it outperformed the alternatives on two highly non-transitive resource-allocation games. (Pipeline PSRO's authors later showed that rectified PSRO need not converge to a Nash equilibrium.)
Real games look like spinning tops
Where do real games sit between a ladder and a cycle? Czarnecki et al. (2020) sampled about two thousand pure strategies per game (roughly a thousand after removing duplicates) from players of controlled strength: minimax search of depth 0 to 9, deliberately losing variants, and Monte Carlo tree search with 10 to 1,000 simulations, each with many random seeds. They did this for tic-tac-toe, misère tic-tac-toe, Connect Four, 3×3 Hex, 3×3 and 4×4 Go and 3×3 and 4×4 Quoridor, and also analyzed the payoff matrix of AlphaStar's final league of about 900 agents. To see the structure they used a new tool, Nash clustering.
In every real game studied, the picture had the same shape. Plotted with transitive strength upward and the size of the Nash clusters sideways, the strategies form a spinning top: non-transitivity first grows rapidly as strength increases from the weakest strategies, peaks at intermediate skill, and shrinks again near the strongest. Weak players lose to almost everything, and the strongest strategies dominate; in between lie many distinct styles that beat each other in cycles. The authors prove that this geometry holds for a broad class of "games of skill" and argue that it reflects the temporal structure of real games.
The geometry tells a population method how big it must be. The following theorem, from the same paper, has a two-line proof.
Let be the Nash equilibrium of the game restricted to whose support is . The game is symmetric and zero-sum, so the restricted game has value 0, and no strategy of gains against :
But beats every member of , which belongs to the population, so it beats their mixture: . Hence , which is the claim.
The converse warning is the useful part. A population that does not contain a full cluster can be beaten by a strategy from the same cluster or a weaker one: in rock–paper–scissors, a population {rock} is beaten by paper, which is no stronger. Near the waist of the top, where clusters are wide, guaranteed progress needs a population at least as large as a cluster. A population of one, naive self-play, can stall there, while near the top of the spinning top self-play works again.
According to the spinning-top picture, at which stage of training does an agent most need a large, diverse population of opponents?
- At the very beginning, when it is weaker than every opponent
- At intermediate skill, where Nash clusters are widest and strategies beat each other in cycles
- Near the strongest strategies, where it must beat everyone
- Equally at every stage, since non-transitivity is uniform across skill levels
Show the answer
B. At intermediate skill, where Nash clusters are widest and strategies beat each other in cycles
Non-transitivity peaks at intermediate skill. Guaranteed progress requires the population to contain a whole Nash cluster, so it must be largest where the clusters are widest; at the bottom and near the top the game is nearly transitive and small populations, even plain self-play, make progress.
AlphaStar's league through this lens
| League component | Problem it addresses |
|---|---|
| PFSP against all past players, 15% reserved for forgotten opponents | Keeps earlier clusters represented, so a cycle back to an old weakness is caught: the remedy for forgetting |
| Main exploiters trained against the current main agents | Find strategies that beat the frontier, the cycles around the current agents, and add them as opponents the main agents must learn to beat |
| League exploiters trained against the whole league | Find global blind spots, strategies no league member beats: directions in which the league's gamescape is missing |
| Resets of exploiters to the supervised initialization | Keep the search diverse instead of letting exploiters converge to copies of the main agents |
Two observations suggest the league climbed rather than circled. The Nash equilibrium of the league's meta-game, recomputed as training progressed, put most of its weight on recent players, and players left its support after a few days as newer agents dominated them, which the authors read as "latest strategies largely dominate the previous ones, without much forgetting or cycling". And when Czarnecki et al. analyzed the final league's payoff matrix, it too had the spinning-top shape, although they caution that a population produced by one training run may reflect that training process as much as StarCraft II itself.
Diversity is not an end in itself. A league full of varied but weak strategies has a large gamescape in useless directions, and diversity bonuses must be traded against strength: Perez-Nieves et al. weight theirs, and AlphaStar's exploiters are judged by whether they win. Which kind of diversity matters, behavioral (playing differently) or response-based (beating different opponents), and how to combine them, is still debated.
Key takeaways
- An antisymmetric evaluation matrix splits uniquely and orthogonally into a transitive gradient, with ratings , and a cyclic part with zero row sums; the gradient is the least-squares best transitive fit.
- In cyclic games progress is measured between populations (relative population performance) and coverage by diversity: effective diversity, rectified Nash responses, and DPP diversity , which discounts redundant agents.
- Real games look like spinning tops: non-transitivity, measured by the size of Nash clusters, peaks at intermediate skill. Beating every member of a population that contains a full Nash cluster certifies a strictly stronger cluster, so populations must be largest at the top's waist.
- AlphaStar's league maps onto these ideas: PFSP against all past players prevents forgetting, exploiters find the frontier's cycles and the league's blind spots, and resets keep the search diverse.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
In the Hodge decomposition of an -agent evaluation matrix, what are the ratings ?
- The agents' average payoffs against the whole population,
- The diagonal of
- The Nash equilibrium probabilities of the meta-game
- The top eigenvector of
Show the answer
A. The agents' average payoffs against the whole population,
Solving the least-squares problem for the closest gradient gives . The ratings are therefore only as meaningful as the population: add copies of an agent and the averages change, a weakness the rating lesson takes up.
Two agents' payoff vectors both have squared norm 1. In population X the two vectors are identical; in population Y they are orthogonal. What is the DPP diversity of each?
- X: 1, Y: 1
- X: 0, Y: 2
- X: 2, Y: 2
- X: about 0.67, Y: 1
Show the answer
D. X: about 0.67, Y: 1
For X, has eigenvalues 2 and 0, so the diversity is . For Y, has eigenvalues 1 and 1, giving . Duplicating an agent adds far less than adding a genuinely different one.
What is the transitive (gradient) part of the evaluation matrix of rock, paper and scissors played as three pure strategies with payoffs ?
- Zero: every row sums to zero, so all ratings are equal and the game is purely cyclic
- Rock is rated highest, because it is listed first
- The whole matrix, since every pair has a winner
- It is undefined, because the matrix is singular
Show the answer
A. Zero: every row sums to zero, so all ratings are equal and the game is purely cyclic
Each strategy wins once and loses once, so and the gradient vanishes: all of the structure is cyclic. Any single rating, Elo included, can only report that the three are equally strong.
A training population contains an entire Nash cluster of a symmetric zero-sum game, and a new strategy beats every member of the population. What does the Nash-clustering theorem conclude, and why?
- Nothing: in a non-transitive game, beating a population says nothing about strength
- The new strategy is in a strictly stronger cluster, because it beats the Nash mixture on , which no strategy at or below that level can do
- The new strategy is a Nash equilibrium of the whole game
- The new strategy is in cluster itself
Show the answer
B. The new strategy is in a strictly stronger cluster, because it beats the Nash mixture on , which no strategy at or below that level can do
Every strategy in (cluster and below) earns at most 0 against the Nash mixture on . Beating every member of means earning more than 0 against that mixture, so the new strategy must come from a cluster above. Containing a full cluster is what turns "beats the population" into real progress.
Further reading
- D. Balduzzi, M. Garnelo, Y. Bachrach, W. M. Czarnecki, J. Pérolat, M. Jaderberg & T. Graepel, "Open-ended learning in symmetric zero-sum games," ICML (2019).
- W. M. Czarnecki, G. Gidel, B. Tracey, K. Tuyls, S. Omidshafiei, D. Balduzzi & M. Jaderberg, "Real world games look like spinning tops," NeurIPS (2020).
- X. Jiang, L.-H. Lim, Y. Yao & Y. Ye, "Statistical ranking and combinatorial Hodge theory," Mathematical Programming 127(1), 203–244 (2011).
- N. Perez-Nieves, Y. Yang, O. Slumbers, D. H. Mguni, Y. Wen & J. Wang, "Modelling behavioural diversity for learning in open-ended games," ICML (2021).
- O. Vinyals et al., "Grandmaster level in StarCraft II using multi-agent reinforcement learning," Nature 575, 350–354 (2019).