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
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Control variates, antithetics, and stratification
- Convergence: Nets and Filters
- Convex and Semicontinuous Functions on Rⁿ
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Properties of the Integral and the Working FTC
- Proximal gradient and accelerated composite optimization
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Stochastic approximation and stochastic gradient methods
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Analytic Hahn Banach Theorem
- The Derivative and the Mean Value Theorems
- The Direct Method and Euler--Lagrange Equations
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak and Weak Star Topologies
- Weak Laws and Series of Independent Random Variables
2 · Summary
For a finite sum , 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 -smooth components and a -strongly convex sum. The SAGA table recurrence is proved under the same component assumptions.
For the same SAGA potential , the constant-step theorem proves the factor for every , including an -independent step. The faster factor applies when additionally . 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 . 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 ; 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
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
where \odot denotes coordinatewise multiplication. Define the bias-corrected moments
and update, coordinatewise,
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 with ; the positives are holds.
For and integer , Monotonicity of and of gives , 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 and and the product sign rules Sign rules for products and monotonicity of multiplication, Multiplication by zero: , gives . Division by the positive bias-correction factor preserves nonnegativity by Inverses of positives are positive, and reciprocation reverses order, so ; its square root exists by Square roots exist: a unique with ; the positives are , and . These facts justify every finite update.
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
where \odot and max are coordinatewise. Update
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 and integer , Monotonicity of and of gives , 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: give . Division by the positive bias-correction factor preserves nonnegativity by Inverses of positives are positive, and reciprocation reverses order, so and its square root exists by Square roots exist: a unique with ; the positives are . 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 .
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
Facts & Assumptions
Given: The open domain U, x, n, and the functions in the Statement.
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.
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.
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.
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.
The principle of mathematical induction: a property true at zero and inherited by each successor holds for every natural index.
The Euclidean inner product on : vectors in R^d are equal when their d coordinates agree.
The total (Fréchet) derivative as the linear first-order approximation with remainder: total differentiability means a linear first-order approximation with a remainder whose norm divided by ||h||_2 tends to zero.
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.
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.
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).
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.
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.
A convex subset of contains every line segment between two of its points: convexity means every segment between two points of C lies in C.
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.
Open ball, closed ball and sphere in a metric space: B(x,r)={y:||y-x||_2<r}.
The Euclidean inner product on : ||z||2^2=sum{j=1}^d z_j^2.
Finite sums and finite products, by recursion: finite sums are well-defined and obey their finite-sum algebra.
Square roots exist: a unique with ; the positives are : a nonnegative real has a unique nonnegative square root.
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.
Squares of nonzero elements are positive: a nonzero square is positive; a zero square is zero.
Inverses of positives are positive, and reciprocation reverses order: the inverse of a positive real is positive; Integer powers defines the negative powers used here.
Squaring is monotone on the nonnegatives: if , then exactly when .
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.
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.
Fix . Since each , the definition of negative integer powers gives . The square is positive by [F8], so by [F9]. Thus by [F11], and exists by [F6] and is positive. The inverse image is not in . Since is closed, [F2] supplies with disjoint from . For every , Indeed each is nonnegative, is at most its finite sum by [F7], and multiplication by preserves that inequality; summing uses [F7]. Both norms and are nonnegative, so [F10] yields .
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.
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:
- Draw I_k uniformly from {1,...,n}, independently of the history \mathcal F_k.
- Evaluate once. Using the old table, form
- Replace only the sampled table entry, using the pre-update point: and set
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 from , integrand , control , known control mean , and coefficient . 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.
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
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:
- Compute the full gradient \nabla F(\tilde x), set x_0=\tilde x.
- For t=0,...,m-1, draw I_t uniformly from {1,...,n}, independently of the past, and set for a selected step size \eta>0.
- 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.
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
Each finite prefix is a convex loss sequence and every gradient has magnitude at most 5/2.
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).
The principle of mathematical induction: a property true at zero and inherited by each successor holds for every natural index.
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.
Square roots exist: a unique with ; the positives are : each nonnegative real has a unique nonnegative square root.
The natural numbers (von Neumann): time and cycle indices are natural numbers.
Integer powers : beta^t is the integer power of beta at natural time t.
Convex and strictly convex functions on Euclidean convex sets: convexity means the segment inequality for function values.
Every complete ordered field is Archimedean: for every real there is a natural with .
Squaring is monotone on the nonnegatives: on nonnegative reals, implies .
Counterexample
The losses are affine, hence convex by direct substitution in [F7]. With , define , , and . Substituting the three gradients in [F1] gives , , , and . The formula holds at because ; substitution proves the successor formula, so [F2] gives it for every . It yields and , . Also , so for , , where .
Let be the magnitudes of the three Adam updates in cycle , so the cycle change is . For , step 1.1 gives , , and . Since all quantities are nonnegative, [F9] gives the corresponding square-root comparisons. Since , ; with the update magnitudes satisfy , , and . Exact arithmetic gives , so every such cycle increases by at least this amount.
Put . For every , step 2.1 gives , where . Induction gives for each integer . Given any real bound , [F8] supplies an integer ; hence . 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.
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,
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.
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.
Differentiable convex functions are characterized by the gradient inequality: a differentiable convex function satisfies f(z)>=f(w)+<grad f(w),z-w>.
Lipschitz map, -Hölder map for rational , and contraction: L-Lipschitz means ||grad f_i(a)-grad f_i(b)||_2<=L||a-b||_2.
Gradient of a finite sum is the finite sum of gradients: grad F(y)=n^{-1}sum_i grad f_i(y).
The Euclidean inner product on : ||z||_2^2=<z,z>, and the inner product is linear in each variable.
Convex and strictly convex functions on Euclidean convex sets: convexity is the segment inequality for values of the function.
Laws of finite sums and finite products: finite sums are additive and scale linearly.
Proof
Given: The objects and hypotheses in the Statement.
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.
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>).
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>).
Conditional variance of independent and without-replacement minibatches
Statement
Let , let be a discrete filtered probability space, and fix . Let be continuously differentiable, let be -measurable, and suppose each is square-integrable. Define , by Gradient of a finite sum is the finite sum of gradients, and
For an integer , draw as mutually independent uniform indices from , with the whole index vector independent of , and set . Then
For sampling without replacement, let be a uniform subset of of size , independent of , and set . If and , then
When , the without-replacement case requires ; both estimators equal and both errors are zero.
Facts & Assumptions
Given: The discrete filtered probability space Filtration and filtered probability space, the time , the -measurable point and square-integrable gradients, and the two sampling laws in the Statement. Vector conditional expectations mean coordinatewise scalar conditional expectations.
The Axiom of Choice: assume AC for conditional-expectation classes.
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.
Filtration and filtered probability space: is a sigma-algebra and .
Conditional expectation as an ae class: under AC, conditional expectations of integrable random variables exist as almost-sure classes.
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.
Taking out what is known: an integrable factor measurable in the conditioning sigma-algebra can be taken outside conditional expectation.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite integrable sums.
The Euclidean inner product on : , and the inner product is bilinear.
Gradient of a finite sum is the finite sum of gradients: the gradient of is the average of the component gradients.
Finite sums and finite products, by recursion: a finite average is the finite recursively defined sum scaled by .
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.
For every , independence and [F4] give . Since is -measurable and square-integrable, [F1]–[F3], [F5], and [F6] allow to be conditioned coordinatewise and termwise, yielding . For and every , joint independence gives ; hence , since each centered finite sum vanishes. Expanding leaves diagonal terms, each with conditional expectation , so division by proves the with-replacement identities.
Assume . Let . Relabeling the elements of the uniform size- subsets shows that has one common value for all , and that has one common value for all ordered pairs ; independence of from makes these conditional values constant. There are singleton indices and ordered distinct pairs, by choosing the first and then the second index. Every such subset satisfies and , since each selected index has exactly other selected indices. Taking conditional expectations and using finite-sum linearity [F6, F10] gives and . Thus and , including where .
The first inclusion probability in step 1.2, with [F5] and [F6], gives . Put ; since , [F5]–[F7] give . The cross sum is by expanding , so the result is . If , the only draw and subset contain the sole component, so both errors are zero.
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 as the set of functions , and , , are metrics on it and convex as in A convex subset of contains every line segment between two of its points. Use the one-based coordinate labels for for the vectors of The Euclidean inner product on . 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
For a positive diagonal matrix A, write ||z||A^2=z^TAz. Set x{t+1} to the unique minimizer
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 has positive square by Squares of nonzero elements are positive, and the zero case has square zero by Multiplication by zero: . Clause 4 of Laws of finite sums and finite products makes its finite sum nonnegative, so . Square roots exist: a unique with ; the positives are therefore supplies a nonnegative, nonzero root , hence . This verifies the positive diagonal hypothesis used by the subproblem result.
The assigned SAGA Lyapunov factor fails under standard initialization
Statement refuted
For the SAGA iterates and table in Finite-sum SAGA, with step size and a minimizer of , write , , and .
The contract-required one-step bound need not hold for the prescribed SAGA initialization, even when . The following finite instance has , , , and , but .
Facts & Assumptions
Given: , , for every , the standard SAGA initialization , , and .
Finite-sum SAGA: initialize ; at each step form , set , then replace the selected table entry using the pre-update point.
Strong convexity for an extended-real objective: -strong convexity is the strong-Jensen inequality with decrement .
Lipschitz map, -Hölder map for rational , and contraction: a -Lipschitz gradient satisfies .
The Euclidean inner product on : in one dimension .
Complete ordered field (least-upper-bound property): rational inequalities are preserved by multiplication by positive denominators.
Laws of finite sums and finite products: a finite average of identical component functions equals that common function.
Counterexample
Each , so [F3] holds with . For , direct expansion gives ; hence [F2] holds with . The finite-sum scaling law [F6] gives , so is stationary. The step size satisfies and .
By [F1], every initial table entry and its mean equal . For any sampled index, , so . The replacement stores , leaving the whole table unchanged. Therefore , , and .
With , [F4] gives and . Thus . Since by [F5], this ratio is greater than . The sampled update is deterministic because all components are identical, so the same strict failure holds for the expected Lyapunov values.
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
Then
and, for the SAGA table replacement in Finite-sum SAGA,
Facts & Assumptions
Given: The finite-sum assumptions, x*, AC, and the SAGA update order. As stipulated by conditioning on the current iterate and table, is the history before drawing and contains the current state: and every are -measurable. For the initialized SAGA process this is the history generated by the past indices , or any larger history containing that state from which is independent.
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).
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>).
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.
Conditional expectation as an ae class: conditional expectations are almost-sure classes and assume AC for existence.
Conditioning a known variable and an independent variable: an independent integrable index indicator has conditional expectation equal to its mean.
Taking out what is known: measurable integrable factors can be taken outside conditional expectation.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite sums.
The Euclidean inner product on : the inner product is bilinear and ||z||_2^2=<z,z>.
Gradient of a finite sum is the finite sum of gradients: grad F is the finite average of component gradients.
Laws of finite sums and finite products: finite sums are additive, obey scaling and splitting, and are monotone termwise.
The Axiom of Choice: assume AC for existence of the conditional-expectation classes used below.
Proof
Given: The objects and hypotheses in the Statement.
At initialization the algorithm sets . If and the sampled index is , its one evaluation and table-mean update give by the recursion and finite-sum algebra [F11]. Induction proves this maintained-mean identity pathwise at every finite .
By [F1], . Conditioned on , and every are known, while each event has conditional probability by [F5]; taking known vectors out by [F6], linearity [F7], the maintained-mean identity [step 1.1], [F10] and [F11] give .
Let and , so by [F10], [F11], [step 1.1], and . Then . Expanding its square and applying [F9] and gives ; averaging yields . Also, expanding the finite average and applying vector and scalar Cauchy–Schwarz from [F9] gives . The finite-sum expansions use [F11].
Apply [F2] with to obtain . Substitution in step 2.2 proves .
If , the table update [F1] changes by . Averaging over the equally likely indices gives ; [F2] bounds the last term by .
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
one has
Facts & Assumptions
Given: The finite-sum hypotheses and filtration in the Statement, AC for conditional-expectation classes, and the SVRG estimator definition.
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.
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>).
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.
Conditional expectation as an ae class: conditional expectations are almost-sure classes whose existence is supplied under AC.
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.
Taking out what is known: an integrable measurable factor can be taken outside conditional expectation.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves finite integrable sums.
The Euclidean inner product on : the inner product is bilinear and ||u||_2^2=<u,u>.
Gradient of a finite sum is the finite sum of gradients: the gradient of F is the finite average of the component gradients.
Laws of finite sums and finite products: finite sums are additive, obey scaling, and permit termwise algebra.
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.
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).
Write and . Since , [F1] gives with by [F10]–[F11]. The centered term has conditional mean zero by [F5]–[F7], and , by expansion and .
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.
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
contains exactly one point.
Facts & Assumptions
Given: C,A,eta,x,g and the AdaGrad objective in the Statement.
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.
Positive diagonal maps preserve closed convex sets: for , if T is diagonal with positive entries, TC is nonempty closed and convex whenever C is nonempty closed convex.
Extended-real indicator of a set: the indicator of a set is zero on the set and +infinity off it.
The proximal map of an indicator is Euclidean projection: the indicator of a nonempty closed convex set is proper, closed, and convex.
Proper closed convex extended-real functions on : proper means nonempty effective domain, convexity is the extended-real convexity inequality, and closedness means closed epigraph.
Proximal mapping: prox_g(v) is the set of global minimizers of g(y)+||y-v||_2^2/2 when the parameter is one.
Existence, resolvent characterization, and firm nonexpansiveness of the proximal map: for every proper closed convex g, prox_g(v) is a singleton.
Square roots exist: a unique with ; the positives are : each nonnegative real has a unique nonnegative square root.
The Euclidean inner product on : the Euclidean squared norm is the sum of coordinate squares.
A convex subset of 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.
If , contains only the empty vector by [F9], so nonempty is that singleton and its sole point is the unique minimizer, with objective value zero. For the rest of the proof suppose . 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.
Put . Since is diagonal, has squared norm and . Coordinate expansion gives . The last two terms are independent of , and bijects with , so the minimizers correspond to by [F3] and [F6].
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.
SAGA expected linear contraction with a memory-scaled step size
Statement
Let , and let be convex, continuously differentiable, with -Lipschitz gradients for a common . Put , assume is -strongly convex with , and let satisfy . Run SAGA Finite-sum SAGA from a deterministic and its stated initialized gradient table. For
define , , and . Then for every ,
Scope note: This is the retained memory-scaled sufficient branch. The controlling STO2 contract separately proves the factor for every , with the faster factor when . The restriction 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, , SAGA initialization and independent uniform sampling in the Statement, with AC for conditional-expectation classes. Finite-time moments exist because for each finite the algorithm has finitely many index histories and each gradient evaluation is finite.
Finite-sum SAGA: , then the sampled table entry is replaced by using the pre-update iterate.
SAGA conditional estimator, variance, and table recurrence: conditionally on the history, , , and .
Descent inequality for a Lipschitz gradient: each satisfies its -smooth upper descent inequality.
The Euclidean inner product on : the Euclidean inner product is bilinear and .
Lipschitz map, -Hölder map for rational , and contraction: an -Lipschitz gradient satisfies .
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: ; applying Cauchy–Schwarz to the finite vector of component norms bounds an average by its root-mean-square norm.
Basic algebra and order properties of conditional expectation: conditional expectation preserves order and for integrable .
Finite sums and finite products, by recursion: the finite average is the recursively defined finite sum scaled by .
Laws of finite sums and finite products: finite sums are additive, obey scaling, and are monotone termwise.
The Axiom of Choice: AC is assumed by the conditional-expectation interface [F2].
Proof
Given: The objects and assumptions in the Statement.
Put . Averaging [F4] from to , and using [F3], [F11] and , gives . Applying [F5] from to also gives .
Expand [F1] and condition on the current history. The unbiased part of [F2] gives cross term by [F5]. The second-moment bound in [F2] and step 1.1 then give .
The table recurrence in [F2], followed by step 1.1, gives .
Multiply step 2.2 by and add step 2.1. The coefficient of is , and the coefficient of is . Since , the first coefficient is at most ; since , the second is at most . Thus .
By [F3], [F7], [F8], [F10], [F11], and finite Cauchy–Schwarz, . For , [F5] and [F8] now give , so . Thus 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.
SAGA constant-step linear contraction with a memory-capped factor
Statement
Assume AC. Let and let be convex, continuously differentiable, with -Lipschitz gradients for a common . Set , assume is -strongly convex for , and let satisfy . Run Finite-sum SAGA from deterministic with its standard initialized table and independent uniform component draws. For any constant , define Then , and for every , In particular is allowed independently of , with . When additionally the factor is ; 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, , SAGA initialization and independent uniform sampling in this Statement, with AC for conditional-expectation classes. Finite-time moments exist because for each finite the algorithm has finitely many index histories and each gradient evaluation is finite.
Finite-sum SAGA: , then the sampled table entry is replaced by using the pre-update iterate.
SAGA conditional estimator, variance, and table recurrence: conditionally on the history, , , and .
Descent inequality for a Lipschitz gradient: each satisfies its -smooth upper descent inequality.
The Euclidean inner product on : the Euclidean inner product is bilinear and .
Lipschitz map, -Hölder map for rational , and contraction: an -Lipschitz gradient satisfies .
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: ; applying Cauchy–Schwarz to the finite vector of component norms bounds an average by its root-mean-square norm.
Basic algebra and order properties of conditional expectation: conditional expectation preserves order and for integrable .
Finite sums and finite products, by recursion: the finite average is the recursively defined finite sum scaled by .
Laws of finite sums and finite products: finite sums are additive, obey scaling, and are monotone termwise.
The Axiom of Choice: AC is assumed by the conditional-expectation interface [F2].
Proof
Put and . By [F5] at with , . By [F5] at , . Averaging [F4] at and using [F3], [F11] and also gives .
The average gradient is -Lipschitz: by [F3], [F7], [F8], [F10] and [F11], . The strong-monotonicity consequence of [F5] and Cauchy–Schwarz [F8] imply , since allows . Thus and .
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 . Finite-time moments exist as stated in the Given paragraph, so all conditional quantities are integrable.
Multiply the table recurrence in [F2] by and add step 2.1. This yields . Since , the gap coefficient is nonpositive; since , it can be dropped.
By definition and . Hence and . Apply these two inequalities to step 3.1 to obtain . The positivity from step 1.2 gives .
Apply the tower property and order preservation in [F9] to step 4.1. Induction gives , beginning with equality at . Step 1.1 and give the objective bound after taking expectations. Substituting gives the advertised constant-step factor; if , 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 , 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.
Expected linear contraction of an SVRG epoch
Statement
Let , and let be convex, continuously differentiable, with -Lipschitz gradients for a common . Put , assume is -strongly convex for , and let satisfy . In one SVRG epoch Finite-sum SVRG, take a deterministic snapshot , set , choose
and choose each uniform inner index independently of the past. Assume . Choose the output index independently and uniformly from . Then
The expectation is over the inner indices and ; 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.
Finite-sum SVRG: , with and independent uniform .
SVRG conditional unbiasedness and variance bound: conditionally on the history, and .
Descent inequality for a Lipschitz gradient: an -Lipschitz gradient gives .
Differentiable convex functions are characterized by the gradient inequality: convex differentiable satisfies .
The Euclidean inner product on : and the inner product is bilinear.
Laws of finite sums and finite products: finite sums are additive, obey scaling, and telescope.
The Axiom of Choice: AC is assumed for the conditional-expectation interfaces used in [F2].
Proof
Given: The objects and assumptions in the Statement.
Write and . Averaging [F3] and using [F4], [F8] gives the -smooth descent inequality for . By [F1], [F2], [F6], and [F7], expansion of the squared distance and the convex gradient inequality yield .
Average the conditional inequality in step 1.1 over the finite index histories and sum for . By [F8] the finite sum telescopes; the terminal squared distance is nonnegative and , hence . By [F5] and , ; the independent uniform makes its expected gap the average on the left, giving the stated .
With and , , so by . This proves the Statement.
One-step diagonal AdaGrad regret inequality
Statement
Let with , let be nonempty, closed, and convex, and let where minimizes over , for and . With , , and ,
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 for , as in [F1].
Diagonal AdaGrad for online convex losses: an update minimizes on , with positive diagonal .
Diagonal AdaGrad subproblem has a unique minimizer: for these data the minimizer exists and is unique.
A convex subset of contains every line segment between two of its points: every segment between points of lies in .
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: closed means that the complement is open in the stated metric topology.
The Euclidean inner product on : the inner product is bilinear and the squared Euclidean norm is the sum of coordinate squares.
Square roots exist: a unique with ; the positives are : each positive diagonal entry has a positive square root.
Laws of finite sums and finite products: a finite sum of nonnegative terms is nonnegative.
Squares of nonzero elements are positive gives positivity for each nonzero coordinate square; Multiplication by zero: gives square zero for a zero coordinate. Thus every coordinate square is nonnegative.
Ordered field and Sign rules for products and monotonicity of multiplication, with Multiplication by zero: 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.
Write , , , and , the last inequality following from [F5], [F7], [F8], and [F9]. Since is nonempty, closed in the metric topology [F4], and convex, [F2] ensures the unique update minimizer exists. For , [F3] gives , so [F1] minimality gives . If , put and . By [F9] and [F10], , so and . Dividing the minimality inequality by gives , whereas , so , a contradiction. Thus , which rearranges to .
Expanding gives . Also [F5]–[F8] and nonnegativity of squares give , hence . Add the inequality from step 1.1 and divide by to obtain the Statement.
Diagonal AdaGrad regret bound
Statement
Use one-based coordinate labels for , as in Diagonal AdaGrad for online convex losses. Let be nonempty, closed, and convex, and suppose its coordinate diameters are finite. Run diagonal AdaGrad Diagonal AdaGrad for online convex losses for rounds on convex losses , with , step size , and accumulator for . For every comparator ,
Facts & Assumptions
Given: The set, losses, subgradients, finite horizon, positive parameters, and update in the Statement.
Diagonal AdaGrad for online convex losses: and the update minimizes the stated diagonal quadratic objective.
One-step diagonal AdaGrad regret inequality: for each , .
Subgradients and the subdifferential of a convex function: means for all .
Finite sums and finite products, by recursion: finite sums obey their recursive addition and finite-sum algebra.
The Euclidean inner product on : for diagonal , .
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 is nonempty, each coordinate-difference set contains ; the finite-diameter hypothesis makes it bounded above, so each exists.
Laws of finite sums and finite products: finite sums are additive, monotone termwise, and telescope.
Squares of nonzero elements are positive makes every nonzero square positive; Multiplication by zero: gives square zero for zero. Thus every square is nonnegative.
Squaring is monotone on the nonnegatives: squaring is monotone on nonnegative reals.
Complete ordered field (least-upper-bound property), Sign rules for products and monotonicity of multiplication, and Inverses of positives are positive, and reciprocation reverses order: order is total, and multiplication or division by a positive real preserves order.
Square roots exist: a unique with ; the positives are : 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.
Sum [F2] for . Finite-sum algebra [F4], [F7] telescopes each coordinate to . The last metric term is nonnegative and may be dropped.
Set . By [F1], [F11], and the finite-sum recursion [F4], by [F8]. Both roots are nonnegative by [F11], so [F9] gives , and follows from the positive accumulator in [F1]. Thus every metric increment in step 1.1 is nonnegative. Since , . [F5] then bounds the initial and metric-increment terms in step 1.1 by : for each , by [F7].
The accumulator identity and monotonicity from step 2.1 give by [F10]. Summing and telescoping by [F7] gives . Substitute in step 1.1 and combine with step 2.1 to obtain the linearized-loss bound.
By [F3], each convex-loss difference satisfies . Summing these inequalities using [F7] and applying step 3.1 proves the stated regret bound.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Diederik P. Kingma and Jimmy Ba, Adam: A Method for Stochastic Optimization, ICLR 2015
- Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar, On the Convergence of Adam and Beyond, ICLR 2018, full text
- John Duchi, Elad Hazan, and Yoram Singer, Adaptive Subgradient Methods for Online Learning and Stochastic Optimization, JMLR 12 (2011)
- John Lebl, Basic Analysis I, Section 8.3, The Derivative
- Sébastien Bubeck, Convex Optimization: Algorithms and Complexity, complete monograph
- Aaron Defazio, Francis Bach, and Simon Lacoste-Julien, SAGA: A Fast Incremental Gradient Method With Support for Non-Strongly Convex Composite Objectives, NeurIPS 2014
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, SIAM Review 60(2) (2018)
- Robert M. Gower and Alexandre Gramfort, Optimization for Data Science: Stochastic Variance Reduced Gradient Methods, lecture notes
- Rie Johnson and Tong Zhang, Accelerating Stochastic Gradient Descent using Predictive Variance Reduction, NeurIPS 2013
- Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar, On the Convergence of Adam and Beyond, ICLR 2018
- Robert M. Gower and Alexandre Gramfort, Optimization for Data Science: Stochastic Variance Reduced Gradient Methods, complete lecture-note deck