Corollary 7.6, p. 102 — adaptive and square-root FTRL regret bounds
ProvedModernOnlineLearning.FTRL.corollary_7_6Let be nonempty, closed and convex, and let the closed function be -strongly convex on , where . Write , and use the regularizers for , with and positive step sizes. Let be any FTRL run and suppose each loss is subdifferentiable on . Then for every and every sequence of subgradients ,
Moreover, if every loss is -Lipschitz on an open neighborhood of and for positive , then
The first statement retains the effect of changes in the regularizer; the second gives the chapter's explicit square-root regret rate.
Formalization Note Rounds begin at and step sizes at . The minimum is supplied by a minimizing point; the existence of that point and of the run is implicit in the book. Losses are real-valued on the ambient space. The book's subdifferentiability is represented by full-space subgradients at every point of . Positivity of , , , and the used step sizes excludes zero denominators; excludes an empty schedule.
import Mathlib import Definitions.Def_ModernOnlineLearning_FTRL_Defs set_option autoImplicit false
namespace ModernOnlineLearning.FTRL
/-- Orabona, Corollary 7.6, p. 102: both the adaptive and square-root-schedule bounds. -/
theorem corollary_7_6
{E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[FiniteDimensional ℝ E]
(V : Set E) (hVclosed : IsClosed V) (hVconvex : Convex ℝ V)
(hVnonempty : V.Nonempty) (ψ : E → ℝ)
(hψclosed : IsClosedFunctionOn V ψ)
(mu : ℝ) (hmu : 0 < mu) (hψstrong : StrongConvexOn V mu ψ)
(z₀ : E) (hz₀ : IsMinimizerOn V ψ z₀)
(ℓ : ℕ → E → ℝ) (η : ℕ → ℝ) (T : ℕ) (hT : 1 ≤ T)
(hη : ∀ s < T, 0 < η s)
(x : ℕ → E)
(hRun : IsFTRLRunUpTo V (scheduledRegularizer ψ (ψ z₀) η T) ℓ x T)
(hSubdiff : ∀ t ∈ Finset.Icc 1 T, IsSubdifferentiableOn V (ℓ t)) :
(∀ g : ℕ → (E →L[ℝ] ℝ),
(∀ t ∈ Finset.Icc 1 T, IsSubgradientAt (ℓ t) (x t) (g t)) →
∀ u ∈ V,
(∑ t ∈ Finset.Icc 1 T, (ℓ t (x t) - ℓ t u)) ≤
(ψ u - ψ z₀) / η (T - 1) +
(∑ t ∈ Finset.Icc 1 T, η (t - 1) / (2 * mu) * ‖g t‖ ^ 2) +
(∑ t ∈ Finset.Icc 1 (T - 1),
(1 / η (t - 1) - 1 / η t) * (ψ (x (t + 1)) - ψ z₀))) ∧
(∀ (α L : ℝ), 0 < α → 0 < L →
(∀ t ∈ Finset.Icc 1 T, IsLipschitzOnOpenNeighborhood V (ℓ t) L) →
(∀ t ∈ Finset.Icc 1 T,
η (t - 1) = α * Real.sqrt mu / (L * Real.sqrt (t : ℝ))) →
∀ u ∈ V,
(∑ t ∈ Finset.Icc 1 T, ℓ t (x t)) -
(∑ t ∈ Finset.Icc 1 T, ℓ t u) ≤
((ψ u - ψ z₀) / α + α) * (L * Real.sqrt (T : ℝ) / Real.sqrt mu)) := by sorry
end ModernOnlineLearning.FTRL
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.