7 Extensive-form games
A normal-form game lists complete strategies and their payoffs. An extensive-form game also describes who moves when, what the players have observed, and which random events are involved in the game. These distinctions matter even in a game with only a handful of actions: responding to an observed move might lead to a different decision than responding to a move that remains hidden.
In this lecture we solve equilibria only in the perfect-information part. The remaining parts develop the models and strategy representations needed for the next lecture on solving extensive-form games.
7.1 Perfect information
7.1.1 Trees, histories, and contingent plans
A history is a sequence of actions of players from the root of a game tree to a node. The empty history \(\varnothing\) is the root; \(ha\) denotes history \(h\) followed by action \(a\). A terminal history ends the game and carries a payoff vector; in the game tree, it corresponds to a leaf of the tree. At every other node, the tree specifies the acting player and the available actions. In a extensive-form game of perfect information, a player knows the entire preceding history whenever it is their turn. Examples include chess, Go, checkers, and tic-tac-toe.
A pure strategy specifies an action at every decision node of the player, including nodes that will not be reached under that strategy. For the bargaining game,
\[ S_1=\{0,1,2\},\qquad S_2=\{a,r\}^3. \]
Write player 2’s strategy as \(s_2=(s_2(0),s_2(1),s_2(2))\in S_2\). For example, \(aar\) accepts the first two proposals and rejects the last. Thus, Player 2 has two available actions at each node but eight pure strategies. Specifying only the response to the proposal that actually occurs does not specify a complete strategy.
The induced normal form of this extensive-form game has these complete plans as its strategies. For each profile, follow the prescribed actions down the tree and use the terminal payoff. Here the payoffs are
\[ u^{\mathrm{NF}}(k,s_2)= \begin{cases} (k,2-k),&s_2(k)=a,\\ (0,0),&s_2(k)=r. \end{cases} \]
This gives a \(3\times8\) normal-form game. The same construction was used for the Alice–Bob game in Section 1.6.
7.1.2 Nash equilibrium and non-credible threats
A Nash equilibrium of the extensive-form game is defined as a Nash equilibrium of its induced normal form.
For example, consider the profile \((0,arr)\) in the game above. Player 1 proposes to keep nothing and player 2 accepts, so the payoffs are \((0,2)\). If player 1 changes the proposal to \(1\) or \(2\), player 2’s fixed plan rejects it, still leaving player 1 with \(0\). Player 2 already receives the largest available payoff at the reached node. Thus neither player has a profitable deviation, which means that \((0,arr)\) is a Nash equilibrium.
However, after proposal \(1\), player 2’s plan rejects a coin. If that node were reached, accepting would give \(1\) instead of \(0\). The instruction is called a non-credible threat. This example shows that Nash equilibrium alone does not require a best response at a node that the equilibrium never reaches.
Subgame perfection also tests behavior away from the realized path. It is clear that every SPE is a Nash equilibrium. In the example, the profile \((0,arr)\) fails the stronger requirement in the subgame following proposal \(1\), so it is a Nash equilibrium that is not an SPE.
7.1.3 Backward induction
Backward induction chooses optimal actions from the leaves of the tree toward the root. Keep a continuation payoff vector at each node:
- At a terminal node, use its payoff vector.
- At a node of player \(i\), choose a successor whose continuation payoff is largest for player \(i\). Record that action and pass its whole payoff vector to the parent.
- Continue until the root is reached. Retain the choices at every decision node, including those outside the resulting play path.
In the bargaining game, player 2 accepts proposals \(0\) and \(1\), since \(2>0\) and \(1>0\). At proposal \(2\), acceptance and rejection both give player 2 zero. Choosing rejection there gives the plan \(aar\); player 1 then chooses \(1\), obtaining \(1\) rather than \(0\). This yields the SPE \((1,aar)\). Choosing acceptance at the tie instead gives \(aaa\), and player 1 chooses \(2\), yielding the SPE \((2,aaa)\).
Proof idea. At the last decision nodes, choose a best action. Inductively, suppose the continuation profiles already form equilibria in their subgames. No player can improve within those continuations, and the player moving at the current node chooses a best continuation. The resulting profile is therefore an equilibrium in this larger subgame. Repeat to the root. \(\square\)
For a fixed number of players, one traversal takes time linear in the size of the explicit tree, which can be enormously large. When several actions give the moving player the same maximal continuation payoff, different tie-breaking choices may produce different subgame-perfect equilibria. For two-player zero-sum games, maximizing the moving player’s payoff is the familiar alternating maximization and minimization of minimax.
Although full-tree backward induction is infeasible for large board games, search and evaluation can achieve superhuman play: Deep Blue defeated Kasparov in chess (1997) (Campbell et al. 2002), AlphaGo Zero mastered Go through self-play (2017) (Silver et al. 2017), and AlphaZero outperformed leading programs in chess, shogi, and Go (2018) (Silver et al. 2018). Superhuman performance does not imply a mathematical solution. By contrast, checkers was weakly solved in 2007: the initial position is provably a draw under optimal play (Schaeffer et al. 2007).
7.1.4 Chance nodes
A chance node represents a random event, such as a die roll or a card deal. At a history \(h\) where chance moves, let \(A(h)\) be the set of possible chance outcomes (or, equivalently, actions). Each action \(a\in A(h)\) occurs with a prescribed probability \(\pi_c(a\mid h)\), where
\[ \pi_c(a\mid h)\geq 0,\qquad \sum_{a\in A(h)}\pi_c(a\mid h)=1. \]
Chance has no preferences and does not choose a strategy. Its probabilities are part of the rules of the game and are known to the players. Chance is compatible with perfect information if each player knows all preceding player actions and chance outcomes whenever it is their turn to act. For example, publicly observed dice rolls in backgammon introduce randomness without hiding the preceding history.
Even a pure strategy profile \(\mathbf s=(s_1,\ldots,s_n)\) can therefore lead to several terminal histories. Let \(p_{\mathbf s}(z)\) be the probability of reaching terminal history \(z\) under \(\mathbf s\). To compute it, follow the path from the root to \(z\). At a player node, the prescribed action has probability \(1\) and every other action has probability \(0\); at a chance node, use the probability on the corresponding edge. Multiply these probabilities along the path. The chance probabilities are conditional on reaching their respective nodes, and no independence assumption is needed.
Let \(Z\) be the set of terminal histories and \(u_i(z)\) player \(i\)’s utility at terminal history \(z\). The utility of the strategy profile in the induced normal form is the expected utility:
\[ u_i^{\mathrm{NF}}(\mathbf s)=\sum_{z\in Z}p_{\mathbf s}(z)u_i(z). \]
In all our game diagrams, diamonds labelled \(c\) denote chance nodes.
Backward induction can also be applied to games with chance moves. At a chance node, take the probability-weighted average of the successor payoff vectors. At a player node, choose the successor that maximizes that player’s own payoff and carry its whole payoff vector backward. In this example:
- The lower chance node has expected payoffs \(\frac14(0,4)+\frac12(4,2)+\frac14(8,0)=(4,2)\). Player 1 therefore chooses \(e\) over \(f\), since \(4>3\).
- The upper chance node then has expected payoffs \(\frac12(2,2)+\frac12(4,2)=(3,2)\). On the other branch, player 2 chooses \(c\) over \(d\), since \(3>1\), giving \((1,3)\).
- At the root, player 1 chooses \(b\) over \(a\), since \(3>1\). The resulting subgame-perfect equilibrium is \(((b,e),c)\), with expected payoffs \((3,2)\).
7.2 Imperfect information
The game tree records everything that has happened. A player may see only part of it. In poker, the actual history includes both players’ cards, while a player sees their own card and the public betting history. Two different histories can therefore look identical to the player who must act.
7.2.1 Histories and what a player observes
We will further assume that:
- The collection \(\mathcal I_i\) is a partition of the histories of player \(i\).
- For every information set \(I\in \mathcal I_i\), any history \(h\in I\) has the same set of available actions, denoted \(A(I)\).
- A pure strategy of player \(i\) prescribes the same action at every history in \(I\in \mathcal I_i\).
Perfect information means all information sets are singletons. A game has imperfect information if some information set contains more than one history. In our diagrams of game trees, a dashed link joins nodes in one information set.
7.2.2 Extensive-form game with imperfect information
The definition of an extensive-form game with imperfect information requires specifying the game tree, information partitions, and payoffs (Shoham and Leyton-Brown 2008, chap. 5). We use the following notation throughout the rest of the chapter.
| Component | Meaning |
|---|---|
| \(N=\{1,\ldots,n\}\) | Players |
| \(c\) | Chance |
| \(H\) | Set of histories, containing \(\varnothing\) and every prefix of each history |
| \(Z\subseteq H\) | Terminal histories |
| \(P\colon H\setminus Z\to N\cup\{c\}\) | Acting player or chance \(c\) |
| \(A(h)=\{a:ha\in H\}\) | Available actions at a nonterminal history |
| \(\pi_c(\cdot\mid h)\in\Delta(A(h))\) | Commonly known chance probabilities |
| \(u_i:Z\to\mathbb R\) | Player \(i\)’s utility function |
In contrast with chance moves in perfect-information games, players may know the probabilities of chance outcomes without observing which outcome occurred. For example, a player may know how cards are shuffled and dealt without seeing an opponent’s card. Such hidden outcomes give rise to imperfect information.
7.2.3 Encoding a normal-form game as a tree
Start with the matching-pennies:
\[ \begin{array}{c|cc} & H & T \\ \hline H & 1, -1 & -1, 1 \\ T & -1, 1 & 1, -1 \end{array} \]
Player 1 chooses \(H\) or \(T\). Player 2 then chooses \(H\) or \(T\) without observing player 1’s choice. Player 1 receives \(1\) when the choices match and \(-1\) otherwise; player 2 receives the opposite payoff. The two decision nodes of player 2 form one information set.
Player 2 has one information set and two pure strategies, \(H\) and \(T\). The instruction “choose \(T\) after \(H\) and \(H\) after \(T\)” is unavailable: it would condition on an unobserved choice. The induced normal form is exactly the matrix above.
If we remove the dashed link and make the game into a perfect-information game, player 2 observes the first move and has four pure strategies, \(HH,HT,TH,TT\). The distinction lies in observation, even though the actions and terminal payoffs have stayed the same.
More generally, encode any finite normal-form game by letting the players choose in a fixed order, while hiding all earlier choices from every later player. Each player then has one information set, and each terminal history receives the payoff of the corresponding normal-form profile. This representation preserves the strategies and payoffs of the original simultaneous game.
7.2.4 Subgames must respect information
With imperfect information, a subtree is a subgame only if it starts at a singleton information set (or a chance node), includes all descendants, and does not cut any information set: whenever it contains one node of an information set, it contains all its nodes.
For example, neither player 2 node in hidden-move matching pennies can start a subgame. Starting at just one would reveal the first move, changing the information available to player 2. Subgame perfection remains a well-defined concept, but it cannot justify solving these two nodes separately. We defer equilibrium analysis for imperfect-information games to the next lecture.
7.3 Poker
7.3.1 A basic poker endgame
Both players ante one chip. Chance gives player 1 a winning card \(W\) with probability \(1/4\) or a losing card \(L\) with probability \(3/4\). Only player 1 sees the card; player 2 receives no card. Player 1 may check, ending in a showdown, or bet two more chips. After a bet, player 2 may fold or call by adding two chips. Payoffs are net gains, including the ante: checking gives player 1 gain \(+1\) with \(W\) and \(-1\) with \(L\); a fold gives player 1 gain \(+1\); a call gives player 1 gain \(+3\) with \(W\) and \(-3\) with \(L\). Player 2 receives the opposite payoff (Ferguson 2000, sec. 5.2).
Player 1 has two singleton information sets: one for \(W\) and one for \(L\). Player 2 has a single information set after a bet. The four pure strategies for player 1 prescribe check or bet separately for each card. Player 2’s two pure strategies are fold and call.
Betting with \(L\) is a bluff: the card would lose at showdown, but a fold still produces a positive payoff.
7.3.2 Kuhn poker
Kuhn introduced this game in A Simplified Two-Person Poker (Kuhn 1950). Kuhn poker adds a private card for each player and a second opportunity for player 1 to act. It is small enough to describe completely while retaining bluffing, hidden information, and decisions that depend on earlier betting.
Two players each ante one chip. A deck contains three cards, the ranking from lowest to highest is \(J<Q<K\). Each player receives one private card, uniformly without replacement; the remaining card is unused. Player 1 may check or bet one chip. After a check, player 2 may check or bet one chip. A player facing a bet may fold or call by adding one chip; there are no raises. Two checks or a call lead to a showdown, won by the higher card. A fold awards the pot to the other player. The winner’s net gain is one chip after two checks or a fold, and two chips after a called bet. The loser loses the same amount.
Let \(x\) be player 1’s card and \(y\) player 2’s. We represent the deal as one chance outcome
\[ (x,y)\in\{(J,Q),(J,K),(Q,J),(Q,K),(K,J),(K,Q)\}, \]
where each \((x,y)\) has the probability \(1/6\).
Write \(c\) for check, \(b\) for bet, \(f\) for fold, and \(\ell\) for call. For every deal there are exactly five terminal betting sequences:
| Betting sequence | Outcome | Player 1’s net gain |
|---|---|---|
| \(cc\) | Showdown without a bet | \(w\) |
| \(bf\) | Player 2 folds | \(+1\) |
| \(b\ell\) | Player 2 calls | \(2w\) |
| \(cbf\) | Player 1 folds | \(-1\) |
| \(cb\ell\) | Player 1 calls | \(2w\) |
Here \(w=1\) if \(x>y\) and \(w=-1\) if \(x<y\); player 2 receives the negative of player 1’s payoff.
Figure 7.6 is the betting tree for one fixed deal. The full game contains six copies of this continuation, connected by information sets across deals. There are \(6\cdot5=30\) terminal histories. The complete game tree appears in Figure 7.8; see also (Schmid 2025).
7.3.3 Information sets in Kuhn poker
Each information set is identified by the acting player’s own card and the public betting history. The other card remains hidden. For example, player 1 holding \(Q\) initially cannot distinguish the deals \((Q,J)\) and \((Q,K)\). After checking and facing a bet, those same two deals again form an information set, but a different one: the player remembers having checked and having seen a bet.
The full information structure can be specified as follows:
| Player | Information set | Histories | Actions |
|---|---|---|---|
| 1 | \(I_1(x,\varnothing)\) | \(\{(x,y)\mid y\ne x\}\) | \(c,b\) |
| 1 | \(I_1(x,cb)\) | \(\{(x,y,c,b)\mid y\ne x\}\) | \(f,\ell\) |
| 2 | \(I_2(y,c)\) | \(\{(x,y,c)\mid x\ne y\}\) | \(c,b\) |
| 2 | \(I_2(y,b)\) | \(\{(x,y,b)\mid x\ne y\}\) | \(f,\ell\) |
Each row represents three information sets, one for each possible own card. Thus each player has six information sets, with two histories and two actions in each.
In the last diagram, player 2 holds \(Q\) and faces a bet. Against \(J\), calling wins two chips; against \(K\), calling loses two chips. The player cannot choose a different response at those two nodes.
The complete game tree is depicted below. Nodes with the same purple tag belong to the same information set. In each tag, the card after the colon is the acting player’s own card: O denotes player 1’s opening decision, R their response after check–bet, C player 2’s decision after a check, and B their response to a bet. Thus, for example, the two nodes tagged B:Q form \(I_2(Q,b)\).
7.4 Pure, mixed, and behavioral strategies
7.4.1 Pure and mixed strategies
For extensive-form games with imperfect information, a player is allowed to select only one action at each information set. Thus, the set of pure strategies of player \(i\) becomes
\[ S_i=\bigtimes_{I\in\mathcal I_i}A(I). \]
Specifically, a pure strategy \(s_i\in S_i\) selects a single action \(s_i(I)\in A(I)\) for every information set \(I\in\mathcal I_i\). A mixed strategy is a probability distribution \(p_i\in\Delta(S_i)\) over player \(i\)’s pure strategies. Before play begins, one pure strategy is sampled according to \(p_i\), and the player then follows this complete plan throughout the game.
For Kuhn poker, each player has \(2^6=64\) pure strategies. For player 1, a strategy specifies an opening decision for each of \(J,Q,K\) and a response to check–bet for each card. Even if it always bets with \(K\), it must prescribe what to do after checking with \(K\) and facing a bet. The full induced normal form would be \(64\times64\) matrix, where each cell averages over the six possible deals.
7.4.2 Behavioral strategies
Under a mixed strategy, a player randomly selects a pure strategy before play begins and follows its prescribed actions throughout the game. We now consider a natural alternative: randomizing over the available actions at each information set during play.
When information set \(I\) is reached, player \(i\) draws an action from that distribution, independently of the random draws used at other decisions. The same distribution applies at every history in \(I\).
In Kuhn poker, a behavioral strategy for player 1 consists of six probabilities: the probability of betting with each card at the opening, and the probability of calling with each card after check–bet. One probability determines the other action’s probability at each two-action information set. For example, prescribing a call probability of \(1/3\) at \(I_2(Q,b)\) means calling with probability \(1/3\) both at \((J,Q,b)\) and at \((K,Q,b)\).
In the table we summarize the properties of the three types of strategies discussed above.
| Strategy | What is randomized? | Size for one player of Kuhn-poker |
|---|---|---|
| Pure | Nothing | 6 actions |
| Mixed | A pure strategy before play | 63 free probabilities |
| Behavioral | An action when an information set is reached | 6 free probabilities |
7.4.3 Evaluating a behavioral profile
Let \(I(h)\) denote the information set containing a decision history \(h\). Given a profile of behavioral strategies \(\boldsymbol\beta=(\beta_1,\dots,\beta_n)\), define
\[ q_{\boldsymbol\beta}(a\mid h)= \begin{cases} \pi_c(a\mid h),&P(h)=c,\\ \beta_{P(h)}(a\mid I(h)),&P(h)\in N, \end{cases} \]
for every \(a\in A(h)\). The probability of reaching a history is the product of the probabilities along its path. For a terminal history \(z\), this becomes
\[ \mathrm{Pr}_{\boldsymbol\beta}(z) =\prod_{ha\preceq z}q_{\boldsymbol\beta}(a\mid h), \] where \(ha\preceq z\) means that \(ha\) is a prefix of \(z\). The expected utility of player \(i\) under a behavioral profile \(\boldsymbol \beta\) is \[ U_i(\boldsymbol\beta) =\sum_{z\in Z}\mathrm{Pr}_{\boldsymbol\beta}(z)\cdot u_i(z). \]
For example, suppose player 1 bets with \(J\) with probability \(1/4\) and player 2 calls with \(Q\) after an opening bet with probability \(1/3\). Then
\[ \Pr(J,Q,b,\ell)=\frac16\cdot\frac14\cdot\frac13=\frac1{72}. \]
At that terminal history, player 1 loses two chips, so its contribution to \(U_1\) is \(-2/72=-1/36\). Other terminal histories provide the remaining terms.
7.5 Perfect recall and Kuhn’s theorem
We have introduced two ways to randomize in extensive-form games: selecting a pure strategy randomly before play begins (mixed strategy), or randomizing over actions during play (behavioral strategy). Each approach induces a distribution over terminal histories and hence an expected utility for every player. Can every distribution induced by one approach also be obtained using the other? In general, the answer is no. Perfect recall is the key condition that guarantees their equivalence.
7.5.1 Remembering one’s own decisions
Imperfect information means that a player cannot distinguish some histories when choosing an action. The concept of imperfect recall means that a player has forgotten something they previously knew or an action they previously took.
The condition requires the same sequence of the player’s own past information sets and actions. It does not require the complete histories, opponents’ hidden actions, or unobserved chance outcomes to coincide. For example, Kuhn poker has perfect recall: a player retains their card and the betting history, including their own choices.
In a perfect-information game, every information set is a singleton. Hence any two histories in the same information set are identical and have the same sequence of the player’s earlier information sets and actions. Thus every perfect-information game has perfect recall.
7.5.2 What the equivalence theorem says
A behavioral strategy and a mixed strategy of player \(i\) are realization-equivalent if replacing one with the other leaves the probability of every terminal history unchanged, regardless of the strategies chosen by the other players.
In particular, all players’ expected utilities are preserved. Kuhn’s theorem justifies representing strategies locally without losing the outcomes available from mixed strategies. With two actions at each of \(m\) information sets, a mixed strategy has \(2^m-1\) free probabilities, whereas a behavioral strategy has \(m\). This reduction is essential for computation.
Why perfect recall helps? Starting with a behavioral strategy, independently pre-sample an action for every information set. This produces a distribution over pure strategies with the same path probabilities. In the other direction, start with a mixed strategy and, at each information set, condition its next prescribed action on the player’s own remembered earlier actions. Perfect recall makes that remembered sequence identical at every node in the information set, so the conditional prescription is well defined. If the conditioning event has probability zero under the player’s own strategy, the local distribution can be chosen arbitrarily.
7.5.3 Why the recall assumption is necessary
One player chooses \(A\) or \(B\). Choosing \(B\) immediately ends the game with payoff \(0\). Choosing \(A\) leads to another decision: \(A\) now gives payoff \(1\), while \(B\) gives payoff \(4\). The two decision nodes belong to the same information set: the player cannot tell whether this is the first or second visit.
At the second node the player has forgotten the first visit and their own action \(A\), so perfect recall fails: two different histories \(\varnothing\) and \(A\) reaching \(I_1\) have different recall sequences, \(\varnothing\) and \(((I_1,A))\).
There are only two pure strategies: choose \(A\) or \(B\) at \(I_1\). In particular, any mixed strategy assigns probability zero to history \(AB\). Under a behavioral strategy, the player chooses \(A\) with probability \(q\) and \(B\) with probability \(1-q\) each time they act. If the first choice is \(A\), the player randomizes again at the second node, independently of the first choice. This means that the same information set can be visited twice during one play: it contains both the first decision node and the node reached after choosing \(A\). It gives terminal probabilities \(1-q\) for \(B\), \(q^2\) for \(AA\), and \(q(1-q)\) for \(AB\). In particular, the history \(AB\) has positive probability for \(0<q<1\), which no mixed strategy can achieve.
7.6 Why finding equilibria becomes harder
A Nash equilibrium of an extensive-form game with perfect information is a Nash equilibrium of its induced normal-form game. For an imperfect-information game with perfect recall, Kuhn’s theorem allows us to express this condition directly using behavioral strategies.
A unilateral deviation may change a player’s prescribed behavior at any or all information sets, while the other players’ strategies remain fixed. Nash equilibrium is therefore well-defined under imperfect information. However, decisions at nodes in the same information set must use the same action distribution, preventing the independent optimization used in backward induction. Pure-strategy equilibria may also fail to exist, as illustrated by the extensive-form representation of matching pennies in Section 7.2.3.
These obstacles call for methods that respect information sets. The next lecture develops sequence form and counterfactual regret minimization.