Theorem 7.1 — exact finite integer mistake budgets
OpenWeightedMajority.Shifting.Supplement.theorem_7_1online-learningp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1prediction-with-expert-adviceweighted-majority
Let be a finite pool, with nonnegative integer budgets such that . Run WM with and initial weights , allowing either prediction at every tie. For each member and every finite trial sequence whose labels equal at its instances,
The guarantee is individual to the consistent member, with no shattering assumption and no restriction on the instance domain or horizon. It uses exactly the published WM run and mistake count.
Differences from the source:
- encoding: indices 1 through n and weights 2 to the power minus M_i → Fin n and the positive weights 1 / 2^M_i; reason: natural exponents and reciprocals represent the same dyadic weights
Preamble
import Definitions.Def_WeightedMajority_Basic_IsWMRun
Formal statement
namespace WeightedMajority.Shifting.Supplement
theorem theorem_7_1 {X : Type*} {n T : ℕ} (φ : Fin n → X → Bool) (M : Fin n → ℕ)
(instances : Fin T → X) (label prediction : Fin T → Bool) (w : ℕ → Fin n → ℝ)
(hsum : ∑ i : Fin n, (1 / (2 : ℝ) ^ M i) < 2)
(hrun : WeightedMajority.Basic.IsWMRun 0 (fun i => 1 / (2 : ℝ) ^ M i)
(fun t i => φ i (instances t)) label w prediction)
(i : Fin n) (hconsistent : ∀ t, label t = φ i (instances t)) :
WeightedMajority.Basic.mistakeCount prediction label ≤ M i := by sorry
end WeightedMajority.Shifting.Supplement
Source
Littlestone, Warmuth, The Weighted Majority Algorithm, Inform. and Comput. 108 (1994), DOI 10.1006/inco.1994.1009, p. 243, Theorem 7.1