(24) — the Auer–Gentile inequality Σₜ aₜ²/‖a_{1:t}‖₂ ≤ 2‖a_{1:T}‖₂
ProvedAdaGrad.Diag.eq_24adaptive-methodsinequalitiesonline-learningp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be any sequence of real numbers and write , so that . Then for every ,
where .
Applied coordinate by coordinate to the subgradients, this scalar inequality controls the gradient terms in the regret of AdaGrad.
Formalization Note Lean's division convention is the paper's (a zero denominator forces ). Rounds are 1-based.
Preamble
import Mathlib
Formal statement
namespace AdaGrad.Diag
/-- Duchi, Hazan, Singer, JMLR 12 (2011), Appendix C, inequality (24), p. 2149 (the scalar
Auer–Gentile inequality): for any real sequence `a_1, a_2, …` and any `T`,
`∑_{t=1}^T a_t² / ‖a_{1:t}‖₂ ≤ 2 ‖a_{1:T}‖₂`, where `‖a_{1:t}‖₂ = (∑_{τ=1}^t a_τ²)^{1/2}` and
`0/0 = 0` (Lean's division convention). Rounds are 1-based; `a 0` is not used. -/
theorem eq_24 (a : ℕ → ℝ) (T : ℕ) :
∑ t ∈ Finset.Icc 1 T, a t ^ 2 / Real.sqrt (∑ τ ∈ Finset.Icc 1 t, a τ ^ 2)
≤ 2 * Real.sqrt (∑ τ ∈ Finset.Icc 1 T, a τ ^ 2) := by sorry
end AdaGrad.Diag
Source
Duchi, Hazan, Singer, Adaptive Subgradient Methods for Online Learning and Stochastic Optimization, JMLR 12 (2011), p. 2149, Appendix C, (24)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.