Algorithm Search⌘K

Theoremcore

No-regret convergence to coarse correlated equilibria

Also called Hannan consistency theorem.

When all players have external regret o(T), the empirical distribution of play converges to the set of coarse correlated equilibria.

This theorem connects online learning with equilibria. If every player of a repeated game chooses its moves so that its external regret grows more slowly than the number of rounds TT, then the time average of the joint play is an approximate coarse correlated equilibrium, and the error goes to 0. The proof is a few lines: the regret condition and the equilibrium condition are the same inequality, written once for a sequence and once for its average. With multiplicative weights, the average is an ε\varepsilon-coarse correlated equilibrium after O(log⁡k/ε2)O(\log k / \varepsilon^2) rounds, so coarse correlated equilibria are easy to compute and to reach by simple behavior, unlike Nash equilibria. The theorem gives the convergence of no-regret dynamics, and together with the smoothness framework it gives price of anarchy bounds for the outcomes of learning.

Statement

A finite game has players 1,…,n1, \ldots, n, finite strategy sets S1,…,SnS_1, \ldots, S_n, and utilities ui:S1×⋯×Sn→[−1,1]u_i : S_1 \times \cdots \times S_n \to [-1, 1], which the players maximize. In rounds t=1,…,Tt = 1, \ldots, T, the play is a distribution πt\pi^t on the set of profiles. The usual cases are the product πt=σ1t×⋯×σnt\pi^t = \sigma_1^t \times \cdots \times \sigma_n^t of the mixed strategies that the players choose, or the point mass on the profile sts^t that is actually played. The external regret of player ii is

Ri(T)=max⁡a∈Si∑t=1TEs∼πt ui(a,s−i)−∑t=1TEs∼πt ui(s),R_i(T) = \max_{a \in S_i} \sum_{t=1}^{T} \mathbb{E}_{s \sim \pi^t}\, u_i(a, s_{-i}) - \sum_{t=1}^{T} \mathbb{E}_{s \sim \pi^t}\, u_i(s),

the gain that the best fixed strategy would have had over the actual play, against the same moves of the others. The empirical distribution is πˉT=1T∑t=1Tπt\bar\pi_T = \frac{1}{T} \sum_{t=1}^T \pi^t. A distribution π\pi on profiles is an ε\varepsilon-coarse correlated equilibrium if Es∼π ui(s)≥Es∼π ui(a,s−i)−ε\mathbb{E}_{s \sim \pi}\, u_i(s) \ge \mathbb{E}_{s \sim \pi}\, u_i(a, s_{-i}) - \varepsilon for every player ii and every a∈Sia \in S_i; for ε=0\varepsilon = 0 it is a coarse correlated equilibrium.

Theorem.

  1. If Ri(T)≤εTR_i(T) \le \varepsilon T for every player ii, then πˉT\bar\pi_T is an ε\varepsilon-coarse correlated equilibrium.
  2. If Ri(T)/T→0R_i(T)/T \to 0 for every player ii as T→∞T \to \infty, then the distance from πˉT\bar\pi_T to the set of coarse correlated equilibria tends to 0.

The theorem does not need the players to be independent, to know the game, or to use the same algorithm. Each player needs only its own regret to be small.

In plain words

A player has no regret when, looking back, no single fixed move would have done clearly better than what it did. Now take the history of all the rounds and pick a round at random. This random round is a joint plan for all the players. Suppose a referee proposes this plan, and a player is allowed to reject it in advance and use one fixed move instead. Rejecting is the same as playing that fixed move in every round of the history. No regret says that this is not much better. So no player wants to reject the plan, which is what a coarse correlated equilibrium means.

Proof

Part 1. Fix a player ii and a strategy a∈Sia \in S_i. By linearity of expectation, Es∼πˉT f(s)=1T∑tEs∼πt f(s)\mathbb{E}_{s \sim \bar\pi_T}\, f(s) = \frac{1}{T} \sum_t \mathbb{E}_{s \sim \pi^t}\, f(s) for every function ff of profiles. Apply this to f(s)=ui(a,s−i)−ui(s)f(s) = u_i(a, s_{-i}) - u_i(s):

Es∼πˉT ui(a,s−i)−Es∼πˉT ui(s)=1T(∑tEπt ui(a,s−i)−∑tEπt ui(s))≤Ri(T)T≤ε.\mathbb{E}_{s \sim \bar\pi_T}\, u_i(a, s_{-i}) - \mathbb{E}_{s \sim \bar\pi_T}\, u_i(s) = \frac{1}{T} \Big( \sum_t \mathbb{E}_{\pi^t}\, u_i(a, s_{-i}) - \sum_t \mathbb{E}_{\pi^t}\, u_i(s) \Big) \le \frac{R_i(T)}{T} \le \varepsilon.

The first inequality is the definition of Ri(T)R_i(T) as a maximum over aa. This is the condition of an ε\varepsilon-coarse correlated equilibrium for ii and aa.

Part 2. The distributions on the finite set of profiles form a compact simplex Δ\Delta. For ε≥0\varepsilon \ge 0, let Cε⊆ΔC_\varepsilon \subseteq \Delta be the set of ε\varepsilon-coarse correlated equilibria. It is closed, because each of its constraints is a non-strict linear inequality in π\pi, and C0=⋂ε>0CεC_0 = \bigcap_{\varepsilon > 0} C_\varepsilon. Let εT=max⁡imax⁡(Ri(T),0)/T\varepsilon_T = \max_i \max(R_i(T), 0)/T, so that εT→0\varepsilon_T \to 0 and πˉT∈CεT\bar\pi_T \in C_{\varepsilon_T} by Part 1. Suppose that the distance from πˉT\bar\pi_T to C0C_0 does not tend to 0. Then for some δ>0\delta > 0 there are infinitely many TT with distance at least δ\delta. By compactness, a subsequence of these πˉT\bar\pi_T converges to some π∗∈Δ\pi^* \in \Delta, and π∗\pi^* also has distance at least δ\delta from C0C_0, since the distance to a set is continuous. For every fixed ε>0\varepsilon > 0, all but finitely many terms of the subsequence lie in CεC_\varepsilon, which is closed, so π∗∈Cε\pi^* \in C_\varepsilon. Hence π∗∈C0\pi^* \in C_0, a contradiction. (The set C0C_0 is not empty: it contains every Nash equilibrium.) ■\blacksquare

Consequences

  • Fast approximate equilibria. Multiplicative weights, with utilities in [−1,1][-1, 1], has external regret O(Tlog⁡k)O(\sqrt{T \log k}) against any sequence, where k=max⁡i∣Si∣k = \max_i |S_i|. If every player uses it, the empirical distribution is an ε\varepsilon-coarse correlated equilibrium after T=O(log⁡k/ε2)T = O(\log k / \varepsilon^2) rounds. Each round costs one expected payoff vector per player. This is in contrast with Nash equilibria, which are PPAD-hard to compute even in two-player games.
  • Faster in self-play. The bound of Part 1 holds for any opponents. When all players use the same smooth algorithm, the regrets are much smaller: optimistic Hedge has regret polylogarithmic in TT in self-play, so the empirical distribution is an ε\varepsilon-coarse correlated equilibrium after roughly 1/ε1/\varepsilon rounds, up to logarithmic factors.
  • Price of anarchy of learning. A robust price of anarchy bound proved by the smoothness framework holds for every coarse correlated equilibrium, so by the theorem it holds, up to a vanishing error, for the time-averaged welfare of any no-regret dynamics. For example, in atomic congestion games with affine costs the average cost of no-regret dynamics tends to at most 5/25/2 times the optimum (price of anarchy).
  • Zero-sum games. In a two-player zero-sum game, the marginals of every coarse correlated equilibrium are optimal strategies. With the theorem, this gives the convergence of no-regret dynamics in zero-sum games and a proof of the minimax theorem.
  • Correlated equilibria need more. The same proof with swap regret in place of external regret gives a correlated equilibrium. Algorithms with small swap regret exist, for example by the Blum-Mansour reduction or regret matching.

Tightness

  • Not a correlated equilibrium. External regret is not enough for a correlated equilibrium. In rock-paper-scissors, with payoff 1 for a win, −1-1 for a loss and 0 for a tie, let the players cycle through the six profiles in which they play different moves. Each player wins three of six rounds and loses three, so its average payoff is 0. Every fixed move also gets 0 on average against the uniform moves of the opponent. So the regret stays bounded, and the empirical distribution, uniform on the six profiles, is a coarse correlated equilibrium. It is not a correlated equilibrium: when player 1 is told to play rock, player 2 plays paper or scissors with equal chance, and scissors would gain 1/21/2 on average.
  • Not a Nash equilibrium, and no convergence of the play itself. The theorem is about the time average of the joint play. The average of the product distributions is in general correlated, so it is not a mixed profile, and the day-to-day strategies σt\sigma^t need not converge at all. In matching pennies, multiplicative weights moves away from the equilibrium, while the empirical distribution still converges to the set of coarse correlated equilibria.
  • Convergence to a set. Part 2 says that πˉT\bar\pi_T approaches the set of coarse correlated equilibria. It need not converge to one point, because the set can be large and the dynamics can drift inside it.
  • The rate is the regret. Part 1 converts regret into equilibrium error one for one. Against adversarial opponents no algorithm has external regret o(Tlog⁡k)o(\sqrt{T \log k}) in the worst case, so a bound for all no-regret dynamics cannot be better than the order log⁡k/T\sqrt{\log k / T}.

History

Hannan (1957) gave the first procedure for a repeated game whose average regret against the best fixed strategy goes to 0. Moulin and Vial (1978) defined the equilibrium notion that is now called a coarse correlated equilibrium. The link between the two is a direct consequence of the definitions, and it is a standard part of the theory of learning in games. Cesa-Bianchi and Lugosi (2006) treat it in their chapter on prediction and games, and Roughgarden (2016) presents it as the convergence of no-regret dynamics. The use of the theorem for the price of anarchy of learning comes from the work on robust bounds and smooth games by Blum, Hajiaghayi, Ligett and Roth (2008) and Roughgarden (2009).

References

  1. Tim Roughgarden, Twenty Lectures on Algorithmic Game Theory, Cambridge University Press, 2016, Lecture 13 (the hierarchy of equilibrium concepts, coarse correlated equilibria) and Lecture 17 (no-regret dynamics converge to coarse correlated equilibria)
  2. Nicolo Cesa-Bianchi and Gabor Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006, Chapter 7 (prediction and playing games, regret and equilibria of repeated games)

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/DXJ0WG/text.yaml