Lemma 2.10 — FoReL with a σ-strongly-convex regularizer is stable: f_t(w_t) − f_t(w_{t+1}) ≤ L_t²/σ
ProvedOnlineLearningOCO.FoReL.lemma_2_10Let be a real normed space with norm , , , and let be -strongly-convex over with respect to . Let be the predictions of Follow-the-Regularized-Leader with regularizer on losses . Fix a round and assume are convex on . If is -Lipschitz over with respect to , i.e. for , then
Together with Lemma 2.3 this bounds the regret of FoReL by .
Formalization Note Both inequalities of the chain are stated, as a conjunction. The convexity of on is the standing assumption of online convex optimization (p. 119); the proof uses it to make and strongly convex. Strong convexity is Mathlib's StrongConvexOn S σ R (see Lemma 2.8), which includes convexity of . The proof on the page ends with "", a misprint for ; the statement is unaffected.
import Mathlib import Definitions.Def_OnlineLearningOCO_FoReL_IsFoReLRun
namespace OnlineLearningOCO.FoReL
/-- Lemma 2.10 (Shalev-Shwartz, FnT ML 4(2) (2011), p. 137). Let `R` be `σ`-strongly-convex
over `S` (`σ > 0`) and let `w₁, w₂, …` be the predictions of FoReL on losses convex on `S`. For
a round `t ≥ 1`, if `f_t` is `L_t`-Lipschitz over `S` with respect to `‖·‖`, then
`f_t(w_t) − f_t(w_{t+1}) ≤ L_t ‖w_t − w_{t+1}‖ ≤ L_t² / σ`. -/
theorem lemma_2_10 {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
(S : Set E) (σ : ℝ) (hσ : 0 < σ) (f : ℕ → E → ℝ) (R : E → ℝ) (w : ℕ → E)
(hR : StrongConvexOn S σ R) (t : ℕ) (ht : 1 ≤ t)
(hf : ∀ i ∈ Finset.Icc 1 t, ConvexOn ℝ S (f i))
(Lt : ℝ) (hLip : ∀ u ∈ S, ∀ v ∈ S, |f t u - f t v| ≤ Lt * ‖u - v‖)
(hw : IsFoReLRun S f R w) :
f t (w t) - f t (w (t + 1)) ≤ Lt * ‖w t - w (t + 1)‖ ∧
Lt * ‖w t - w (t + 1)‖ ≤ Lt ^ 2 / σ := by sorry
end OnlineLearningOCO.FoReL
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.