Chapter 34 Discussion Guide: Chess AI
Chapter: Chess AI: From Deep Blue to AlphaZero to Modern NNUE
Opening hook (5 minutes)
Read Sam's line from the chapter's opening scene: after Deep Blue won in 1997, "everyone said chess was finished." Then write two scores on the board, without labels: 4–2 and 3½–2½. Ask: "Which of these did Deep Blue win?" Many students will assume both. Reveal: Kasparov won the 1996 match 4–2; Deep Blue won the 1997 rematch 3½–2½, and the decisive game lasted 19 moves. Twenty-nine years later, Stockfish 19 picks Deep Blue's 8.Nxe6 in that game as the best move. Hold one question for the session: what, exactly, did the machines prove — and what did they not?
Discussion questions
Tier 1 — Recall
1. What are the parts of Shannon's 1950 design that every engine still uses?
A strong answer: Represent the position and generate legal moves; look ahead through the game tree; score the leaves with an evaluation function; back up the scores assuming both sides play their best (minimax). Shannon also estimated about 10^120 possible games — to show no machine would ever search all of it.
2. What does perft test, and why isn't the start position enough?
A strong answer: perft counts legal move sequences to a fixed depth (start: 20, 400, 8,902, 197,281, 4,865,609), so it tests the move generator, not the playing strength. A generator that forgets en passant gives the right numbers from the start to depth 4 and fails in Kiwipete at depth 2.
3. What are the two outputs of AlphaZero's network?
A strong answer: A policy (which moves look promising — it steers the search) and a value (the expected result — it replaces the hand-written evaluation).
Tier 2 — Analysis
4. In Kasparov–Topalov, minimax needed 81,018 nodes at depth 3; alpha-beta with captures first needed 1,832. They give the same answer. So what was the extra work for?
Facilitator note: Get the phrase "one refutation is enough" from someone.
A strong answer: Nothing — it examined branches that could not change the result. Once one reply refutes a move, the others need not be searched. Good ordering finds refutations first, which is why ordering alone saved 3.9× at depth 3 and 8.5× at depth 4 in real OTB middlegames.
5. Without quiescence, engine_lab scores the same position +9, 0, +6, 0 at depths 1–4. Where have you made the same mistake at the board?
Facilitator note: Connect to the OTB horizon blunder (35...Rxd6? 36.Qxg7, +4.91).
A strong answer: Stopping calculation in the middle of an exchange — "I win the bishop" without seeing that the opponent doesn't recapture but takes something else. Quiescence search is the engine version of Chapter 10's advice to follow every forcing line to the end.
6. engine_lab's static evaluation correlates 0.812 with Stockfish; three plies of search raise it to 0.901, and with level material from 0.325 to 0.751. What does that say about "positional understanding"?
A strong answer: Much of what looks like positional judgment in Stockfish's number is concrete tactics a static function cannot see. Static tables added little over material (0.796 → 0.812). A little search beats a lot of static knowledge — for engines and, arguably, for club players.
7. engine_lab scored 58.3% against one-node Stockfish. Why can't we call it "a 1500"?
A strong answer: Twelve games give an interval of 32–81%; node-limited engines make different errors from humans (never missing a one-move capture, never understanding a fortress); and a rating needs many games against a calibrated pool.
Tier 3 — Debate
8. Are engines creative?
Facilitator note: Use the club dialogue. Assign sides: Sam ("it's arithmetic — a river finds the sea, too") and Dev ("nobody taught AlphaZero to push the h-pawn"). Then bring in Lena's question: "So the creativity happens when we work out the why?" Keep the discussion on definitions — novelty, surprise, understanding, explanation.
A strong answer: It depends on the definition, and the chapter's evidence cuts both ways. Self-play produced ideas no one programmed (AlphaZero's h-pawn advances; Leela's exchange sacrifice in Case Study 2). But an engine supplies a move and a number, not an explanation; 30.h5 in Caruana–Nakamura becomes a lesson only when someone works out the light squares and the missing defenders. A defensible position: engines generate novelty; understanding — the part a player can reuse — is human work.
9. "Kasparov resigned game 2 in a drawn position." Legend or fact?
Facilitator note: Show the numbers after 45.Ra6 (Black to move): 45...Qe3 is best, +0.55 at depth 20, +1.31 at depth 24, +1.11 at depth 30; everything else +5.31 or worse. In our data the record ends with 45...h5. Ask what the depth spread means.
A strong answer: The legend, checked, becomes "Black had real counterplay he did not use" — 45...Qe3 was by far the best try — but Stockfish 19 still rates White clearly better (about +1.1), not a dead draw. One should quote two or three depths and say what the engine does not settle. The legend is a useful prompt; the number is a better statement.
10. Did the 1997 match show that Deep Blue was stronger than Kasparov?
A strong answer: No. Six games is far too few for a rating claim, and Kasparov had won the 1996 match. By Stockfish 19 at depth 16 the two were broadly similar in 1997 (Deep Blue ACPL 15.8, Kasparov 19.0); Kasparov lost in his two least accurate games (44.2 and 44.9). Deep Blue's famous moves (8.Nxe6, 37.Be4) are Stockfish's first choices, but its 45.Ra6 halved its own advantage. What 1997 proved is that a machine could win such a match.
11. Was AlphaZero's 2017 win over Stockfish 8 fair?
A strong answer: Hold both points. The conditions were criticised — fixed time per move, Stockfish 8's hash size and no opening book — and the 2018 Science paper reported a larger, revised set of matches. Yet a program with no human chess knowledge, trained only by self-play, reached the top level, and its ideas (and later NNUE) reshaped engine design.
12. Elite players push the h-pawn more since 2017 (12.8% → 15.9%). Did AlphaZero teach them?
A strong answer: The rise is real (non-overlapping intervals) but the cause can't be isolated: NNUE engines, a trend already under way since the 1970s (Chapter 4), and changing collections all fit. The storming side scored 54.6% — the idea works on average when strong players choose it, which is not the same as "it works".
Small-group activity (20 minutes)
Search by hand. Give each group the Opera Game position before White's 16th move: 4kb1r/p2n1ppp/4q3/4p1B1/4P3/1Q6/PPP2PPP/2KR4 w k - 0 16.
- Static (3 min): count material and give the position a number from White's view, as engine_lab's evaluation does. (Its terms: material −100, total −86.)
- Ordering (5 min): list White's checks, captures and threats first. Did 16.Qb8+ make your list, or did 16.Qxe6+ get there first?
- Search (5 min): search 16.Qb8+ to the end. (16...Nxb8 17.Rd8#.)
- Report (7 min): the toy MCTS, whose prior loves captures, put 96% of its first 100 visits into 16.Qxe6+ and needed 6,400 simulations before 16.Qb8+ took 73% of visits; alpha-beta found mate at depth 3 in 4,142 nodes. Which method resembled your group's process? What does a strong player's intuition — AlphaZero's learned policy — add?
Exit ticket
- In one sentence each: what does quiescence search fix, and what does alpha-beta save?
- Give the correct results of the 1996 and 1997 Kasparov–Deep Blue matches.
- Name one engine idea you will use in your own calculation this week, and how.