Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Variance reduced finite sum and adaptive gradient optimization

1 · Prerequisites

2 · Summary

For a finite sum F=n−1∑ifi, this page defines SVRG with an independent uniform component index and random inner-iterate output, and SAGA with an independently sampled index and stored component gradients. Local conditional calculations prove both estimators unbiased, give variance bounds relative to a stationary minimizer, and prove the SVRG epoch contraction under convex L-smooth components and a μ-strongly convex sum. The SAGA table recurrence is proved under the same component assumptions.

For the same SAGA potential Vk+7η2nSk, the constant-step theorem proves the factor 1−min⁡{μη,1/(7n)} for every 0<η≤1/(10L), including an n-independent step. The faster factor 1−μη applies when additionally μη≤1/(7n). The original memory-scaled sufficient theorem is retained, and the standard-initialization counterexample still refutes omitting that rate cap. The controlling contract separates this branch from the broader constant-step result and states each rate restriction explicitly. The new theorem also bounds the expected objective by (L/2)qkL0. Component-gradient counts and maintained-table arithmetic are distinct from total runtime; no almost-sure conclusion is made.

Diagonal AdaGrad is defined as a well-defined weighted projection update, and its one-step inequality gives the stated coordinatewise regret bound for bounded coordinate diameters. Adam and AMSGrad updates are defined without convergence claims. The Adam counterexample uses unprojected iterates on a periodic affine-loss sequence; AMSGrad follows the assigned convention that takes the maximum of bias-corrected second moments, which differs from Reddi–Kale–Kumar's Algorithm 2. Independent minibatches have conditional variance σ2/b; uniform sampling without replacement has the separately derived finite-population correction.

The published control-variate estimator is used only to name the shared algebraic form. Its fixed-integral unbiasedness theorem is not used as a proof for the moving finite-sum optimization estimators.

3 · Logical flowchart

4 · Definitions, theorems and proofs

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Bias-corrected Adam update

Definition

Fix a dimension d at least 1, an initial point x_1 in R^d, a constant step size eta>0, a denominator constant epsilon>0, and parameters beta_1,beta_2 in [0,1). Set m_0=v_0=0. Given a gradient g_t in R^d at each integer time t>=1, calculate

mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)(gt⊙gt),

where \odot denotes coordinatewise multiplication. Define the bias-corrected moments

m^t=mt1−β1t,v^t=vt1−β2t,

and update, coordinatewise,

xt+1=xt−ηm^tv^t+ϵ.

All operations involving vectors in the update are coordinatewise except the ordinary vector addition in the moment recurrences. Since 1-\beta_j^t>0 for t>=1 and v_t has nonnegative coordinates, every denominator is positive; the procedure is defined at every finite step for every finite gradient sequence.

This item defines the update only. It makes no convergence or regret claim.

Remarks

The real field used here is complete by The Cauchy-sequence reals have the least-upper-bound property, so the complete-ordered-field hypothesis of Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0} holds.

For 0≤βj<1 and integer t≥1, Monotonicity of x↦xn and of n↦an gives 0≤βjt<1, so each bias-correction denominator is positive. For each coordinate, a squared gradient is nonnegative by Squares of nonzero elements are positive (with the zero case equal to zero); induction in the recurrence, using the nonnegative coefficients β2 and 1−β2 and the product sign rules Sign rules for products and monotonicity of multiplication, Multiplication by zero: 0⋅a=0, gives vt≥0. Division by the positive bias-correction factor preserves nonnegativity by Inverses of positives are positive, and reciprocation reverses order, so v^t≥0; its square root exists by Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}, and v^t+ϵ>0. These facts justify every finite update.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Bias-corrected AMSGrad update

Definition

Fix a dimension d at least 1, an initial point x_1 in R^d, a constant step size eta>0, a denominator constant epsilon>0, and parameters beta_1,beta_2 in [0,1). Set m_0=v_0=\widehat v^{\max}_0=0. Given a gradient g_t in R^d at each integer time t>=1, calculate

mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)(gt⊙gt),

m^t=mt1−β1t,v^t=vt1−β2t,v^tmax⁡=max⁡(v^t−1max⁡,v^t),

where \odot and max are coordinatewise. Update

xt+1=xt−ηm^tv^tmax⁡+ϵ

coordinatewise. Each coordinate of v_t and \widehat v^{\max}_t is nonnegative, and the denominator is at least epsilon>0, so every finite update is defined.

This carrier defines a bias-corrected AMSGrad variant under the assigned denominator convention. Reddi–Kale–Kumar's Algorithm 2 takes the running maximum of the uncorrected second-moment recurrence and uses that maximum directly in the denominator; it does not apply Adam's second-moment bias correction. The recurrences are not identified here. No AMSGrad convergence theorem is claimed.

Remarks

For 0≤βj<1 and integer t≥1, Monotonicity of x↦xn and of n↦an gives 0≤βjt<1, so each bias-correction denominator is positive. Induction in the second-moment recurrence, Squares of nonzero elements are positive, Sign rules for products and monotonicity of multiplication and Multiplication by zero: 0⋅a=0 give vt≥0. Division by the positive bias-correction factor preserves nonnegativity by Inverses of positives are positive, and reciprocation reverses order, so v^t≥0 and its square root exists by Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}. The coordinatewise maximum is the maximum of a two-element real set, which exists by Maximum and minimum of a set and Every nonempty finite set of reals has a maximum and a minimum and is nonnegative because it is one of its two nonnegative entries. Thus every denominator is at least ϵ>0.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Gradient of a finite sum is the finite sum of gradients

Statement

Let U be open in R^d, let x in U, let n>=1, and let f_1,...,f_n:U->R be totally differentiable at x. Put F=n^{-1}sum_{i=1}^n f_i. Then F is totally differentiable at x and

∇F(x)=1n∑i=1n∇fi(x).

Facts & Assumptions

Given: The open domain U, x, n, and the functions in the Statement.

[F1]

Finite sums and finite products, by recursion: finite sums are recursively defined, with each successor sum equal to the preceding sum plus its next term.

[F2]

Sums and scalar multiples of totally differentiable maps are totally differentiable with the expected derivatives: the sum and scalar multiple of totally differentiable maps are totally differentiable, with derivatives equal to the corresponding sum and scalar multiple.

[F3]

A total derivative computes every directional derivative, and its matrix is the Jacobian: for each standard basis vector e_j, the partial derivative is DF(x)e_j, and the matrix of DF(x) is the Jacobian.

[F4]

The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: the gradient of a scalar function is the vector of its partial derivatives.

[F5]

The principle of mathematical induction: a property true at zero and inherited by each successor holds for every natural index.

[F6]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: vectors in R^d are equal when their d coordinates agree.

[F7]

The total (Fréchet) derivative Df(a) as the linear first-order approximation with o(∥h∥2) remainder: total differentiability means a linear first-order approximation with a remainder whose norm divided by ||h||_2 tends to zero.

[F8]

Canonical naturals are positive and strictly increasing: the canonical real image of every natural n>=1 is positive.

Proof

Given: The domain and functions in the Statement.

1.1F1F2F5F7givenalgebrainduction

For 0<=m<=n define S_m:U->R by S_m(y)=sum_{i<m}f_{i+1}(y), using [F1]. The base S_0 is the zero function, whose total derivative is the zero linear map directly from [F7]. If S_m is totally differentiable at x with derivative sum_{i<m}Df_{i+1}(x), then S_{m+1}=S_m+f_{m+1}; [F2] makes it differentiable with derivative sum_{i<m}Df_{i+1}(x)+Df_{m+1}(x)=sum_{i<m+1}Df_{i+1}(x). Induction [F5] proves this formula through m=n.

2.1F1F2F8step 1.1givenalgebra

Since the canonical real image of n is positive by [F8], it is nonzero; the field structure in [F1] therefore supplies its inverse n^{-1}. The scalar-multiple rule [F2] gives DF(x)=n^{-1}sum_{i<n}Df_{i+1}(x).

3.1F3F4F6step 2.1givenalgebra∎

For each coordinate j, [F3] gives partial_j F(x)=DF(x)e_j=n^{-1}sum_{i<n}Df_{i+1}(x)e_j=n^{-1}sum_{i<n}partial_j f_{i+1}(x). By [F4] these are exactly the coordinates of n^{-1}sum_{i=1}^n grad f_i(x); [F6] then identifies the vectors. Hence the displayed gradient formula holds.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Positive diagonal maps preserve closed convex sets

Statement

Let d>=1, let C be a nonempty closed convex subset of R^d, and let D=diag(d_1,...,d_d) with every d_j>0. Then DC={Dx:x in C} is nonempty, closed, and convex.

Facts & Assumptions

Given: d>=1, C and D as in the Statement.

[F1]

A convex subset of Rm contains every line segment between two of its points: convexity means every segment between two points of C lies in C.

[F2]

The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement: C is closed exactly when its complement is open; an open set contains a positive-radius ball around each of its points.

[F5]

Finite sums and finite products, by recursion: finite sums are well-defined and obey their finite-sum algebra.

[F7]

Laws of finite sums and finite products: finite sums are additive, obey scaling and splitting, preserve nonnegativity, are monotone termwise, and each nonnegative term is at most the sum.

[F8]

Squares of nonzero elements are positive: a nonzero square is positive; a zero square is zero.

[F9]

Inverses of positives are positive, and reciprocation reverses order: the inverse of a positive real is positive; Integer powers am defines the negative powers used here.

[F10]

Squaring is monotone on the nonnegatives: if 0≤a,b, then a≤b exactly when a2≤b2.

[F11]

Ordered field: positive elements are closed under addition, so together with recursive Finite sums and finite products, by recursion every nonempty finite sum of positive terms is positive; Sign rules for products and monotonicity of multiplication says multiplication by a positive element preserves order.

Proof

Given: The objects in the Statement.

1.1F1givenchoosealgebra

Choose x_0 in C. Then Dx_0 in DC, so DC is nonempty. If x,y in C and t in [0,1], then by linearity D((1-t)x+ty)=(1-t)Dx+tDy; [F1] puts the left side in DC, so DC is convex.

1.2F2F3F4F5F6F7F8F9F10F11givenchoosealgebra

Fix z∉DC. Since each dj>0, the definition of negative integer powers gives dj−2=(dj2)−1. The square dj2 is positive by [F8], so dj−2>0 by [F9]. Thus ∑jdj−2>0 by [F11], and M=∑jdj−2 exists by [F6] and is positive. The inverse image x=D−1z is not in C. Since C is closed, [F2] supplies r>0 with B(x,r) disjoint from C. For every q∈Rd, ∥D−1q∥22=∑jdj−2qj2≤(∑jdj−2)(∑jqj2)=M2∥q∥22. Indeed each qj2 is nonnegative, is at most its finite sum by [F7], and multiplication by dj−2>0 preserves that inequality; summing uses [F7]. Both norms and M∥q∥2 are nonnegative, so [F10] yields ∥D−1q∥2≤M∥q∥2.

2.1F2F3step 1.1step 1.2algebra∎

If ||w-z||_2<r/M, then step 1.2 gives ||D^{-1}w-x||_2<r, hence D^{-1}w notin C and w notin DC. Therefore B(z,r/M) lies in the complement of DC. Every point outside DC has such a ball, so [F2] makes DC closed; step 1.1 already proved DC nonempty and convex.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Finite-sum SAGA

Definition

Let n,d>=1, let f_1,...,f_n:R^d->R be continuously differentiable, and set F(x)=n^{-1}sum_i f_i(x), with \nabla F(x)=n^{-1}sum_i\nabla f_i(x) by Gradient of a finite sum is the finite sum of gradients and Finite sums and finite products, by recursion. Given a deterministic initial point x_0 and step size \eta>0, initialize a table \alpha_i^0=\nabla f_i(x_0) and its mean \bar\alpha_0=n^{-1}sum_i\alpha_i^0. At iteration k:

  1. Draw I_k uniformly from {1,...,n}, independently of the history \mathcal F_k.
  2. Evaluate gk=∇fIk(xk) once. Using the old table, form vk=gk−αIkk+αˉk,xk+1=xk−ηvk.
  3. Replace only the sampled table entry, using the pre-update point: αIkk+1=gk,αik+1=αik(i≠Ik), and set αˉk+1=αˉk+1n(gk−αIkk).

The stored state is the current iterate, the component-gradient table, and its running mean. For each fixed history, each coordinate of the correction is a scalar control-variate estimator in Control-variate estimators: take one uniform sample I from {1,…,n}, integrand i↦(∇fi(xk))j, control i↦(αik)j, known control mean (αˉk)j, and coefficient 1. The conditional claims are proved locally. The conditional-expectation convention inherits The Axiom of Choice from Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Finite-sum SVRG

Definition

Let n,d>=1 and let f_1,...,f_n:R^d->R be continuously differentiable convex functions. Define the finite-sum objective

F(x)=1n∑i=1nfi(x),∇F(x)=1n∑i=1n∇fi(x),

where the gradient identity follows from Gradient of a finite sum is the finite sum of gradients and the sums use Finite sums and finite products, by recursion. Suppose each component gradient is L-Lipschitz for a common L>0. An SVRG epoch with snapshot \tilde x and inner length m>=1 is:

  1. Compute the full gradient \nabla F(\tilde x), set x_0=\tilde x.
  2. For t=0,...,m-1, draw I_t uniformly from {1,...,n}, independently of the past, and set vt=∇fIt(xt)−∇fIt(x~)+∇F(x~),xt+1=xt−ηvt for a selected step size \eta>0.
  3. Independently draw J uniformly from {0,...,m-1} and return x_J as the next snapshot.

The displayed procedure evaluates the snapshot component gradient at every inner update rather than caching those values. Coordinatewise at a fixed pre-update history, its correction has the one-sample scalar form of Control-variate estimators: the uniform index is the production draw, the integrand is the current component-gradient coordinate, the control is its snapshot coordinate, the known control mean is the corresponding full snapshot-gradient coordinate, and the coefficient is one; the conditional properties needed here are proved in local results on this page. Conditional-expectation notation inherits the The Axiom of Choice assumption from Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates.

CounterexampleConstruction: AI-adaptedVerification: AI-generatedOpen item page →

Adam diverges on a periodic bounded-gradient loss sequence

Statement refuted

The claim that bounded gradients alone keep every bias-corrected Adam iterate bounded is false, even in one dimension with fixed parameters beta_1=0, beta_2=1/2, eta=1, and epsilon=1/100.

Facts & Assumptions

Given: Adam is initialized at x_1=m_0=v_0=0 and is fed the finite prefixes of the periodic loss sequence

ℓ3k+1(x)=52x,ℓ3k+2(x)=ℓ3k+3(x)=−x(k≥0).

Each finite prefix is a convex loss sequence and every gradient has magnitude at most 5/2.

[F1]

Bias-corrected Adam update: Adam uses m_t=beta_1m_{t-1}+(1-beta_1)g_t, v_t=beta_2v_{t-1}+(1-beta_2)g_t^2, bias corrections, and x_{t+1}=x_t-eta mhat_t/(sqrt(vhat_t)+epsilon).

[F2]

The principle of mathematical induction: a property true at zero and inherited by each successor holds for every natural index.

[F3]

The Cauchy-sequence reals have the least-upper-bound property establishes that the real field is complete in the sense of Complete ordered field (least-upper-bound property). In particular it is an ordered field, so order is preserved by addition and multiplication by nonnegative numbers; the completeness hypotheses of [F4] and [F8] hold.

[F5]

The natural numbers N (von Neumann): time and cycle indices are natural numbers.

[F6]

Integer powers am: beta^t is the integer power of beta at natural time t.

[F7]

Convex and strictly convex functions on Euclidean convex sets: convexity means the segment inequality for function values.

[F8]

Every complete ordered field is Archimedean: for every real M there is a natural r with r>M.

[F9]

Squaring is monotone on the nonnegatives: on nonnegative reals, a2<b2 implies a<b.

Counterexample

1.1F1F2F3F5F6F7givenalgebrainduction

The losses are affine, hence convex by direct substitution in [F7]. With β2=1/2, define hk=v3k+1, uk=v3k+2, and wk=v3k+3. Substituting the three gradients in [F1] gives h0=25/8, uk=hk/2+1/2, wk=hk/4+3/4, and hk+1=hk/8+7/2. The formula hk=4−7/8k+1 holds at k=0 because 4−7/8=25/8; substitution proves the successor formula, so [F2] gives it for every k. It yields hk<4 and uk<5/2, wk<7/4. Also hk+1−hk=(7/8)(4−hk)>0, so for k≥2, hk≥h2=4−7/512>3.98, where 7/512<1/50.

2.1F1F3F4F5F6F9step 1.1givenalgebra

Let ak,bk,ck>0 be the magnitudes of the three Adam updates in cycle k, so the cycle change is −ak+bk+ck. For k≥2, step 1.1 gives v^3k+1≥hk>3.98>(1.99)2, v^3k+2≤(5/2)/(1−2−8)=128/51<(8/5)2, and v^3k+3<(7/4)/(1−2−9)=896/511<(7/5)2. Since all quantities are nonnegative, [F9] gives the corresponding square-root comparisons. Since β1=0, m^t=gt; with ϵ=1/100 the update magnitudes satisfy ak<(5/2)/(1.99+0.01)=5/4, bk>1/(8/5+1/100)=100/161, and ck>1/(7/5+1/100)=100/141. Exact arithmetic gives 100/161+100/141−5/4=7295/90804>0, so every such cycle increases x by at least this amount.

3.1F2F3F5F8step 2.1givenalgebrainduction∎

Put Xk=x3k+1. For every k≥2, step 2.1 gives Xk+1≥Xk+δ, where δ=7295/90804>0. Induction gives X2+r≥X2+rδ for each integer r≥0. Given any real bound M, [F8] supplies an integer r>(M−X2)/δ ; hence X2+r>M. Thus the terminal subsequence is unbounded above, disproving boundedness from bounded gradients alone.

Remarks

The drift calculation concerns the unprojected Adam update defined in Bias-corrected Adam update on R; no lower-bounded fixed objective or bounded feasible set is assumed. It refutes a blanket bounded-iterate guarantee from bounded gradients alone and makes no claim about Adam on a fixed strongly convex objective.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Cocoercive gradient bound for a convex smooth finite sum

Statement

Let n,d>=1, L>0, and let f_i:R^d->R be continuously differentiable, convex, with L-Lipschitz gradients. Put F=n^{-1}sum_i f_i. For all x,y in R^d,

1n∑i=1n∥∇fi(x)−∇fi(y)∥22≤2L(F(x)−F(y)−⟨∇F(y),x−y⟩).

Facts & Assumptions

Given: n,d>=1, L>0, the functions and regularity assumptions in the Statement, and the finite-sum convention of Finite sums and finite products, by recursion.

[F1]

Descent inequality for a Lipschitz gradient: an L-Lipschitz gradient gives f(z)<=f(w)+<grad f(w),z-w>+(L/2)||z-w||_2^2 for all w,z.

[F2]

Differentiable convex functions are characterized by the gradient inequality: a differentiable convex function satisfies f(z)>=f(w)+<grad f(w),z-w>.

[F3]

Lipschitz map, α-Hölder map for rational 0<α≤1, and contraction: L-Lipschitz means ||grad f_i(a)-grad f_i(b)||_2<=L||a-b||_2.

[F4]
[F5]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: ||z||_2^2=<z,z>, and the inner product is linear in each variable.

[F6]

Convex and strictly convex functions on Euclidean convex sets: convexity is the segment inequality for values of the function.

[F7]

Laws of finite sums and finite products: finite sums are additive and scale linearly.

Proof

Given: The objects and hypotheses in the Statement.

1.1F2F6givenalgebra

Fix i and y, and define h_i(z)=f_i(z)-<grad f_i(y),z>. Substituting this expression into the segment inequality [F6] shows that subtracting this linear function preserves convexity, and grad h_i(y)=0. By [F2] applied at y, h_i(z)>=h_i(y) for every z, so y is a global minimizer of h_i.

2.1F1F3F5step 1.1givenalgebra

Apply [F1] to h_i at x and z=x-grad h_i(x)/L. Since subtracting a linear function leaves gradient differences unchanged, h_i is still L-smooth; substitution and algebra give h_i(z)<=h_i(x)-||grad h_i(x)||_2^2/(2L). Step 1.1 gives h_i(y)<=h_i(z), hence ||grad f_i(x)-grad f_i(y)||_2^2<=2L(f_i(x)-f_i(y)-<grad f_i(y),x-y>).

3.1F4F7step 2.1givenalgebra∎

Sum the step 2.1 inequalities over i and divide by n. By [F4], grad F(y)=n^{-1}sum_i grad f_i(y); additivity and scaling [F7] identify the right side with 2L(F(x)-F(y)-<grad F(y),x-y>).

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Conditional variance of independent and without-replacement minibatches

Statement

Let n,d≥1, let (Ω,F,(Fk)k≥0,P) be a discrete filtered probability space, and fix k. Let fi:Rd→R be continuously differentiable, let x:Ω→Rd be Fk-measurable, and suppose each gi=∇fi(x) is square-integrable. Define F=n−1∑ifi, gˉ=n−1∑igi=∇F(x) by Gradient of a finite sum is the finite sum of gradients, and

σ2(x)=1n∑i=1n∥gi−gˉ∥22.

For an integer b≥1, draw I1,…,Ib as mutually independent uniform indices from {1,…,n}, with the whole index vector independent of Fk, and set Gb=b−1∑j=1bgIj. Then

E[Gb∣Fk]=gˉ,E[∥Gb−gˉ∥22∣Fk]=σ2(x)b.

For sampling without replacement, let S be a uniform subset of {1,…,n} of size b, independent of Fk, and set GS=b−1∑i∈Sgi. If n>1 and 1≤b≤n, then

E[GS∣Fk]=gˉ,E[∥GS−gˉ∥22∣Fk]=n−bb(n−1)σ2(x).

When n=1, the without-replacement case requires b=1; both estimators equal gˉ and both errors are zero.

Facts & Assumptions

Given: The discrete filtered probability space Filtration and filtered probability space, the time k, the Fk-measurable point and square-integrable gradients, and the two sampling laws in the Statement. Vector conditional expectations mean coordinatewise scalar conditional expectations.

[A1]

The Axiom of Choice: assume AC for conditional-expectation classes.

[F1]

Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates: stochastic-gradient conditional expectations are taken with respect to the current filtration, and AC is assumed for their existence.

[F2]

Filtration and filtered probability space: Fk is a sigma-algebra and Fk⊆F.

[F3]

Conditional expectation as an ae class: under AC, conditional expectations of integrable random variables exist as almost-sure classes.

[F4]

Conditioning a known variable and an independent variable: an integrable random variable independent of the conditioning sigma-algebra has conditional expectation equal to its mean.

[F5]

Taking out what is known: an integrable factor measurable in the conditioning sigma-algebra can be taken outside conditional expectation.

[F6]

Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite integrable sums.

[F7]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: ∥z∥22=⟨z,z⟩, and the inner product is bilinear.

[F8]

Gradient of a finite sum is the finite sum of gradients: the gradient of F is the average of the component gradients.

[F9]

Finite sums and finite products, by recursion: a finite average is the finite recursively defined sum scaled by 1/n.

[F10]

Laws of finite sums and finite products: finite sums are additive, obey scaling, and permit termwise algebra.

Proof

Given: The objects and sampling assumptions in the Statement.

1.1A1F1F2F3F4F5F6F7F8F9F10givenalgebra

For every j,i, independence and [F4] give E[1{Ij=i}∣Fk]=1/n. Since gi is Fk-measurable and square-integrable, [F1]–[F3], [F5], and [F6] allow gIj=∑i1{Ij=i}gi to be conditioned coordinatewise and termwise, yielding E[gIj∣Fk]=gˉ. For j≠ℓ and every A∈Fk, joint independence gives P(A,Ij=r,Iℓ=s)=P(A)/n2; hence E[⟨gIj−gˉ,gIℓ−gˉ⟩∣Fk]=n−2∑r,s⟨gr−gˉ,gs−gˉ⟩=⟨n−1∑r(gr−gˉ),n−1∑s(gs−gˉ)⟩=0, since each centered finite sum vanishes. Expanding ∥Gb−gˉ∥22 leaves b diagonal terms, each with conditional expectation σ2(x), so division by b2 proves the with-replacement identities.

1.2A1F1F2F4F6F10givenalgebra

Assume n>1. Let Zi=1{i∈S}. Relabeling the elements of the uniform size-b subsets shows that E[Zi∣Fk] has one common value p for all i, and that E[ZiZj∣Fk] has one common value r for all ordered pairs i≠j; independence of S from Fk makes these conditional values constant. There are n singleton indices and n(n−1) ordered distinct pairs, by choosing the first and then the second index. Every such subset satisfies ∑iZi=b and ∑i≠jZiZj=b(b−1), since each selected index has exactly b−1 other selected indices. Taking conditional expectations and using finite-sum linearity [F6, F10] gives np=b and n(n−1)r=b(b−1). Thus p=b/n and r=b(b−1)/(n(n−1)), including b=1 where r=0.

2.1A1F1F4F5F6F7F10step 1.2givenalgebra∎

The first inclusion probability in step 1.2, with [F5] and [F6], gives E[GS∣Fk]=b−1∑i(b/n)gi=gˉ. Put ai=gi−gˉ; since GS−gˉ=b−1∑iZiai, [F5]–[F7] give E[∥GS−gˉ∥22∣Fk]=b−2[(b/n)∑i∥ai∥22+(b(b−1)/(n(n−1)))∑i≠j⟨ai,aj⟩]. The cross sum is −∑i∥ai∥22 by expanding ⟨∑iai,∑jaj⟩=0, so the result is (n−b)/(b(n−1))σ2(x). If n=1, the only draw and subset contain the sole component, so both errors are zero.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Diagonal AdaGrad for online convex losses

Definition

Let d>=1 and let C be a nonempty closed convex subset of R^d, closed in the standard Euclidean metric topology of Rn as the set of functions n→R, and d1, d2, d∞ are metrics on it and convex as in A convex subset of Rm contains every line segment between two of its points. Use the one-based coordinate labels zj:=z(j−1) for 1≤j≤d for the vectors of The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn. Fix x_1 in C, a constant eta>0, and epsilon>0. An admissible input consists of convex losses ell_t:C->R and a subgradient oracle that returns a finite vector g_t in partial ell_t(x_t) at each queried iterate, with subgradient convention Subgradients and the subdifferential of a convex function. On round t, observe ell_t and obtain g_t from this oracle. For j=1,...,d set

st,j=ϵ2+∑k=1tgk,j2,At=diag⁡(st,1,...,st,d).

For a positive diagonal matrix A, write ||z||A^2=z^TAz. Set x{t+1} to the unique minimizer

xt+1=argmin⁡x∈C{η⟨gt,x⟩+12∥x−xt∥At2}.

Because epsilon>0, every diagonal entry s_{t,j} is positive. The displayed minimizer exists and is unique by Diagonal AdaGrad subproblem has a unique minimizer ↗, so the procedure is defined at each finite round. This is the proximal update in the diagonal metric A_t; after the coordinate scaling A_t^{1/2}, its subproblem is an ordinary Euclidean proximal problem in the sense of Proximal mapping.

Remarks

Each nonzero gk,j has positive square by Squares of nonzero elements are positive, and the zero case has square zero by Multiplication by zero: 0⋅a=0. Clause 4 of Laws of finite sums and finite products makes its finite sum nonnegative, so ϵ2+∑k=1tgk,j2≥ϵ2>0. Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0} therefore supplies a nonnegative, nonzero root st,j, hence st,j>0. This verifies the positive diagonal hypothesis used by the subproblem result.

CounterexampleConstruction: AI-adaptedVerification: AI-generatedOpen item page →

The assigned SAGA Lyapunov factor fails under standard initialization

Statement refuted

For the SAGA iterates and table in Finite-sum SAGA, with step size η>0 and a minimizer x∗ of F=n−1∑ifi, write Vk=∥xk−x∗∥22, Sk=n−1∑i=1n∥αik−∇fi(x∗)∥22, and Lk=Vk+7η2nSk.

The contract-required one-step bound E[Lk+1]≤(1−μη)E[Lk] need not hold for the prescribed SAGA initialization, even when η≤min⁡{1/(3L),μ/(13L2)}. The following finite instance has n=100, L=μ=1, x0=1, and η=1/13, but L1/L0=844/869>12/13=1−μη.

Facts & Assumptions

Given: d=1, n=100, fi(x)=x2/2 for every i, the standard SAGA initialization x0=1, αi0=fi′(x0), and η=1/13.

[F1]

Finite-sum SAGA: initialize αi0=∇fi(x0); at each step form vk=∇fIk(xk)−αIkk+αˉk, set xk+1=xk−ηvk, then replace the selected table entry using the pre-update point.

[F2]

Strong convexity for an extended-real objective: 1-strong convexity is the strong-Jensen inequality with decrement 12θ(1−θ)∣x−y∣2.

[F3]

Lipschitz map, α-Hölder map for rational 0<α≤1, and contraction: a 1-Lipschitz gradient satisfies ∣fi′(x)−fi′(y)∣≤∣x−y∣.

[F5]

Complete ordered field (least-upper-bound property): rational inequalities are preserved by multiplication by positive denominators.

[F6]

Laws of finite sums and finite products: a finite average of identical component functions equals that common function.

Counterexample

1.1F2F3F4F6givenalgebra

Each fi′(x)=x, so [F3] holds with L=1. For z=(1−θ)x+θy, direct expansion gives (1−θ)fi(x)+θfi(y)−fi(z)=12θ(1−θ)(x−y)2; hence [F2] holds with μ=1. The finite-sum scaling law [F6] gives F(x)=x2/2, so x∗=0 is stationary. The step size satisfies 1/13≤1/3 and 1/13=μ/(13L2).

1.2F1givenalgebra

By [F1], every initial table entry and its mean equal 1. For any sampled index, v0=fI0′(1)−1+1=1, so x1=1−1/13=12/13. The replacement stores fI0′(x0)=1, leaving the whole table unchanged. Therefore V0=1, V1=(12/13)2=144/169, and S0=S1=1.

2.1F4F5step 1.2givenalgebra∎

With Lk=Vk+7η2nSk, [F4] gives L0=1+700/169=869/169 and L1=144/169+700/169=844/169. Thus L1/L0=844/869. Since 13⋅844=10972>10428=12⋅869 by [F5], this ratio is greater than 12/13=1−μη. The sampled update is deterministic because all components are identical, so the same strict failure holds for the expected Lyapunov values.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

SAGA conditional estimator, variance, and table recurrence

Statement

Let f_i:R^d->R be convex and continuously differentiable with L-Lipschitz gradients, set F=n^{-1}sum_i f_i, and let x* satisfy grad F(x*)=0. Conditional on the current iterate x_k and table alpha_i^k, assume an independent uniform index I_k and finite second moments. Put

Sk=1n∑i=1n∥αik−∇fi(x∗)∥22,αˉk=1n∑iαik,vk=∇fIk(xk)−αIkk+αˉk.

Then

E[vk∣Fk]=∇F(xk),E[∥vk∥22∣Fk]≤6L(F(xk)−F(x∗))+6Sk,

and, for the SAGA table replacement in Finite-sum SAGA,

E[Sk+1∣Fk]≤(1−1/n)Sk+2Ln(F(xk)−F(x∗)).

Facts & Assumptions

Given: The finite-sum assumptions, x*, AC, and the SAGA update order. As stipulated by conditioning on the current iterate and table, Fk is the history before drawing Ik and contains the current state: xk and every αik are Fk-measurable. For the initialized SAGA process this is the history generated by the past indices I0,…,Ik−1, or any larger history containing that state from which Ik is independent.

[F1]

Finite-sum SAGA: v_k uses the old table; after the step, only alpha_{I_k} is replaced by grad f_{I_k}(x_k).

[F2]

Cocoercive gradient bound for a convex smooth finite sum: n^{-1}sum_i||grad f_i(x)-grad f_i(y)||_2^2<=2L(F(x)-F(y)-<grad F(y),x-y>).

[F3]

Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates: an iterate process is coordinatewise measurable with respect to the current sigma-algebra; an oracle output is measurable at the next time. Table measurability here is part of the current-state conditioning above, not an assertion of this oracle definition.

[F4]

Conditional expectation as an ae class: conditional expectations are almost-sure classes and assume AC for existence.

[F5]

Conditioning a known variable and an independent variable: an independent integrable index indicator has conditional expectation equal to its mean.

[F6]

Taking out what is known: measurable integrable factors can be taken outside conditional expectation.

[F7]

Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite sums.

[F10]

Gradient of a finite sum is the finite sum of gradients: grad F is the finite average of component gradients.

[F11]

Laws of finite sums and finite products: finite sums are additive, obey scaling and splitting, and are monotone termwise.

[A1]

The Axiom of Choice: assume AC for existence of the conditional-expectation classes used below.

Proof

Given: The objects and hypotheses in the Statement.

1.1F1F11givenalgebrainduction

At initialization the algorithm sets αˉ0=n−1∑iαi0. If αˉk=n−1∑iαik and the sampled index is i, its one evaluation gk=∇fi(xk) and table-mean update give αˉk+1=αˉk+1n(∇fi(xk)−αik)=1n∑j≠iαjk+1n∇fi(xk)=1n∑jαjk+1, by the recursion and finite-sum algebra [F11]. Induction proves this maintained-mean identity pathwise at every finite k.

2.1A1F1F3F4F5F6F7F10F11givenalgebra

By [F1], vk=∇fIk(xk)−αIkk+αˉk. Conditioned on Fk, xk and every αik are known, while each event {Ik=i} has conditional probability 1/n by [F5]; taking known vectors out by [F6], linearity [F7], the maintained-mean identity [step 1.1], [F10] and [F11] give E[vk∣Fk]=∇F(xk).

2.2A1F1F3F5F6F7F8F9F10F11givenalgebra

Let gi=∇fi(xk)−∇fi(x∗) and hi=αik−∇fi(x∗), so hˉ=n−1∑ihi=αˉk by [F10], [F11], [step 1.1], and ∇F(x∗)=0. Then vk=gIk−hIk+hˉ. Expanding its square and applying [F9] and 2ab≤a2+b2 gives ∥a+b+c∥22≤3(∥a∥22+∥b∥22+∥c∥22); averaging yields E[∥vk∥22∣Fk]≤3(n−1∑i∥gi∥22+Sk+∥hˉ∥22). Also, expanding the finite average and applying vector and scalar Cauchy–Schwarz from [F9] gives ∥hˉ∥22=n−2∑i,j⟨hi,hj⟩≤n−2(∑i∥hi∥2)2≤n−1∑i∥hi∥22=Sk. The finite-sum expansions use [F11].

3.1A1F2F11step 2.2givenalgebra

Apply [F2] with y=x∗ to obtain n−1∑i∥gi∥22≤2L(F(xk)−F(x∗)). Substitution in step 2.2 proves E[∥vk∥22∣Fk]≤6L(F(xk)−F(x∗))+6Sk.

4.1A1F1F2F3F5F6F7F11step 3.1givenalgebra∎

If Ik=i, the table update [F1] changes S by n−1(∥gi∥22−∥hi∥22). Averaging over the n equally likely indices gives E[Sk+1∣Fk]=(1−1/n)Sk+n−2∑i∥gi∥22; [F2] bounds the last term by (2L/n)(F(xk)−F(x∗)).

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

SVRG conditional unbiasedness and variance bound

Statement

Let f_i:R^d->R be convex and continuously differentiable with L-Lipschitz gradients, set F=n^{-1}sum_i f_i, and let x* satisfy grad F(x*)=0. Conditional on a filtration \mathcal F_t, suppose x_t and the snapshot \tilde x are measurable, the uniform index I_t is independent of \mathcal F_t, and the relevant second moments are finite. For

vt=∇fIt(xt)−∇fIt(x~)+∇F(x~),

one has

E[vt∣Ft]=∇F(xt),E[∥vt∥22∣Ft]≤4L(F(xt)−F(x∗))+4L(F(x~)−F(x∗)).

Facts & Assumptions

Given: The finite-sum hypotheses and filtration in the Statement, AC for conditional-expectation classes, and the SVRG estimator definition.

[F1]

Finite-sum SVRG: v_t=grad f_{I_t}(x_t)-grad f_{I_t}(\tilde x)+grad F(\tilde x), with I_t uniform and independent of the past.

[F2]

Cocoercive gradient bound for a convex smooth finite sum: n^{-1}sum_i||grad f_i(x)-grad f_i(y)||_2^2<=2L(F(x)-F(y)-<grad F(y),x-y>).

[F3]

Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates: filtration-measurable iterates and conditional expectations use the stated oracle convention; AC is assumed for the conditional-expectation classes.

[F4]

Conditional expectation as an ae class: conditional expectations are almost-sure classes whose existence is supplied under AC.

[F5]

Conditioning a known variable and an independent variable: an integrable real variable independent of the conditioning sigma-algebra has conditional expectation equal to its mean.

[F6]

Taking out what is known: an integrable measurable factor can be taken outside conditional expectation.

[F7]

Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite integrable sums.

[F10]

Gradient of a finite sum is the finite sum of gradients: the gradient of F is the finite average of the component gradients.

[F11]

Laws of finite sums and finite products: finite sums are additive, obey scaling, and permit termwise algebra.

[A1]

The Axiom of Choice: assume AC for existence of the conditional-expectation classes used below.

Proof

Given: The objects, hypotheses, and finite second moments in the Statement.

1.1A1F1F3F4F5F6F7F10F11givenalgebra

Condition on \mathcal F_t. Each component gradient at x_t or \tilde x is known given \mathcal F_t, while the indicators 1_{I_t=i} have conditional expectation 1/n by [F5]. Taking the known component gradients outside with [F6], summing by [F7] and [F11], and using [F10] gives E[v_t|\mathcal F_t]=n^{-1}sum_i(grad f_i(x_t)-grad f_i(\tilde x))+grad F(\tilde x)=grad F(x_t).

2.1A1F1F3F5F6F7F8F9F10F11step 1.1givenalgebra

Write ai=∇fi(xt)−∇fi(x∗) and bi=∇fi(x~)−∇fi(x∗). Since ∇F(x∗)=0, [F1] gives vt=aIt−(bIt−bˉ) with bˉ=n−1∑ibi=∇F(x~) by [F10]–[F11]. The centered term has conditional mean zero by [F5]–[F7], and E[∥bIt−bˉ∥22∣Ft]=n−1∑i∥bi−bˉ∥22=n−1∑i∥bi∥22−∥bˉ∥22≤n−1∑i∥bi∥22, by expansion and n−1∑ibi=bˉ.

3.1A1F2F8F9F11step 2.1givenalgebra∎

Expanding the square and applying [F9] together with 2ab<=a^2+b^2 gives ||a_{I_t}-(b_{I_t}-\bar b)||2^2<=2||a{I_t}||2^2+2||b{I_t}-\bar b||_2^2. Apply [F2] with y=x* to the first finite average and to the second; grad F(x*)=0 makes the linear term vanish, so the two averages are at most 2L(F(x_t)-F(x*)) and 2L(F(\tilde x)-F(x*)) by finite-sum algebra [F11]. Multiplying their sum by 2 proves the displayed second-moment bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Diagonal AdaGrad subproblem has a unique minimizer

Statement

Let C be a nonempty closed convex subset of R^d, let A=diag(a_1,...,a_d) with every a_j>0, and let eta>0 and x,g in R^d. Then the minimizer set

argmin⁡z∈C{η⟨g,z⟩+12∥z−x∥A2}

contains exactly one point.

Facts & Assumptions

Given: C,A,eta,x,g and the AdaGrad objective in the Statement.

[F1]

Diagonal AdaGrad for online convex losses: its update is the minimizer of eta<g,z>+||z-x||_A^2/2 over C, with A positive diagonal.

[F2]

Positive diagonal maps preserve closed convex sets: for d≥1, if T is diagonal with positive entries, TC is nonempty closed and convex whenever C is nonempty closed convex.

[F3]

Extended-real indicator of a set: the indicator of a set is zero on the set and +infinity off it.

[F4]

The proximal map of an indicator is Euclidean projection: the indicator of a nonempty closed convex set is proper, closed, and convex.

[F5]

Proper closed convex extended-real functions on Rn: proper means nonempty effective domain, convexity is the extended-real convexity inequality, and closedness means closed epigraph.

[F6]

Proximal mapping: prox_g(v) is the set of global minimizers of g(y)+||y-v||_2^2/2 when the parameter is one.

[F7]

Existence, resolvent characterization, and firm nonexpansiveness of the proximal map: for every proper closed convex g, prox_g(v) is a singleton.

[F9]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the Euclidean squared norm is the sum of coordinate squares.

[F10]

A convex subset of Rm contains every line segment between two of its points: convexity means every segment between points of C lies in C.

Proof

Given: The set, matrix, and objective in the Statement.

1.1F2F3F4F5F8F9F10givenconstructalgebra

If d=0, R0 contains only the empty vector by [F9], so nonempty C is that singleton and its sole point is the unique minimizer, with objective value zero. For the rest of the proof suppose d≥1. Let T=diag(sqrt(a_1),...,sqrt(a_d)). By [F8] each entry is the nonnegative square root of a_j; it is nonzero because a_j>0, so T is invertible and T^2=A. Set C'=TC. Since T is positive diagonal, [F2] makes C' nonempty, closed, and convex; [F10] supplies the convex-set convention used by [F2]. Therefore [F3]–[F5] make its indicator ι_{C'} a proper closed convex function.

2.1F1F3F6F9step 1.1givenalgebra

Put v=Tx−ηT−1g. Since T is diagonal, T(z−x) has squared norm ∥z−x∥A2 and ⟨T(z−x),T−1g⟩=⟨z−x,g⟩. Coordinate expansion gives η⟨g,z⟩+12∥z−x∥A2=12∥Tz−v∥22+η⟨g,x⟩−12η2∥T−1g∥22. The last two terms are independent of z, and z↦Tz bijects C with C′, so the minimizers correspond to prox⁡ιC′(v) by [F3] and [F6].

3.1F7step 2.1algebra∎

By [F7] the latter proximal set is a singleton. The inverse map T^{-1} is one-to-one, so its corresponding minimizer z in C is also unique. This proves the Statement.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

SAGA expected linear contraction with a memory-scaled step size

Statement

Let n,d≥1, and let fi:Rd→R be convex, continuously differentiable, with L-Lipschitz gradients for a common L>0. Put F=n−1∑ifi, assume F is μ-strongly convex with μ>0, and let x∗ satisfy ∇F(x∗)=0. Run SAGA Finite-sum SAGA from a deterministic x0 and its stated initialized gradient table. For

0<η≤min⁡{13L,μ13L2,17μn},

define Vk=∥xk−x∗∥22, Sk=n−1∑i∥αik−∇fi(x∗)∥22, and Lk=Vk+7η2nSk. Then for every k≥0,

E[Lk+1]≤(1−μη)E[Lk].

Scope note: This is the retained memory-scaled sufficient branch. The controlling STO2 contract separately proves the factor 1−min⁡{μη,1/(7n)} for every 0<η≤1/(10L), with the faster factor 1−μη when μη≤1/(7n). The restriction η≤1/(7μn) here is sufficient for this branch's faster factor; it is not claimed necessary or optimal. The standard-initialization counterexample refutes removing that rate cap from this faster factor.

Facts & Assumptions

Given: The functions, x∗, SAGA initialization and independent uniform sampling in the Statement, with AC for conditional-expectation classes. Finite-time moments exist because for each finite k the algorithm has finitely many index histories and each gradient evaluation is finite.

[F1]

Finite-sum SAGA: xk+1=xk−ηvk, then the sampled table entry is replaced by ∇fIk(xk) using the pre-update iterate.

[F2]

SAGA conditional estimator, variance, and table recurrence: conditionally on the history, E[vk∣Fk]=∇F(xk), E[∥vk∥22∣Fk]≤6L(F(xk)−F(x∗))+6Sk, and E[Sk+1∣Fk]≤(1−1/n)Sk+(2L/n)(F(xk)−F(x∗)).

[F3]

Gradient of a finite sum is the finite sum of gradients: ∇F(w)=n−1∑i∇fi(w).

[F4]

Descent inequality for a Lipschitz gradient: each fi satisfies its L-smooth upper descent inequality.

[F5]

Strong convexity makes a differentiable gradient strongly monotone: F(y)≥F(x)+⟨∇F(x),y−x⟩+(μ/2)∥y−x∥22.

[F6]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the Euclidean inner product is bilinear and ∥z∥22=⟨z,z⟩.

[F7]

Lipschitz map, α-Hölder map for rational 0<α≤1, and contraction: an L-Lipschitz gradient satisfies ∥∇fi(x)−∇fi(y)∥2≤L∥x−y∥2.

[F8]

Cauchy-Schwarz ∣⟨x,y⟩∣≤∥x∥2∥y∥2 with its equality case, the triangle inequality for ∥⋅∥2, the parallelogram law and polarisation: ∣⟨z,w⟩∣≤∥z∥2∥w∥2; applying Cauchy–Schwarz to the finite vector of component norms bounds an average by its root-mean-square norm.

[F9]

Basic algebra and order properties of conditional expectation: conditional expectation preserves order and E[E[X∣Fk]]=E[X] for integrable X.

[F10]

Finite sums and finite products, by recursion: the finite average is the recursively defined finite sum scaled by 1/n.

[F11]

Laws of finite sums and finite products: finite sums are additive, obey scaling, and are monotone termwise.

[A1]

The Axiom of Choice: AC is assumed by the conditional-expectation interface [F2].

Proof

Given: The objects and assumptions in the Statement.

1.1F3F4F5F11givenalgebra

Put Δk=F(xk)−F(x∗). Averaging [F4] from x∗ to xk, and using [F3], [F11] and ∇F(x∗)=0, gives Δk≤(L/2)Vk. Applying [F5] from x∗ to xk also gives Δk≥(μ/2)Vk≥0.

2.1A1F1F2F5F6step 1.1givenalgebra

Expand [F1] and condition on the current history. The unbiased part of [F2] gives cross term −2η⟨∇F(xk),xk−x∗⟩≤−2μηVk by [F5]. The second-moment bound in [F2] and step 1.1 then give E[Vk+1∣Fk]≤(1−2μη+3η2L2)Vk+6η2Sk.

2.2A1F2step 1.1givenalgebra

The table recurrence in [F2], followed by step 1.1, gives E[Sk+1∣Fk]≤(1−1/n)Sk+(L2/n)Vk.

3.1A1step 2.1step 2.2givenalgebra

Multiply step 2.2 by 7η2n and add step 2.1. The coefficient of Vk is 1−2μη+10η2L2, and the coefficient of Sk is (7n−1)η2. Since η≤μ/(13L2), the first coefficient is at most 1−μη; since η≤1/(7μn), the second is at most 7η2n(1−μη). Thus E[Lk+1∣Fk]≤(1−μη)Lk.

4.1A1F3F5F7F8F9F10F11step 3.1givenalgebra∎

By [F3], [F7], [F8], [F10], [F11], and finite Cauchy–Schwarz, ∥∇F(x)−∇F(y)∥22≤n−1∑i∥∇fi(x)−∇fi(y)∥22≤L2∥x−y∥22. For x≠y, [F5] and [F8] now give μ∥x−y∥22≤⟨∇F(x)−∇F(y),x−y⟩≤L∥x−y∥22, so μ≤L. Thus 1−μη≥2/3>0 by the step-size bound. Apply [F9] to take expectations in the conditional inequality from step 3.1; this proves the stated contraction.

Remarks

The refutation of the unamended SAGA factor from the standard initialization is proved in The assigned SAGA Lyapunov factor fails under standard initialization. This theorem proves the corrected sufficient-step-size statement above.

TheoremStatement: AI-adaptedProof: AI-generatedOpen item page →

SAGA constant-step linear contraction with a memory-capped factor

Statement

Assume AC. Let n,d≥1 and let fi:Rd→R be convex, continuously differentiable, with L-Lipschitz gradients for a common L>0. Set F=n−1∑ifi, assume F is μ-strongly convex for μ>0, and let x∗ satisfy ∇F(x∗)=0. Run Finite-sum SAGA from deterministic x0 with its standard initialized table and independent uniform component draws. For any constant 0<η≤1/(10L), define Vk=∥xk−x∗∥22,Sk=1n∑i∥αik−∇fi(x∗)∥22,Lk=Vk+7η2nSk, δ=min⁡{μη,1/(7n)},q=1−δ. Then 0<δ<1, and for every k≥0, E[Lk+1∣Fk]≤qLk,E[Lk]≤qkL0,E[F(xk)−F(x∗)]≤L2qkL0. In particular η=1/(10L) is allowed independently of n, with δ=min⁡{μ/(10L),1/(7n)}. When additionally μη≤1/(7n) the factor is 1−μη; no such faster factor is asserted without that condition. These are expectation bounds for the exact SAGA recurrence, not almost-sure convergence or finite-oracle success claims.

Facts & Assumptions

Given: The functions, x∗, SAGA initialization and independent uniform sampling in this Statement, with AC for conditional-expectation classes. Finite-time moments exist because for each finite k the algorithm has finitely many index histories and each gradient evaluation is finite.

[F1]

Finite-sum SAGA: xk+1=xk−ηvk, then the sampled table entry is replaced by ∇fIk(xk) using the pre-update iterate.

[F2]

SAGA conditional estimator, variance, and table recurrence: conditionally on the history, E[vk∣Fk]=∇F(xk), E[∥vk∥22∣Fk]≤6L(F(xk)−F(x∗))+6Sk, and E[Sk+1∣Fk]≤(1−1/n)Sk+(2L/n)(F(xk)−F(x∗)).

[F3]

Gradient of a finite sum is the finite sum of gradients: ∇F(w)=n−1∑i∇fi(w).

[F4]

Descent inequality for a Lipschitz gradient: each fi satisfies its L-smooth upper descent inequality.

[F5]

Strong convexity makes a differentiable gradient strongly monotone: F(y)≥F(x)+⟨∇F(x),y−x⟩+(μ/2)∥y−x∥22.

[F6]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the Euclidean inner product is bilinear and ∥z∥22=⟨z,z⟩.

[F7]

Lipschitz map, α-Hölder map for rational 0<α≤1, and contraction: an L-Lipschitz gradient satisfies ∥∇fi(x)−∇fi(y)∥2≤L∥x−y∥2.

[F8]

Cauchy-Schwarz ∣⟨x,y⟩∣≤∥x∥2∥y∥2 with its equality case, the triangle inequality for ∥⋅∥2, the parallelogram law and polarisation: ∣⟨z,w⟩∣≤∥z∥2∥w∥2; applying Cauchy–Schwarz to the finite vector of component norms bounds an average by its root-mean-square norm.

[F9]

Basic algebra and order properties of conditional expectation: conditional expectation preserves order and E[E[X∣Fk]]=E[X] for integrable X.

[F10]

Finite sums and finite products, by recursion: the finite average is the recursively defined finite sum scaled by 1/n.

[F11]

Laws of finite sums and finite products: finite sums are additive, obey scaling, and are monotone termwise.

[A1]

The Axiom of Choice: AC is assumed by the conditional-expectation interface [F2].

Proof

1.1F3F4F5F11givenalgebra

Put Δk=F(xk)−F(x∗) and ek=xk−x∗. By [F5] at xk with y=x∗, ⟨∇F(xk),ek⟩≥Δk+(μ/2)Vk. By [F5] at x∗, Δk≥(μ/2)Vk≥0. Averaging [F4] at x∗ and using [F3], [F11] and ∇F(x∗)=0 also gives Δk≤(L/2)Vk.

1.2F3F5F7F8F10F11givenalgebra

The average gradient is L-Lipschitz: by [F3], [F7], [F8], [F10] and [F11], ∥∇F(x)−∇F(y)∥22≤n−1∑i∥∇fi(x)−∇fi(y)∥22≤L2∥x−y∥22. The strong-monotonicity consequence of [F5] and Cauchy–Schwarz [F8] imply μ≤L, since d≥1 allows x≠y. Thus 0<μη≤1/10 and 0<δ≤1/(7n)≤1/7<1.

2.1A1F1F2F6step 1.1givenalgebra

Expand [F1] and condition on the current history. Unbiasedness and the second-moment bound in [F2], followed by the gap-retaining inner-product estimate in step 1.1, give E[Vk+1∣Fk]≤Vk−2η⟨∇F(xk),ek⟩+η2(6LΔk+6Sk)≤(1−μη)Vk+(−2η+6Lη2)Δk+6η2Sk. Finite-time moments exist as stated in the Given paragraph, so all conditional quantities are integrable.

3.1A1F2step 1.1step 2.1givenalgebra

Multiply the table recurrence in [F2] by 7η2n and add step 2.1. This yields E[Lk+1∣Fk]≤(1−μη)Vk+(−2η+20Lη2)Δk+(7n−1)η2Sk. Since η≤1/(10L), the gap coefficient is nonpositive; since Δk≥0, it can be dropped.

4.1step 1.2step 3.1givenalgebra

By definition δ≤μη and δ≤1/(7n). Hence (1−μη)Vk≤(1−δ)Vk and (7n−1)η2Sk=7η2n(1−1/(7n))Sk≤7η2n(1−δ)Sk. Apply these two inequalities to step 3.1 to obtain E[Lk+1∣Fk]≤qLk. The positivity from step 1.2 gives q∈(0,1).

5.1A1F9F11step 1.1step 4.1giveninductionalgebra∎

Apply the tower property and order preservation in [F9] to step 4.1. Induction gives E[Lk]≤qkL0, beginning with equality at k=0. Step 1.1 and Vk≤Lk give the objective bound after taking expectations. Substituting η=1/(10L) gives the advertised constant-step factor; if μη≤1/(7n), the minimum defining δ is μη.

Remarks

The expectation estimate is not a total-runtime guarantee and does not bound the cost of an individual component-gradient evaluation. At η=1/(10L), 1/δ=max⁡{10L/μ,7n} describes the geometric-rate scale; it is not a total runtime bound.

The separate memory-scaled theorem and the standard-initialization counterexample remain unchanged. The counterexample refutes omitting the memory cap from the faster factor, not the present capped rate. This local proof retains the gap term supplied by strong convexity instead of discarding it before combining iterate and table recurrences.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Expected linear contraction of an SVRG epoch

Statement

Let n,d≥1, and let fi:Rd→R be convex, continuously differentiable, with L-Lipschitz gradients for a common L>0. Put F=n−1∑i=1nfi, assume F is μ-strongly convex for μ>0, and let x∗ satisfy ∇F(x∗)=0. In one SVRG epoch Finite-sum SVRG, take a deterministic snapshot x~, set x0=x~, choose

η=110L,m=2n,

and choose each uniform inner index independently of the past. Assume n≥10L/μ. Choose the output index J independently and uniformly from {0,…,m−1}. Then

E[F(xJ)−F(x∗)]≤q(F(x~)−F(x∗)),q=1μη(1−2Lη)m+2Lη1−2Lη≤78.

The expectation is over the inner indices and J; this is an epoch expectation bound and asserts no almost-sure convergence.

Facts & Assumptions

Given: The functions, smoothness, strong convexity, stationary minimizer, snapshot, inner iteration, and independent uniform output index in the Statement. All finite-time moments exist because a finite horizon has only finitely many index histories and each update evaluates finite gradients at finite points.

[F1]

Finite-sum SVRG: xt+1=xt−ηvt, with vt=∇fIt(xt)−∇fIt(x~)+∇F(x~) and independent uniform It.

[F2]

SVRG conditional unbiasedness and variance bound: conditionally on the history, E[vt]=∇F(xt) and E∥vt∥22≤4L(F(xt)−F(x∗))+4L(F(x~)−F(x∗)).

[F3]

Descent inequality for a Lipschitz gradient: an L-Lipschitz gradient gives fi(z)≤fi(w)+⟨∇fi(w),z−w⟩+(L/2)∥z−w∥22.

[F4]

Gradient of a finite sum is the finite sum of gradients: ∇F(w)=n−1∑i∇fi(w).

[F5]

Strong convexity makes a differentiable gradient strongly monotone: F(y)≥F(x)+⟨∇F(x),y−x⟩+(μ/2)∥y−x∥22.

[F6]

Differentiable convex functions are characterized by the gradient inequality: convex differentiable F satisfies F(y)≥F(x)+⟨∇F(x),y−x⟩.

[F7]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: ∥z∥22=⟨z,z⟩ and the inner product is bilinear.

[F8]

Laws of finite sums and finite products: finite sums are additive, obey scaling, and telescope.

[A1]

The Axiom of Choice: AC is assumed for the conditional-expectation interfaces used in [F2].

Proof

Given: The objects and assumptions in the Statement.

1.1A1F1F2F3F4F6F7F8givenalgebra

Write Δt=F(xt)−F(x∗) and Δ~=F(x~)−F(x∗). Averaging [F3] and using [F4], [F8] gives the L-smooth descent inequality for F. By [F1], [F2], [F6], and [F7], expansion of the squared distance and the convex gradient inequality yield E[∥xt+1−x∗∥22∣Ft]≤∥xt−x∗∥22−2ηΔt+η2E[∥vt∥22∣Ft]≤∥xt−x∗∥22−2η(1−2Lη)Δt+4η2LΔ~.

2.1A1F5F8step 1.1givenalgebra

Average the conditional inequality in step 1.1 over the finite index histories and sum for t=0,…,m−1. By [F8] the finite sum telescopes; the terminal squared distance is nonnegative and x0=x~, hence m−1∑t=0m−1E[Δt]≤∥x~−x∗∥22/[2η(1−2Lη)m]+[2ηL/(1−2Lη)]Δ~. By [F5] and ∇F(x∗)=0, ∥x~−x∗∥22≤2Δ~/μ; the independent uniform J makes its expected gap the average on the left, giving the stated q.

3.1step 2.1givenalgebra∎

With η=1/(10L) and m=2n, 1−2Lη=4/5, so q=25L/(4μn)+1/4≤5/8+1/4=7/8 by n≥10L/μ. This proves the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

One-step diagonal AdaGrad regret inequality

Statement

Let A=diag⁡(a1,…,ad) with aj>0, let C⊆Rd be nonempty, closed, and convex, and let x,x+,u∈C where x+ minimizes η⟨g,z⟩+12∥z−x∥A2 over z∈C, for η>0 and g∈Rd. With ∥w∥A2=wTAw, A−1=diag⁡(1/a1,…,1/ad), and ∥g∥A−12=gTA−1g,

⟨g,x−u⟩≤∥x−u∥A2−∥x+−u∥A22η+η2∥g∥A−12.

Facts & Assumptions

Given: The set, positive diagonal matrix, step size, gradient, comparator, and minimizer in the Statement. In coordinate expansions use the one-based labels zj:=z(j−1) for 1≤j≤d, as in [F1].

[F1]

Diagonal AdaGrad for online convex losses: an update minimizes η⟨g,z⟩+12∥z−x∥A2 on C, with positive diagonal A.

[F2]

Diagonal AdaGrad subproblem has a unique minimizer: for these data the minimizer exists and is unique.

[F3]
[F5]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the inner product is bilinear and the squared Euclidean norm is the sum of coordinate squares.

[F7]

Laws of finite sums and finite products: a finite sum of nonnegative terms is nonnegative.

[F8]

Squares of nonzero elements are positive gives positivity for each nonzero coordinate square; Multiplication by zero: 0⋅a=0 gives square zero for a zero coordinate. Thus every coordinate square is nonnegative.

[F9]

Ordered field and Sign rules for products and monotonicity of multiplication, with Multiplication by zero: 0⋅a=0 and Inverses of positives are positive, and reciprocation reverses order for zero factors and reciprocals: sums and products of nonnegative reals are nonnegative, and a positive denominator preserves order.

Proof

Given: The objects and assumptions in the Statement.

1.1F1F2F3F4F5F7F8F9F10givenalgebra

Write q(z)=η⟨g,z⟩+12∥z−x∥A2, d=u−x+, c=⟨ηg+A(x+−x),d⟩, and Q=∥d∥A2≥0, the last inequality following from [F5], [F7], [F8], and [F9]. Since C is nonempty, closed in the metric topology [F4], and convex, [F2] ensures the unique update minimizer exists. For 0<s≤1, [F3] gives x++sd∈C, so [F1] minimality gives 0≤q(x++sd)−q(x+)=sc+(s2/2)Q. If c<0, put a=−c>0 and s=a/(Q+a+1). By [F9] and [F10], Q+a+1>a>0, so 0<s<1 and Q<Q+a+1. Dividing the minimality inequality by s>0 gives 0≤c+sQ/2, whereas sQ/2=aQ/(2(Q+a+1))<a/2, so c+sQ/2<−a/2<0, a contradiction. Thus c≥0, which rearranges to η⟨g,x+−u⟩≤⟨A(x−x+),x+−u⟩.

2.1F5F6F7F8step 1.1givenalgebra∎

Expanding gives 2⟨A(x−x+),x+−u⟩=∥x−u∥A2−∥x+−u∥A2−∥x−x+∥A2. Also [F5]–[F8] and nonnegativity of squares give 0≤∑j(aj(xj−xj+)−ηgj/aj)2, hence η⟨g,x−x+⟩−12∥x−x+∥A2≤(η2/2)∥g∥A−12. Add the inequality from step 1.1 and divide by η>0 to obtain the Statement.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Diagonal AdaGrad regret bound

Statement

Use one-based coordinate labels zj:=z(j−1) for 1≤j≤d, as in Diagonal AdaGrad for online convex losses. Let C⊆Rd be nonempty, closed, and convex, and suppose its coordinate diameters Dj=sup⁡{∣xj−uj∣:x,u∈C} are finite. Run diagonal AdaGrad Diagonal AdaGrad for online convex losses for T≥1 rounds on convex losses ℓt:C→R, with gt∈∂ℓt(xt), step size η>0, and accumulator st,j=ϵ2+∑k=1tgk,j2 for ϵ>0. For every comparator u∈C,

∑t=1T(ℓt(xt)−ℓt(u))≤∑j=1d(Dj22η+η)sT,j.

Facts & Assumptions

Given: The set, losses, subgradients, finite horizon, positive parameters, and update in the Statement.

[F1]

Diagonal AdaGrad for online convex losses: At=diag⁡(st,1,…,st,d) and the update minimizes the stated diagonal quadratic objective.

[F2]

One-step diagonal AdaGrad regret inequality: for each u∈C, ⟨gt,xt−u⟩≤(∥xt−u∥At2−∥xt+1−u∥At2)/(2η)+(η/2)∥gt∥At−12.

[F3]

Subgradients and the subdifferential of a convex function: gt∈∂ℓt(xt) means ℓt(u)≥ℓt(xt)+⟨gt,u−xt⟩ for all u∈C.

[F4]

Finite sums and finite products, by recursion: finite sums obey their recursive addition and finite-sum algebra.

[F5]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: for diagonal At, ∥z∥At2=∑jst,jzj2.

[F6]

The Cauchy-sequence reals have the least-upper-bound property establishes completeness of the real field in the sense of Complete ordered field (least-upper-bound property): every nonempty set of reals bounded above has a real supremum. Since C is nonempty, each coordinate-difference set contains 0; the finite-diameter hypothesis makes it bounded above, so each Dj exists.

[F7]

Laws of finite sums and finite products: finite sums are additive, monotone termwise, and telescope.

[F8]

Squares of nonzero elements are positive makes every nonzero square positive; Multiplication by zero: 0⋅a=0 gives square zero for zero. Thus every square is nonnegative.

[F9]

Squaring is monotone on the nonnegatives: squaring is monotone on nonnegative reals.

[F11]

Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}: each accumulator is the nonnegative root of its displayed radicand, so its square equals that radicand.

Proof

Given: The objects and hypotheses in the Statement.

1.1F2F4F5F7givenalgebra

Sum [F2] for t=1,…,T. Finite-sum algebra [F4], [F7] telescopes each coordinate to ∑t⟨gt,xt−u⟩≤(∥x1−u∥A12+∑t=2T∥xt−u∥At−At−12−∥xT+1−u∥AT2)/(2η)+(η/2)∑t∥gt∥At−12. The last metric term is nonnegative and may be dropped.

2.1F1F4F5F6F7F8F9F11step 1.1givenalgebra

Set s0,j=ϵ. By [F1], [F11], and the finite-sum recursion [F4], st,j2−st−1,j2=gt,j2≥0 by [F8]. Both roots are nonnegative by [F11], so [F9] gives st,j≥st−1,j, and st−1,j>0 follows from the positive accumulator in [F1]. Thus every metric increment in step 1.1 is nonnegative. Since xt,u∈C, ∣xt,j−uj∣≤Dj. [F5] then bounds the initial and metric-increment terms in step 1.1 by ∑jDj2sT,j: for each j, s1,j+∑t=2T(st,j−st−1,j)=sT,j by [F7].

3.1F1F4F5F7F10step 1.1step 2.1givenalgebra

The accumulator identity and monotonicity from step 2.1 give gt,j2/st,j=(st,j−st−1,j)(st,j+st−1,j)/st,j≤2(st,j−st−1,j) by [F10]. Summing and telescoping by [F7] gives ∑t∥gt∥At−12≤2∑j(sT,j−ϵ)≤2∑jsT,j. Substitute in step 1.1 and combine with step 2.1 to obtain the linearized-loss bound.

4.1F3F7step 3.1givenalgebra∎

By [F3], each convex-loss difference satisfies ℓt(xt)−ℓt(u)≤⟨gt,xt−u⟩. Summing these inequalities using [F7] and applying step 3.1 proves the stated regret bound.

5 · Examples, counterexamples and false statements

None yet.

Sources