Efficient Computation and Best-Response Dynamics in Anonymous Two-Action Games with Linear Utilities

Michail Fasoulakis, Evangelos Markakis, Ioannis Panageas, Christodoulos Santorinaios, Jingming YanNeurIPS 2026

TL;DR

Finding a stable standoff (a Nash equilibrium) in multi-player games where individual identities don't matter is usually a computational nightmare. By looking at two-choice games where payoffs scale linearly with crowd behavior, this paper cracks the problem wide open—providing the first fast algorithm to find an exact equilibrium, alongside a natural, step-by-step update rule that settles into an approximate equilibrium rapidly.

What Problem Does This Paper Address?

Imagine commuting during rush hour or voting in a massive election. You don't care who specifically takes the highway; you just care how many people are clogging the lanes. In game theory, these are called Anonymous Games—your payoff depends only on your own choice and the aggregate crowd behavior.

While anonymous games are compact to write down, finding a Nash equilibrium (a state where no player wants to unilaterally change their strategy) is notoriously difficult. In the general case, even when players only have two actions to choose from, finding an equilibrium is "PPAD-complete"—computer science shorthand for "don't expect a fast algorithm anytime soon."

Because general utilities are intractable, the authors ask a fundamental question: What if payoffs are linear functions of the crowd's choices? Notice that neither "two actions" nor "linear payoffs" alone makes games easy—other game types with those exact restrictions remain computationally hard. Does combining them with anonymity finally tame the complexity? And can players naturally stumble into an equilibrium just by taking turns updating their strategies?

Methods

The authors tackle a two-action game (let's call the actions 0 and 1) with $n$ players and linear payoffs.

First, they calculate a mixing threshold ($\tau_i$) for each player: the exact expected number of other players choosing 1 that makes player $i$ completely indifferent between 0 and 1. Looking at how preferences shift around this threshold splits the population into two camps:

  • Maximizers (conformists): As more people play 1, they want to play 1 too.
  • Minimizers (contrarians): As more people play 1, they want to play 0.

Instead of tracking how everyone reacts to everyone else, the authors introduce a clever "self-inclusion" function. It maps the total expected crowd playing 1 (including yourself) directly to your best-response probability.

Using this function, they prove a crucial structural property about how contrarians behave at equilibrium, collapsing an exponential number of possible strategy combinations down to a manageable polynomial list. For their exact algorithm, they simply sweep through this small list of valid player groupings and solve basic linear equations to check if a valid equilibrium pops out.

For their Sequential Best-Response (SBR) dynamics, rather than letting players blindly react to each other in a chaotic loop, the algorithm systematically steps through candidate values of the total crowd mass $S$, letting maximizers and sorted minimizers sequentially lock in their best responses until the proposed crowd mass matches reality.

Datasets

No external real-world benchmarks are used. Because a linear two-action anonymous game is entirely defined by its players' thresholds, the authors evaluate their dynamics on synthetically generated games, sampling player thresholds uniformly at random across various population sizes (e.g., 200 and 1,000 players).

Key Insights and Ideas

  • At most one contrarian needs to flip a coin: The centerpiece "aha moment" is a structural theorem showing there always exists a Nash equilibrium where at most one minimizer plays a randomized (mixed) strategy. Everyone else among the minimizers plays purely 1 (if they have high thresholds) or purely 0 (if they have low thresholds). This single insight shrinks the search space from $O(3^n)$ to $O(n^3)$.
  • Hidden tug-of-war optimization: The authors show these games are secretly equivalent to a single min-max optimization problem: maximizers try to push a global function $\Phi$ up, while minimizers try to pull it down.
  • Why black-box optimization fails: While casting the game as min-max optimization is elegant, the resulting mathematical landscape is "nonconvex-nonconcave"—full of treacherous saddle points and false summits. Standard gradient-based optimization gets trapped in stationary points that cannot be converted into Nash equilibria, proving that game-specific structural shortcuts are genuinely necessary.
Figure 1: Value plots for Φ(x, y) in Example 1 where x = (1/2, 1/2). There are two maximizers y = (0, 0) and y′ = (1, 1). These maximizers induce opposite gradients for x: ∇xΦ(x, y) < 0 and ∇xΦ(x, y′) > 0. As a result, (1/2, 1/2) is a first-order stationary point of the max function Φ⋆(x).

Key Results

  • Exact Polynomial-Time Computation: The authors present the first algorithm to compute an exact (and rational-valued) Nash equilibrium in $n$-player, two-action linear anonymous games. Out of the box it runs in $O(n^4)$ time, which drops to $O(n^3)$ arithmetic operations using prefix sums.
  • Fast Dynamics Convergence: Their custom SBR dynamics provably reach an $\epsilon$-approximate Nash equilibrium (where no player can gain more than $\epsilon$ by deviating) in $O(1/\epsilon)$ iterations—specifically bounded by $T \ge 2n^{7/2}/\epsilon$.
  • Empirical Validation: In random games of up to 1,000 players (400 minimizers, 600 maximizers), the SBR dynamics cleanly match the theoretical $O(1/T)$ convergence rate, driving approximation error below $10^{-9}$ within $10^5$ iterations.

Limitations and Future Work

The magic here relies heavily on the binary nature of the choices (0 vs. 1), which neatly divides players into one-dimensional maximizers and minimizers sorted along a single number line of thresholds. The authors leave open what happens when players have $k > 2$ actions in linear anonymous games. Without that clean one-dimensional ordering, they conjecture that finding an exact Nash equilibrium snaps right back to being PPAD-hard.

Summary updated

Abstract

The computational complexity of anonymous games has been a central theme in algorithmic game theory, with foundational contributions by Daskalakis and Papadimitriou [2015], Goldberg and Turchetta [2017], and Cheng et al. [2017] establishing that the landscape of equilibrium computation admits a PTAS. In this paper, we investigate the class of $n$-player anonymous games with linear utilities and two actions. While finding an equilibrium in anonymous games is PPAD-hard for arbitrary utility functions—even with a constant number of actions [Chen et al., 2015]—we show that this linear structure allows for significant algorithmic improvements. Exploiting the fact that payoffs depend solely on the first moment of the players’ strategy distribution, we provide the first algorithm for computing exact Nash equilibria that runs in time polynomial in the number of players $n$. We achieve this by establishing a novel combinatorial characterization of the Nash equilibria. Finally, we establish a novel connection between Nash equilibria in these games and non-convex non-concave min-max optimization. Despite the technical challenges posed by this structural property, we design a sequential best-response dynamic that provably converges to an $\epsilon$-Nash equilibrium in $\mathcal{O}(\frac{1}{\epsilon})$ steps.
BibTeX
@inproceedings{fasoulakis2026efficient,
  author = {Michail Fasoulakis and Evangelos Markakis and Ioannis Panageas and Christodoulos Santorinaios and Jingming Yan},
  title = {{Efficient Computation and Best-Response Dynamics in Anonymous Two-Action Games with Linear Utilities}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=g3h8amDXNB},
}
Figure