Algorithm Search⌘K

Definitionadvanced

Sequence form

Also called Koller-Megiddo-von Stengel sequence form, realization plan.

Represents a strategy in an extensive-form game with perfect recall by the probabilities of its action sequences, with linear constraints.

The sequence form is a way to write the strategies of a player in a game tree with imperfect information and perfect recall as vectors that satisfy a small system of linear equations. Instead of a probability for each pure strategy, of which there can be exponentially many, a player has one variable for each sequence of own moves on a path of the tree, and the expected payoff is bilinear in the two players' vectors. This page is the representation. The sequence-form linear program is the algorithm that uses it to solve two-player zero-sum games, and the same vectors give a linear complementarity problem for games that are not zero-sum.

Definition

Take a finite two-player extensive-form game with chance moves. Player ii has a set HiH_i of information sets, and A(h)A(h) is the set of actions at h∈Hih \in H_i. A sequence of player ii is the list of the (information set, action) pairs of player ii on the path from the root to some node, in order. The empty sequence ∅\emptyset belongs to every player. The sequence σha\sigma_h a is the sequence σh\sigma_h that leads to hh, followed by action aa at hh.

Perfect recall means that all nodes of an information set hh of player ii have the same sequence of player ii, which is then written σh\sigma_h. Then the set of sequences of player ii is

Si={∅}∪{σha:h∈Hi, a∈A(h)},∣Si∣=1+∑h∈Hi∣A(h)∣,S_i = \{\emptyset\} \cup \{\sigma_h a : h \in H_i,\ a \in A(h)\}, \qquad |S_i| = 1 + \sum_{h \in H_i} |A(h)|,

which is at most one more than the number of edges out of the nodes of player ii.

A realization plan of player 1 is a vector x∈RS1x \in \mathbb{R}^{S_1} with

x(∅)=1,x(σh)=∑a∈A(h)x(σha)  for every h∈H1,x≥0.x(\emptyset) = 1, \qquad x(\sigma_h) = \sum_{a \in A(h)} x(\sigma_h a) \ \text{ for every } h \in H_1, \qquad x \ge 0 .

In matrix form this is Ex=eE x = e, x≥0x \ge 0, where EE has one row for ∅\emptyset and one row for each information set, and e=(1,0,…,0)e = (1, 0, \ldots, 0). Realization plans yy of player 2 are Fy=fF y = f, y≥0y \ge 0 in the same way. The number x(σ)x(\sigma) is the probability that player 1 plays all the moves of σ\sigma, when the other player and chance let the play get there.

Payoffs. For a leaf ℓ\ell with payoffs u1(ℓ)u_1(\ell), u2(ℓ)u_2(\ell) and chance probability c(ℓ)c(\ell), the product of the chance probabilities on its path, let σ1(ℓ)\sigma_1(\ell) and σ2(ℓ)\sigma_2(\ell) be the sequences of the two players that lead to it. The sequence payoff matrices are

A(σ1,σ2)=∑ℓ:σ1(ℓ)=σ1, σ2(ℓ)=σ2c(ℓ) u1(ℓ),A(\sigma_1, \sigma_2) = \sum_{\ell : \sigma_1(\ell) = \sigma_1,\ \sigma_2(\ell) = \sigma_2} c(\ell)\, u_1(\ell),

and BB the same with u2u_2. Most entries are 0, and the number of nonzero entries is at most the number of leaves. The expected payoffs are xTAyx^{\mathsf T} A y and xTByx^{\mathsf T} B y.

Relation to the other strategy forms. A behavior strategy β\beta, which gives a distribution β(h,⋅)\beta(h, \cdot) at each information set, has the realization plan x(σ)=∏(h,a)∈σβ(h,a)x(\sigma) = \prod_{(h, a) \in \sigma} \beta(h, a). A mixed strategy μ\mu over pure strategies has the realization plan x(σ)=∑μ(π)x(\sigma) = \sum \mu(\pi) over the pure strategies π\pi that choose every move of σ\sigma. Under perfect recall:

  • every vector that satisfies the constraints is the realization plan of some behavior strategy, given by β(h,a)=x(σha)/x(σh)\beta(h, a) = x(\sigma_h a) / x(\sigma_h) when x(σh)>0x(\sigma_h) > 0, and by any distribution when x(σh)=0x(\sigma_h) = 0;
  • two strategies with the same realization plan give the same expected payoffs against every strategy of the other player (they are realization equivalent).

These two facts are the sequence-form version of Kuhn's theorem on behavioral strategies.

Examples and non-examples

  • A small game. Player 1 plays LL, which ends the game with payoff 1, or RR. After RR, player 2 picks aa or bb, and then player 1 picks cc or dd without seeing that choice. Payoffs to player 1 (the game is zero-sum) are 3 after RacR a c, 0 after RadR a d and RbcR b c, and 2 after RbdR b d. The sequences are S1={∅,L,R,Rc,Rd}S_1 = \{\emptyset, L, R, Rc, Rd\} and S2={∅,a,b}S_2 = \{\emptyset, a, b\}, and the constraints of player 1 are
x(∅)=1,x(∅)=x(L)+x(R),x(R)=x(Rc)+x(Rd).x(\emptyset) = 1, \qquad x(\emptyset) = x(L) + x(R), \qquad x(R) = x(Rc) + x(Rd).

The nonzero entries of AA are A(L,∅)=1A(L, \emptyset) = 1, A(Rc,a)=3A(Rc, a) = 3 and A(Rd,b)=2A(Rd, b) = 2. The behavior strategy "play RR, then cc with probability 2/52/5" has the realization plan x=(1,0,1,2/5,3/5)x = (1, 0, 1, 2/5, 3/5). Player 1 has 4 pure strategies (LcLc, LdLd, RcRc, RdRd), 3 in the reduced normal form, where LcLc and LdLd are the same, and 5 sequences.

  • Exponentially many pure strategies. If chance first picks one of kk cases and player 1 then chooses between two actions in a separate information set for each case, player 1 has 2k2^k pure strategies and only 1+2k1 + 2k sequences.
  • Kuhn poker. Each player has 6 information sets with 2 actions each, so 13 sequences and 26=642^6 = 64 pure strategies.
  • Not a realization plan. In the small game, x=(1,0,1,1/2,1/4)x = (1, 0, 1, 1/2, 1/4) violates x(R)=x(Rc)+x(Rd)x(R) = x(Rc) + x(Rd). So does any vector that puts weight on RcRc while x(R)=0x(R) = 0.
  • No perfect recall. If player 1 moves LL or RR and then reaches one information set hh after both, the nodes of hh have the sequences (L)(L) and (R)(R), so σh\sigma_h is not defined. The sequence form does not apply, and mixed and behavior strategies are no longer equivalent.
  • Reduced normal form. Pure strategies that differ only at information sets that they themselves make unreachable are merged. The sequence form is often exponentially smaller even than the reduced normal form.
  • Polytope of realization plans. The set {x:Ex=e,x≥0}\{x : E x = e, x \ge 0\} is a polytope, sometimes called a treeplex. Its vertices are the realization plans of the pure strategies of the reduced normal form.
  • Sequence-form LP and LCP. For a zero-sum game, max⁡xmin⁡yxTAy\max_x \min_y x^{\mathsf T} A y over the two polytopes is one LP, by LP duality on the inner problem (sequence-form linear program). For a general two-player game, the equilibrium conditions are an LCP of size linear in the tree, solved by a variant of Lemke's algorithm.
  • Counterfactual regret minimization. CFR works with behavior strategies at the information sets and updates them locally. Its average strategy has to be taken in the sequence form, weighted by the realization probabilities.

References

  1. Daphne Koller, Nimrod Megiddo and Bernhard von Stengel, Efficient computation of equilibria for extensive two-person games, Games and Economic Behavior 14(2) (1996), 247-259, sequences, realization plans as the solutions of linear constraints, the sequence payoff matrices, and the LP and LCP built on them
  2. Efficient computation of behavior strategies, the sequence form in detail, realization plans and their relation to behavior strategies
  3. Reduction of a game with complete memory to a matrix game, an earlier form of the same idea for zero-sum games with perfect recall
  4. Noam Nisan, Tim Roughgarden, Éva Tardos and Vijay V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 3 (Bernhard von Stengel, Equilibrium computation for two-player games in strategic and extensive form), the sections on extensive games and the sequence 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/PT7YP8/text.yaml