Notes on lecture 15 of 24 · Game Theory, Yale
Backward Induction: Chess, Strategies, and Credible Threats
Importance for the course: high — it explains why some games get boring fast while others live for centuries, and why AI and story must not rest on empty threats.
The gist in plain words
In tic-tac-toe, checkers and chess, with perfect players the outcome is decided in advance: a win for the first player, a draw or a win for the second. It’s just that in chess nobody can compute that answer: there are too many variations. And one more thing: a threat is worth believing only if carrying it out pays the one who makes it.
What happened in the lecture
- Nim: you can tell from the starting piles who will win. This is a special case of Zermelo’s theorem. If there are two players, each sees all past moves, the game is finite, and the outcomes are “win, draw, loss”, then either the first player can force a win, or at least a draw, or the second player can force a win.
- A vote on tic-tac-toe: most people correctly answered “a draw”. Checkers has a solution (Polak had heard it was recently solved), and so does chess. The catch: the theorem doesn’t say what it is.
- The proof is by induction: a long game consists of a first move and shorter games. Replace each short game with its result, and the first player chooses the best one.
- A game with rocks. The rocks are laid out in a rectangle. A chosen rock is removed along with all those above it and to its right. Whoever takes the last rock loses. They played on 5×3 and 4×5 boards, and both games came down to an “L-shape”. The assignment: find the solution for any board. A hint: it is useful to remember that a solution exists.
- A strategy: a complete plan of what the player will do at each of their nodes, even ones play never reaches.
- An example: player 1 chooses U or D, player 2 L or R, then player 1 once more u or d. Player 1 has four strategies, not three. Backward induction gives (Dd, R). But the 4×2 table has a second Nash equilibrium, (Du, R), with the silly move u. It is “forgiven” because play never gets there.
- The entry game. A monopolist earns 3 million a year. If a newcomer enters the market, the monopolist fights (newcomer −1, monopolist 0) or shares the market (1 each). There are two Nash equilibria: “enters, no fight” and “stays out, because there would be a fight”. The second rests on a non-credible threat: fighting doesn’t pay the monopolist itself. Examples: Bill Gates’s threats to the maker of a new operating system, a visit from the head of Boeing.
- A student noticed that the monopolist can punish one entrant to scare off the rest. That is the topic of the next lecture.
Key concepts
- Zermelo’s theorem — a finite two-player game with perfect information has a solution: with best play by both, the outcome is decided in advance.
- Perfect information — at the moment of moving, a player knows everything that happened before.
- Pure strategy — a complete plan of action at all of your nodes, including those play will never reach.
- Non-credible threat — a threat that doesn’t pay to carry out when the time comes. A Nash equilibrium can rest on it; backward induction throws it out.
Takeaways for game makers
- Depth lives where a solution exists but can’t be found. Tic-tac-toe is solved, so adults find it boring. Chess has a solution too, but the tree is huge. Can an experienced player calculate your game to the end? If so, it will soon die. Cures: a big tree, hidden information, chance.
- An AI opponent is built on backward induction. The minimax algorithm evaluates positions from the end, as in Zermelo’s proof. In a small game such an AI is unbeatable and therefore boring. Limit how deep it calculates and add “human” mistakes.
- A strategy means a plan for every case. An AI and a quest must know what to do even in an “impossible” situation. Players will get there, and a branch nobody thought through will become a bug or an exploit.
- Characters’ threats must be credible. If a villain threatens to burn a village and does nothing, the player stops believing any threats. Carry them out, or make carrying them out pay the one who threatens. In the board game Diplomacy deals are not binding, and the whole game is about which promises to believe.
A mini-game for a lesson
“Poisoned chocolate” (the rock game from the lecture). 2 players, a sheet of graph paper, 10 minutes.
- Draw a rectangle of squares. The bottom-left square is poisoned.
- On your turn, cross out any square and all the squares above it and to its right. Whoever crosses out the poisoned one loses.
- Play on 2×4, 3×3 and 4×5 boards, taking turns at who starts.
- What to notice: every board has an answer in advance, you just can’t see it. On a square board the first player wins: cross out the square diagonally next to the poisoned one, which leaves an L-shape with equal arms, then mirror your opponent’s moves. The L-shape works like the two-pile Nim from the last lecture. On a 4×5 board the first player can win too, but finding how is hard. That is what depth is.
- In the browser: a computer that never makes mistakes. Is it fun to play against?
Mistakes and misconceptions
- “Chess has no solution, so it is interesting.” It has a solution, but it can’t be computed: the tree is beyond human capacity.
- “A strategy describes only what the player did.” No, it is a plan for all branches, even unplayed ones.
- “Any Nash equilibrium works as a prediction.” Some rest on threats that nobody would want to carry out.
- “A loud threat works by itself.” What works is a threat that pays to carry out, or one backed by reputation.
For advanced readers
- Ernst Zermelo (1913) wrote about chess. Harold Kuhn (1953) proved that in any finite game of perfect information, backward induction gives an equilibrium in pure strategies.
- Solved games: tic-tac-toe (a draw), Connect Four (1988, the first player wins), English checkers 8×8 (Schaeffer and colleagues, 2007, a draw; this does not apply to Russian draughts). In chess, endgames with up to 7 pieces are fully calculated (the Lomonosov tablebases, 2012).
- The rock game is known as Chomp (David Gale, 1974). A “strategy-stealing” argument proves that on any board larger than 1×1 the first player wins. How exactly, in general, is unknown.