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.
Adaptive gradient algorithms and regret limits
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Convex and Semicontinuous Functions on Rⁿ
- Countability and Uncountability
- Filters and Ultrafilters
- Foundations of the Real Numbers for Analysis
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Partitions of Unity and Paracompactness
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
RMSProp with an exponential second-moment estimate
Definition
Fix a dimension , an initial vector , a finite or infinite sequence of finite gradient vectors , positive step sizes , a decay parameter , and a denominator constant . Use one-based coordinate notation for every vector and . Set . At each integer round , update the second-moment estimate coordinatewise by
and then set
For a finite gradient sequence of length , perform rounds and return the trajectory ; when , return . For an infinite gradient sequence, perform every round , thereby defining and returning the iterate sequence . The root, addition, and division in the update are coordinatewise. The procedure makes no convergence or regret claim.
Definition references
The Euclidean inner product on : vectors in have the stated real coordinates, and vector updates are interpreted coordinatewise.
Squares of nonzero elements are positive: every nonzero squared gradient coordinate is positive.
Multiplication by zero: : a zero gradient coordinate has square zero.
Square roots exist: a unique with ; the positives are : each nonnegative real has a unique nonnegative square root.
Sign rules for products and monotonicity of multiplication: the decay coefficients and their complements are nonnegative, so the moment recurrence preserves nonnegativity.
Remarks
This is the no-momentum RMSProp variant with a positive constant added outside the square root. It has no bias correction and defines only an update procedure.
Uncorrected Adam for online convex losses
Definition
Fix a finite horizon , an initial scalar , a step parameter , moment parameters and , a denominator parameter , and a sequence of scalar gradients . Set . At round , update
The input is admissible only when at every update. Set , compute , and set . Thus the iterate is projected onto after the update. Return the trajectory , whose final iterate is . The denominator parameter is added inside the square root. No moment bias correction is applied.
Definition references
The natural numbers (von Neumann): the finite round indices are natural numbers.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed scalar interval used for initialization and clipping.
Square roots exist: a unique with ; the positives are : every nonnegative real radicand has a unique nonnegative square root.
Every nonempty finite set of reals has a maximum and a minimum: the displayed clipping operation is the maximum and minimum of finite real sets.
Bias-corrected Adam update: the published bias-corrected Adam procedure instead divides by ; it is a distinct update convention.
Reddi, Kale, and Kumar, Algorithm 1 and the inside-root epsilon variant
Remarks
This is the uncorrected scalar online variant used for the cited regret counterexamples. Its mode is defined only on gradient sequences with positive at every round; the counterexample sequences in the theorem meet that condition. The fixed- mode uses the source's addition inside the square root, not the published bias-corrected denominator convention.
Uncorrected AMSGrad with a coordinatewise historical maximum
Definition
Fix a dimension , a finite horizon , a nonempty compact convex set , an initial point , positive step sizes , a fixed parameter , and parameters for . Use one-based coordinate notation for every vector and . At round , receive a finite subgradient vector . Set and update coordinatewise by
If , set ; if , set . Choose any minimizer
Return the trajectory through . The procedure uses the uncorrected first and second moments and the coordinatewise running maximum of the raw second moment. It contains no denominator stabilizer.
Definition references
The Euclidean inner product on : vectors use the stated real coordinates and coordinatewise operations.
A convex subset of contains every line segment between two of its points: the feasible set contains every segment between two of its points.
Square roots exist: a unique with ; the positives are : each nonnegative second-moment coordinate has a unique nonnegative square root.
Every nonempty finite set of reals has a maximum and a minimum: the maximum of the two real second-moment values exists.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a continuous real-valued function on the nonempty compact feasible set attains its minimum.
Bias-corrected AMSGrad update: the published procedure instead maxes bias-corrected second moments; it is not this raw-moment update.
Remarks
This is the source-matched online AMSGrad procedure for the regret theorem on this page. It is distinct from the published bias-corrected procedure. The moment well-definedness result justifies the zero-coordinate convention and existence of each finite minimization step.
Polynomial factors times a geometric rate decay to zero
Statement
For every real , every , and every real , there is an integer such that for every integer .
Statement references
The natural numbers (von Neumann): the indices and are natural numbers.
Integer powers : is the natural integer power.
For the sequence is null, and for the sequence diverges to : if , then tends to zero.
Facts & Assumptions
Given: , , and .
For the sequence is null, and for the sequence diverges to : if , then for every positive tolerance there is an index after which is below that tolerance.
Every complete ordered field is Archimedean: for every real there is an integer with .
The natural numbers (von Neumann) and Integer powers : the powers and indices use natural-number recursion, with .
Ordered field, Complete ordered field (least-upper-bound property), The Cauchy-sequence reals have the least-upper-bound property, and Inverses of positives are positive, and reciprocation reverses order: the real numbers are a totally ordered field, and positive denominators preserve inequalities when dividing.
Proof
Given: as in the Statement.
If , then for every , so take . If , set , so , and set .
For every integer , : for this is equality; for , expand to and use . By [F2] choose so large that . Then for every , the ratio .
Induction on using step 2.1 gives . By [F1] choose with . The ratio bound in step 2.1 is at most , so the sequence is nonincreasing for ; hence every satisfies . This proves the Statement in the case, and step 1.1 proves the case.
Clipping a negative prefix followed by a positive suffix
Statement
Let with , let , and let . Let real increments satisfy for and for . Define and . Then
Statement references
Maximum and minimum of a set: maximum and minimum of finite real sets define the clipping map .
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval with endpoints and .
Facts & Assumptions
Given: as in the Statement.
Maximum and minimum of a set: is the lesser element and is the greater element of a two-element real set.
Ordered field and Sign rules for products and monotonicity of multiplication: the real order is total, and adding the same real to both sides preserves order.
The natural numbers (von Neumann) and The principle of mathematical induction: the finite sequence indices are natural numbers, and induction proves assertions across all of them.
Finite sums and finite products, by recursion and Laws of finite sums and finite products: the displayed partial sums are finite sums and obey the termwise addition laws.
Proof
Given: The data and sign conditions in the Statement.
Put and . For , induction gives and : the base is ; at a next nonpositive increment, , so clipping replaces it only by its maximum with , which is no smaller than .
For , induction gives . The base follows from step 1.1 and . If , then and , so . If , then . If , both and are at least , so and then . If , then and . In all cases . If instead , the induction bound and imply ; a nonnegative increment keeps the clipped value at . Taking proves the Statement.
RMSProp, Adam, and AMSGrad moment updates are well-defined
Statement
For every finite admissible run of the RMSProp, uncorrected Adam, or uncorrected AMSGrad procedures defined on this page, all moment coordinates are finite and all second-moment coordinates are nonnegative. Every denominator specified by the procedure is positive. For AMSGrad, a zero historical-maximum coordinate has zero current and previous first moments, and the raw second moment is positive whenever its historical maximum is positive; the zero-ratio convention is therefore consistent. Each weighted minimization over the compact feasible set attains a minimum.
Statement references
RMSProp with an exponential second-moment estimate: defines the exponential second-moment recurrence and positive stabilizer.
Uncorrected Adam for online convex losses: defines the uncorrected scalar moment recurrences, admissible denominators, and clipping update.
Uncorrected AMSGrad with a coordinatewise historical maximum: defines the raw-moment recurrence, historical maximum, zero-coordinate convention, and compact-set minimization.
Facts & Assumptions
Given: Finite gradient inputs for the three procedures, their parameter ranges and initial zero moments, and the admissibility conditions in their Definitions.
RMSProp with an exponential second-moment estimate: and , with and .
Uncorrected Adam for online convex losses: , , and each used radicand is positive.
The principle of mathematical induction: a property true at the initial index and preserved at each finite successor holds at every finite round.
Squares of nonzero elements are positive, Multiplication by zero: , and Sign rules for products and monotonicity of multiplication: coordinate squares are nonnegative, and nonnegative coefficients preserve nonnegativity under sums and products.
Square roots exist: a unique with ; the positives are : each nonnegative real has a unique nonnegative square root.
Maximum and minimum of a set and Every nonempty finite set of reals has a maximum and a minimum: every two-element set of real numbers has a maximum.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a compact subset of is bounded, and a continuous real-valued function on a nonempty compact subset attains its minimum.
The Euclidean inner product on , Laws of finite sums and finite products, Squaring is monotone on the nonnegatives, and Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: , the Euclidean norm satisfies the triangle inequality, and finite sums of nonnegative terms remain nonnegative.
Proof
Given: The data and hypotheses in the Statement.
For each procedure, induction over its finite horizon shows that every moment is a finite real and each second moment is nonnegative. The initial moments are zero. At a successor round, each recurrence is a finite sum of products of finite reals by [F1]–[F3] and [F9]; the coefficients are nonnegative, and each squared gradient is nonnegative by [F5], so the next second moment remains nonnegative.
For RMSProp, [F6] supplies , so by [F1]. For Adam, [F6] supplies because and ; its positivity is the explicit admissibility condition in [F2]. Thus each stated quotient has a positive denominator.
In AMSGrad, both entries in each maximum are finite and nonnegative by [F3], [F5], and step 1.1. The maximum exists by [F7] and is nonnegative. If , then . Since , , and both summands defining are nonnegative, and . Repeating this argument back to time zero gives every earlier ; the first-moment recurrence then gives . Conversely, if , some for , and then for each , so . The zero-ratio convention in [F3] is therefore consistent with the recurrence.
Fix a round and its finite vector and nonnegative weights . Since is compact, [F8] bounds by some for . For , coordinatewise expansion and [F9] give Thus the objective is continuous on . Since is nonempty and compact, [F8] gives a minimizer. The objective can be constant along zero-weight coordinates, so allowing any minimizer is necessary and sufficient. This proves the remaining well-definedness claim.
One-step regret inequality for AMSGrad
Statement
At an AMSGrad round, let be nonempty, compact, and convex, let , let be convex, and let . Take and . Write , , and with zero contribution from coordinates where . For the AMSGrad update, every such zero coordinate has . Then for every comparator ,
Statement references
Uncorrected AMSGrad with a coordinatewise historical maximum: defines the raw-moment recurrence, weighted minimization, and zero-coordinate convention.
RMSProp, Adam, and AMSGrad moment updates are well-defined: zero historical maximum implies zero current and previous first moments.
Subgradients and the subdifferential of a convex function: a subgradient gives the supporting inequality for the loss.
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: Cauchy–Schwarz and the Euclidean norm identities used in the weighted Young bound.
Facts & Assumptions
Given: The AMSGrad state and update, a convex loss, a subgradient at , a comparator , and , .
Uncorrected AMSGrad with a coordinatewise historical maximum: , and minimizes the weighted squared distance from the specified .
RMSProp, Adam, and AMSGrad moment updates are well-defined: has finite nonnegative diagonal entries; if , then .
The Euclidean inner product on : the inner product and squared weighted norms are finite coordinate sums.
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: ; in particular the finite weighted-coordinate form follows by applying it to and on positive-weight coordinates.
A convex subset of contains every line segment between two of its points, Square roots exist: a unique with ; the positives are , Squares of nonzero elements are positive, Multiplication by zero: , Ordered field, Sign rules for products and monotonicity of multiplication, and Inverses of positives are positive, and reciprocation reverses order: segments between feasible points remain feasible; nonnegative coordinates have nonnegative roots; weighted squares are nonnegative; and division by a positive denominator preserves the displayed inequalities.
Proof
Given: The state, update, convex loss, subgradient, comparator, and positive step size in the Statement.
Put when and otherwise. Let , , and . Convexity of makes for . Minimality of gives . If , set and ; then and , so , a contradiction. Thus , and expansion of yields .
Expanding the right side from step 1.1 and using whenever gives This follows coordinatewise from on positive weights; zero-weight coordinates contribute zero.
Rearranging the first-moment recurrence in [F1] gives By [F2] zero-weight coordinates vanish; by [F5], weighted Cauchy–Schwarz on positive weights gives . For nonnegative , expands to , which bounds the negative cross term. Substituting step 2.1 and the subgradient inequality [F3] gives the stated four terms.
AMSGrad momentum energy is bounded by a coordinatewise weighted gradient sum
Statement
Run uncorrected AMSGrad for a finite horizon with , , , , and . For each coordinate, interpret as zero when . Then
Statement references
Uncorrected AMSGrad with a coordinatewise historical maximum: gives the moment recurrences, historical maximum, and time-varying first-moment weights.
RMSProp, Adam, and AMSGrad moment updates are well-defined: all moment coordinates are finite and all second-moment coordinates are nonnegative; a zero second-moment coordinate has zero first moment.
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: finite-coordinate Cauchy–Schwarz.
Facts & Assumptions
Given: The finite gradient vectors and AMSGrad recurrences in the Statement, with the stated parameter ranges.
RMSProp, Adam, and AMSGrad moment updates are well-defined: ; because , exactly when , and then all corresponding moment and gradient entries are zero.
Integer powers , The natural numbers (von Neumann), Finite sums and finite products, by recursion, and Laws of finite sums and finite products: , , finite sums distribute over addition, and finite sums may be reindexed.
Ordered field, Sign rules for products and monotonicity of multiplication, Inverses of positives are positive, and reciprocation reverses order, and The Cauchy-sequence reals have the least-upper-bound property: positive coefficients preserve inequalities and positive denominators may be divided through.
Proof
Given: The hypotheses in the Statement.
Expanding the first-moment recurrence [F1] recursively gives , where and for . Induction gives : the terminal coefficient is at most , and each earlier coefficient acquires one factor at most .
By [F3] applied to and , because . The identity follows by multiplying the finite sum by and telescoping using [F4]; the denominator is positive by [F6].
Iterating the second-moment recurrence [F1] gives . By [F2] and [F5], . If this value is zero, [F2] makes the energy term zero. Otherwise, for each nonzero , The root recursion gives for every integer ; induction proves this because both sides are nonnegative and have the same square. Also by the integer-power recursion, so . Using step 2.1 termwise in the finite sum therefore gives Zero gradient terms contribute zero.
Multiply step 3.1 by , sum over and coordinates, and reorder the finite sums. Since for and by the same finite telescoping identity from step 2.1, This is the stated inequality.
Adam can have nonzero average regret on a one-dimensional convex sequence
Statement
For the scalar Adam update on with step sizes , fixed parameters and , no bias correction, and clipping after every update, define the best-comparator regret by For every and every , there is an even integer such that, with , , and the periodic linear losses the algorithm receives their slopes and , and its regret satisfies .
For every fixed , there is also a counterexample for the update with denominator : set , , , , and repeat the losses The algorithm receives the corresponding slopes and . Then . In both cases the losses are convex on , and the comparator is selected separately for each finite horizon.
Statement references
Uncorrected Adam for online convex losses: defines the uncorrected moment recurrences, inside-root denominator parameter, step schedule, and clipping update used in both constructions.
Polynomial factors times a geometric rate decay to zero: ensures that a sufficiently large even period satisfies the finitely many geometric-moment inequalities in the zero-epsilon construction.
Clipping a negative prefix followed by a positive suffix: bounds the clipped endpoint of a period whose update increments have a nonpositive prefix and a nonnegative suffix.
Limit superior and limit inferior of a real sequence as and in : defines the limit inferior in the two average-regret conclusions.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval on which the losses and clipping operate.
Reddi, Kale, and Kumar, Appendix B and Appendix F
Adam diverges on a periodic bounded-gradient loss sequence: the published bias-corrected periodic example is a distinct update convention and is not used as a proof of either local Adam branch.
Facts & Assumptions
Given: The Adam recurrence and clipping rule, the parameters in the Statement, and the periodic gradients defining the losses.
Uncorrected Adam for online convex losses: , , and on admissible inputs.
RMSProp, Adam, and AMSGrad moment updates are well-defined: the stated recurrences have finite nonnegative second moments and every denominator used in the constructions is positive.
Polynomial factors times a geometric rate decay to zero: for and , ; hence all finitely many eventual inequalities required below hold for every sufficiently large even .
Clipping a negative prefix followed by a positive suffix: if clipped scalar updates have nonpositive increments through an index and nonnegative increments afterward, their final iterate is at least the minimum of and the initial iterate plus the sum of the increments.
The principle of mathematical induction, The natural numbers (von Neumann), and Integer powers : finite recurrences may be iterated, and powers use , .
Square roots exist: a unique with ; the positives are , Squaring is monotone on the nonnegatives, Ordered field, and Sign rules for products and monotonicity of multiplication: nonnegative quantities have ordered square roots, and inequalities are preserved under the positive operations used below.
Convex and strictly convex functions on Euclidean convex sets and A convex subset of contains every line segment between two of its points: a set is convex when it contains each segment between its points, and a function is convex when it lies below each chord.
Sequences of reals: bounded, eventually, frequently, tails, subsequences and Limit superior and limit inferior of a real sequence as and in : the limit inferior of the real sequence is the supremum of the infima of its tails.
Every complete ordered field is Archimedean: the positive integers are unbounded in .
Intervals of : the nine order-convex forms, nondegeneracy, and length: the domain is the closed interval with endpoints and .
Finite sums and finite products, by recursion and Laws of finite sums and finite products: finite sums may be reindexed and distributed; multiplying by yields the telescoping sum .
Proof
Given: The assumptions in the Statement.
First take . Every input gradient is either or , so and ; thus every no-epsilon denominator is positive. Put and Choose an even so large that Such an even integer exists by [F3], using for the half-period powers and then increasing to satisfy the remaining linear and square-root bounds.
Let be a period start and let be its first moment. Induction over periods gives : it holds at ; if it holds at , then lies in , while after the following gradients equal to , The last choice inequality gives , and gives . Thus every high-gradient update has . At the later positions , which is nonincreasing in . Hence the update increments have a nonpositive prefix and a nonnegative suffix.
At the high-gradient round, and , so its negative increment has magnitude at most For a low-gradient position , the high-gradient contribution gives . If its increment is negative, then and the displayed moment formula gives . Therefore the sum of all negative increments at low-gradient positions is at most Indeed, multiplying the finite geometric sum by gives , by [F5], [F6], and [F10]. The total magnitude of negative increments in a period is thus at most .
For , the moment formula and the choice of give Also , since the second-moment recurrence averages values in , and subsequent unit-gradient updates give . There are such updates. Their positive increments sum to at least . For , , so this is at least ; for it is at least . The final two conditions on therefore show that the sum of the period's increments is positive for every , and for it satisfies
Now fix and use the second construction, with , , and . Since is either or , the recurrence gives by induction. At a high-gradient time , , so the magnitude of the negative update is at most At the following two low-gradient times, the recurrence and give and . Their denominator roots are therefore less than , so their positive increments sum to at least
Apply [F4] to each period using the sign pattern from step 1.2. It gives The positive lower bounds in step 1.4 have divergent sum: for every , which is unbounded by [F9]. Iterating the endpoint inequality, the boundary iterate therefore reaches after finitely many periods and equals at every later period boundary.
For and , the nonnegative coefficients and give , so the interval is convex by [F7]. For every real slope , the loss satisfies ; hence it is convex by [F7]. Every finite-horizon gradient sum is positive: a complete period sums to , and a nonempty proper prefix of a period sums to one of . Thus minimizes the cumulative linear loss on . In each complete period after the boundary iterate reaches , the first round has regret and each of the other rounds has regret at least , since every iterate lies in ; each such period therefore contributes at least . Each incomplete period contributes at least , and the finitely many initial periods contribute a fixed finite amount. Hence there is a constant independent of such that . For every , all consequently satisfy . By [F8] and the unboundedness in [F9], taking the supremum of these tail infima gives .
For , and . Also , , and , so the low-gradient sum in step 1.5 exceeds the high-gradient magnitude by at least For the first cycle, its high update has magnitude , so and the two positive low updates ensure . The displayed cycle lower bounds have divergent sum, since . The three update increments in every cycle have a nonpositive prefix and a nonnegative suffix. By [F4], their positive cumulative drift makes the boundary iterates reach and remain at cycle boundaries, as in step 2.1.
The convexity of the interval and of all linear losses follows from step 3.1, which covers every real slope. Every finite-horizon gradient sum is positive because every complete cycle sums to and the proper nonempty prefixes sum to or . Hence is a best comparator. A full cycle after the boundary iterate reaches has regret at least ; every incomplete cycle has regret at least , and the initial finite segment contributes a fixed amount. Thus there is a constant independent of with . Taking tail infima and then their supremum as in step 3.1 gives .
Remarks
The positive-epsilon branch fixes and ; it does not claim failure for every fixed parameter pair. The zero-epsilon branch applies to every fixed pair satisfying . Both are online convex-loss statements for the stated uncorrected update and do not assert a claim about bias-corrected Adam.
AMSGrad has an online convex regret bound under decaying first-moment weights
Statement
Let with . Let be nonempty, compact, and convex, choose , and suppose a finite satisfies for every and coordinate . Let be continuous convex losses, choose , and assume for all , where . Run uncorrected AMSGrad with for , fixed , , , and . For a comparator , define ; the best-comparator regret is . Then If, in addition, for a fixed or , then with the other displayed parameters fixed, the best-comparator regret satisfies .
Statement references
Uncorrected AMSGrad with a coordinatewise historical maximum: defines the uncorrected raw-moment update and coordinatewise historical maximum used here.
Convex and strictly convex functions on Euclidean convex sets: convexity supplies the subgradient regret inequality.
Subgradients and the subdifferential of a convex function: means .
One-step regret inequality for AMSGrad: gives the per-round projection and momentum inequality.
AMSGrad momentum energy is bounded by a coordinatewise weighted gradient sum: bounds the accumulated preconditioned momentum term.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: continuous losses on the nonempty compact set have bounded sums, so the best-comparator regret is finite.
Sums, products, absolute values, finite maxima and minima, and quotients of continuous real-valued maps on a topological space are continuous where defined: finite sums of continuous real-valued losses are continuous.
Facts & Assumptions
Given: The finite horizon, compact convex domain, losses, subgradients, coordinate bounds, AMSGrad update, and parameters in the Statement.
Uncorrected AMSGrad with a coordinatewise historical maximum: , , is nondecreasing in , and the weighted projection uses .
RMSProp, Adam, and AMSGrad moment updates are well-defined: all moment coordinates are finite and all second-moment coordinates are nonnegative; zero historical-maximum coordinates have zero first moments.
One-step regret inequality for AMSGrad: for each comparator , the one-step loss difference is bounded by a potential difference, two momentum-energy terms, and a first-moment correction term.
The Euclidean inner product on and Laws of finite sums and finite products: weighted squared distances and sums over coordinates expand termwise and telescope.
Ordered field, Sign rules for products and monotonicity of multiplication, and Inverses of positives are positive, and reciprocation reverses order: positive denominators preserve inequalities, and , , and .
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a continuous real-valued function on a nonempty compact subset of attains a finite minimum.
The natural numbers (von Neumann), Integer powers , Finite sums and finite products, by recursion, and Laws of finite sums and finite products: integer powers obey , and finite sums may be telescoped and reindexed.
The principle of mathematical induction: induction propagates a base bound through every finite moment update.
Sums, products, absolute values, finite maxima and minima, and quotients of continuous real-valued maps on a topological space are continuous where defined: the finite sum of the continuous losses is continuous.
Proof
Given: All data and hypotheses in the Statement. Fix an arbitrary comparator .
By [F5] and the one-step inequality [F3], sum over . With , , and , the resulting bound is
The moment recurrence and give by induction; since is the maximum of the raw second moments through round , . Also because for . Thus the first and third terms in the bound are .
Since is nondecreasing and is nonincreasing, and for ; the previous-moment term is zero. Also . Thus the two energy sums in step 1.1 are at most
In the potential sum of step 1.1, drop the final nonpositive term , since . Fix coordinate and put , with . The unpaired first positive potential is at most . For each , pair the positive potential at round with the negative potential from round . Its coefficient difference is The first difference is nonnegative by [F1], [F7], and . The reciprocal difference is nonpositive when ; otherwise it equals . Thus the sum of all first coefficient differences, including the first-round term, is at most , because . Summing coordinates gives The coefficient correction and the explicit last term of step 1.1 together contribute at most because .
Apply [F4] to the energy bound in step 2.1 and combine with step 2.2. Since , this gives the displayed regret inequality.
The cumulative loss is continuous by [F12], so [F9] gives a minimizer on . The bound proved for arbitrary is uniform in , hence it also holds for the best comparator. For any , [F10] gives the finite geometric identity . For , use and reindex the finite sum to obtain so is bounded independently of . For , it is at most by step 1.2. Therefore the second term is bounded by a constant for the geometric schedule and by a constant times for the reciprocal schedule; both give .
Remarks
The theorem concerns online convex loss regret under the stated schedules. It does not imply convergence of a nonconvex neural-network training objective. A constant positive is not one of the two schedules in the conclusion.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning
- Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar, On the Convergence of Adam and Beyond
- Diederik P. Kingma and Jimmy Ba, Adam: A Method for Stochastic Optimization
- Elad Hazan, Introduction to Online Convex Optimization, second edition