Minimax theorem
The minimax theorem is a result in game theory about games where two players have exactly opposite goals, so one player's gain is the other player's loss. It says that when players may pick their moves at random, each game has a single number called its value. The first player can make sure of winning at least that much on average, and the second player can make sure of losing no more than that much on average.
John von Neumann published the proof in 1928. His paper is often credited with starting game theory as a field.[1] The theorem is closely tied to linear programming, which is also how optimal strategies are computed in practice.[2]
Two-player zero-sum games
The theorem covers finite two-player zero-sum games. Such a game can be written as a table of numbers, a matrix with rows and columns, which is its normal form.[2]
- The row player (Player I) picks a row .
- The column player (Player II) picks a column at the same time.
- The entry is the amount the column player pays the row player. A negative entry means the payment goes the other way.
The row player's gain is always the column player's loss, which is why the game is called zero-sum. So the row player wants large entries and the column player wants small ones.[2] Choosing one row or one column for certain is called a pure strategy.[3]
Maximin and minimax
A careful player can ask what they can guarantee no matter what the opponent does. The answers are called the maximin and the minimax.
- If the row player picks row , the worst result is the smallest entry in that row. The best guarantee is the largest of these row minimums, . This is the maximin.
- If the column player picks column , the worst result is the largest entry in that column. The best guarantee is the smallest of these column maximums, . This is the minimax.
The maximin is never larger than the minimax. This holds for any function and any sets of choices, not only for games.[3] The section on the easy half of the proof shows why.
Saddle points
Sometimes the two guarantees meet. An entry that is the smallest in its row and the largest in its column is called a saddle point, and then both players have an optimal pure strategy.[3] In the matrix below, the center entry 2 is a saddle point.
| Column 1 | Column 2 | Column 3 | Row minimum | |
|---|---|---|---|---|
| Row 1 | 4 | 1 | 6 | 1 |
| Row 2 | 3 | 2 | 5 | 2 |
| Row 3 | 0 | 1 | 7 | 0 |
| Column maximum | 4 | 2 | 7 |
The largest row minimum is 2 and the smallest column maximum is also 2. Neither player gains by moving away from row 2 and column 2.
Games without a saddle point
Many games have no saddle point, and then the two pure guarantees differ. A simple example is the game Odd or Even.[3]
- Both players call out "one" or "two" at the same time.
- Player I (Odd) wins if the sum is odd. Player II (Even) wins if the sum is even.
- The loser pays the winner the sum in dollars.
With pure strategies, Odd can only guarantee (always call "one"), while Even can only hold her loss to . The gap between and is what mixed strategies close.
Mixed strategies
A mixed strategy is a rule for picking a pure strategy at random with fixed probabilities. In Odd or Even, Odd might call "one" with probability and "two" with probability .[3] The theory assumes each player cares only about their average payoff.[3]
A mixed strategy for the row player is a list of probabilities, one per row. The set of all such lists is
The column player's mixed strategies form the set in the same way. A pure strategy is the special case that puts probability 1 on a single row or column.[3]
The players randomize independently. So the row player's average payoff, its expected value, is
where is the probability that row and column are played together.[2]
Statement of the theorem
Von Neumann's minimax theorem says that for every finite two-player zero-sum game with payoff matrix ,[2]
The left side is the best average payoff the row player can guarantee. The right side is the smallest average loss the column player can guarantee. The common number is called the value of the game, written .[2]
In plain terms the theorem makes three claims for every finite two-player zero-sum game.[3]
- There is a number , the value of the game.
- Player I has a mixed strategy whose average gain is at least , whatever Player II does.
- Player II has a mixed strategy whose average loss is at most , whatever Player I does.
Strategies that achieve these guarantees are called optimal strategies or minimax strategies, and in a finite game both players always have them.[3] A game with is called fair. A positive value favors Player I and a negative value favors Player II.[3]
What the theorem means
The two sides of the equation describe two orders of play. On the left, the row player announces a mixed strategy first and the column player answers it; on the right, the roles are swapped.[2] One would expect announcing first to be a disadvantage, but the theorem says that with optimal play it makes no difference.[2]
A game is called symmetric when for all and , so the two players face the same situation. Every finite symmetric game has value zero, and a strategy that is optimal for one player is also optimal for the other.[3]
Worked example: Odd or Even
Odd or Even shows how the value is found in a small game. Odd chooses a probability of calling "one" that makes his average payoff the same whatever Even does.[3]
- If Even calls "one", Odd's average payoff is .
- If Even calls "two", Odd's average payoff is .
- Setting these equal gives , so and .
- With , Odd's average payoff is dollar per game against either call.
A strategy that gives the same average result whatever the opponent does is called an equalizing strategy.[3] Even can use the same method. If she calls "one" with probability , her average loss is against either of Odd's calls.[3]
So the value of Odd or Even is and the game slightly favors Odd. The value lies between the pure guarantees, since .
In rock paper scissors, both sides of the theorem equal 0. A player who picks each move with probability is equally likely to win, lose, or tie against anything.[2]
Relation to Nash equilibrium
The minimax theorem is a special case of a broader result. A Nash equilibrium is a pair of strategies in which neither player can do better by changing only their own strategy. John Nash later proved that every finite game has at least one Nash equilibrium, and von Neumann's theorem is the two-player zero-sum case.[1]
In a two-player zero-sum game, a pair of optimal strategies is a Nash equilibrium, and every Nash equilibrium is such a pair, so these equilibria are also called minimax equilibria.[1] They have properties that equilibria of general games lack.
- Every equilibrium gives the row player the same payoff, which is the value .[1]
- Equilibria are interchangeable. Taking one player's strategy from one equilibrium and the other player's from another still gives an equilibrium.[4]
Proofs
The theorem has two halves. One inequality is true for any function, and the other needs the special structure of mixed strategies.
The easy half
For any function , the maximin is at most the minimax.[3] Take any and . Then
The left end does not depend on and the right end does not depend on . Taking the maximum over on the left and the minimum over on the right gives .
Proof by linear programming duality
The hard half, that the two sides are equal, follows from strong duality in linear programming.[2] The first step is to note that the player who moves second never needs to randomize. Against a fixed , the column player can simply pick the column with the lowest average payoff, so[2]
The row player's problem then becomes a linear program, an optimization with a linear goal and linear constraints.[2]
Here is the payoff the row player is sure to get, and each constraint says that column cannot push the average below . The column player's problem is the mirror image.[2]
These two linear programs are duals of each other. Strong duality says their optimal values are equal, , which is exactly the minimax theorem.[2]
Other proofs
The theorem has several other proofs, and they come from different parts of mathematics.
- Von Neumann's 1928 proof used topological methods. Harold Kuhn and Albert Tucker later described it as based on extensions of the Brouwer fixed-point theorem.[5]
- One classic proof uses the separating hyperplane theorem, which says a closed convex set and a point outside it can be split by a flat boundary.[4]
- The proof in von Neumann and Morgenstern's 1944 book is purely algebraic. Its key tool, the "theorem of the alternative for matrices", says that exactly one of two systems of linear inequalities has a solution.[5]
Computing optimal strategies
The linear programs above do more than prove the theorem. Solving them gives the value of the game and an optimal strategy for each player.[2]
Linear programs can be solved efficiently. George Dantzig invented the simplex method in 1947.[6] In 1979 Leonid Khachiyan showed that the ellipsoid method solves linear programs in polynomial time.[2] As a result, finding optimal strategies in two-player zero-sum games can be done in polynomial time.[1]
The link also runs the other way. Dantzig proposed a way to turn any linear program into a zero-sum game, but his 1951 reduction does not work for every linear program.[7] Ilan Adler gave a complete reduction in 2013, showing that the minimax theorem and strong linear programming duality are equivalent.[1]
Generalizations
Many later theorems give conditions under which holds beyond finite matrix games. They matter for games where players choose from infinitely many options, and for optimization problems that have the same form.
Sion's minimax theorem
Maurice Sion proved a widely used general version in 1958.[8] It uses two terms from topology.
- A topological vector space is a space of vectors, which can be added and scaled, with a notion of nearness that makes these operations continuous. Ordinary space is the basic example.
- A compact set is one that, in , is closed and bounded. The strategy set is an example.
Let and be convex subsets of topological vector spaces, with at least one of them compact. Let be a real-valued function on such that:[8]
- for each fixed , is upper semicontinuous and quasi-concave in , and
- for each fixed , is lower semicontinuous and quasi-convex in .
Then
Here sup and inf are the least upper bound and greatest lower bound, used because a maximum or minimum may not be reached. A function is quasi-concave when every set of the form is convex, and quasi-convex when every set is convex.
Von Neumann's theorem is a special case. The payoff is continuous and linear in each player's strategy, and the strategy sets and are compact and convex.
Why the conditions matter
The conditions cannot simply be dropped. Sion gave an example on the square in which the function is quasi-concave-convex but not upper semicontinuous in . There the sup-inf is 0 while the inf-sup is 1.[8]
Applications
The theorem is used outside game theory.
- In economics, it is the basic result of Theory of Games and Economic Behavior (1944), which von Neumann wrote with the German-born economist Oskar Morgenstern.[9] It was the first unified book on game theory.[5]
- In computer science, Yao's principle uses it to prove lower bounds on randomized algorithms. Andrew Yao introduced this approach in 1977.[10]
Yao's principle treats algorithm design as a zero-sum game in which one player picks a deterministic algorithm and the other picks an input. In the version used for query complexity, the cost is 1 if the algorithm answers wrongly and 0 otherwise.[10] By the minimax theorem, a hard random distribution of inputs for every deterministic algorithm gives a worst-case lower bound for every randomized algorithm.[10]
History
The theorem grew out of work on games in the 1920s and was reproved several times as new tools appeared.
Borel and von Neumann
The French mathematician Émile Borel published a series of notes on games from 1921 to 1927. He was the first to try to build a mathematical theory of games.[5] Von Neumann proved the minimax theorem in "Zur Theorie der Gesellschaftsspiele" (On the theory of parlor games), published in Mathematische Annalen in 1928.[5]
The historian Tinne Hoff Kjeldsen doubts that von Neumann saw the link to fixed points in 1928.[5] In a 1937 paper on an economic model, he did prove a lemma that generalizes Brouwer's fixed-point theorem and derived a saddle point result from it.[5]
Algebraic proofs
The first algebraic proof was by Jean Ville, published in 1938 as a note in Borel's treatise on probability.[5] Morgenstern found Ville's note by chance in the library of the Institute for Advanced Study. He and von Neumann then adopted a similar elementary approach for their 1944 book.[5]
Linear programming
The tie to linear programming came in the late 1940s. When Dantzig explained his new ideas on linear programming to von Neumann, von Neumann was able to outline the theory of linear programming duality on the spot.[2]
Later generalizations
Sion's general theorem of 1958 extended the result well beyond finite games, as described in the section on generalizations.[8]
References
- 6.853 Lecture 2: Two-player zero-sum games, MIT 6.853 Topics in Algorithmic Game Theory, 2019.
- CS261 Lecture 10: The Minimax Theorem and Algorithms for Linear Programming, Tim Roughgarden, Stanford University, 2016.
- Game Theory, Part II: Two-Person Zero-Sum Games, Thomas S. Ferguson, University of California, Los Angeles (lecture notes).
- Lecture 5: 2-Player Zero Sum Games, Yishay Mansour, Tel Aviv University, 2010.
- John von Neumann's Conception of the Minimax Theorem: A Journey Through Different Mathematical Contexts, Tinne Hoff Kjeldsen, Archive for History of Exact Sciences, 2001.
- George Dantzig, Encyclopaedia Britannica.
- Zero-Sum Games and Linear Programming Duality, Bernhard von Stengel, arXiv, 2022.
- On General Minimax Theorems, Maurice Sion, Pacific Journal of Mathematics, 1958.
- Oskar Morgenstern, Encyclopaedia Britannica.
- Lecture 10: Lower Bounds via Yao's Principle, MIT CSAIL (scribe notes, course of Ronitt Rubinfeld), 2019.
