The Complexity of Equilibria
The PPAD-hardness of Nash equilibria, and correlated equilibria as the tractable alternative.
Every finite game has a Nash equilibrium, yet nobody knows how to find one efficiently, and complexity theory explains why: the problem is complete for PPAD, a class of search problems whose solutions are guaranteed by a parity argument. This lesson explains what PPAD is, what the hardness results do and do not say, why correlated equilibria are easy by contrast, and what all of this means for multi-agent RL, where even coarse correlated equilibria become intractable once you insist on stationary policies.
What you’ll learn
- Explain why NP-hardness is the wrong notion for total search problems such as Nash, define PPAD through END-OF-THE-LINE, and sketch why Nash lies in PPAD.
- State the hardness results for exact and approximate Nash equilibria precisely, and prove that small-support approximate equilibria exist (Lipton, Markakis & Mehta).
- Write correlated equilibrium as a linear program, solve it for the welfare-maximizing equilibrium of chicken, and contrast it with the NP-hardness of optimizing over Nash equilibria.
- State the complexity of stationary equilibria in Markov games and the sample complexity of learning (coarse) correlated equilibria, and draw the implications for multi-agent RL.
Why not NP-hard? Total search problems and PPAD
Finding a Nash equilibrium is a search problem whose answer always exists (Nash's theorem) and can be checked quickly: given a candidate profile, compare each player's payoff with its best pure deviation. For two players with rational payoffs an equilibrium even has rational probabilities of polynomial bit length, because it solves a linear system on its supports. (With three or more players equilibria can be irrational, so one asks for an -approximate equilibrium with given as input.) Such problems form the class TFNP, total function NP.
NP-hardness is the wrong yardstick here. Megiddo and Papadimitriou (1991) observed that if a total search problem like Nash were NP-hard, then NP = coNP. Suppose a reduction maps each formula to a game such that any equilibrium of reveals whether is satisfiable. Then for an unsatisfiable , an equilibrium of , which always exists and is easy to check, would be a short certificate of unsatisfiability, putting coNP inside NP. The right question is which kind of existence argument the problem needs.
Nash belongs to PPAD because its existence proofs are path-following arguments in disguise. For two players, the Lemke–Howson algorithm (1964) starts from an artificial "equilibrium" at the origin, relaxes one best-response condition, and pivots along a path of almost-equilibria that cannot branch or return, so it must end at a genuine equilibrium: an END-OF-THE-LINE instance. Savani and von Stengel (2006) built games on which every Lemke–Howson path is exponentially long. For more players, Sperner's lemma and Brouwer's fixed-point theorem, also PPAD problems, play the same role.
PPAD-completeness is taken as strong evidence against a polynomial-time algorithm: Nash becomes exactly as hard as finding approximate Brouwer fixed points, which need exponentially many queries in the black-box model (Hirsch, Papadimitriou & Vavasis, 1989), and PPAD-hardness also follows from cryptographic assumptions (Bitansky, Paneth & Rosen, 2015). It is not a proof that P ≠ PPAD, which would imply P ≠ NP.
Why do complexity theorists not expect Nash to be NP-hard?
- Because Nash is in P: Lemke–Howson runs in polynomial time
- Because NP-hardness applies only to problems with real-valued answers
- Because equilibria are always unique, unlike satisfying assignments
- Because a reduction from SAT would turn an equilibrium, which always exists and is easy to verify, into a short certificate that a formula is unsatisfiable, implying NP = coNP
Show the answer
D. Because a reduction from SAT would turn an equilibrium, which always exists and is easy to verify, into a short certificate that a formula is unsatisfiable, implying NP = coNP
Totality is the obstacle. A problem whose solutions always exist and are efficiently checkable cannot be NP-hard under the usual reductions unless NP = coNP (Megiddo & Papadimitriou, 1991). PPAD captures the specific reason solutions exist: a parity argument on a path.
Hardness of Nash, exact and approximate
The quasi-polynomial algorithm rests on a structural fact with a short probabilistic proof: some approximate equilibrium has small support, so brute-force search over small supports suffices.
Fix a Nash equilibrium and let ; every row in the support of earns exactly . Draw rows i.i.d. from and columns i.i.d. from , and let be their empirical distributions. For each row , is an average of independent variables with mean , so Hoeffding's inequality gives
The same bound holds for each column payoff . A union bound over the events shows that with positive probability all rows and columns are estimated within , as soon as
On that event, is supported on rows that earn against , so , while no row earns more than against . Hence no row deviation gains more than ; the column player's argument is symmetric:
So an -equilibrium with -uniform strategies exists. There are at most multisets per player, and each candidate pair is checked in polynomial time, which gives the algorithm. Note what the proof does not give: a way to find the right supports without trying them all.
By the bound , how many times larger must the support size be (approximately) when the number of actions grows from to , with fixed?
Show the answer
1.8
The bound scales with : against , a factor of about 1.8, although grew a thousandfold. The support grows only logarithmically; it is the factor and the exhaustive search over supports that make the algorithm slow.
Correlated equilibria are easy
A correlated equilibrium is a distribution over joint actions satisfying linear inequalities, one for each player and pair of actions : . Finding one is therefore a linear program with variables and incentive constraints, solvable in time polynomial in the size of the game table, and any linear objective, such as total welfare, can be optimized at the same cost. Coarse correlated equilibria are an even smaller LP.
Use the payoffs (6,6), (2,7), (7,2), (0,0) and variables . For the row driver, "told C, obey" compares swerving with daring against the column actions that accompany C; "told D, obey" likewise. The column driver's constraints are the mirror images:
Maximize total welfare . The crash cell only costs welfare and tightens constraints, so . With and , welfare is , and the two binding constraints and give :
Each driver earns 5.25, more than with Aumann's ⅓–⅓–⅓ light (5), the mixed Nash equilibrium () or either pure one (an average of 4.5). At the optimum a driver told to swerve is exactly indifferent: it faces C with probability ⅔ and D with ⅓, and both actions pay .
The Nash counterparts of such questions are much harder. Deciding whether a two-player game has a Nash equilibrium giving a player at least a given payoff, or total welfare at least a given amount, or more than one equilibrium, is NP-hard (Gilboa & Zemel, 1989; Conitzer & Sandholm, 2008). Choosing a good equilibrium, the problem a designer of multi-agent systems actually faces, is harder than finding one.
With many players the game table itself is exponentially large, but for many succinct classes (graphical, polymatrix and congestion games, among others) a correlated equilibrium can still be computed in polynomial time by the "ellipsoid against hope" (Papadimitriou & Roughgarden, 2008; made exact by Jiang & Leyton-Brown, 2015), although maximizing welfare over correlated equilibria is NP-hard for several of these classes. Decentralized dynamics separate the concepts too: no-swap-regret learners reach approximate correlated equilibria in a number of rounds polynomial in the game's description, whereas any uncoupled dynamics, and any communication protocol, needs exponentially many rounds in the number of players to reach even an approximate Nash equilibrium in the worst case (Hart & Mansour, 2010; Babichenko & Rubinstein, 2017).
Markov games: stationarity makes even CCE hard
One way to see why stationarity costs so much: in a turn-based game only one player moves in each state, so a "correlated" recommendation in a state is just that player's mixed action, and correlation buys nothing. A stationary Markov CCE is then essentially a stationary Nash equilibrium, a fixed point that must be consistent across all states at once, and fixed points are what PPAD is about. Without stationarity the fixed point unravels: backward induction over time steps solves one CCE linear program per stage, each against the already computed continuation values.
Learning from samples follows the same pattern. Value-based methods over joint actions pay , the curse of multiagency. V-learning (Jin, Liu, Wang & Yu, 2021) and its refinements avoid it by running an adversarial bandit learner per player and state: Song, Mei and Bai (2022) learn an -CCE of an -player episodic general-sum Markov game in episodes and an -CE in , with no dependence on the joint action space, while learning Nash equilibria in general can require a number of samples exponential in the number of players. The learned CCE/CE policies are history-dependent, not Markov: the price of tractability.
| Problem | Status |
|---|---|
| Nash of a two-player zero-sum matrix or Markov game | Polynomial: linear programming, Shapley value iteration |
| Nash of a two-player general-sum matrix game | PPAD-complete; no FPTAS unless PPAD ⊆ P |
| -Nash, constant , two players | Quasi-polynomial ; not polynomial under an exponential-time hypothesis for PPAD |
| Best (max-welfare) Nash equilibrium | NP-hard |
| CE or CCE, and the best CE, of a normal-form game | Linear program, polynomial in the table size |
| Stationary Markov CCE (hence Nash) of a general-sum Markov game | PPAD-hard, even two-player turn-based |
| Non-stationary Markov CCE; learning CCE/CE from samples | Polynomial; sample complexity scales with , not |
Key takeaways
- Nash is a total search problem, so NP-hardness would imply NP = coNP; its true home is PPAD, defined by END-OF-THE-LINE, and path-following algorithms like Lemke–Howson can take exponentially long.
- Nash is PPAD-complete for two players and has no FPTAS unless PPAD ⊆ P; for constant the small-support search is essentially optimal under an exponential-time hypothesis, and polynomial-time algorithms reach (2026 work reports slightly better).
- Correlated equilibria, and the best one, are a linear program; optimizing over Nash equilibria is NP-hard. In chicken the welfare-maximizing CE gives 10.5 against at most for any mixed or 9 for any pure Nash equilibrium.
- In Markov games even approximate stationary CCE are PPAD-hard, while non-stationary Markov CCE are polynomial and CCE/CE can be learned with samples scaling in : tractability is bought with non-stationarity or history dependence.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
What guarantees that an END-OF-THE-LINE instance has a solution?
- A parity argument: the path leaving the source cannot cycle and the graph is finite, so it ends at a sink, another unbalanced vertex
- Brouwer's fixed-point theorem applied to the circuits
- The circuits are required to be acyclic
- A counting argument: more than half of all vertices are sinks
Show the answer
A. A parity argument: the path leaving the source cannot cycle and the graph is finite, so it ends at a sink, another unbalanced vertex
Every vertex has in- and out-degree at most 1, so the graph is a union of paths and cycles. The path that starts at the source must end somewhere, and its endpoint is a valid answer. The path may be exponentially long, which is why existence is easy to prove and hard to exploit.
In a two-player normal-form game given by its payoff tables, which task is known to be solvable in polynomial time?
- Finding any Nash equilibrium
- Finding a Nash equilibrium that maximizes total payoff
- Deciding whether some Nash equilibrium gives player 1 at least a given payoff
- Finding a correlated equilibrium that maximizes total payoff
Show the answer
D. Finding a correlated equilibrium that maximizes total payoff
Correlated equilibria are the solutions of a linear program, so optimizing any linear objective over them is an LP too. Finding any Nash equilibrium is PPAD-complete, and optimizing over Nash equilibria or deciding properties of them is NP-hard.
In chicken with payoffs (6,6), (2,7), (7,2), (0,0), what total payoff does the welfare-maximizing correlated equilibrium give the two drivers together?
- 12
- 10.5
- 10
Show the answer
B. 10.5
The LP's optimum puts ½ on (C, C) and ¼ on each of (C, D) and (D, C), for . More weight on (C, C) would break the constraint : a driver told to swerve would then prefer to dare.
Daskalakis, Golowich and Zhang (2023) showed that which problem is PPAD-hard?
- Computing an approximate stationary Markov coarse correlated equilibrium of a general-sum stochastic game, even with two players and turn-based moves
- Computing a non-stationary Markov coarse correlated equilibrium
- Computing the value of a two-player zero-sum Markov game
- Computing a correlated equilibrium of a normal-form game
Show the answer
A. Computing an approximate stationary Markov coarse correlated equilibrium of a general-sum stochastic game, even with two players and turn-based moves
Stationarity is what makes the problem a fixed point across states; in turn-based games correlation adds nothing, so stationary CCE inherit the hardness of stationary Nash equilibria. Non-stationary Markov CCE are polynomial, zero-sum values follow from Shapley's contraction, and normal-form CE are a linear program.
Further reading
- C. H. Papadimitriou, "On the complexity of the parity argument and other inefficient proofs of existence," Journal of Computer and System Sciences 48(3), 498–532 (1994).
- C. Daskalakis, P. W. Goldberg & C. H. Papadimitriou, "The complexity of computing a Nash equilibrium," SIAM Journal on Computing 39(1), 195–259 (2009).
- X. Chen, X. Deng & S.-H. Teng, "Settling the complexity of computing two-player Nash equilibria," Journal of the ACM 56(3) (2009).
- A. Rubinstein, "Settling the complexity of computing approximate two-player Nash equilibria," FOCS (2016).
- C. Daskalakis, N. Golowich & K. Zhang, "The complexity of Markov equilibrium in stochastic games," COLT (2023).