Online convex optimization regret lower bound #
Proves the minimax Ω(D * G * √T) regret lower bound for online convex optimization (OCO)
against linear (hence convex) G-Lipschitz losses over any convex set K in a real inner product
space containing two points at distance D [Haz22] (locator unverified).
The proof runs an oblivious Rademacher adversary f_t(x) = signVal (σ t) * G * ⟪e, x⟫
(signVal : Bool → ℝ from Cslib.BitString, unit vector e parallel to a diameter segment
x₀ ± (D / 2) • e ∈ K):
- By causality (round
tsees onlyσ 0, …, σ (t - 1)), resamplingσ tviaFintype.expect_expect_updatepairs opposite signs with the same learner pointL.eval σ t, so𝔼 σ, f_t(x_t) = 0. - Against the hindsight optimum
u_σ = x₀ - (sign (∑ t, signVal (σ t)) * D / 2) • e, the cumulative comparator term equals-(D * G / 2) * |∑ t, signVal (σ t)|up to a zero-meanx₀shift. - The second and fourth moments of
S(σ) = ∑ t : Fin T, signVal (σ t)are supplied directly byCslib.BitString.expect_sq_sum_mul_signVal(𝔼 S² = T) andCslib.BitString.expect_sum_mul_signVal_pow_four_le(𝔼 S⁴ ≤ 3 T²). - Applying Cauchy–Schwarz twice yields the elementary Khintchine lower bound
(∑ S²)³ ≤ (∑ |S|)² * (∑ S⁴), hence√(T / 3) ≤ 𝔼 σ, |S(σ)|. - Averaging over
σ : Fin T → Boolproduces a realizationσand a pointu ∈ KwithD * G * √T / (2 * √3) ≤ ∑ t, (f_{σ t} (x_t) - f_{σ t} u).
(This elementary fourth-moment proof gives the constant 1 / (2 √3) ≈ 0.289 in place of the
asymptotic 1 / √(2 π) ≈ 0.399 or Littlewood/Szarek 1 / √2 constant, matching the exact
D * G * √T scaling of ogd_regret_le_fixed.)
Main definitions #
Cslib.MachineLearning.OnlineLearning.OCO.rademacherLinear: linear losssignVal b * G * ⟪e, x⟫.Cslib.MachineLearning.OnlineLearning.OCO.rademacherGrad: constant gradient(signVal b * G) • e.Cslib.MachineLearning.OnlineLearning.OCO.CausalLearner: deterministic online learner whose round-titerate depends only on the adversary's past signsσ i(i < t).
Main results #
Cslib.MachineLearning.OnlineLearning.OCO.khintchine_rademacher_abs_sum:2 ^ T * √(T / 3) ≤ ∑ σ : Fin T → Bool, |∑ t : Fin T, signVal (σ t)|.Cslib.MachineLearning.OnlineLearning.OCO.sum_rademacherLinear_eval_eq_zero: total loss of any causal learner averaged over all2 ^ TRademacher sequences vanishes.Cslib.MachineLearning.OnlineLearning.OCO.exists_oco_regret_ge: minimaxΩ(D * G * √T)lower bound (D * G * √T / (2 * √3)).
References #
Exact section, theorem, and page locators below are unverified against primary PDFs (pending an outside-fleet source check).
- E. Hazan, Introduction to Online Convex Optimization, 2nd ed. (locator unverified)
Elementary Khintchine L¹/L² inequality for unweighted Rademacher sums via Cauchy–Schwarz and
the exact second/fourth moments in CslibFrontier.Probability.BitString.Rademacher:
2 ^ T * √(T / 3) ≤ ∑ σ : Fin T → Bool, |∑ t : Fin T, signVal (σ t)|.
Hard linear Rademacher loss f_b(x) = signVal b * G * ⟪e, x⟫.
Gradient of rademacherLinear e G b, equal to (signVal b * G) • e.
Exact affine identity for rademacherLinear (subgradient inequality with equality).
rademacherLinear e G b is convex on every convex set K (it is linear).
Gradient norm bound ‖rademacherGrad e G b‖ ≤ G when ‖e‖ ≤ 1 and 0 ≤ G.
A deterministic causal online learner for horizon T against Bool-valued Rademacher
signs on a feasible set K ⊆ E: at round t : Fin T, its played point depends strictly on the
past signs (i : Fin T) → i < t → Bool.
Round-
tprediction as a function of the strict prefix of past signs.Every played point belongs to the feasible domain
K.
The point played by a CausalLearner at round t under sign sequence σ : Fin T → Bool.
Total loss of any causal learner averaged over all 2 ^ T Rademacher sequences vanishes.
Minimax Ω(D * G * √T) regret lower bound for online convex optimization [Haz22]
(locator unverified): if K contains x₀ ± (D / 2) • e for a unit vector e (‖e‖ = 1), then
for every causal learner L and horizon T : ℕ, there exist a Rademacher sign sequence
σ : Fin T → Bool and a comparator u ∈ K whose linear G-Lipschitz losses
f_t = rademacherLinear e G (σ t) incur regret at least D * G * √T / (2 * √3).