Algorithm Search⌘K

Definitioncore

Extensive-form game

Also called extensive game, game in extensive form.

A game given by a tree of moves with chance nodes, payoffs at the leaves and information sets that group the nodes a player cannot tell apart.

An extensive-form game is a game written as a rooted tree: each inner node is a move of one player or of chance, each leaf carries a payoff for every player, and the information sets group the nodes that a player cannot tell apart when it is their turn. It keeps the order of the moves and what each player knows at each move, which the normal form forgets. This page gives the general model of game theory with any number of players and any payoffs; the game tree page treats the search tree of two-player games in game-playing programs, and imperfect-information games treats hidden information from the side of game-playing algorithms such as counterfactual regret minimization.

Definition

A finite extensive-form game Γ\Gamma has these parts (Kuhn 1953).

  • A finite set of players N={1,…,n}N = \{1, \ldots, n\}.
  • A finite rooted tree. Its nodes are the histories hh, the sequences of actions from the root, and its leaves are the terminal histories z∈Zz \in Z. The edges out of an inner node hh are labelled with the actions A(h)A(h), and each label appears once at hh.
  • A player function PP that gives each inner node either a player P(h)∈NP(h) \in N or chance, P(h)=cP(h) = c.
  • For each chance node hh, a fixed probability distribution pc(⋅∣h)p_c(\cdot \mid h) on A(h)A(h). All players know these probabilities.
  • For each player ii, a partition Ii\mathcal{I}_i of the nodes with P(h)=iP(h) = i into information sets. Two nodes in the same set II have the same actions, written A(I)A(I). When the play reaches a node of II, player ii knows that it is in II and nothing more.
  • For each player ii, a payoff function ui:Z→Ru_i : Z \to \mathbb{R}, which the player maximizes in expectation.

The game has perfect information if every information set has one node. Then each player sees all earlier moves, as in chess, and the tree is a perfect-information game.

Strategies. A pure strategy of player ii chooses an action at every information set of ii: si(I)∈A(I)s_i(I) \in A(I) for all I∈IiI \in \mathcal{I}_i. It is a full plan, and it also names moves at information sets that the plan itself never reaches. The set of pure strategies is Si=∏I∈IiA(I)S_i = \prod_{I \in \mathcal{I}_i} A(I). A mixed strategy σi\sigma_i is a probability distribution on SiS_i, as on mixed strategy. A behavior strategy bib_i gives a distribution bi(I)∈Δ(A(I))b_i(I) \in \Delta(A(I)) at each information set, with independent draws at different sets.

Outcomes and payoffs. A profile of behavior strategies b=(b1,…,bn)b = (b_1, \ldots, b_n) reaches the leaf zz with the probability

Pb(z)=∏ha⊑zπ(h,a),π(h,a)={pc(a∣h)if P(h)=c,bi(I(h))(a)if P(h)=i,P_b(z) = \prod_{h a \sqsubseteq z} \pi(h, a), \qquad \pi(h, a) = \begin{cases} p_c(a \mid h) & \text{if } P(h) = c, \\ b_i(I(h))(a) & \text{if } P(h) = i, \end{cases}

where the product runs over the edges (h,a)(h, a) on the path from the root to zz and I(h)I(h) is the information set of hh. A pure strategy is a behavior strategy with all its mass on one action at each set. A mixed profile σ\sigma reaches zz with the probability Pσ(z)=∑s∏iσi(si) Ps(z)P_\sigma(z) = \sum_{s} \prod_i \sigma_i(s_i)\, P_s(z). The expected payoff of player ii is ui(σ)=∑z∈ZPσ(z) ui(z)u_i(\sigma) = \sum_{z \in Z} P_\sigma(z)\, u_i(z), and in the same way for bb.

The induced normal form. The extensive game defines a normal-form game with the strategy sets SiS_i and the payoffs ui(s)=∑zPs(z)ui(z)u_i(s) = \sum_z P_s(z) u_i(z). A Nash equilibrium of Γ\Gamma is a Nash equilibrium of this game. Two pure strategies that differ only at information sets that both of them make unreachable give the same outcome against every profile of the others. If we merge them, we get the reduced normal form.

Size. The tree has ∣Z∣|Z| leaves and fewer than ∣Z∣|Z| inner nodes when every inner node has at least two actions. The normal form has ∣Si∣=∏I∣A(I)∣|S_i| = \prod_{I} |A(I)| strategies for player ii, which is exponential in the number of information sets. A player with kk information sets and two actions at each has 2k2^k pure strategies. For this reason, algorithms for extensive games work on the tree. With perfect recall, Kuhn's theorem shows that behavior strategies, which need only ∑I∣A(I)∣\sum_I |A(I)| numbers, lose nothing. The sequence form then gives a strategy representation of size linear in the tree.

Examples and non-examples

An entry game. Player 1 chooses Out, which ends the game with payoffs (0,2)(0, 2), or In. After In, player 2 chooses Fight, with payoffs (−1,−1)(-1, -1), or Accommodate, with payoffs (1,1)(1, 1). Each player has one information set with one node, so the game has perfect information. The normal form is a 2 by 2 game with the pure equilibria (Out, Fight) and (In, Accommodate). Only the second is a subgame perfect equilibrium, since Fight is a threat that player 2 would not carry out after In.

Matching pennies as a tree. Player 1 chooses Heads or Tails, then player 2 chooses Heads or Tails without seeing the first choice. The two nodes of player 2 form one information set, so player 2 has two pure strategies, not four. Player 1 gets 1 if the coins match and −1-1 if not. The tree gives the same normal form as the simultaneous game. So the extensive form can express moves made at the same time, by an information set that hides the earlier move.

Counting strategies. In a game where player 1 moves at the root with 2 actions and then moves again after each action, each time with 2 actions, player 1 has 3 information sets (one at the root and two singletons below it) and 23=82^3 = 8 pure strategies. Each pure strategy reaches only one of the two lower nodes, so the reduced normal form has 4 strategies: the root action and one action at the node it leads to. A behavior strategy needs 3 numbers, one probability per binary choice.

A chance move. In a card game, chance deals a high or a low card to player 1 with probability 1/21/2 each, player 1 sees the card and bets or folds, and player 2 sees the bet but not the card. The two nodes of player 2 after a bet form one information set. A game of this type in which chance picks the private information is also a Bayesian game written as a tree (Harsanyi 1967).

Non-example: a payoff that depends on a strategy. An extensive game assigns payoffs to leaves, that is, to what happened. A game in which a player is paid for what they would have done at a node that was not reached cannot be written in this form.

Non-example: an infinite game. A game with infinitely long plays, such as a repeated game without a last round, or with a continuum of actions, such as a bid in [0,1][0, 1], is not a finite extensive game. The definition extends to these cases, but Kuhn's results and the counting above are for finite trees.

  • Information set and perfect recall. The information set is the unit at which a player chooses. Perfect recall is the condition that no player forgets their own earlier moves or what they knew; most algorithms need it.
  • Subgame. The part of the tree below a node hh is a subgame if hh is alone in its information set and every information set that meets the part lies inside it. Subgame perfection and trembling-hand perfection refine Nash equilibrium for extensive games.
  • Perfect-information game. Every information set is a singleton. Backward induction then gives a pure equilibrium (Zermelo's theorem for win, lose and draw games).
  • Stochastic game. A game played over states with moves repeated at each state, not a finite tree (stochastic game, Markov game).
  • Normal form. Every finite normal-form game is an extensive game with one information set per player and no player seeing another player's move.

References

  1. Harold W. Kuhn, Extensive games and the problem of information, pp. 193 to 216 (the general extensive game with chance moves and information sets, pure and behavior strategies)
  2. Martin J. Osborne and Ariel Rubinstein, A Course in Game Theory, MIT Press, 1994, Chapter 6 (extensive games with perfect information) and Chapter 11 (extensive games with imperfect information)
  3. Michael Maschler, Eilon Solan and Shmuel Zamir, Game Theory, Cambridge University Press, 2013, the chapter on extensive-form games (game trees, information sets, strategies and the strategic form of a tree)
  4. Yoav Shoham and Kevin Leyton-Brown, Multiagent Systems, Algorithmic, Game-Theoretic, and Logical Foundations, Cambridge University Press, 2009, Chapter 5 (games with sequential actions, the extensive form)

Where this leads

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/CHA01F/text.yaml