Manuscript Offprint
arXiv:2611.12310The Optimal Rate Constant of Heavy-Ball Momentum on Smooth Strongly Convex Functions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The heavy-ball method with a constant step size and a constant momentum parameter accelerates gradient descent on quadratics, but no choice of the two parameters does so on the class of smooth strongly convex functions. We determine how much faster than gradient descent it can be made on this class. Writing the best worst-case rate over all tunings as , where is the condition number, we prove that tends to 8 in every dimension of two or more. The lower bound on the rate holds for every tuning, because a tuning that is faster than on quadratics follows a slowly decaying spiral on some function of two variables. The matching upper bound comes from an explicit tuning, with nearly the momentum of Polyak's tuning and a step size about times smaller, and from a Lyapunov function whose positivity is verified in exact arithmetic. Optimally tuned heavy-ball is therefore asymptotically four times faster than gradient descent on this class.
Contents
Contents
1 Introduction 4
2 Related Work 6
3 Setting and Main Results 8
3.1 Worst-case rates ..... 8
3.2 Notation and interpolation conditions ..... 8
3.3 Main results ..... 9
4 Where the Constant 8 Comes From 11
4.1 What quadratics allow ..... 11
4.2 Spirals ..... 11
4.3 The upper bound ..... 12
5 Proof of the Lower Bound 14
5.1 Tunings that beat on quadratics ..... 14
5.2 Decaying spirals ..... 14
5.3 The window ..... 16
5.4 Roots of unity in the window ..... 17
5.5 Proof of Theorem A ..... 17
5.6 Rest start ..... 18
6 Proof of the Upper Bound 19
6.1 The tuning on quadratics ..... 19
6.2 The Lyapunov function ..... 19
6.3 Structure of the certificate ..... 20
6.4 Exact verification ..... 20
6.5 Exact range ..... 21
6.6 How the certificate was found ..... 21
7 Computer-Assisted Steps 22
7.1 What was checked ..... 22
7.2 Size of the computations and trust base ..... 23
7.3 Floating-point tests ..... 23
8 Finite Condition Numbers 24
8.1 Exact certificates at fixed condition numbers ..... 24
8.2 A numerical bracket ..... 24
8.3 Earlier numerical values ..... 24
8.4 Shape of the tuning and the second-order term ..... 25
9 Discussion and Limitations 26
Contents
9.1 What the results settle ..... 26 9.2 Open questions ..... 26 9.3 The constant 8 in the region of Ghadimi et al. ..... 26 9.4 Limitations ..... 27
10 Conclusion 28
References 29
A The Certificate of Theorem B 32
B Polynomials of the Window Lemma 34
C Exact Certificates at Fixed Condition Numbers 35
D Results in One Dimension 36
E Reproducibility 41
1 Introduction
with a step size and a momentum parameter . It is the prototype of the momentum methods used to train neural networks. On quadratics whose Hessian has its eigenvalues in , Polyak's choice of and converges at the rate , where is the condition number. This is the accelerated rate. When the dimension is large compared with the number of iterations, no first-order method has a better one, already on quadratics [19, 21, Thm. 2.1.13]. Gradient descent, the case , has the rate with its best step size.
Beyond quadratics, heavy-ball loses this advantage. On the class of -smooth -strongly convex functions, Polyak's tuning fails to converge on some functions as soon as [22, Thm. 2.2], and Goujaud et al. [11] proved that no tuning accelerates in dimension two or more. Every choice of either fails to converge on some function of the class or converges no faster than , already on quadratics. Their counterexamples are cycles, found numerically by Goujaud et al. [10] and then constructed in closed form. Non-acceleration holds in one dimension as well [7, 16].
This leaves a quantitative question. Let be the best worst-case rate of (1) on over all constant tunings , and write it as . Gradient descent shows that , and non-acceleration says that is bounded. How large is it? Goujaud et al. [11, §7] note that the exact rate is open. The thesis of Goujaud [9, §10.3.3] records the proved bounds, which are asymptotically in our normalization, computes numerical optima at and 1000, and asks what the limit is. It poses the related problem of finding analytical expressions for the optimal tuning and rate. Concurrently with this work, Liu et al. [16, App. F] proved a lower bound in one dimension that implies (§2).
This paper determines the limit. In every dimension we prove that . The lower bound on the rate (Theorem A) holds for every tuning. If a tuning converges faster than on quadratics, we construct a function of two variables on which heavy-ball follows the spiral around the minimizer, for some integer . The upper bound (Theorem B) is an explicit tuning for , with momentum and step size , whose worst-case rate is in every dimension. Together they give (Corollary 1). Optimally tuned heavy-ball is therefore asymptotically four times faster than gradient descent on , and this factor cannot be improved. This answers the question of Goujaud [9] about the limit, and it solves the problem posed there of the optimal tuning and rate to first order in .
The constant 8 has a short explanation, which §4 gives in full. Along a spiral the gradient is the iterate scaled and rotated by a fixed nonzero angle, which no quadratic can produce. Convexity allows such a rotation only in exchange for curvature, and the exchange is most favorable at half the largest curvature . Balancing the two gives a condition on a free parameter , which some satisfies if and only if . The tuning of Theorem B has the momentum of Polyak's tuning to first order and a step size about times smaller. Its proof uses a Lyapunov function that perturbs the mechanical energy of the heavy ball. Three of its six coefficients are forced by the quadratic on which the rate is attained. The other three were fitted numerically and then rounded, and the positivity of the resulting quadratic form is proved for all at once by exact root counting.
1 Introduction
Several ingredients come from earlier work. Non-acceleration is due to Goujaud et al. [11] in dimension two and higher, and to Fotopoulos et al. [7] and Liu et al. [16] in one dimension. Our spirals are the decaying version of the root-of-unity cycles of Goujaud et al. [11] and the single-frequency case of the decaying waves of Pasechniuk-Vilensky [22], whose extra coordinate we use for the rest start. The tunings that beat a given rate on quadratics are described in Goujaud et al. [11, Lemma 2.4]. Our certificate belongs to the class with one step of memory and the lag-one multiplier, which is the weighted off-by-one constraint of Lessard et al. [15] (§2). At each fixed the rate of our tuning can be derived from a concurrent criterion of Pasechniuk-Vilensky [22, Thm. 7.2(b)] (Remark 2). What is new is the value 8 of the limit. The lower bound for every tuning improves on [11] and on the concurrent [16]. The family that attains it to first order is explicit, and its certificate is valid for all at once.
Parts of both proofs are computer-assisted, and only exact arithmetic is used. Polynomial identities are verified symbolically and the positivity of explicit univariate polynomials by exact Sturm sequences. Section 7 lists every such step with its range, its method and its script. Section 8 compares the asymptotic result with what is known at finite , including exact certificates at four values of . Appendix D collects results in one dimension. There we prove that the constant of is at most , show that the cycle method used in earlier lower bounds cannot go below 16, and give an exact non-convergent orbit of Polyak's tuning started at rest, for every .
2 Related Work
2 Related Work
Global analyses of heavy-ball on give no explicit rate better than that of gradient descent. Ghadimi et al. [8] prove global linear convergence on an explicit region of tunings. Their rate is not explicit in general, and on a sub-family it is the gradient-descent factor for function values. Goujaud et al. [11, Lemma 2.5] show that the best rate over that region, even on quadratics, is . This constant 8 is related to ours but describes different tunings (§9.3). Other global analyses of heavy-ball on , or of momentum families that contain it, certify explicit rates for small steps [3, 27]. Danilova et al. [4] study its non-monotone transient behavior on quadratics and prove global convergence under the Polyak–Łojasiewicz condition. Polyak's own analysis is local [24]. Ugrinovskii et al. [31] prove global asymptotic convergence, without a global rate, on a class of functions with sector-bounded gradients and optimize the local rate. Sanz-Serna and Zygalakis [25, §6] show that heavy-ball has no Lyapunov function of the kind they construct for Nesterov's method, which would certify an accelerated rate.
Polyak's tuning can fail on . Lessard et al. [15] found a one-dimensional function at on which its iterates approach a cycle. Badithela and Seiler [2] solved the linear matrix inequality of the weighted off-by-one constraint analytically for Polyak's tuning and constructed a function on which the method enters a limit cycle. As Pasechniuk-Vilensky [22, §1.1] describe it, the bound reaches at , where a function of one variable has a three-cycle. Pasechniuk-Vilensky [22, Thm. 2.2] prove that is the exact threshold, with convergence on all of below it and a non-convergent trajectory at and above it. Wang et al. [36] claim acceleration for a class of Polyak–Łojasiewicz functions. Their erratum (arXiv v3, App. J) adds a co-diagonalization condition, and Goujaud et al. [12] point to an incorrect inequality in the remaining one-dimensional argument. With time-varying parameters on smooth convex functions, Ma and Zhang [17] prove a lower bound for heavy-ball that holds for every schedule fixed in advance, and He and Zhang [13] use randomized schedules to obtain a faster rate than the best known one for gradient descent. We only consider constant parameters.
Other lower bounds for every tuning come from cycles. Goujaud et al. [11] constructed heavy-ball cycles on the -th roots of unity in the plane (their Thm. 3.5) and proved that every tuning outside the cycling regions satisfies for every (Thm. 3.6), which is in our normalization. Goujaud et al. [12] asked whether heavy-ball accelerates on functions of one variable. Fotopoulos et al. [7] answered this negatively by rotating the planar cycles and projecting them onto a line. Building on their construction, Liu et al. [16, App. F] prove that in one dimension every tuning with and has rate at least when . Tunings outside this range have by Lemma 1, which is larger. Since does not decrease with the dimension, this gives in every dimension.
The concurrent work of Pasechniuk-Vilensky [22] is the closest to ours. It answers the second riddle of Goujaud et al. [12] and develops a rate theory for general tunings, for the rest-start rate taken uniformly over the dimension. Interpolable mixtures of rotating geometric sequences, decaying ones included, give lower bounds (their Lemma 3.4 and Thm. 3.5(c)), and a lag-one Zames–Falb multiplier gives upper bounds (Thm. 7.2(a)). On an explicit region of tunings the rate equals the rate on quadratics (Thm. 7.2(b)). They do not optimize over tunings and do not state a limiting constant for the optimal rate. Among the questions they leave open are the rates on the part of their region outside and the asymptotics of their gaps as (their §10). The spiral of Theorem A is the single-frequency case of their waves, and the tuning of Theorem B lies in their region (Remark 2). Our contribution relative to theirs is the quantitative bound for every tuning and a family, uniform in , that matches it.
2 Related Work
Worst-case rates for fixed parameters can be computed or certified by performance estimation [6, 30], by Lyapunov searches [29, 32] and by integral quadratic constraints [15, 18]. Lessard and Seiler [14] synthesize algorithms with bounds on the achievable rate. For heavy-ball with step 1/L and numerically optimized momentum, Lessard et al. [15, Fig. 8] report rates between about 1 – 6.4/κ and 1 – 7.1/κ for κ between about 850 and 4200 (our reading of their figure, whose resolution we discuss in §8.3). They describe this as comparable to gradient descent, which is true of the order in κ. Van Scoy and Lessard [33, Fig. 4] find c ≈ 5 at κ = 100, and Upadhyaya et al. [32, Fig. 2c] find c ≈ 2.2 at κ = 10 with step 1/L, both read off their figures and converted from rates of the squared distance. Goujaud's thesis [9, Table 10.1] reports optima at κ = 20, 100 and 1000 (§8.3). The lag-one multiplier behind our certificate is a discrete-time analogue of the Zames–Falb multipliers [37], and Pasechniuk-Vilensky [22, §1.5] note that it coincides with the weighted off-by-one constraint of Lessard et al. [15]. They relate single-harmonic periodic orbits to the periodic counterexamples in absolute stability of Seiler and Carrasco [26], and multi-harmonic obstructions to the duality bounds for Zames–Falb multipliers of Zhang et al. [38].
Spirals have been used for Nesterov's method as well. Pokutta and Stellato [23] determine the exact worst-case asymptotic rate of Nesterov's method with its standard parameters, using planar spirals with a common contraction factor and a linear program over measures. That work is concurrent and concerns a different method, but its tools are close to ours.
Methods that evaluate the gradient elsewhere do accelerate on . Measured, as here, by the distance to the minimizer, Nesterov's method [20] with constant momentum converges at rate at most [21, §2.2.1], and the triple momentum method at rate [35]. No first-order method has a better rate for the distance to the minimizer when the dimension is large compared with the number of iterations. On the lower bound of Drori and Taylor [5] after steps is of order , and the method of Taylor and Drori [28] attains it. Nesterov's method and the triple momentum method evaluate the gradient at a point other than the iterate, which heavy-ball does not. If is in addition twice continuously differentiable near the minimizer, the asymptotic rate of a globally convergent method is its local rate, which for heavy-ball can be the accelerated rate of quadratics [24]. Ugrinovskii et al. [31] exploit this, and so do Van Scoy and Lessard [34] with a new method. The functions in our lower bound are not twice differentiable at the minimizer, and cannot be. If were twice differentiable at , the iterates of Theorem A would eventually converge at a rate at most .
3 Setting and Main Results
3 Setting and Main Results
3.1 Worst-case rates
For , let be the set of differentiable functions such that is convex and is -Lipschitz, and let be its subset of quadratics. Each has a unique minimizer . Heavy-ball (1) starts from an arbitrary pair , as in the cycle constructions of Goujaud et al. [11]. For a tuning and a set of functions , the rate is the smallest with the following property. For every there is a such that
for all , all initial pairs and all . The rest-start rate is defined in the same way with . The optimal rate in dimension and its constant are
By scaling, depends on and only through . It does not decrease with , because adding coordinates on which is embeds into . Gradient descent with has rate on [21, Thm. 2.1.15], so .
Remark 1 (conventions). Goujaud et al. [11] and Goujaud [9] write for and state rates as . In our notation this is . Asymptotically, our constant 8 is there, and their bound for every is . They normalize by and do not specify the second initial point [11, Defs. 1.3–1.5]. Pasechniuk-Vilensky [22] use the rest start (their eq. (1.1)) and take the supremum over all dimensions inside the rate (their eq. (1.2)). Our results hold under each of these conventions. The lower bound holds for arbitrary initial pairs in and from rest in , normalized by either initial distance. The upper bound holds for every initial pair in every dimension, with a constant independent of . Normalized by alone, it needs to be determined by , as in the rest start.
3.2 Notation and interpolation conditions
From now on we take and write
with and . On the quadratic , heavy-ball is a linear recursion with characteristic polynomial . Let be the largest modulus of its roots and . Running heavy-ball from an eigenvector, or from the real part of a complex one, shows that , and is the rate on [11, Prop. 2.1].
Both proofs rest on the interpolation conditions for . A finite set of triples is -interpolable if some has and for all . By Taylor et al. [30, Thm. 4], this holds if and only if, for all and ,
3 Setting and Main Results
The lower bound constructs data that satisfy these inequalities, and the upper bound adds two of them with non-negative multipliers.
3.3 Main results
Theorem A (lower bound). Let and . For every ,
More precisely, let and . Either , or there are an integer , a function and an initial pair on which heavy-ball satisfies for all , where is the rotation of the plane by the angle .
Theorem B (achievability). Let , , , and
There is a constant , depending only on , such that for every , every and every initial pair ,
The rate is attained on , already from rest. Hence
The constant is given in the proof. For example, at and at (Table 3). The same certificate works for every ... and for no smaller (§6.5).
Corollary 1 (the optimal constant). For and ,
The upper bound holds for all . In particular , while the constant of gradient descent tends to 2. In one dimension, for .
Corollary 2 (rest start). For and every , . Hence Corollary 1 holds for the rest-start rate as well, for .
In terms of iterations, the spiral of Theorem A has . If , the trajectory on , with identified with and a root of modulus for or , decays no faster. To reduce the distance to the minimizer by a factor on every function of , every tuning therefore needs at least iterations. The tuning of Theorem B needs at most . Gradient descent needs about iterations, and the triple momentum method about .
Remark 2 (relation to Pasechniuk-Vilensky). The tuning (4) lies in the region of Pasechniuk-Vilensky [22, Thm. 7.2(b)] for every . For this family, their membership conditions
3 Setting and Main Results
(Cor. 7.3(a),(c)) reduce to the positivity of univariate polynomials in , which we checked by exact root counting (§7). On they prove that the rate equals the rate on quadratics, which here is . At each fixed , their theorem therefore gives the rate equality of Theorem B independently. Their statement is for the rest start and loses an arbitrary in the rate, although their proof controls arbitrary initial states. Theorem B adds a short, self-contained certificate in the time domain with an explicit constant for arbitrary initial pairs, and it identifies a family that is asymptotically optimal by Theorem A.
4 Where the Constant 8 Comes From
4 Where the Constant 8 Comes From
This section explains the two theorems without full proofs. We keep .
4.1 What quadratics allow
On a quadratic of curvature , heavy-ball is a linear recursion. In the flattest direction, , it converges at a real rate if is a root of . Evaluating this polynomial at gives . A real rate therefore requires
We call the left side the effective step. For gradient descent it equals , and stability in the stiffest direction, , requires , hence . Momentum separates the two requirements. The stiff direction only needs , while the effective step grows without bound as . The momentum cannot exceed , because the roots for have product , so one of them has modulus at least . In the coordinates
the tunings that beat on quadratics form a triangle (Lemma 1; 11, Lemma 2.4). Its three sides are , which bounds the momentum, , which says that the effective step exceeds 8, and , which keeps the stiff direction stable. On quadratics alone, can be as large as about , which Polyak's tuning attains. Everything that limits to 8 comes from functions that are not quadratic.
4.2 Spirals
Identify with and look for a heavy-ball trajectory that spirals into the minimizer, . The iteration (1) determines the gradients along it, with real and that depend on the tuning, by (6). The part is what the quadratic would produce. The part is perpendicular to (Figure 1). No quadratic produces it along the whole spiral, because a Hessian with for all is the multiplication by , which is symmetric only if . A convex function that is not quadratic can produce some of this rotation, but only a limited amount. The interpolation conditions allow it as long as
(Lemma 2). The rotation has to be paid for by a curvature strictly between and 1 and by a large enough turning angle .
Now place the tuning on the edge , where its rate on the quadratic of curvature is about , and write for some . Suppose that is small and that is much smaller than , which is the case for the tunings that matter as . Then (6) and (7), with and , give , and . After division by , the condition above becomes , that is,
4 Where the Constant 8 Comes From
(a) iterates and gradient steps

(b) distance to the minimizer

Figure 1: A spiral of Lemma 2 at , for the tuning . (a) The iterates turn by per step and contract by . The gradients are the iterates scaled and rotated by a fixed nonzero angle, which no quadratic produces. The orange arrows are the gradient steps . (b) On this function heavy-ball converges at the rate 0.92, although on every quadratic of the class it converges at the rate or faster.
Some satisfies this if and only if
and the minimum is attained at . At the best spiral has , the middle of the range of curvatures, and , and it turns by per step. More precisely, with , the polynomial of Lemma 2 satisfies
A tuning that beats on quadratics has , so it lies beyond the edge , and decaying spirals at the rate exist for it. The proof of Theorem A makes this precise. It finds a window of values of around on which (Lemma 4), and a root of unity inside it (Lemma 5).
4.3 The upper bound
For the converse we need a tuning that lies on the edge for its own rate, with just below 8, and a proof that no function in slows it down. The tuning (4) satisfies and , so its effective step is . Its momentum agrees with Polyak's to first order, , while its step is about times smaller than Polyak's.
The proof uses a Lyapunov function. Let , which is convex and -smooth. To leading order in , the Lyapunov function is
4 Where the Constant 8 Comes From
The first two terms are the potential and the kinetic energy of the heavy ball. The third couples the velocity with the gradient, and the fourth is a small multiple of the squared gradient. We show that on every . The proof adds two inequalities satisfied by , one between consecutive iterates and one between the iterate and the minimizer, with multipliers and . These are the only multipliers that cancel the function values. What remains is a quadratic form in and that must be positive semidefinite. Because the quadratic attains the rate , the form must vanish in the corresponding direction, and this fixes three of the six entries of the matrix that defines . We found the other three numerically, as power series in , rounded them, and proved positivity for all by exact root counting. Section 4.2 predicts this outcome. With effective step no spiral can slow the tuning down, and the certificate shows that no other function can either.
5 Proof of the Lower Bound
5 Proof of the Lower Bound
This section proves Theorem A. Fix , so that . For there is nothing to prove. Write . The proof has four steps. A tuning that beats on quadratics lies in a triangle (Lemma 1). A decaying spiral at rate is a heavy-ball trajectory on some function of as soon as a polynomial is non-negative (Lemma 2). This polynomial is positive on an explicit window (Lemma 4), and some root of unity falls in that window (Lemma 5).
5.1 Tunings that beat on quadratics
For a tuning define
Lemma 1 (quadratic necessary conditions). If , then
In particular and .
Proof. By the Schur–Cohn criterion, both roots of , with and real, lie in the open disc of radius if and only if and . We apply it to , where , and to , where . First, gives , that is, . With one checks that
So gives , that is, , and gives . The two are compatible only if , that is, , which is at most . Then .
These conditions describe the interior of the sublevel set SLS(r) of Goujaud et al. [11, Lemma 2.4] in the coordinates . The edge is their edge , the edge is , and the third edge is the stability edge of the stiff direction. The compatibility condition forces , so for every tuning has .
5.2 Decaying spirals
Identify with , with the inner product . For an integer let , and . If heavy-ball is to follow , then (1) forces the gradients
With a short computation gives
5 Proof of the Lower Bound
Lemma 2 (decaying spirals). Let , and , with , and as above. Let be a tuning with and , where and are defined by (5) with this , let be as in (7), and let
If , there is an on which heavy-ball started at gives for all . In particular .
Proof. Take the data , and for , with and , together with the minimizer . By (6), heavy-ball maps to on any function that interpolates these data. Substituting into (3) gives, for all ,
where is the quantity of §4.2. For with , this is , and both signs occur. So the data are interpolable if and only if and
Since
the right side of (10) vanishes when . For the other , inequality (10) follows from . Since for these , this holds as soon as , a condition that implies . Now by (7), and . Multiplying by turns the condition into
Expanding with shows that this is the condition , and this condition implies . So every finite subset of the data is interpolable, and Lemma 3 below provides a single .
At the bound is an equality, the condition is necessary as well as sufficient, and among the tunings that converge on quadratics, the set is the roots-of-unity cycling region of Goujaud et al. [11, Thm. 3.5] (checked symbolically). Lemma 2 is therefore the decaying version of their cycles, and the single-frequency case of the decaying waves of Pasechniuk-Vilensky [22, Lemma 3.4, Thm. 3.5(c)]. What it adds is a closed-form condition, , that can be checked for all tunings at once.
Lemma 3 (infinite interpolation). Let in be such that every finite subfamily, together with , is -interpolable. Then a single has and for all , and and .
Proof. Let interpolate the first points and . Then , and the gradients are -Lipschitz with . By the Arzelà–Ascoli theorem and a diagonal argument, a subsequence has and
5 Proof of the Lower Bound
locally uniformly. Then is with . Moreover, is convex as a pointwise limit of convex functions, and is -Lipschitz as a limit of -Lipschitz maps. So . Since interpolates the point for every , and for every , so does .
Pasechniuk-Vilensky [22, Thm. 3.2] prove the interpolation of infinite data sets directly, and it follows from the extension theorem of Azagra and Mudarra [1] as well.
5.3 The window
From now on we set and in (8), so that is a polynomial in and .
Lemma 4 (window). Let . Then for all
Proof. The polynomial is concave in , since the coefficient of is , and concave in , since the coefficient of is , independently of . A function on a rectangle that is concave in each variable separately attains its minimum at a corner, so it suffices to check the four corners. Write with , so that , and write and with . The following polynomial identities are checked symbolically. At the lower corner ,
where and . At the upper corner ,
where
Here . Both and are quadratics in with negative leading coefficients, namely , where , and . So they are concave in , and it suffices to check . With this leaves the univariate polynomials
Each of , , and is positive at and has no root in , by exact Sturm counts. For instance, for . Hence and on the box.
Appendix B gives an independent check of the same lemma by interval arithmetic.
5 Proof of the Lower Bound
5.4 Roots of unity in the window
Lemma 5 (roots of unity). For every there is an integer with , where .
Proof. Let , and , and let be the least integer with . Since , we have and . As decreases on , , so . From and we get with . So follows from
which we now prove for all .
We first bound arcsin by a linear function. Since ,
Since arcsin is convex on and vanishes at , for . The alternating Taylor series gives
so . With this gives .
Next we reduce (13) to a polynomial inequality. Put , where
Then and . Since , (13) follows from
both sides being non-negative.
Finally, for , and . So the left side is at least . The right side is . The difference of the two bounds is for .
Each constant in this proof is checked in exact arithmetic by code/verify_rou_analytic.py. Independently, code/verify_lowerbound.py checks (13) on by interval arithmetic on 4000 subintervals.
5.5 Proof of Theorem A
If there is nothing to prove, since . Otherwise Lemma 1 gives and , with . Lemma 5 gives a with in the window of
5 Proof of the Lower Bound
Lemma 4, so . Lemma 2 then gives an with . Extending by in the other coordinates gives the result in . Since , the bound (2) fails for every .
5.6 Rest start
Proof of Corollary 2. We first treat quadratics. On started at rest, , and is a linear combination of and when the roots are distinct. If the coefficient of the dominant root vanishes, then , so , and either , which is gradient descent with , or , and the method does not converge. The case of a double root is similar. So heavy-ball started at rest still converges at the rate or does not converge, and .
Now suppose , and take and the planar spiral data of the proof of Theorem A, in the plane . Replace the first gradient by , so that heavy-ball started at rest at lands on . Add a third coordinate, on which is for some , started at , so that the space is . Then with and . The inequalities (3) split over orthogonal blocks,
with , where is computed from the planar data. For and the minimizer, by Lemma 2. The pairs that involve the index 0 have for a constant , because all data are bounded (). Each with is a polynomial of degree in with leading coefficient . So for all but countably many , for every , and since , this gives . Taking makes every inequality hold. Lemma 3 gives an , and with .
This is the construction of Pasechniuk-Vilensky [22, §5.1 and Lemma A.5], specialized to one decaying wave.
6 Proof of the Upper Bound
6 Proof of the Upper Bound
This section proves Theorem B. Throughout, , , and .
6.1 The tuning on quadratics
With the tuning (4), is an identity in , so the polynomial of the direction of curvature has the roots and . Equivalently, and , so the tuning lies on the edge of §4.1 for its own rate. Running heavy-ball on from gives . Started at rest, both roots are excited, and by the argument in the proof of Corollary 2 the coefficient of is non-zero. In the direction of curvature 1 the roots are complex with modulus , because the discriminant is negative for . So , and it remains to show that no function in does worse than the quadratics.
6.2 The Lyapunov function
Let . It is convex and -smooth, with and . Let , so that and heavy-ball reads
Convexity and smoothness of give, for consecutive iterates and for the minimizer,
With and a symmetric matrix , define
Proposition 1 (dissipation identity). Let be the matrix of Appendix A. Along (14),
for a symmetric matrix of rational functions of . For , and .
The values of cancel in (16). The multiplier of removes the term of , and since the two multipliers add up to 1 they remove the term of . The identity is between quadratic forms with scalar coefficients, so it holds in every dimension once it holds for .
Proof of Theorem B from Proposition 1. By (16), , so . Since , we have . Moreover and , so
6 Proof of the Upper Bound
where is the spectral norm. Hence with
Together with the quadratic lower bound above, .
6.3 Structure of the certificate
On we have , and the slow solution has . All the 's vanish there, and decays at the rate . So the right side of (16) vanishes at , and forces . This determines and from the other entries (Appendix A). It makes equivalent to , where is the lower-right block of . Indeed, writing with gives . The three free entries are
To leading order in , using and ,
where the dots stand for the cross terms and to leading order, and for corrections of higher order in to the coefficients shown. The certificate is therefore a small perturbation of the mechanical energy of the heavy ball, potential plus kinetic.
6.4 Exact verification
In the basis
the leading principal minors of and of are rational functions of with the expansions
Write each minor as in lowest terms. We verify by an exact Sturm count that the polynomial has no root in , and that it is positive at . So all six minors are positive on , and Sylvester's criterion gives and . The identity (16), the null vector, the root and the sign of the discriminant in the direction of curvature 1 are all checked symbolically or by exact root counting. This proves Proposition 1, and with it Theorem B.
6 Proof of the Upper Bound
6.5 Exact range
The minors of and the first minor of have no sign change on . The second minor of first changes sign at () and the third at , that is, . The discriminant for curvature 1 stays negative up to . At the third minor vanishes and the other five are positive, so by continuity and the conclusions of Proposition 1 still hold. For every , either is undefined or some minor is negative, so that or . So this certificate proves Theorem B for every and for no smaller . We state for simplicity. For the rate of the same tuning still follows from Pasechniuk-Vilensky [22] (Remark 2), but there is below 4.62, while the certified tuning at in Table 2 already gives 5.032.
6.6 How the certificate was found
For fixed , the matrices with and form a spectrahedron, which we explored numerically with a semidefinite programming solver. Imposing the null vector leaves three unknowns. At and its extent in and in is at most about 12s times the size of these entries, so the set is thin, while can vary by about three times its size and change sign. We computed its analytic center along the family , whose rate is , fitted the expansions of the three entries in powers of , rounded the coefficients to simple rationals, and verified the result exactly. None of this search is part of the proof. A formal expansion of the minors suggests that, within this certificate class and the family , feasibility as requires , which is smallest at , where it reads . So the value is not far from what lag-one certificates of this form can give. We did not try to prove this threshold.
7 Computer-Assisted Steps
7 Computer-Assisted Steps
This section states what was checked by computer, how, and on what range. No step of either proof relies on floating-point arithmetic.
7.1 What was checked
Table 1 lists every computer-assisted step of the proofs, together with the auxiliary exact computations quoted in the text. “Symbolic” means an identity between polynomials or rational functions with rational coefficients, verified by expanding the difference to zero. “Sturm” means an exact count of the real roots of a univariate polynomial with rational coefficients on a closed interval, together with an exact evaluation of its sign at one point. “Interval” means outward-rounded interval arithmetic.
Table 1: Computer-assisted steps. “Range” is the exact parameter range on which the check holds. The scripts are in code/.
| Claim | What is checked | Range | Method | Script |
|---|---|---|---|---|
| Lemma 1 | the two Schur–Cohn identities | all parameters | symbolic | verify_lowerbound |
| Lemma 2 | reduction (9), formulas (7), identity for | all parameters | symbolic | verify_lowerbound |
| at , gives the region of Goujaud et al. [11, Thm. 3.5] | all parameters | symbolic | verify_lowerbound, verify_symbolic | |
| Lemma 4 | corner identities (11) and (12), -coefficient | all parameters | symbolic | verify_lowerbound |
| 8 end polynomials and 4 concavity coefficients have no root | Sturm | verify_lowerbound | ||
| (independent) on the box | interval, 76 boxes | verify_lowerbound | ||
| Lemma 5 | the constants of the proof | as stated | exact rationals | verify_rou_analytic |
| (independent) inequality (13) | interval, 4000 pieces | verify_lowerbound | ||
| Proposition 1 | identity (16), null vector , is a root for curvature | all | symbolic | verify_achievability |
| 6 leading minors positive discriminant for curvature 1 negative | Sturm | verify_achievability | ||
| Sturm | verify_achievability | |||
| first sign change of each minor, validity at and failure for every larger | real-root isolation | verify_achievability --range | ||
| Remark 2 | membership in the region of Pasechniuk-Vilensky [22] (sufficient conditions) | Sturm | verify_pv_membership | |
| Table 2 | fixed- certificates (Appendix C) | exact rationals | fixed_kappa_certificates | |
| §9.3 | spiral bound for the corner tuning | interval | ghadimi_corner |
7 Computer-Assisted Steps
7.2 Size of the computations and trust base
In Lemma 4 the polynomials have degree at most 6 and small rational coefficients. They are printed in the proof and in Appendix B, and can be checked by hand. In Proposition 1 the six products have degrees 12, 26 and 34 (minors of ) and 14, 18 and 26 (minors of ), with integer coefficients of up to 21 digits. The discriminant for curvature 1 has degree 12. The entries of are printed in Appendix A. The tuning, the matrices and , the six minors with their products , and the discriminant are written in exact form to results/optimal/achievability.json, so the check can be repeated in any computer algebra system.
All exact computations use SymPy 1.14 under Python 3.12, namely rational arithmetic, polynomial expansion, Poly.count_roots (Sturm sequences) and Poly.real_roots (real-root isolation). Interval arithmetic uses mpmath 1.3 (mpmath.iv, 30 to 40 digits, outward rounding). Each check runs in under a minute on a laptop.
The proofs are not formalized in a proof assistant, so the trust base includes the correctness of the polynomial routines of SymPy and of mpmath.iv. We reduce this dependence in three ways. The lower bound does not need interval arithmetic, because Lemma 5 has a proof by hand and the univariate polynomials of Lemma 4 are short, and both lemmas are checked a second time by an independent route. The upper bound depends on exact root counts for seven polynomials of degree at most 34, which any computer algebra system can repeat from the published data. Finally, the certificate of Theorem B was found numerically, but only its exact form is used. Floating point appears only in the numerical columns of Table 2 and in the tests below, and none of these is used in a proof.
7.3 Floating-point tests
As a sanity check, separate from the proofs, we built the objects of the proofs in floating point. For 400 random tunings with that satisfy the conditions of Lemma 1, we built the spiral with the of Lemma 5 and checked (10) directly for all . The smallest relative slack was 0.15. For 20 random tunings with and , we built the rest-start construction of Corollary 2 in , verified that heavy-ball started at rest reproduces it, and checked all pairwise inequalities (3) among up to 600 points and the minimizer. The smallest slack was .
8 Finite Condition Numbers
8 Finite Condition Numbers
Corollary 1 is asymptotic. This section compares it with what is known at finite .
8.1 Exact certificates at fixed condition numbers
The certificate class of §6 applies to a single rational tuning at a fixed , where every entry is a rational number. For and we searched numerically for the fastest tuning in the region of Pasechniuk-Vilensky [22], rounded it to a rational tuning whose rate is a root of the polynomial for curvature , solved a small semidefinite program for the free entries of , rounded them, and verified the certificate exactly (Appendix C). This proves and at these values of , in every dimension. These constants exceed at the same , so the tuning of Theorem B is not optimal at finite .
8.2 A numerical bracket
We computed two further quantities in floating point, which are not certified. On the side of tunings, we minimized the exact rate over a grid of tunings in the region of Pasechniuk-Vilensky [22, Thm. 7.2(b)], where their theorem gives (code/pv_region_search.py). On the side of functions, for each tuning we took the larger of and the rate of the slowest decaying spiral, and minimized over a grid of tunings refined near the optimum. The spirals are either root-of-unity spirals as in Lemma 2 or general log-spirals with any , and for the latter the function values may have any scale . Table 2 collects these numbers with the proved bounds.
Table 2: Bounds on for . Lower bounds on come from tunings, and upper bounds from functions that slow every tuning down. Lower bounds are rounded down and upper bounds up. The columns marked “num.” are floating point.
| lower bounds on (tunings) | upper bounds on (functions) | |||||
|---|---|---|---|---|---|---|
| Theorem B | exact (Appendix C) | best on (num.) | log-spirals (num.) | root-of-unity spirals (num.) | Theorem A | |
| - | 5.032 | 5.034 | 5.37 | 5.44 | 8 | |
| 400 | 4.800 | 6.173 | 6.175 | - | 6.50 | 8 |
| 5.976 | 6.734 | 6.736 | 6.98 | 6.99 | 8 | |
| 7.360 | 7.548 | 7.549 | - | 7.66 | 8 | |
| 7.797 | - | 7.851 | - | - | 8 | |
| 7.936 | - | - | - | - | 8 | |
| 8 | 8 | |||||
8.3 Earlier numerical values
The thesis of Goujaud [9, Table 10.1] reports numerical optima at and 1000. With Remark 1 they convert to and 7.49, if they refer to the rate of the distance. The value at agrees with Table 2, and the tuning listed with it, and , is close to our certified tuning and in Table 4. We could not reconcile the value at . The tuning listed with it, and read as , already has a rate on quadratics that
8 Finite Condition Numbers
corresponds to , and 7.49 exceeds our numerical spiral bound 6.98. The thesis may use a different notion of rate. Van Scoy and Lessard [33] find at , in agreement with Table 2. The values of Lessard et al. [15, Fig. 8], for the restricted family with step , lie below our numerical spiral bounds for , as valid bounds must. Their values of appear to lie on a grid of spacing about , which limits the resolution in to about .
8.4 Shape of the tuning and the second-order term
Expanding (4) gives
Polyak's tuning has and . The momenta agree to first order, and the step of Theorem B is smaller by a factor of about . At the tuning is and , with rate . The certified tunings of Table 4 have the same shape, , with and at and against in Theorem B, so they use slightly more momentum.
Corollary 1 gives with , if such an expansion exists. At and the numerical bracket gives values of between about 32 and 45. This suggests that , so that is strictly above at large finite . Only the leading constant is proved.
9 Discussion and Limitations
9 Discussion and Limitations
9.1 What the results settle
For , the optimal worst-case rate of heavy-ball with constant parameters on is to first order, and an explicit family of tunings attains it. On this class, momentum divides the number of iterations of gradient descent by four asymptotically, whereas on quadratics it divides it by a factor of order . In our family the momentum is Polyak's to first order and the step is about times smaller, and the best tunings we found numerically at fixed have the same shape (§8). We have not proved that every asymptotically optimal family must look like this.
9.2 Open questions
Theorem B is optimal only as . At fixed better tunings exist (§8), and we have no closed form for them, so the problem posed by Goujaud [9, §10.3.3] is solved to first order only. The second-order term is open as well. We prove , while the numerics point to values between about 32 and 45. A second-order analysis of decaying spirals, possibly with several frequencies as in Pasechniuk-Vilensky [22], could raise the lower end. Lag-one certificates of our form seem unable to lower the upper end below 48 (§6.6), so this may need certificates with longer memory. For below 357.2901 ... we have exact certificates at isolated values only.
The spirals need two dimensions. In one dimension Theorem B still applies, so (Appendix D), and whether is open. A proof of would require functions of one variable that slow every tuning down as much as the decaying spirals do, and by Proposition 2 single-jump cycles do not suffice. Similarly, Corollary 2 uses a third coordinate, and we do not know whether the rest-start rate on obeys the same lower bound. Our functions are not twice differentiable at the minimizer (§2), whereas the one-dimensional lower bound of Liu et al. [16] holds for functions. Whether persists on smoother subclasses of is open.
The results concern constant . Variable parameters and restarts are not covered, and neither are methods that evaluate the gradient elsewhere, such as Nesterov's method and the triple momentum method, which accelerate. The results are worst-case statements for exact gradients on smooth strongly convex functions, and they do not directly describe the stochastic training of neural networks.
9.3 The constant 8 in the region of Ghadimi et al.
Goujaud et al. [11, Lemma 2.5] show that the best rate on quadratics over the region where Ghadimi et al. [8, Thm. 4] prove global convergence on is . The two constants are related but describe different tunings. For small steps, the region of Ghadimi et al. is . In the triangle of §4.1 for the rate , the corner where the momentum edge meets the edge of the effective step is , with . It lies in the region of Ghadimi et al. if and only if . In floating point the minimum of their Lemma 2.5 is attained at this corner, with and at and . The step printed in the lemma, , exceeds and lies outside the region. Our tuning has instead. On the corner is much slower than on quadratics. Decaying spirals (Lemma 2, which holds for every ) prove and for it at and (interval arithmetic, code/ghadimi_corner.py). The
9 Discussion and Limitations
lag-one criterion of Pasechniuk-Vilensky [22] gives and 3.16 there in floating point. Their Lemma 2.5 therefore does not give 8 on , and we know of no deeper connection between the two constants.
9.4 Limitations
The proofs of Lemma 4 and Proposition 1 use exact computer algebra (§7). The numerical results at finite are in floating point and partly rely on a recent result that has not yet been refereed [22], but none of them is used in a proof. Our literature search, up to October 15, 2026, found no earlier statement of the limit 8. Given the concurrent activity on this problem, independent work on the same question is possible.
10 Conclusion
10 Conclusion
With constant parameters and the best tuning, heavy-ball converges on -smooth -strongly convex functions at the rate in every dimension , four times faster than gradient descent. The lower bound is a decaying root-of-unity spiral, which exists for every tuning that is faster than on quadratics. The upper bound is an explicit tuning, with the momentum of Polyak's tuning to first order and a step about times smaller, certified by a Lyapunov function close to the mechanical energy and verified exactly for all . The constant 8 comes from a trade-off between rotation and curvature. Along a spiral the gradient must rotate, and convexity allows rotation only in exchange for curvature. This exchange is cheapest at half the largest curvature. The optimal tuning at finite , the second-order term and the constant in one dimension remain open. The same pair of tools, decaying spirals and lag-one certificates, may give the optimal constants of other methods with a fixed structure.
References
References
[1] D. Azagra and C. Mudarra. An extension theorem for convex functions of class on Hilbert spaces. Journal of Mathematical Analysis and Applications, 446(2):1167–1182, 2017. doi:10.1016/j.jmaa.2016.09.015; arXiv:1603.00241.
[2] A. Badithela and P. Seiler. Analysis of the heavy-ball algorithm using integral quadratic constraints. In American Control Conference (ACC), pages 4081–4085, 2019. doi:10.23919/ACC.2019.8814459.
[3] B. Can and M. Gürbüzbalaban. Entropic risk-averse generalized momentum methods. Optimization Methods and Software, 40(6):1535–1583, 2025. doi:10.1080/10556788.2025.2549356; arXiv:2204.11292.
[4] M. Danilova, A. Kulakova, and B. Polyak. Non-monotone behavior of the heavy ball method. In Difference Equations and Discrete Dynamical Systems with Applications, volume 312 of Springer Proceedings in Mathematics & Statistics, pages 213–230. Springer, 2020. doi:10.1007/978-3-030-35502-9_9; arXiv:1811.00658.
[5] Y. Drori and A. Taylor. On the oracle complexity of smooth strongly convex minimization. Journal of Complexity, 68:101590, 2022. doi:10.1016/j.jco.2021.101590; arXiv:2101.09740.
[6] Y. Drori and M. Teboulle. Performance of first-order methods for smooth convex minimization: A novel approach. Mathematical Programming, 145(1–2):451–482, 2014. doi:10.1007/s10107-013-0653-0; arXiv:1206.3209.
[7] K. Fotopoulos, M. Helcig, K. Deck, and J. Alsbach. Cycling and non-acceleration of the heavy-ball method in one dimension. ODI Blog, ETH Zürich, AI for Math and Optimization Seminar, No. 01, July 7, 2026. https://odi.inf.ethz.ch/blog/heavy-ball-one-dimension/, accessed October 14, 2026.
[8] E. Ghadimi, H. R. Feyzmahdavian, and M. Johansson. Global convergence of the heavy-ball method for convex optimization. In European Control Conference (ECC), pages 310–315, 2015. doi:10.1109/ECC.2015.7330562. We cite theorem numbers from arXiv:1412.7457v1.
[9] B. Goujaud. Constructive Approaches to Worst-Case Complexity Analyses of Gradient Methods for Convex Optimization: Contributions, New Insights, and Novel Results. PhD thesis, Institut Polytechnique de Paris, 2024. NNT 2024IPPAX039, HAL tel-04746799.
[10] B. Goujaud, A. Dieuleveut, and A. Taylor. Counter-examples in first-order optimization: A constructive approach. IEEE Control Systems Letters, 7:2485–2490, 2023. doi:10.1109/LCSYS.2023.3286277; arXiv:2303.10503.
[11] B. Goujaud, A. Taylor, and A. Dieuleveut. Provable non-accelerations of the heavy-ball method. Mathematical Programming, 2025. Online first, October 27, 2025, doi:10.1007/s10107-025-02269-2. We cite theorem numbers from arXiv:2307.11291v2.
[12] B. Goujaud, A. Taylor, and A. Dieuleveut. Open problem: Two riddles in heavy-ball dynamics, 2025. arXiv:2502.19916.
[13] C. He and S. Zhang. Heavy-ball method under randomized schedules, 2026. arXiv:2609.09743.
[14] L. Lessard and P. Seiler. Direct synthesis of iterative algorithms with bounds on achievable worst-case convergence rate. In American Control Conference (ACC), pages 119–125, 2020. doi:10.23919/ACC45564.2020.9147401; arXiv:1904.09046.
[15] L. Lessard, B. Recht, and A. Packard. Analysis and design of optimization algorithms via integral quadratic constraints. SIAM Journal on Optimization, 26(1):57–95, 2016. doi:10.1137/15M1009597; arXiv:1408.3595.
[16] K. Liu, Q. Wu, Z. Sun, M. Chen, S. Li, and B. Qu. Sharp initialization guarantees for the heavy-ball method, 2026. arXiv:2610.10369.
[17] J. Ma and J. Zhang. A lower bound for the heavy-ball method on smooth convex functions, 2026. arXiv:2609.08656.
[18] A. Megretski and A. Rantzer. System analysis via integral quadratic constraints. IEEE Transactions on Automatic Control, 42(6):819–830, 1997. doi:10.1109/9.587335.
References
[19] A. S. Nemirovsky and D. B. Yudin. Problem Complexity and Method Efficiency in Optimization. Wiley, 1983.
[20] Y. Nesterov. A method of solving a convex programming problem with convergence rate . Soviet Mathematics Doklady, 27:372–376, 1983.
[21] Y. Nesterov. Lectures on Convex Optimization, volume 137 of Springer Optimization and Its Applications. Springer, second edition, 2018. doi:10.1007/978-3-319-91578-4.
[22] D. Pasechniuk-Vilensky. Two answers on heavy-ball dynamics, 2026. arXiv:2610.09912; listed on arXiv as Dmitry Pasechnyuk-Vilensky.
[23] S. Pokutta and B. Stellato. The exact worst-case asymptotic rate of Nesterov acceleration for strongly convex optimization, 2026. arXiv:2610.15125.
[24] B. T. Polyak. Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics, 4(5):1–17, 1964. doi:10.1016/0041-5553(64)90137-5.
[25] J. M. Sanz-Serna and K. C. Zygalakis. The connections between Lyapunov functions for some optimization algorithms and differential equations. SIAM Journal on Numerical Analysis, 59(3):1542–1565, 2021. doi:10.1137/20M1364138; arXiv:2009.00673.
[26] P. Seiler and J. Carrasco. Construction of periodic counterexamples to the discrete-time Kalman conjecture. IEEE Control Systems Letters, 5(4):1291–1296, 2021. doi:10.1109/LCSYS.2020.3033443; arXiv:2009.02468.
[27] B. Shi, S. S. Du, M. I. Jordan, and W. J. Su. Understanding the acceleration phenomenon via high-resolution differential equations. Mathematical Programming, 195(1-2):79–148, 2022. doi:10.1007/s10107-021-01681-8; arXiv:1810.08907.
[28] A. Taylor and Y. Drori. An optimal gradient method for smooth strongly convex minimization. Mathematical Programming, 199(1-2):557–594, 2023. doi:10.1007/s10107-022-01839-y; arXiv:2101.09741.
[29] A. Taylor, B. Van Scoy, and L. Lessard. Lyapunov functions for first-order methods: Tight automated convergence guarantees. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 4897–4906, 2018. arXiv:1803.06073.
[30] A. B. Taylor, J. M. Hendrickx, and F. Glineur. Smooth strongly convex interpolation and exact worst-case performance of first-order methods. Mathematical Programming, 161(1-2):307–345, 2017. doi:10.1007/s10107-016-1009-3; arXiv:1502.05666.
[31] V. Ugrinovskii, I. R. Petersen, and I. Shames. Global convergence and asymptotic optimality of the heavy ball method for a class of nonconvex optimization problems. IEEE Control Systems Letters, 6:2449–2454, 2022. doi:10.1109/LCSYS.2022.3163408; arXiv:2202.02914.
[32] M. Upadhyaya, S. Banert, A. B. Taylor, and P. Giselsson. Automated tight Lyapunov analysis for first-order methods. Mathematical Programming, 209(1-2):133–170, 2025. doi:10.1007/s10107-024-02061-8; arXiv:2302.06713.
[33] B. Van Scoy and L. Lessard. The speed-robustness trade-off for first-order methods with additive gradient noise, 2021. arXiv:2109.05059 (v3, November 2025).
[34] B. Van Scoy and L. Lessard. The fastest known first-order method for minimizing twice continuously differentiable smooth strongly convex functions. IEEE Control Systems Letters, 9:655–660, 2025. doi:10.1109/LCSYS.2025.3576681; arXiv:2506.01168.
[35] B. Van Scoy, R. A. Freeman, and K. M. Lynch. The fastest known globally convergent first-order method for minimizing strongly convex functions. IEEE Control Systems Letters, 2(1):49–54, 2018. doi:10.1109/LCSYS.2017.2722406.
[36] J.-K. Wang, C.-H. Lin, A. Wibisono, and B. Hu. Provable acceleration of heavy ball beyond quadratics for a class of Polyak–Lojasiewicz functions when the non-convexity is averaged-out. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 22839–22864, 2022. arXiv:2206.11872; v3 adds an erratum (App. J).
[37] G. Zames and P. L. Falb. Stability conditions for systems with monotone and slope-restricted nonlinearities. SIAM Journal on Control, 6(1):89–108, 1968. doi:10.1137/0306007.
References
[38] J. Zhang, J. Carrasco, and W. P. Heath. Duality bounds for discrete-time Zames–Falb multipliers. IEEE Transactions on Automatic Control, 67(7):3521–3528, 2022. doi:10.1109/TAC.2021.3095418; arXiv:2008.11975.
A The Certificate of Theorem B
Appendix
A The Certificate of Theorem B
As polynomials in , the tuning of Theorem B is
Table 3 gives the tuning and the constant of Theorem B at a few values of .
Table 3: The tuning and the constant of Theorem B at sample values of , rounded, with rounded up.
| 400 | 0.988 | 0.778544 | 1.0176 | 1.44 | 78 | |
| 0.994024 | 0.862348 | 0.791643 | 1.57 | 127 | ||
| 0.999264 | 0.958558 | 0.299817 | 3.51 | 559 | ||
| 0.999992 | 0.995984 | 0.031807 | 31.6 |
The Lyapunov matrix in (15) has the entries
The first three entries solve with . In terms of the free entries, with and the coefficient of in , they are
To leading order, with . The leading part of has rank one, and the positivity of is decided at orders and . The basis of §6.4 makes this visible
A The Certificate of Theorem B
in the minors. In the variables , and , the quadratic part of has the coefficients
Together with this gives (17).
B Polynomials of the Window Lemma
B Polynomials of the Window Lemma
With , and , the corner polynomials of Lemma 4 are, sorted by powers of ,
The second route proves and on by interval evaluation of the monomial expansion and bisection. Since vanishes at , the script writes and shows that and are positive. This takes 9 boxes for and 67 for .
The Optimal Rate Constant of Heavy-Ball Momentum C Exact Certificates at Fixed Condition Numbers
C Exact Certificates at Fixed Condition Numbers
Each row of Table 4 is a rational tuning with a root of its polynomial for curvature , together with the free entries of a certificate of the form of §6. The entries and follow from . The script code/fixed_kappa_certificates.py checks in exact rational arithmetic that is the dominant root on quadratics and that the leading principal minors of and are positive, and hence that the rate of the tuning on is in every dimension.
Table 4: Exact certificates at fixed (results/optimal/fixed_kappa.json).
| 100 | ||||||
| 400 | ||||||
| 1000 | ||||||
D Results in One Dimension
D Results in One Dimension
This appendix collects results on . Whether heavy-ball accelerates on functions of one variable, the first of the two riddles of Goujaud et al. [12] (their Open Problem 1), was settled negatively before this work. It was first answered by Fotopoulos et al. [7], in a blog post of July 7, 2026, with a Lean 4 formalization of the core construction that rests on two stated external inputs. They rotate the roots-of-unity cycles of Goujaud et al. [11] by a suitable phase and project them onto a line. The blog reports, by personal communication, that Dieuleveut and collaborators had also solved the problem. We found no such preprint as of October 15, 2026. Combined with Goujaud et al. [11, Thm. 3.6], this gives on for every tuning. Building on that construction, Liu et al. [16, App. F, Thm. 8] gave a complete proof with a fixed phase. It shows that every tuning with and has rate at least for , on functions with any Hessian-Hölder bound and with locally attracting cycles. Pasechniuk-Vilensky [22] credit the blog with settling the riddle. We include only what we believe adds to these works, namely a better constant (Theorem C), the limit of the cycle method (Proposition 2), and an exact rest-start orbit of Polyak's tuning for all (Theorem D).
D.1 Projected rotations
In one dimension, interpolation is a condition on consecutive secants. For , some has for all if and only if
Necessity is clear, and for sufficiency can be taken piecewise linear through the points , with slope outside . No function values need to be prescribed, since heavy-ball uses only gradients, and coinciding points need equal gradients. We use the following statement, due in this form to Fotopoulos et al. [7] for the interval of phases and to Liu et al. [16, App. F] for the fixed phase. We include a short proof for completeness.
Fix , and , take so that and , and let and . Define
Substituting and shows that is the polynomial of (8) at , and is the of (7) at . For a phase , let , with indices , and . These are the only gradients for which heavy-ball runs through the points periodically.
Lemma 6 (projected rotations). For the points are distinct, and their sorted consecutive secant slopes, multiplied by , take the two values = and = . Hence the form a heavy-ball -cycle on some if and only if and , and such a phase exists if and only if .
Proof. By the addition formulas, with . Sorting by means sorting by the folded angle . The folded angles of the points alternate between the two sets and , with gaps alternating between and . For an upper point and a lower point the scaled secant is , which gives for and for . With and
D Results in One Dimension
, the two conditions read and . They are compatible if and only if , with taking values in . Since , if or then , so both this condition and fail. For the addition formula for the cotangent turns the condition into .
The proof applies to every phase. Shifting the time shifts the phase by , and the two slopes depend on the phase only through twice the phase modulo . So a phase gives the same slopes as the phase , and a multiple of makes two points with different gradients coincide. Replacing by and reflecting , which adds to the phase, therefore keeps both slopes. The cycle then visits its points in the order
where are the sorted points. This is the ordering conjectured by Goujaud et al. [12], and we checked it for . If and , flattening to slope near each point of the cycle makes the cycle attracting, and mollifying makes smooth. This is the one-dimensional version of Goujaud et al. [11, §§4–5] and Liu et al. [16, Thm. 8].
D.2 The constant 50/3
Lemma 7 (explicit cycle region). Let , , , and . Then for some .
Proof. Write . With , (18) becomes
where . The middle term is non-negative, and so is the last one when . It therefore suffices to find a with and .
The quadratic is non-positive on , where and . Since and at , we get if and only if . The window lies at the right place, because and . The values decrease to 0 with for . Indeed, , and for , because decreases. Let . Then and .
Lemma 8 (quadratic rate). For and , with , we have .
Proof. Let , so that . If the roots are complex, then , so , and gives . If they are real, , then . If there is nothing to prove. Otherwise , so . If , then and . If , then .
D Results in One Dimension
Theorem C (non-acceleration on with constant ). For every and every ,
So . Moreover if , and .
Proof. We show that , and when . The two bounds agree at , and the first is trivial for . A non-constant periodic orbit forces , and always. We go through the tunings case by case.
If the tuning is unstable on quadratics, that is, , or , then . If and , the roots of satisfy , so , and both target bounds exceed .
Now let , and , so that in particular , and first assume . If , then Lemmas 6 and 7 give a cycle, so . Otherwise with and , and Lemma 8 gives . This is at most the crossing value , which is at most if and only if . If instead , Lemma 8 with gives , and if and only if , which holds for , an interval that contains .
The last claim of the theorem follows from Lemmas 6 and 7 when . When , we have , and the tuning is unstable on quadratics.
The bound improves on 24 [16] and 100/3 [7, 11]. Together with Theorem B, . In the notation of Remark 1, corresponds to , and should not be confused with the threshold of Goujaud et al. [11].
D.3 The limit of the cycle method
We call a cycle on the -th roots of unity single-jump if it advances by one root per step, as the planar cycles of Goujaud et al. [11] and their projections in Lemma 6 do. Fotopoulos et al. [7] describe cycles that jump by several roots per step. Single-jump cycles combined with the quadratic bound cannot prove anything below 16.
Proposition 2 (the cycle method stops at 16).
(a) If , and , then for every .
(b) At and , which satisfies (a), we have as .
So no combination of single-jump roots-of-unity cycles, with any and any phase, with the quadratic bound proves with for all small . This applies to the bounds of Goujaud et al. [11], Fotopoulos et al. [7], Liu et al. [16] and Theorem C.
D Results in One Dimension
Proof. (a) Dropping the terms and from (19) leaves , whose maximum over is
(b) Write with . At curvature , the substitution turns the characteristic polynomial into , so
At curvature , for the roots are complex, so .
Part (a) is consistent with the description of the union of the cycle regions over real in Goujaud [9, eqs. (10.22)–(10.23)], and Pasechniuk-Vilensky [22, §7.4] show that the union of these regions is the complement of their region , on which they prove convergence (their Thm. 7.1(i)). The proof of (a) bounds for every real , and hence for every real . In the description of Pasechniuk-Vilensky [22, §7.4 and Thm. 7.1(ii)], every tuning with a cycle that jumps by several roots of unity has for some real , so these cycles do not reach the tunings of (a) either. As far as we know the value 16 is new, though simple. In dimension two and higher, Theorem A shows that the true constant, 8, is below this limit, which is why its proof uses decaying spirals instead of cycles.
D.4 Polyak's tuning from rest
Several works start heavy-ball at rest, : Pasechniuk-Vilensky [22] throughout, and Lessard et al. [15, App. B] and Liu et al. [16, App. H] in their non-convergence examples. Heavy-ball is invertible for , so an orbit started at rest can land exactly on a cycle only if the cycle contains a rest state, that is, .
Theorem D (Polyak's tuning fails from rest in one dimension). Let , , , , and . Let be the piecewise-linear function through the points
extended with slope . Then , and heavy-ball started at produces the sequence of period five. In particular it never converges.
Proof. The points form a five-cycle with a repeated point, and the two gradients at the repeated point agree because . The order holds because . The six slope conditions reduce to the positivity on of the rational functions of in Table 5. The binding one is , which is decreasing and equals 0.0019 at . One-dimensional interpolation completes the proof.
Earlier results of this kind hold at a single or in higher dimension. Lessard et al. [15, §4.6 and App. B] show at , by a finite verification, that the rest start enters the basin of
D Results in One Dimension
Table 5: The slope conditions of Theorem D, with the scaled secant -secant and . All entries are positive on .
| interval and | ||
|---|---|---|
| order of the points |
an attracting three-cycle. Liu et al. [16, App. H, Prop. 10] show at that every rest start in [37/50, 19/25] converges to an attracting three-cycle. Pasechniuk-Vilensky [22] prove failure from rest for every , in (their Thm. 2.2). Theorem D holds for all in one dimension, with exact landing on the orbit. Whether Polyak’s tuning fails from rest in one dimension for every remains open. With a free middle point in place of , the same shape appears to be feasible for above about 45.76. This threshold is numerical, and exact rational instances at and 64 are verified.
E Reproducibility
E Reproducibility
All scripts are at https://github.com/marcoshernanz/heavy-ball-optimal-rate. They run with SymPy 1.14, mpmath 1.3, NumPy and Matplotlib, and CVXPY 1.9.3 with Clarabel is needed only for the optional numerical searches. Table 6 lists what each script checks or produces.
Table 6: Scripts in code/ and what they check or produce.
| Script | Checks or produces |
|---|---|
| verify_lowerbound.py | all checks for Theorem A and Corollary 2 in Table 1 and the floating-point tests, writes results/optimal/lowerbound.json and ends with ALL OK |
| verify_rou_analytic.py | the constants of the proof of Lemma 5 |
| verify_achievability.py 1/20 | Proposition 1 for , writes results/optimal/achievability.json; with --range it checks the range of §6.5, and with --table it computes Table 3 |
| verify_pv_membership.py | the tuning (4) lies in the region Q of Pasechniuk-Vilensky [22] (Remark 2) |
| fixed_kappa_certificates.py | Appendix C, writes results/optimal/fixed_kappa.json |
| ghadimi_corner.py | §9.3 |
| verify_symbolic.py, stallcycles.py | the identities of Appendix D, and the rest-start orbit of Theorem D in exact rationals |
| pv_region_search.py, decaying_spirals.py, scan_spiral_constant.py | the numerical columns of Table 2 (best on Q, root-of-unity spirals, log-spirals) |
| make_figures_optimal.py paper | Figure 1 |