Generalized Randomized Weighted Majority on [0, 1] losses #
This module formalizes the [0, 1]-loss generalization of Randomized Weighted Majority (RWM)
with multiplicative update rule w_i^{t+1} = w_i^t * (1 - η) ^ (ℓ_i^t) (rwmFactor), from
[BlumMansour2007AGT, §4.3.2, p. 85, and Exercise 4.3, p. 101].
Summary of results #
- Factor identities (
rwmFactor_eq_mwFactor_of_binary,rwmFactor_eq_hedgeFactor,rwmFactor_le_mwFactor): forη < 1,(1 - η) ^ xcoincides withmwFactor η x = 1 - η * xon{0, 1}, equalshedgeFactor (-log (1 - η)) xeverywhere onℝ, and by convexity ofexpsatisfies(1 - η) ^ x ≤ 1 - η * xfor0 ≤ η < 1andx ∈ [0, 1]. - First-order and
2 √(T ln N)external regret bounds (rwm_regret_le,rwm_regret_le_sqrt_of_mem_Icc,rwm_regret_le_sq_learner— [BlumMansour2007AGT, §4.3.2, p. 85, and Exercise 4.3, p. 101]): for0 < η ≤ 1 / 2and[0, 1]losses, generalized RWM achievesL_RWM^T ≤ (1 + η) * L_k^T + ln N / η(extending Theorem 4.5 to[0, 1]), the learner-side quadratic bound viahedge_regret_le_of_nonneg, and—with the capped rateη = min √(ln N / T) (1 / 2)—the exact2 √(T ln N)external regret bound of Theorem 4.6 for every horizonT : ℕ. - Boundary separation from Theorem 4.6's expert-side
Q_k^Tdisplay (exists_rwm_gt_add_mul_sq_add_log): unlike Polynomial Weights (mw_regret_le_sq), generalized RWM does not satisfyL_RWM^T ≤ L_k^T + η * Q_k^T + ln N / ηwithQ_k^T = ∑ t, (ℓ t k) ^ 2on[0, 1]losses. Indeed, for everyc : ℝthere exist a horizonTand[0, 1]-valued losses onFin 2whereprob (rwmFactor (1 / 2))strictly exceedsL_0^T + c * Q_0^T + ln 2 / (1 / 2), constructed from periodic blocks of2 bfractional-loss steps(1 / (2 b), 0)followed by one balancing step(0, 1).
Main definitions #
Cslib.MachineLearning.OnlineLearning.Experts.rwmFactor: the[0, 1]RWM update factor(1 - η) ^ x.
Main results #
Cslib.MachineLearning.OnlineLearning.Experts.rwmFactor_eq_mwFactor_of_binary,Cslib.MachineLearning.OnlineLearning.Experts.rwmFactor_eq_hedgeFactor,Cslib.MachineLearning.OnlineLearning.Experts.rwmFactor_le_mwFactor: structural identities and Bernoulli convexity bound forrwmFactor.Cslib.MachineLearning.OnlineLearning.Experts.isOnlineAlgorithm_rwm: generalized RWM is a causal online algorithm.Cslib.MachineLearning.OnlineLearning.Experts.rwm_regret_le,Cslib.MachineLearning.OnlineLearning.Experts.rwm_regret_le_sqrt_of_mem_Icc,Cslib.MachineLearning.OnlineLearning.Experts.rwm_regret_le_sq_learner:[0, 1]-loss regret bounds for generalized RWM ([BlumMansour2007AGT, §4.3.2, p. 85, and Exercise 4.3, p. 101]).Cslib.MachineLearning.OnlineLearning.Experts.exists_rwm_gt_add_mul_sq_add_log: boundary refutation of the expert-sideQ_k^Tdisplay of Theorem 4.6 forrwmFactor.
References #
Update factor (1 - η) ^ x and structural identities #
The [0, 1]-loss Randomized Weighted Majority update factor (1 - η) ^ x
[BlumMansour2007AGT, §4.3.2, p. 85, and Exercise 4.3, p. 101].
[0, 1]-loss regret bounds for generalized RWM (Exercise 4.3) #
First-order regret of generalized RWM on [0, 1] losses [BlumMansour2007AGT, §4.3.2, p. 85,
and Exercise 4.3, p. 101]: for 0 < η ≤ 1 / 2, losses in [0, 1], and every expert i,
∑ t, ⟨p t, ℓ t⟩ ≤ (1 + η) * ∑ t, ℓ t i + ln n / η.
Tuned 2 √(T ln n) external regret of generalized RWM on [0, 1] losses for every horizon
[BlumMansour2007AGT, Exercise 4.3, p. 101]: with the capped learning rate
η = min √(ln n / T) (1 / 2), generalized RWM achieves L_RWM^T ≤ L_i^T + 2 √(T ln n) for every
T : ℕ, matching the external regret bound of Theorem 4.6 for Polynomial Weights.
Learner-side second-order bound for generalized RWM: via rwmFactor_eq_hedgeFactor and
hedge_regret_le_of_nonneg, for 0 < η < 1 and nonnegative losses, generalized RWM satisfies the
Hedge variance bound with effective rate -log (1 - η).
Boundary refutation: generalized RWM fails Theorem 4.6's expert-side Q_k^T display #
Boundary refutation for Exercise 4.3: generalized RWM (rwmFactor (1 / 2)) does not
satisfy the expert-side quadratic bound L_RWM^T ≤ L_k^T + η * Q_k^T + ln N / η of Theorem 4.6
on [0, 1] losses—in fact, for every real c (in particular c = 1 / 2), there exist a
horizon T and [0, 1]-valued losses on Fin 2 whose RWM loss strictly exceeds
L_0^T + c * Q_0^T + ln 2 / (1 / 2).