Appendix C — the prox-SVRG inequality for one SAGA step
ProvedSAGA.Convex.prox_svrg_inequalityp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1proximal-operatorstochastic-gradientvariance-reduction
Let and . Let be convex and differentiable with -Lipschitz gradients , , let be convex, , and let minimize . Run SAGA with step and . For every state and every , with the next iterate, the gradient error of the step, and the average over the index drawn uniformly from ,
This is the inequality of Xiao and Zhang for proximal SVRG, transferred to SAGA; the paper cites it rather than proving it. It produces the term that drives the rate of Theorem 2.
Formalization Note is any map with a minimizer of for every , which for convex is . is written as .
Preamble
import Mathlib import Definitions.Def_SAGA_Convex_finiteSum import Definitions.Def_SAGA_Convex_IsProxPoint import Definitions.Def_SAGA_Convex_sagaStep
Formal statement
namespace SAGA.Convex
/-- Appendix C, p. 12 (the prox-SVRG inequality of Xiao–Zhang, applied to SAGA): each `fᵢ`
convex with `L`-Lipschitz gradient, `h` convex, `x*` a minimizer of `F = f + h`, step
`γ = 1/(3L)`, `P = prox_γ^h`. For every state `(x^k, φ^k)` and every `α > 0`, with `E` the
average over the uniformly drawn index `j`,
`α E‖x^{k+1} - x*‖² ≤ α ‖x^k - x*‖² - 2αγ E[F(x^{k+1}) - F(x*)] + 2αγ² E‖Δ‖²`. -/
theorem prox_svrg_inequality {d n : ℕ} (hn : 0 < n) {L : ℝ} (hL : 0 < L)
(f : Fin n → EuclideanSpace ℝ (Fin d) → ℝ)
(f' : Fin n → EuclideanSpace ℝ (Fin d) → EuclideanSpace ℝ (Fin d))
(hgrad : ∀ i x, HasGradientAt (f i) (f' i x) x)
(hLip : ∀ i x y, ‖f' i x - f' i y‖ ≤ L * ‖x - y‖)
(hconv : ∀ i, ConvexOn ℝ Set.univ (f i))
(h : EuclideanSpace ℝ (Fin d) → ℝ) (hh : ConvexOn ℝ Set.univ h)
(P : EuclideanSpace ℝ (Fin d) → EuclideanSpace ℝ (Fin d))
(hP : ∀ y, IsProxPoint h (1 / (3 * L)) y (P y))
(xs : EuclideanSpace ℝ (Fin d)) (hopt : ∀ y, fAvg f xs + h xs ≤ fAvg f y + h y)
{α : ℝ} (hα : 0 < α)
(s : EuclideanSpace ℝ (Fin d) × (Fin n → EuclideanSpace ℝ (Fin d))) :
α * ((1 / (n : ℝ)) * ∑ j, ‖(sagaStep f' P (1 / (3 * L)) s j).1 - xs‖ ^ 2) ≤
α * ‖s.1 - xs‖ ^ 2
- 2 * α * (1 / (3 * L)) * ((1 / (n : ℝ)) * ∑ j,
((fAvg f (sagaStep f' P (1 / (3 * L)) s j).1 + h (sagaStep f' P (1 / (3 * L)) s j).1)
- (fAvg f xs + h xs)))
+ 2 * α * (1 / (3 * L)) ^ 2 *
((1 / (n : ℝ)) * ∑ j, ‖sagaDelta f' (1 / (3 * L)) s j‖ ^ 2) := by sorry
end SAGA.Convex
Source
Defazio, Bach & Lacoste-Julien, SAGA, arXiv:1407.0202v3, Appendix C, p. 12, first display (citing Xiao & Zhang, prox-SVRG, 2nd eq. on p. 12)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.