Theoremadvanced
NP-hardness of optimal Nash equilibria
Also called Gilboa-Zemel theorem, Conitzer-Sandholm hardness.
Deciding whether a bimatrix game has a Nash equilibrium with a given property, such as welfare above a bound, is NP-complete.
Finding some Nash equilibrium of a two-player game is PPAD-complete, and an equilibrium always exists. Asking for an equilibrium with an extra property changes the picture: the question may have the answer no, and then it is NP-complete. Gilboa and Zemel (1989) proved that it is NP-hard to decide whether a bimatrix game has a Nash equilibrium in which a player gets at least a given payoff, and several similar questions. Conitzer and Sandholm (2003, 2008) gave one simple reduction from SAT that proves many of these results at once, already for symmetric games. The same questions about correlated equilibria are linear programs and are easy (correlated equilibrium LP).
Statement
Let be an bimatrix game with rational payoffs, where and are the numbers of pure strategies. A pair of mixed strategies is a Nash equilibrium if each is a best response to the other. A mixed strategy is a best response if and only if its support is inside the set of pure best responses, so it is enough to test pure deviations.
Theorem (Gilboa and Zemel 1989; Conitzer and Sandholm 2008). Each of the following questions is NP-complete for bimatrix games, and stays NP-hard for symmetric bimatrix games:
- Is there a Nash equilibrium in which the sum of the expected payoffs is at least ?
- Is there a Nash equilibrium in which each player gets at least ?
- Is there a Nash equilibrium in which player 1 gets at least ?
- Is there a Nash equilibrium that is Pareto optimal among all profiles?
- Is there more than one Nash equilibrium?
- Is there a Nash equilibrium in which a given pure strategy is played with positive probability?
- Is there a Nash equilibrium in which a given pure strategy is never played?
Counting the Nash equilibria is #P-hard (Conitzer and Sandholm). The questions are in NP for two players: a certificate is a pair of supports, and a linear program checks whether some equilibrium has these supports and the property. For question 5 the certificate is two such pairs of supports, or one pair whose linear program has two different solutions.
The proof for all seven questions rests on one game.
The game . Let be a formula in conjunctive normal form with the set of variables, the set of literals and the set of clauses. For a literal , write for its negation and for its variable. The game is symmetric, each player has the pure strategies , and is the payoff of a player who plays against :
| own strategy | against a literal | against | against |
|---|---|---|---|
| literal | if , if | ||
| variable | if , if | ||
| clause | if , if | ||
Theorem 1 (Conitzer and Sandholm). The pair is a Nash equilibrium with payoff 0 to each player. For each satisfying assignment of , the pair in which both players play uniformly over the true literals is a Nash equilibrium with payoff 1 to each player. There are no other Nash equilibria.
In plain words
A game can be built from a logic puzzle. Each player may name a fact about the puzzle, name a variable or a clause to challenge the other, or take a safe option. If the puzzle has no solution, the only stable outcome is that both take the safe option and get nothing. If the puzzle has solutions, each solution gives a better stable outcome, in which both players name the true facts of that solution at random. So a question like "is there a stable outcome that pays well?" is the same as "does the puzzle have a solution?", and that question is hard. Finding some stable outcome is easy in this game, because the safe option always works.
Proof
The listed profiles are equilibria. Against , every strategy other than gets , so is an equilibrium. Now let be the set of true literals of a satisfying assignment, with one literal for each variable, and let both players play uniformly on . A literal gets 1, because . This is the equilibrium payoff. A literal gets , because . A variable gets , because exactly one literal of has variable . A clause contains at least one literal of , so it gets at most . The strategy gets 1. No deviation gets more than 1, so the profile is an equilibrium.
There are no other equilibria. Let be a Nash equilibrium other than .
(a) If one player plays with probability 1, the only best response of the other player is , because everything else gets . So neither player plays with probability 1.
(b) Let be the probability that the other player plays . Playing gives . Playing gives , where is the expected payoff of given that the other player does not play . If , then is strictly better than . So every strategy in the support of a player has .
(c) For two strategies , the sum is at most 2, and it is less than 2 if or is in : a variable or clause gets at most 2 and the other side gets . Condition on the event that neither player plays . By (b) each player's conditional expected payoff is at least 1, so the conditional expected sum is at least 2. Since the sum is at most 2 for every pair, it is exactly 2 with probability 1 on this event, and no player plays a strategy in . Also no pair is played, because its sum is . Each played literal then has .
(d) Now the supports are inside . If the other player plays with probability , then a literal gets at most , which is the payoff of . So the player plays only , which (a) excludes. So for both players, and both play only literals, with payoff 1.
(e) Let be the probability that player 2 plays a literal of variable . The deviation of player 1 to gets . This must be at most 1, so . The numbers sum to 1, so for every . The same holds for player 1.
(f) A literal played by player 1 gets , which must equal 1, so player 2 never plays . If player 2 played both literals of a variable , player 1 could play neither of them, which contradicts (e) for player 1. So player 2 plays exactly one literal of each variable, each with probability . These literals form an assignment . Player 1 also gives probability to each variable and cannot play the negation of a literal in , so it plays uniformly on too.
(g) The deviation to a clause gets . If no literal of is in , this is 2, which is more than 1. So every clause contains a literal of , and satisfies .
The questions. The size of is polynomial in the size of . If is satisfiable, there is an equilibrium with payoffs ; otherwise with is the only one. So questions 1 (), 2 () and 3 () have the answer yes exactly when is satisfiable. For question 4: every profile has sum at most 2 (pairs with have sum or 0), so is Pareto optimal, while is not, because a pair of literals that are not negations of each other gives . For question 5, there is a second equilibrium exactly when is satisfiable. For question 6, add a new variable that is in no clause: the literal is played in some equilibrium exactly when is satisfiable. For question 7, the strategy is never played in some equilibrium exactly when is satisfiable. Since SAT is NP-complete (Cook-Levin theorem), all questions are NP-hard. The number of equilibria is the number of satisfying assignments plus 1, which gives the #P-hardness of counting.
Consequences
- Optimal equilibria are hard, existence is not. Every game has an equilibrium, so the plain search problem is in TFNP and is not NP-hard unless NP equals coNP. The hardness here comes only from the extra property. So a rule that selects the equilibrium with the largest welfare is hard to compute.
- Algorithms must enumerate. To find a welfare-maximizing equilibrium exactly, methods such as support enumeration or enumeration of the vertices of the best-response polytopes look at all equilibria, which takes exponential time in the worst case.
- Correlated equilibria are easy. The set of correlated equilibria is a polytope given by linear inequalities, so a linear program finds the one with the largest welfare in polynomial time (Gilboa and Zemel 1989).
- Approximation. Approximate versions are also hard. With -Nash equilibria and payoffs in , the Lipton-Markakis-Mehta argument gives an -Nash equilibrium whose payoffs are within of those of any given Nash equilibrium, in time . Hazan and Krauthgamer (2011) showed that finding an -Nash equilibrium with near-optimal welfare in polynomial time, for a small constant , would solve the planted clique problem. Braverman, Ko and Weinstein (2015) showed that time is not enough for this under the exponential time hypothesis (ETH).
Tightness
The reduction gives hardness already for symmetric two-player games, the smallest interesting class. It does not give hardness for zero-sum games: there all equilibria have the same payoffs, and the set of equilibrium strategies is a polytope that a linear program describes, so questions 1 to 3 are easy. For games with 3 or more players, membership in NP fails in general, because equilibria can be irrational, and questions of this kind are harder: deciding whether a 3-player game has an equilibrium with a given property is complete for the existential theory of the reals for several properties (Schaefer and Stefankovic, and Garg, Mehta, Vazirani and Yazdanbod). The reduction does not say anything about finding some equilibrium, which stays PPAD-complete.
History
Gilboa and Zemel (1989) gave the first NP-hardness results for properties of Nash equilibria, with a reduction from CLIQUE, and contrasted them with polynomial algorithms for correlated equilibria. Conitzer and Sandholm presented the SAT-based game at IJCAI 2003, with a list of NP-hard and #P-hard questions, and published the journal version with approximation results in Games and Economic Behavior in 2008. After 2006, the PPAD-completeness of finding any equilibrium made the difference between the two kinds of question clear.
References
- Itzhak Gilboa and Eitan Zemel, Nash and correlated equilibria: some complexity considerations, Games and Economic Behavior 1(1) (1989), 80-93, the NP-hardness of deciding properties of Nash equilibria of bimatrix games, and the polynomial algorithms for the same questions about correlated equilibria
- Vincent Conitzer and Tuomas Sandholm, New complexity results about Nash equilibria, Games and Economic Behavior 63(2) (2008), 621-641, the game G(phi) built from a formula, its equilibria and the list of NP-hard and #P-hard questions; conference version: Complexity results about Nash equilibria, IJCAI 2003, 765-771, Section 2, Definition 4, Theorem 1 and Corollaries 1 to 9
- Constantinos Daskalakis, Paul W. Goldberg and Christos H. Papadimitriou, The complexity of computing a Nash equilibrium, SIAM Journal on Computing 39(1) (2009), 195-259, the contrast between finding some equilibrium, which is PPAD-complete, and finding one with a property
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 4GH3YV Edit this page History Report an error Markdown