Simple Algorithm
Reinforcement Learning · Fixed Point · 28 min

Zero-Sum Markov Games

Shapley’s theorem, minimax-Q, and why two-player zero-sum games are tractable.

Two-player zero-sum Markov games are the corner of multi-agent RL where single-agent theory survives almost intact: there is a unique value, Bellman-style backups contract, and Q-learning has a convergent analogue. This lesson proves why, pins down exactly where the argument breaks for general-sum games, and surveys what is known about learning these games from samples and with policy gradients, where making the last iterate converge is the hard part.

What you’ll learn

  • State Shapley's theorem precisely, run Shapley value iteration by hand on a stopping game, and explain why turn-based games are easier yet still not known to be in P.
  • Prove that minimax-Q converges by casting it as stochastic approximation of a contraction, and bound what a maximin policy for an approximate QQ guarantees.
  • Show that Nash payoffs of a general-sum stage game can jump under arbitrarily small perturbations, and explain the consequences for Nash-Q and value iteration.
  • State the known sample-complexity bounds for zero-sum Markov games with a generative model and in self-play, and identify their gaps.
  • Prove the duality-gap bound for entropy-regularized (quantal response) equilibria, and explain two-timescale and optimistic policy methods with last-iterate guarantees.

Shapley's theorem, and a stopping game by hand

Throughout, player 1 (actions a∈Aa\in\mathcal A, A=∣A∣A = \abs{\mathcal A}) maximizes and player 2 (b∈Bb\in\mathcal B, B=∣B∣B = \abs{\mathcal B}) minimizes the discounted sum of rewards r(s,a,b)∈[0,1]r(s,a,b)\in[0,1], with SS states and discount γ<1\gamma<1. For V:S→RV:\mathcal S\to\R the stage game at ss is the matrix QV(s,⋅,⋅)Q_V(s,\cdot,\cdot) with entries r(s,a,b)+γ∑s′P(s′∣s,a,b)V(s′)r(s,a,b)+\gamma\sum_{s'}P(s'\mid s,a,b)V(s'), and val⁡(M)=max⁡x∈ΔAmin⁡y∈ΔBx⊤My\operatorname{val}(M)=\max_{\mathbf x\in\Delta_A}\min_{\mathbf y\in\Delta_B}\mathbf x^\top M\mathbf y.

The proof needs one fact about matrix games: ∣val⁡M−val⁡M′∣≤max⁡a,b∣Mab−Mab′∣\abs{\operatorname{val}M-\operatorname{val}M'}\le\max_{a,b}\abs{M_{ab}-M'_{ab}}, because every payoff x⊤My\mathbf x^\top M\mathbf y moves by at most the largest entry change and max–min preserves that bound. Stage games of VV and V′V' differ entrywise by at most γ∥V−V′∥∞\gamma\norm{V-V'}_\infty, so T\mathcal T contracts, and Banach's theorem does the rest; optimality follows because, once player 1 fixes a stationary maximin policy, player 2 faces an ordinary MDP whose optimal value is V⋆V^\star. Everything below leans on that 1-Lipschitz property of val⁡\operatorname{val}.

DerivationValue iteration on a stopping game
  1. QV=(10γV1+γV)(rows: stop, continue; columns: L, R)Q_V=\begin{pmatrix}1&0\\ \gamma V&1+\gamma V\end{pmatrix}\qquad(\text{rows: stop, continue; columns: L, R})

    One non-terminal state. Each round player 1 either stops (the game ends after this round's reward) or continues; player 2 simultaneously picks L or R. Rewards: stop-and-L pays 1, stop-and-R pays 0, continue-and-L pays 0, continue-and-R pays 1. With the continuation value VV the stage game is

  2. (TV)=val⁡QV=1+γV2(\mathcal TV)=\operatorname{val}Q_V=\frac{1+\gamma V}{2}

    For 0≤γV<10\le\gamma V<1 there is no saddle point (the best pure guarantee, γV\gamma V, is below the best pure cap, 1), so both players mix. Player 2 is indifferent when player 1 stops with probability pp such that p+(1−p)γV=(1−p)(1+γV)p+(1-p)\gamma V=(1-p)(1+\gamma V), i.e. p=12p=\tfrac12 for every VV. Player 1 is indifferent when player 2 plays L with probability qq such that q=qγV+(1−q)(1+γV)q=q\gamma V+(1-q)(1+\gamma V), i.e. q=1+γV2q=\tfrac{1+\gamma V}{2}, which is also the value:

  3. V1=0.5,V2=1+0.452=0.725,V3=1+0.65252=0.82625,…V_1=0.5,\qquad V_2=\tfrac{1+0.45}{2}=0.725,\qquad V_3=\tfrac{1+0.6525}{2}=0.82625,\qquad\dots

    Iterate from V0=0V_0=0 with γ=0.9\gamma=0.9. The first stage game is matching pennies in disguise:

  4. V⋆=12−γ=11.1≈0.909V^\star=\frac{1}{2-\gamma}=\frac{1}{1.1}\approx0.909

    The fixed point solves V=(1+γV)/2V=(1+\gamma V)/2. The error shrinks by γ/2=0.45\gamma/2=0.45 per sweep here, faster than the worst-case factor γ\gamma: V⋆−Vk=0.909, 0.409, 0.184, 0.083,…V^\star-V_k=0.909,\ 0.409,\ 0.184,\ 0.083,\dots Player 2's equilibrium mix does depend on the continuation value: L with probability V⋆V^\star.

Predict before you look

In the same stopping game with γ=0.5\gamma=0.5, what is the value V⋆V^\star?

Show the answer

0.67

V⋆=1/(2−γ)=1/1.5=23≈0.67V^\star=1/(2-\gamma)=1/1.5=\tfrac23\approx0.67. Player 1 still stops with probability ½ every round; a more patient player 1 (γ\gamma near 1) can almost guarantee 1 in total, because continuing is cheap when the future counts.

Turn-based games, where in every state only one player chooses, are a useful special case: each stage game is solved by a max or a min, so optimal strategies are pure and stationary and value iteration is literally MDP value iteration with alternating max and min. For a fixed discount factor, strategy iteration even solves them in strongly polynomial time (Hansen, Miltersen & Zwick, 2013). Yet Condon's (1992) simple stochastic games, the undiscounted reachability version, are only known to be in NP ∩ coNP, and whether they can be solved in polynomial time is open, while the corresponding one-player problem, an MDP, is a linear program. Two-player zero-sum is tractable in the sense that matters for learning, but not trivially so.

Minimax-Q, and why it converges

Minimax-Q (Littman, 1994) is Q-learning with the max replaced by a matrix-game value. It keeps Q(s,a,b)Q(s,a,b) over joint actions and, after observing (s,a,b,r,s′)(s,a,b,r,s'), updates

Q(s,a,b)←(1−α) Q(s,a,b)+α[r+γval⁡Q(s′,⋅,⋅)]Q(s,a,b)\leftarrow(1-\alpha)\,Q(s,a,b)+\alpha\Big[r+\gamma\operatorname{val}Q(s',\cdot,\cdot)\Big]
Each update solves one A×BA\times B linear program. Player 1 acts with the maximin strategy of Q(s,⋅,⋅)Q(s,\cdot,\cdot), mixed with exploration; player 2's actions are observed but may come from anything, including a human.
DerivationProof: a contraction plus martingale noise
  1. Qt+1(zt)=(1−αt) Qt(zt)+αt[(HQt)(zt)+wt],wt=Rt+1+γval⁡Qt(St+1)−(HQt)(zt)Q_{t+1}(z_t)=(1-\alpha_t)\,Q_t(z_t)+\alpha_t\big[(HQ_t)(z_t)+w_t\big],\qquad w_t=R_{t+1}+\gamma\operatorname{val}Q_t(S_{t+1})-(HQ_t)(z_t)

    Write z=(s,a,b)z=(s,a,b) and define the expected backup (HQ)(z)=r(z)+γ∑s′P(s′∣z)val⁡Q(s′)(HQ)(z)=r(z)+\gamma\sum_{s'}P(s'\mid z)\operatorname{val}Q(s'). The update at the visited ztz_t is a noisy step toward it:

  2. Given the past, St+1∼P(⋅∣zt)S_{t+1}\sim P(\cdot\mid z_t), so E[wt∣Ft]=0\E[w_t\mid\mathcal F_t]=0; with bounded rewards, E[wt2∣Ft]≤C (1+∥Qt∥∞2)\E[w_t^2\mid\mathcal F_t]\le C\,(1+\norm{Q_t}_\infty^2). The noise is a martingale difference whose variance grows at most quadratically.

  3. ∣(HQ)(z)−(HQ′)(z)∣≤γ∑s′P(s′∣z) ∣val⁡Q(s′)−val⁡Q′(s′)∣≤γ∥Q−Q′∥∞\abs{(HQ)(z)-(HQ')(z)}\le\gamma\sum_{s'}P(s'\mid z)\,\big|\operatorname{val}Q(s')-\operatorname{val}Q'(s')\big|\le\gamma\norm{Q-Q'}_\infty

    HH is a γ\gamma-contraction in ∥⋅∥∞\norm{\cdot}_\infty, by the 1-Lipschitz property of val⁡\operatorname{val}:

  4. The asynchronous stochastic-approximation theorem for contractions (Jaakkola, Jordan & Singh, 1994; Tsitsiklis, 1994) now applies exactly as for Q-learning: under the step-size and visitation conditions, QtQ_t converges almost surely to the unique fixed point of HH. That fixed point satisfies Q⋆(z)=r(z)+γ∑s′P(s′∣z)V⋆(s′)Q^\star(z)=r(z)+\gamma\sum_{s'}P(s'\mid z)V^\star(s') with V⋆=val⁡Q⋆V^\star=\operatorname{val}Q^\star, Shapley's value. ■\blacksquare

  5. Szepesvári and Littman's theorem is more general: any "summary" operator that is a non-expansion in the max norm (max, min, a fixed average, val⁡\operatorname{val}) gives a convergent Q-learning-style algorithm. The same template fails the moment the summary operator is not a non-expansion, which is exactly what happens next.

DerivationProof
  1. (TxV⋆)(s)=min⁡yx(s)⊤Q⋆(s) y ≥ min⁡yx(s)⊤Q(s) y−ε=val⁡Q(s)−ε ≥ val⁡Q⋆(s)−2ε=V⋆(s)−2ε(\mathcal T_{\mathbf x}V^\star)(s)=\min_{\mathbf y}\mathbf x(s)^\top Q^\star(s)\,\mathbf y\ \ge\ \min_{\mathbf y}\mathbf x(s)^\top Q(s)\,\mathbf y-\varepsilon=\operatorname{val}Q(s)-\varepsilon\ \ge\ \operatorname{val}Q^\star(s)-2\varepsilon=V^\star(s)-2\varepsilon

    Against the fixed stationary x\mathbf x, player 2 faces an MDP; its optimal (worst-for-player-1) value WW is the fixed point of (TxV)(s)=min⁡yx(s)⊤QV(s,⋅,⋅) y(\mathcal T_{\mathbf x}V)(s)=\min_{\mathbf y}\mathbf x(s)^\top Q_V(s,\cdot,\cdot)\,\mathbf y, a monotone γ\gamma-contraction. Since QV⋆=Q⋆Q_{V^\star}=Q^\star and entries of QQ and Q⋆Q^\star differ by at most ε\varepsilon:

  2. W ≥ V⋆−2ε1−γ 1■W\ \ge\ V^\star-\frac{2\varepsilon}{1-\gamma}\,\mathbf 1\qquad\blacksquare

    Tx\mathcal T_{\mathbf x} is monotone and satisfies Tx(V−c1)=TxV−γc1\mathcal T_{\mathbf x}(V-c\mathbf 1)=\mathcal T_{\mathbf x}V-\gamma c\mathbf 1, so by induction TxkV⋆≥V⋆−2ε(1+γ+⋯+γk−1)1\mathcal T_{\mathbf x}^kV^\star\ge V^\star-2\varepsilon(1+\gamma+\dots+\gamma^{k-1})\mathbf 1. Let k→∞k\to\infty:

This is the sense in which minimax-Q is safe: its policy guarantees nearly the value against anyone. It is not exploitative. In Littman's small grid-soccer experiments, each learned policy was frozen and a challenger was trained by Q-learning to beat it. The policies learned by ordinary Q-learning, which are deterministic, never won a game against their challengers, while minimax-Q's policies still won 35–37.5% of decisive games, short of the break-even that an exact minimax policy guarantees but far from helpless. Against the random opponent it was trained on, though, the Q-learner completed the most games and won nearly all of them. Which property you want depends on whether you trust your model of the opponent.

General-sum games: where the construction breaks

The obvious generalization replaces val⁡\operatorname{val} by an equilibrium of each player's stage game: Nash-Q (Hu & Wellman, 2003) keeps Qi(s,a)Q_i(s,\mathbf a) for every player and backs up ri+γ Nashi(Q1(s′),…,QN(s′))r_i+\gamma\,\mathrm{Nash}_i\big(Q_1(s'),\dots,Q_N(s')\big), player ii's payoff in an equilibrium of the stage game at s′s'. Two things go wrong. A stage game can have several equilibria with different payoffs, and all players must select the same one. Worse, even a unique equilibrium payoff need not depend continuously on the stage game.

DerivationNash payoffs are not Lipschitz
  1. A=(10001),B=(0δ0δ)(rows U, D; columns L, R)A=\begin{pmatrix}10&0\\0&1\end{pmatrix},\qquad B=\begin{pmatrix}0&\delta\\0&\delta\end{pmatrix}\qquad(\text{rows U, D; columns L, R})

    Take a 2×2 stage game where player 2's payoff does not depend on player 1 at all, and a small number δ\delta decides player 2's preference:

  2. lim⁡δ↑0Nash1=10 ≠ 1=lim⁡δ↓0Nash1\lim_{\delta\uparrow0}\mathrm{Nash}_1=10\ \ne\ 1=\lim_{\delta\downarrow0}\mathrm{Nash}_1

    If δ<0\delta<0, L strictly dominates for player 2 and player 1's best response is U: the unique equilibrium is (U, L), paying player 1 ten. If δ>0\delta>0, R dominates and the unique equilibrium is (D, R), paying player 1 one:

  3. An estimation error of size ∣δ∣\abs\delta, however small, in player 2's Q-values moves player 1's backup target by 9. No bound of the form ∣Nash1(M)−Nash1(M′)∣≤L∥M−M′∥\abs{\mathrm{Nash}_1(M)-\mathrm{Nash}_1(M')}\le L\norm{M-M'} can hold, so no contraction argument is available. In a zero-sum game this cannot happen: there B=−AB=-A, and val⁡\operatorname{val} is 1-Lipschitz.

Hu and Wellman proved convergence only under strong conditions on every stage game met during learning, roughly that each has a global optimum or each has a saddle point, used consistently by all players; their own experiments showed failures when a game had several equilibrium Q-functions. Littman's Friend-or-Foe Q (2001) converges by declaring each opponent a friend (back up a joint max) or a foe (back up val⁡\operatorname{val}), which yields equilibria only in those two special cases.

The obstruction is not just technical. Zinkevich, Greenwald and Littman (2005) constructed general-sum Markov games in which existing variants of value iteration cannot find a stationary equilibrium, and reinterpreted their output as cyclic equilibria, a non-stationary concept. Stationary equilibria exist (Fink, 1964), but the Q-values of a general-sum game do not pin them down, and the Fixed Point lesson The Complexity of Equilibria shows that computing even a stationary coarse correlated equilibrium of a general-sum Markov game is intractable. Two-player zero-sum is where value-based multi-agent RL has a firm footing.

Check your understanding

Which property of the zero-sum backup is missing from Nash-Q's backup in general-sum games, and blocks the convergence proof?

  1. Rewards are no longer bounded
  2. The backup is no longer a non-expansion: an equilibrium payoff of the stage game can jump under an arbitrarily small change in the Q-values
  3. Stage games no longer have equilibria
  4. The discount factor no longer shrinks errors
Show the answer

B. The backup is no longer a non-expansion: an equilibrium payoff of the stage game can jump under an arbitrarily small change in the Q-values

Minimax-Q's proof uses only that val⁡\operatorname{val} is 1-Lipschitz in the max norm. A selected Nash payoff can jump, as in the 10-versus-1 example, so the expected backup need not be a contraction, and selection among multiple equilibria adds a coordination problem on top.

How many samples does a zero-sum Markov game need?

Minimax-Q converges, but how fast? Two settings are standard. With a generative model the learner may sample S′∼P(⋅∣s,a,b)S'\sim P(\cdot\mid s,a,b) for any triple it likes, and the question is how many samples give an ε\varepsilon-approximate equilibrium. In online self-play the two players must actually play episodes of horizon HH from the start state, so exploration is part of the problem; the question is how many episodes it takes to output an ε\varepsilon-Nash policy pair.

SettingAlgorithmBound (up to log factors)
Generative model, turn-basedVariance-reduced Q-value iteration (Sidford, Wang, Yang & Ye, 2020)(1−γ)−3ε−2(1-\gamma)^{-3}\varepsilon^{-2} samples per state–action pair: the single-agent MDP rate, optimal
Generative model, simultaneous movesPlug-in model: estimate P^\hat P, solve the empirical game (Zhang, Kakade, Başar & Yang, 2020)SAB (1−γ)−3ε−2SAB\,(1-\gamma)^{-3}\varepsilon^{-2} samples for the value (for ε\varepsilon-Nash policies with a smooth planning oracle), optimal among reward-agnostic methods; general lower bound S(A+B)(1−γ)−3ε−2S(A+B)(1-\gamma)^{-3}\varepsilon^{-2}
Episodic self-playOptimistic Nash Q-learning (Bai, Jin & Yu, 2020)H5SAB/ε2H^5SAB/\varepsilon^2 episodes
Episodic self-playNash V-learning (Bai, Jin & Yu, 2020)H6S(A+B)/ε2H^6S(A+B)/\varepsilon^2 episodes
Episodic self-playLower boundΩ(H3S(A+B)/ε2)\Omega\big(H^3S(A+B)/\varepsilon^2\big) episodes
For simultaneous moves, anything that estimates a value per joint action pays ABAB; the lower bounds only charge A+BA+B, what each player would pay for its own actions in an MDP.
Think first Single-agent RL explores with optimism: upper confidence bounds on values. What plays the role of optimism when two players learn a zero-sum game together?

Each player is optimistic for itself. The algorithms keep an upper confidence bound Q‾\overline Q (optimistic for the maximizer) and a lower bound Q‾\underline Q (optimistic for the minimizer), and act on equilibria of the corresponding stage games. The gap V‾−V‾\overline V-\underline V at the start state is a certificate: once it is below ε\varepsilon, the output policies form an ε\varepsilon-Nash pair, because each bound holds against any response of the opponent. Exploration is driven exactly where the two bounds disagree.

Nash V-learning escapes the joint action space by never forming Q(s,a,b)Q(s,a,b). At each step and state, each player runs an adversarial bandit algorithm over its own actions (the opponent's adaptation is the "adversary"), and both maintain only optimistic state values. Neither player needs to observe the other's actions, so the method is decentralized. The price is the output: a mixture of history-dependent policies assembled from the bandit learners' iterates, not a single Markov policy, plus a worse power of HH. Avoiding the product ∏iAi\prod_iA_i is called breaking the curse of multiagency; the same idea learns coarse correlated equilibria of general-sum games with many players (The Complexity of Equilibria).

Policy gradients and the last iterate

Deep multi-agent systems rarely run minimax-Q; both players run policy-gradient methods such as PPO, independently. Two difficulties appear. First, simultaneous gradient play rotates around equilibria even in matching pennies, so only time averages converge; averaging neural policies means storing or distilling every past network, which self-play systems avoid when they can. Second, a game's value is neither convex nor concave in the policy parameters across states. The target is therefore last-iterate convergence: the policies themselves, not their averages, should approach an equilibrium.

Two timescales. Daskalakis, Foster and Golowich (2020) studied independent policy gradient in episodic two-player zero-sum stochastic games, each player seeing only the state, its own actions and its rewards. If one player's step size is much smaller than the other's, the fast player keeps tracking a best response and the slow one effectively descends on its worst-case value, a function without the rotational part. The policies then converge to an approximate min–max equilibrium with polynomially many samples. The authors note that the two-timescale rule is necessary, since equal-rate gradient play can cycle even in matrix games, and that removing it would likely require new analysis techniques.

Regularize, then solve fast. Adding entropy makes the problem strongly concave–convex, which gives a unique and stable target.

DerivationProof
  1. Existence and uniqueness. fτf_\tau is continuous on the product of simplices, τ\tau-strongly concave in x\mathbf x and τ\tau-strongly convex in y\mathbf y (entropy is 1-strongly concave in the ℓ1\ell_1 norm). Sion's minimax theorem gives a saddle point, and strict concavity–convexity makes it unique. Maximizing x⊤Ayτ+τH(x)\mathbf x^\top A\mathbf y_\tau+\tau\mathcal H(\mathbf x) over the simplex gives the softmax (the Gibbs variational principle), and likewise for y\mathbf y.

  2. x⊤Ayτ ≤ xτ⊤Ayτ+τ(H(xτ)−H(x)) ≤ xτ⊤Ayτ+τlog⁡m\mathbf x^\top A\mathbf y_\tau\ \le\ \mathbf x_\tau^\top A\mathbf y_\tau+\tau\big(\mathcal H(\mathbf x_\tau)-\mathcal H(\mathbf x)\big)\ \le\ \mathbf x_\tau^\top A\mathbf y_\tau+\tau\log m

    The gap. Because xτ\mathbf x_\tau maximizes fτ(⋅,yτ)f_\tau(\cdot,\mathbf y_\tau), every x\mathbf x satisfies x⊤Ayτ+τH(x)≤xτ⊤Ayτ+τH(xτ)\mathbf x^\top A\mathbf y_\tau+\tau\mathcal H(\mathbf x)\le\mathbf x_\tau^\top A\mathbf y_\tau+\tau\mathcal H(\mathbf x_\tau). Entropy lies in [0,log⁡m][0,\log m], so

  3. max⁡xx⊤Ayτ−min⁡yxτ⊤Ay ≤ τ(log⁡m+log⁡n)■\max_{\mathbf x}\mathbf x^\top A\mathbf y_\tau-\min_{\mathbf y}\mathbf x_\tau^\top A\mathbf y\ \le\ \tau(\log m+\log n)\qquad\blacksquare

    Symmetrically, yτ\mathbf y_\tau minimizes fτ(xτ,⋅)f_\tau(\mathbf x_\tau,\cdot), so every y\mathbf y satisfies xτ⊤Ay≥xτ⊤Ayτ−τlog⁡n\mathbf x_\tau^\top A\mathbf y\ge\mathbf x_\tau^\top A\mathbf y_\tau-\tau\log n. Take the max over x\mathbf x in the first inequality, the min over y\mathbf y in the second, and subtract:

So it suffices to reach the QRE quickly and to choose τ≈ε/(log⁡m+log⁡n)\tau\approx\varepsilon/(\log m+\log n). Cen, Wei and Chi (2021) showed that extragradient-style multiplicative updates, in which each player uses only its own payoffs, converge to the QRE at a linear rate, nearly independent of the numbers of actions and states, in matrix games and in entropy-regularized zero-sum Markov games; annealing the regularization yields an approximate Nash equilibrium at a sublinear rate, without assuming a unique equilibrium. Later work made such guarantees single-loop and decentralized: Wei, Lee, Zhang and Luo (2021) run optimistic gradient descent–ascent in every state with a slowly updated critic, which converges in the last iterate under self-play and still learns a best response against a stationary opponent; Cen, Chi, Du and Xiao (2023) combine entropy-regularized optimistic multiplicative updates with a slower value update and obtain linear last-iterate convergence to the QRE.

The common recipe is three ingredients: optimism or extrapolation to cancel the rotation of simultaneous play, regularization to make the target unique and stable, and separated timescales so that values look nearly stationary to the policies. The Fixed Point lesson Learning Dynamics in Games shows the first ingredient at work in matrix games.

Key takeaways

  • Shapley's operator, a matrix-game value inside a Bellman backup, is a γ\gamma-contraction because val⁡\operatorname{val} is 1-Lipschitz; its fixed point is the value from every state, attained by stationary policies.
  • Minimax-Q is stochastic approximation of that contraction and converges almost surely under the usual conditions; a maximin policy of an ε\varepsilon-accurate QQ guarantees V⋆−2ε/(1−γ)V^\star-2\varepsilon/(1-\gamma) against every opponent.
  • In general-sum games a stage game's Nash payoff can jump under an arbitrarily small perturbation, so Nash-Q-style backups are not contractions, and value iteration can fail to find stationary equilibria.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

Each player of a 2×2 zero-sum matrix game plays its entropy-regularized equilibrium (QRE) strategy with temperature τ=0.1\tau=0.1. By the bound τ(log⁡m+log⁡n)\tau(\log m+\log n), how far from a Nash equilibrium can the pair be, measured by its duality gap?

  1. About 0.069
  2. 0: the QRE is a Nash equilibrium
  3. Exactly 0.1
  4. About 0.139
Show the answer

D. About 0.139

τ(log⁡2+log⁡2)=0.1×1.386≈0.139\tau(\log2+\log2)=0.1\times1.386\approx0.139. Each player's entropy bonus is worth at most τlog⁡(number of actions)\tau\log(\text{number of actions}), and the proof adds the two players' slack. As τ→0\tau\to0 the QRE approaches a Nash equilibrium.

Question 2

In episodic two-player zero-sum Markov games, Nash V-learning needs O~(H6S(A+B)/ε2)\tilde O\big(H^6S(A+B)/\varepsilon^2\big) episodes while optimistic Nash Q-learning needs O~(H5SAB/ε2)\tilde O\big(H^5SAB/\varepsilon^2\big). What explains the difference in the action dependence?

  1. V-learning uses a generative model
  2. V-learning keeps only state values and runs an adversarial bandit algorithm over each player's own actions, so nothing is indexed by joint actions
  3. V-learning assumes the opponent plays a fixed policy
  4. V-learning computes exact best responses
Show the answer

B. V-learning keeps only state values and runs an adversarial bandit algorithm over each player's own actions, so nothing is indexed by joint actions

Q-learning over joint actions must estimate SABSAB numbers per step. V-learning's per-state bandit learners only weight their own actions, so its complexity scales with A+BA+B, matching the lower bound Ω(H3S(A+B)/ε2)\Omega\big(H^3S(A+B)/\varepsilon^2\big) up to a factor of H3H^3.

Question 3

Daskalakis, Foster and Golowich (2020) prove that independent policy gradient converges to a min–max equilibrium in two-player zero-sum stochastic games when the players use two timescales. What is the role of the second timescale?

  1. One player learns much faster and tracks a best response, so the slower player effectively descends on its worst-case loss, which removes the rotation that makes equal-rate gradient play cycle
  2. It averages the policies over time, as in fictitious play
  3. It lets both players share gradients
  4. It is a technical artifact: equal step sizes converge just as well
Show the answer

A. One player learns much faster and tracks a best response, so the slower player effectively descends on its worst-case loss, which removes the rotation that makes equal-rate gradient play cycle

With equal rates, simultaneous gradient play rotates around the equilibrium even in matching pennies. Separating the timescales turns the problem into minimizing max⁡π1Vπ1,π2\max_{\pi_1}V^{\pi_1,\pi_2} over π2\pi_2, a function without that rotational part. The authors note that the separation is necessary, because equal-rate gradient play can cycle.

Further reading

  • M. L. Littman, "Markov games as a framework for multi-agent reinforcement learning," ICML (1994).
  • C. Szepesvári & M. L. Littman, "A unified analysis of value-function-based reinforcement-learning algorithms," Neural Computation 11(8), 2017–2060 (1999).
  • Y. Bai, C. Jin & T. Yu, "Near-optimal reinforcement learning with self-play," NeurIPS (2020).
  • C. Daskalakis, D. J. Foster & N. Golowich, "Independent policy gradient methods for competitive reinforcement learning," NeurIPS (2020).
  • S. Cen, Y. Wei & Y. Chi, "Fast policy extragradient methods for competitive games with entropy regularization," NeurIPS (2021).