External regret in constant-sum games and the online-learning minimax proof #
This module formalizes [BlumMansour2007AGT, §4.4.1–§4.4.2, pp. 88–90], reusing
Cslib.Probability.IsMinimaxValue and Cslib.MachineLearning.OnlineLearning.Experts.averageProb
from ZeroSum.lean:
- Value duality in constant-sum games (
isMinimaxValue_swap_of_add_eq— [BlumMansour2007AGT, §4.4.2, p. 89]): If two players' loss matricess₁, s₂ : I → J → ℝsatisfy∀ i j, s₁ i j + s₂ i j = cands₁has minimax valuev₁, then player 2's transposed loss matrixFunction.swap s₂has minimax valuec - v₁. - Theorem 4.9 — Average loss against an arbitrary opponent
(
average_loss_le_of_isMinimaxValue,constantSum_col_average_loss_le,constantSum_average_loss_mem_Icc— [BlumMansour2007AGT, §4.4.2, Theorem 4.9, p. 89]): In any finite matrix gameMwith minimax valuev, a row learner achieving external regret at mostRoverT > 0rounds incurs average expected loss at mostv + R / Tagainst every sequenceqof mixed opponent strategies (not only best-response play). Symmetrically, in a constant-sum games₁ + s₂ = c, a column learner with external regret at mostRincurs average expected loss at most(c - v₁) + R / T, and when both players achieve external regretsR₁andR₂simultaneously, player 1's average expected loss lies in[v₁ - R₂ / T, v₁ + R₁ / T]. - §4.4.2 — Coupled no-regret proof of von Neumann's minimax theorem
(
ciSup_ciInf_eq_ciInf_ciSup,isMinimaxValue_ciInf_ciSup— [BlumMansour2007AGT, §4.4.2, pp. 89–90]): Running two horizon-Tmultiplicative-weights learners (mw_regret_le_sqrt_of_mem_Icc) simultaneously against each other onMaffine-rescaled into[0, 1]bounds the gap betweenv_max^1 = ⨅ p : StdSimplex ℝ I, ⨆ j : J, ∑ i, p.weights i * M i jandv_min^1 = ⨆ q : StdSimplex ℝ J, ⨅ i : I, ∑ j, q.weights j * M i jbyO(1 / √T)for everyT ≥ 1, provingv_min^1 = v_max^1(ciSup_ciInf_eq_ciInf_ciSup) and, via compactness ofStdSimplex ℝ,IsMinimaxValue M v_max^1(isMinimaxValue_ciInf_ciSup) without invokingexists_isMinimaxValueor Sion's theorem. (Source note: the displayed formulas on [BlumMansour2007AGT, p. 89] transpose the outer and innermin/maxoperators in bothv_min^1andv_max^1, writingmin_{x_1} max_zandmax_{x_2} min_z; the prose definitions immediately following on p. 89 and the proof on p. 90 usev_min^1 = max_{z ∈ Δ(X_2)} min_{x_1 ∈ X_1} E_{x_2 ~ z}[s_1(x_1, x_2)]andv_max^1 = min_{z ∈ Δ(X_1)} max_{x_2 ∈ X_2} E_{x_1 ~ z}[s_1(x_1, x_2)].)
Main results #
Cslib.MachineLearning.OnlineLearning.Experts.isMinimaxValue_swap_of_add_eq: player 2's minimax valuec - v₁in a constant-sum games₁ + s₂ = c.Cslib.MachineLearning.OnlineLearning.Experts.average_loss_le_of_isMinimaxValue,Cslib.MachineLearning.OnlineLearning.Experts.constantSum_col_average_loss_le,Cslib.MachineLearning.OnlineLearning.Experts.constantSum_average_loss_mem_Icc: [BlumMansour2007AGT, Theorem 4.9 and §4.4.2].Cslib.MachineLearning.OnlineLearning.Experts.ciSup_ciInf_eq_ciInf_ciSup,Cslib.MachineLearning.OnlineLearning.Experts.isMinimaxValue_ciInf_ciSup: online-learning proof of von Neumann's minimax theorem [BlumMansour2007AGT, §4.4.2].
References #
Constant-sum value duality and Theorem 4.9 #
If s₁ and s₂ sum to c on every outcome and s₁ has minimax value v₁, then player 2's
transposed loss matrix Function.swap s₂ has minimax value c - v₁
[BlumMansour2007AGT, §4.4.2, p. 89].
Average loss of an external-regret row learner against an arbitrary opponent
[BlumMansour2007AGT, §4.4.2, Theorem 4.9, p. 89]: if M has minimax value v, q is any sequence
of mixed column strategies over T > 0 rounds, and p achieves external regret at most R
against the induced stage loss vectors i ↦ ∑ j, q t j * M i j, then the row learner's average
expected loss is at most v + R / T.
Average loss of an external-regret column learner in a constant-sum game
[BlumMansour2007AGT, §4.4.2, Theorem 4.9, p. 89]: if ∀ i j, s₁ i j + s₂ i j = c and s₁ has
minimax value v₁, then any column learner q achieving external regret at most R over T > 0
rounds against j ↦ ∑ i, p t i * s₂ i j incurs average expected loss at most (c - v₁) + R / T
against every sequence p of mixed row strategies.
Simultaneous external-regret bounds in a constant-sum game
[BlumMansour2007AGT, §4.4.2, pp. 89–90]: when player 1 achieves external regret at most R₁ and
player 2 achieves external regret at most R₂ over T > 0 rounds of a constant-sum game
s₁ + s₂ = c with player-1 value v₁, player 1's average expected loss lies in
[v₁ - R₂ / T, v₁ + R₁ / T].
§4.4.2: Coupled no-regret proof of von Neumann's minimax theorem #
Online-learning proof of von Neumann's minimax identity
[BlumMansour2007AGT, §4.4.2, pp. 89–90]:
(⨆ q : StdSimplex ℝ J, ⨅ i : I, ∑ j, q.weights j * M i j) equals
⨅ p : StdSimplex ℝ I, ⨆ j : J, ∑ i, p.weights i * M i j for every finite real matrix game M,
proved via coupled mwFactor self-play and T → ∞ without LP duality or Sion's theorem.
Attained minimax value via coupled no-regret learning
[BlumMansour2007AGT, §4.4.2, pp. 89–90]: combining ciSup_ciInf_eq_ciInf_ciSup with compactness of
StdSimplex ℝ yields optimal mixed strategies witnessing
IsMinimaxValue M (⨅ p : StdSimplex ℝ I, ⨆ j : J, ∑ i, p.weights i * M i j) without invoking
exists_isMinimaxValue or Sion's theorem.