Equation (3.1) — the number of experts is Σ_{L ≤ Ldim} C(T, L) ≤ (eT/Ldim)^Ldim
ProvedOnlineLearningOCO.Agnostic.eq_3_1binomial-coefficientscombinatoricsonline-learningp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Fix a horizon and an integer with . The experts Expert of §3.2.1 with and correspond to the subsets of of size at most . Their number is
With this is the bound on the number of experts used in the proof of Theorem 3.6: it gives , which turns the regret of Weighted Majority into the bound.
Formalization Note Subsets of rounds are represented 0-based as subsets of . The hypothesis is the paper's implicit range: for , the left side is while .
Preamble
import Mathlib
Formal statement
namespace OnlineLearningOCO.Agnostic
/-- Equation (3.1), p. 168. The experts Expert(I) with `I ⊆ {0,…,T−1}` and `|I| ≤ L` number
`d = ∑_{j=0}^{L} C(T, j)`, and for `1 ≤ L ≤ T`, `∑_{j=0}^{L} C(T, j) ≤ (eT/L)^L`. -/
theorem eq_3_1 (T L : ℕ) (hL : 1 ≤ L) (hLT : L ≤ T) :
((Finset.range T).powerset.filter (fun I ↦ I.card ≤ L)).card =
∑ j ∈ Finset.range (L + 1), T.choose j ∧
(∑ j ∈ Finset.range (L + 1), (T.choose j : ℝ)) ≤ (Real.exp 1 * T / L) ^ L := by sorry
end OnlineLearningOCO.Agnostic
Source
Shalev-Shwartz, Online Learning and Online Convex Optimization, Found. Trends Mach. Learn. 4(2) (2011) 107–194, p. 168, §3.2.1, equation (3.1)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.