The connections between Lyapunov functions for some optimization algorithms and differential equations

J. M. Sanz-Serna, Konstantinos C. Zygalakis

Introduction

This paper studies Lyapunov functions for differential equations with damping, their discretizations, and optimization algorithms.

which is of course the result of applying Euler’s rule, with step-size αk>0\alpha_{k}>0, to the gradient system

The value of ff decreases along solutions x(t)x(t) of this system and, correspondingly, it may be hoped that, for GD, f(xk+1)≤f(xk)f(x_{k+1})\leq f(x_{k}) for sufficiently small αk\alpha_{k}. In fact, that is the case for αk<2/L\alpha_{k}<2/L if ff is LL-smooth, i.e. if ∇f(x)\nabla f(x) is LL-Lipschitz continuous. In this paper we are mainly interested in problems where ff belongs the set Fm,L\mathcal{F}_{m,L} of mm-strongly convex and LL-smooth functions, a class that plays an important role in optimization . For ff in this class and the constant step-size α=2/(m+L)\alpha=2/(m+L), GD has a bound [19, Theorem 2.1.15]

where x⋆x^{\star} is the (unique) minimizer of ff and κ=L/m≥1\kappa=L/m\geq 1 is the condition number of ff.

The 1−O(1/κ)1-\mathcal{O}(1/\kappa) rate of decay in ff in the preceding bound is unsatisfactory because in many applications of interest one has κ≫1\kappa\gg 1. It is possible to improve on GD by resorting to accelerated algorithms with rates 1−O(1/κ)1-\mathcal{O}(1/\sqrt{\kappa}); for instance, for the method

introduced by Nesterov, it may be shown [19, Theorem 2.2.3] that, if y0=x0y_{0}=x_{0},

The factor 1−1/κ1-\sqrt{1/\kappa} here is close to the optimal possible factor (1−1/κ)2/(1+1/κ)2(1-\sqrt{1/\kappa})^{2}/(1+\sqrt{1/\kappa})^{2} one can achieve for minimization algorithms when f∈Fm,Lf\in\mathcal{F}_{m,L} [19, Theorem 2.1.13]. The algorithm (1.2) is also related to ODEs, because it may be seen as a discretization of of the Polyak damped oscillator equation

whose solutions x(t)x(t) approach x⋆x^{\star} as t→∞t\rightarrow\infty if ff is mm-strongly convex [32, Proposition 3].

In recent years, there has been a revived interest, beginning with , in the connections between differential equations and optimization algorithms (see also ). In particular, there has been several papers (see e.g. ) that proposed accelerated algorithms, both in Euclidean and non- Euclidean geometry, based on discretizations of second order dissipative ODEs. The structure of these ODEs and the fact that they can been viewed as describing Hamiltonian systems with dissipation, led to a number of research works that tried to construct or explain optimization algorithms using concepts such as shadowing , symplecticity , discrete gradients , and backward error analysis .

A common feature of the analysis presented in many of the papers mentioned above was the construction of a discrete Lyapunov function that was used in order to deduce the convergence rate of the underlying algorithm. In a general analysis of optimization methods based on the derivation of Lyapunov functions that mimic ODE Lyapunov functions was carried out; that paper presents a Lyapunov function for (1.4). A Lyapunov function for (1.2) may be seen in , where it was also used to study stochastic versions of the algorithm. The paper , among other contributions, constructs a Lyapunov function for a one-parameter family of optimization algorithms that includes (1.2) as a particular case. Outside the field of optimization, Lyapunov functions are important in establishing ergodicity of random dynamical systems , as well as ergodicity of Markov Chain Monte Carlo algorithms, see for example . The construction of Lyapunov functions for optimization algorithms from the perspective of control theory was the subject of study in . The authors extend the work in and derive Linear Matrix Inequalities (LMIs) that guarantee the existence of suitable Lyapunov functions that may be used to establish the convergence rate of the algorithm under study. In addition, develops an LMI framework to construct Lyapunov functions for systems of ODEs. Typically, the LMIs that appear in this context have been solved numerically in the literature.

For f∈Fm,Lf\in\mathcal{F}_{m,L}, we use the LMI framework from to derive analytically Lyapunov functions for a two-parameter family of Nesterov optimization methods (see (3.1) below); this family includes the one-parameter family of algorithms in . In this way we find, as a function of the two parameters in (3.1), a convergence rate for the methods in the family. It turns out that the best convergence rate is achieved when the parameters are chosen as in (1.2). The relation between the Lyapunov function constructed in the present work and its counterpart in is discussed in Remark 3.5.

By taking an appropriate limit of the parameters as in e.g. the optimization algorithms in the family may be seen as discretizations of second-order ODEs of the form

where bˉ>0\bar{b}>0 is a friction parameter. We obtain analytically Lyapunov functions for (1.5) and determine, as a function of bˉ\bar{b}, a convergence rate of ff to f(x⋆)f(x^{\star}) along solutions x(t)x(t). We prove that the value bˉ=2\bar{b}=2 in the Polyak ODE (1.4) yields the optimal convergence rate if ff is mm-strongly convex. Additionally we show that if one is to take explicitly into account the value of LL into this calculation, the optimal value of bˉ\bar{b} becomes strictly larger than 22 and yields slightly better convergence rates.

We show that, in the limit where the optimization algorithms approximate the ODEs, the discrete Lyapunov functions converge to the ODE Lyapunov function. Using this correspondence we show, by means of the Heavy Ball method and other examples, that typically, optimization algorithms that are discretizations of (1.5) do not possess discrete Lyapunov functions that mimic the Lyapunov function of the differential equation in item 2 above and lead to acceleration. This emphasizes the well-known fact that, when designing optimization methods, it is not sufficient to ensure that the algorithm may be seen as a consistent discretization of a well-behaved ODE. Unfortunately, discretizations do not necessarily inherit the good long-time properties of the differential equation, as seen for example in the case of discretization of gradient flows , and Hamiltonian problems .

The rest of the paper is organized as follows. In Section 2 we briefly review the approach in that provides a basis for our constructions. In Section 3 we find analytically Lyapunov functions/rates of convergence for a two-parameter family of optimization methods that contains (1.2) as a particular case. Section 4 analyzes the ODE (1.5) and Section 5 studies the connection between the discrete and continuous Lyapunov functions. The Heavy Ball method and other methods that do not possess suitable Lyapunov functions are discussed in Section 6. Finally, we present in the appendix the calculations that allows us to deduce that while the choice bˉ=2\bar{b}=2 in (1.5) is optimal if ff is only assumed to be mm-strongly convex, slightly better rates of convergence may be achieved for f∈Fm,Lf\in\mathcal{F}_{m,L} by taking bˉ>2\bar{b}>2.

Preliminaries

We will now briefly describe the framework introduced in for the construction of Lyapunov functions of optimization methods and differential equations. The presentation here is adapted from the material in to suit our specific needs.

The following material is limited to results needed to study strongly convex optimization. However the LMI approach in also works in convex optimization.

Optimization algorithms can often be represented as linear dynamical systems interacting with one or more static nonlinearities (see ). In this paper we will consider first-order algorithms that have the following state-space representation

As example, consider algorithms of the well-known form ()

in the optimization context u⋆=0u^{\star}=0, and y⋆=x⋆y^{\star}=x^{\star} is the minimizer sought.

To study the convergence rate of optimization algorithms, considers functions of the form

where a0>0a_{0}>0 and PP is positive semi-definite (denoted by P⪰0P\succeq 0). If along the trajectories of (2.1)

we can conclude that ρ−2ka0(f(xk)−f(x⋆))≤Vk(ξk)≤V0(ξ0)\rho^{-2k}a_{0}(f(x_{k})-f(x^{\star}))\leq V_{k}(\xi_{k})\leq V_{0}(\xi_{0}) or

If ρ<1\rho<1, we have found a convergence rate for f(xk)f(x_{k}) towards the optimal value f(x⋆)f(x^{\star}). The following theorem defines an LMI that, when f∈Fm,Lf\in\mathcal{F}_{m,L}, guarantees that the property (2.4) holds and therefore (2.3) provides a Lyapunov function for the system .

Then, for f∈Fm,Lf\in\mathcal{F}_{m,L}, the sequence {xk}\{x_{k}\} satisfies

2 Continuous-time systems

We also consider continuous-time dynamical systems in state space form (throughout the paper we often use a bar over symbols related to ODEs)

in our context u⋆=0u^{\star}=0 and y⋆=x⋆y^{\star}=x^{\star}. We can replicate the convergence analysis of the discrete case using now functions of the form

where λ>0\lambda>0. If Pˉ⪰0\bar{P}\succeq 0 and, along solutions, (d/dt)Vˉ(ξ(t))≤0(d/dt)\bar{V}(\xi(t))\leq 0, then we have Vˉ(ξ(t))≤Vˉ(ξ(0))\bar{V}(\xi(t))\leq\bar{V}(\xi(0)) which in turns implies

The following theorem similarly to the discrete time case, formulates an LMI that guarantees the existence of such a Lyapunov function.

Suppose that, for (2.6), there exist λ>0\lambda>0, Pˉ⪰0\bar{P}\succeq 0, and σ≥0\sigma\geq 0 that satisfy

Then the following inequality holds for f∈Fm,Lf\in\mathcal{F}_{m,L}, t≥0t\geq 0,

A Lyapunov function for Nesterov’s optimization algorithm

We study the optimization method (cf. (2.2))

k=0,1,…k=0,1,\dots, with parameters α>0\alpha>0 and β\beta. As noted before, the choice β=0\beta=0 gives GD and β≠0\beta\neq 0 corresponds to Nesterov’s accelerated algorithm.

and the divided difference, k=0,1,…k=0,1,\dots,

the recursion (3.1) may be rewritten (k=0,1,…k=0,1,\dots)

For future reference, it is useful to observe that, from a dimensional analysis point of view, mm, LL and 1/α1/\alpha have the dimensions of the quotient f/∥x∥2f/\|x\|^{2}. Therefore δ\delta is a non-dimensional version of α\sqrt{\alpha}. The parameter β\beta is non-dimensional. The divided difference (3.2) shares the dimensions of xx.

For β=0\beta=0 (gradient descent), the first equation in (3.3) is a reformulation of the second: it would be more natural to use the simpler state ξk=xk\xi_{k}=x_{k}.

The matrix AA in (3.4) is a Kronecker product of a 2×22\times 2 matrix and IdI_{d},

the factor IdI_{d} originates from the dimensionality of the decision variable xx and the 2×22\times 2 factor is independent of dd and arises from the optimization algorithm. The matrices BB, CC and EE have a similar Kronecker product structure. It is then natural to consider symmetric matrices PP of the form

and then TT will also have a Kronecker product structure

where the tijt_{ij} are explicitly given by the following complicated expressions obtained from (3.4) and the recipes for M(0)M^{(0)}, M(1)M^{(1)} and M(2)M^{(2)} in Theorem 2.2:

Our task is to find ρ∈[0,1)\rho\in[0,1), p11p_{11}, p12p_{12}, and p22p_{22} that lead to T^⪯0\widehat{T}\preceq 0 and P^⪰0\widehat{P}\succeq 0 (which imply T⪯0T\preceq 0 and P⪰0P\succeq 0 ). The algebra becomes simpler if we represent β\beta and ρ2\rho^{2} as:

Note that we are interested in r∈(0,1/δ]r\in(0,1/\delta] so as to get ρ2∈[0,1)\rho^{2}\in[0,1). We proceed in steps as follows.

First step. Impose the condition t23=0t_{23}=0. This leads to

Second step. Impose the condition t13=0t_{13}=0. This results in

Third step. Impose the condition det(P^)=p11p22−p122=0{\rm det}(\widehat{P})=p_{11}p_{22}-p_{12}^{2}=0. Using (3.9) and (3.10), we have a linear equation for p22p_{22} with solution

We now take this value to (3.9) and (3.10) and get

a matrix that is positive semi-definite (but not positive definite).

Fourth step. Impose t33≤0t_{33}\leq 0. After using (3.11) in the expression for t33t_{33} in (3.7), this condition is seen to be equivalent to α2L−α≤0\alpha^{2}L-\alpha\leq 0 or

(for α=1/L\alpha=1/L, t33t_{33} actually vanishes). In what follows we assume that this bound on α\alpha holds; note that then δ=mα≤m/L<1\delta=\sqrt{m\alpha}\leq\sqrt{m/L}<1.

Fifth step. We impose t22≤0t_{22}\leq 0. This may be written as (p22−m/2)rδ≤0(p_{22}-m/2)r\delta\leq 0, which leads to p22≤m/2p_{22}\leq m/2. From (3.11)

which sets a lower limit ρ2≤1−δ\rho^{2}\leq 1-\delta for the rate of convergence. For r2<1r^{2}<1, t22<0t_{22}<0.

Sixth step. Impose t11t22−t122=0t_{11}t_{22}-t_{12}^{2}=0. From (3.11) and (3.7), some algebra yields

Since δ<1\delta<1 and, after step five, r∈(0,1]r\in(0,1], we must have Ξ=0\Xi=0. For fixed δ∈(0,1)\delta\in(0,1), the condition Ξδ=0\Xi_{\delta}=0 establishes a relation between the values of rr and bb or, in other words, the rate of convergence ρ2\rho^{2} and the parameter β\beta in (3.1). In order to study this relation, we now make a digression and describe, for fixed δ∈(0,1)\delta\in(0,1), the algebraic curve of equation Ξδ(r,b)=0\Xi_{\delta}(r,b)=0 in the real plane (r,b)(r,b); in this description we allow arbitrary real values of rr and bb (even though in our problem r∈(0,1]r\in(0,1]).

The formula for the roots of a quadratic equation yields

We now return to the construction of TT. Recall that for our purposes, we need r>0r>0 (so as to have ρ<1\rho<1); this requirement holds for b∈(bmin,bmax)b\in(b_{\rm min},b_{\rm max}), where

are the intersections of the curve Ξδ=0\Xi_{\delta}=0 with the vertical axis. As δ↓0\delta\downarrow 0,

The limits on bb just found are equivalent to

For the maximum value r=1r=1 found in step five above, the formula (3.13) gives the double root b=2/(1+δ)b=2/(1+\delta) or β=(1−δ)/(1+δ)\beta=(1-\delta)/(1+\delta). Values r∈(0,1)r\in(0,1) correspond to two different choices of b∈(bmin,bmax)b\in(b_{\rm min},b_{\rm max}).

We are now ready to present the following result.

Consider the minimization algorithm (3.1) (or (3.3)) with parameters subject to

Set δ=mα\delta=\sqrt{m\alpha} and let r>0r>0 be the value determined by Ξδ(r,b)=0\Xi_{\delta}(r,b)=0 (see (3.12)), set ρ2=1−rδ<1\rho^{2}=1-r\delta<1 and define the positive semi-definite matrix PP by (3.5) and (3.11). Then the matrix TT in (3.6)–(3.7) is negative semi-definite.

As a result, for any x−1x_{-1}, x0x_{0}, the sequence

decreases monotonically, which, in particular, implies

Using Theorem 2.2, we only have to prove that T^⪯0\widehat{T}\preceq 0. The second, first and fourth steps of our construction respectively ensure that t13=t23=0t_{13}=t_{23}=0 and t33≤0t_{33}\leq 0 and therefore we are left with the task of checking that the 2×22\times 2 matrix T^12\widehat{T}^{12} obtained by suppressing the last row and last column of T^\widehat{T} is ⪯0\preceq 0. If r<1r<1, we know from step five that t22<0t_{22}<0 and from step six that the determinant of T^12\widehat{T}^{12} vanishes and therefore T^12⪯0\widehat{T}^{12}\preceq 0. For r=1r=1, t22=0t_{22}=0, but again T^12⪯0\widehat{T}^{12}\preceq 0, because in this case t11=−(m/2)δ(1−δ)3/(1+δ)<0t_{11}=-(m/2)\delta(1-\delta)^{3}/(1+\delta)<0. ∎

For fixed α≤1/L\alpha\leq 1/L, as noted above, ρ2\rho^{2} is minimized by the choice

When α\alpha is allowed to vary in the interval (0,1/L](0,1/L], increasing α\alpha results in an improvement of ρ2\rho^{2}, so that the best rate ρ2=1−m/L=1−1/κ\rho^{2}=1-\sqrt{m/L}=1-\sqrt{1/\kappa} is obtained by setting α=1/L\alpha=1/L and then (3.1) coincides with (1.2). The parameter values α=1/L\alpha=1/L, β=(1−1/κ)/(1+1/κ)\beta=(1-\sqrt{1/\kappa})/(1+\sqrt{1/\kappa}) in (1.2) are of course the “standard” choice for Nesterov’s algorithm (see e.g. [15, Proposition 12]). For this choice of parameters and x−1=x0x_{-1}=x_{0}, the bound in Theorem 3.3 exactly coincides (including the value of CC) with that in (1.3), which is derived in [19, Theorem 2.2.3] without using Lyapunov functions. Numerical experiments in show that for κ−1=m/L\kappa^{-1}=m/L small the rate of convergence ρ2=1−1/κ\rho^{2}=1-\sqrt{1/\kappa} is essentially the best that the algorithm achieves.

The theorem may also be applied to the GD algorithm with β=0\beta=0 and b=1/δb=1/\delta, even though (see Remark 3.2) in this case the preceding treatment is unnatural. One finds r=δr=\delta, so that the decay per step in f(xk)−f(x⋆)f(x_{k})-f(x_{\star}) provided by Theorem 3.3 is ρ2=1−δ2=1−mα\rho^{2}=1-\delta^{2}=1-m\alpha, for α≤1/L\alpha\leq 1/L. When α=2/(m+L)\alpha=2/(m+L), the decay per step guaranteed by Theorem 3.3 is ρ2=1−1/κ1+1/κ\rho^{2}=\frac{1-1/\kappa}{1+1/\kappa}; this is worse than the bound in (1.1) valid for the same value of α\alpha.

The decay rate ρ2\rho^{2} provided by the theorem is a non-dimensional quantity that only depends on the non-dimensional variables bb and δ\delta. The bound α≤1/L\alpha\leq 1/L may be rewritten in the non-dimensional form as δ2≤m/L=1/κ\delta^{2}\leq m/L=1/\kappa. These facts guarantee that the theorem is equivariant with respect to changes in scale of ff and xx. The Lyapunov function in (3.16) has the dimensions of ff because, according to (3.11), PP has the dimensions of mm, i.e. those of f/∥x∥2f/\|x\|^{2}.

For the particular choice of α\alpha and β\beta leading to (1.2), the Lyapunov function in the theorem above was derived in by means of an alternative technique (see Remark 5.2). In a Lyapunov function that contains the gradient ∇f(x)\nabla f(x) is constructed analytically for the situation where the learning rate α\alpha in (3.1) is a free parameter and the momentum parameter is fixed as β=(1−mα)/(1+mα)\beta=(1-\sqrt{m\alpha})/(1+\sqrt{m\alpha}) (i.e. at the value that according to the analysis above optimizes ρ2\rho^{2}). The analysis in requires (see Lemma 3.4 in that reference) α≤1/(4L)\alpha\leq 1/(4L), while here α≤1/L\alpha\leq 1/L. In addition for α=1/(4L)\alpha=1/(4L), [28, Theorem 3] proves a rate 1/(1+(1/12)m/L)1/(1+(1/12)\sqrt{m/L}) which, while establishing acceleration, compares unfavourably with the value 1−(1/2)m/L1-(1/2)\sqrt{m/L} provided by Theorem 3.3.

2 Optimality

The path leading to Theorem 3.3 has a degree of arbitrariness and it may be asked whether, by following an alternative construction, it is possible to determine the parameters ρ\rho, p11p_{11}, p12p_{12}, p22p_{22} and in such a way that T^⪯0\widehat{T}\preceq 0, P^⪰0\widehat{P}\succeq 0 and the value of ρ\rho is larger than the value provided in Theorem 3.3. We conclude this section by presenting a result in this direction. We fix the parameters in the algorithm at the standard choices i.e. α=1/L\alpha=1/L, β=(1−δ)/(1+δ)\beta=(1-\delta)/(1+\delta), δ=m/L\delta=\sqrt{m/L}, and denote by ρ⋆=1−δ\rho^{\star}=\sqrt{1-\delta}, p11⋆=(m/2)(1−δ)2p^{\star}_{11}=(m/2)(1-\delta)^{2}, p12⋆=(m/2)(1−δ)p^{\star}_{12}=(m/2)(1-\delta), p22⋆=m/2p^{\star}_{22}=m/2 the values yielded by Theorem 3.3. In the space of the decision variables ρ\rho, p11p_{11}, p22p_{22}, p33p_{33} we pose the convex optimization problem of minimizing ρ\rho subject to the constraints T^⪯0\widehat{T}\preceq 0, P^⪰0\widehat{P}\succeq 0. We then have the following result that shows that the rate provided in Theorem 3.3 cannot be improved with an alternative choice of P^\widehat{P}.

With the notation just described, the unique solution of the minimization problem is (ρ⋆,p11⋆,p12⋆,p22⋆)(\rho^{\star},p_{11}^{\star},p_{12}^{\star},p_{22}^{\star}).

We use the notation σ=ρ2\sigma=\rho^{2}, σ⋆=(ρ⋆)2\sigma^{\star}=(\rho^{\star})^{2} and write σ=σ⋆+σ~\sigma=\sigma^{\star}+\widetilde{\sigma}, p11=p11⋆+p~11p_{11}=p_{11}^{\star}+\widetilde{p}_{11}, p12=p12⋆+p~12p_{12}=p_{12}^{\star}+\widetilde{p}_{12}, p22=p22⋆+p~22p_{22}=p_{22}^{\star}+\widetilde{p}_{22}. Since the minimization problem is convex, it is sufficient to show that ρ⋆\rho^{\star}, p11⋆p_{11}^{\star}, p12⋆p_{12}^{\star}, p22⋆p_{22}^{\star} provide a local minimum, i.e. that if the increments σ~≤0\widetilde{\sigma}\leq 0, p~11\widetilde{p}_{11}, p~12\widetilde{p}_{12}, p~22\widetilde{p}_{22} are of sufficiently small magnitude and (σ,p11,p12,p22)(\sigma,p_{11},p_{12},p_{22}) is feasible, then σ=σ⋆\sigma=\sigma^{\star}, p11=p11⋆p_{11}=p_{11}^{\star}, p12=p12⋆p_{12}=p_{12}^{\star}, p22=p22⋆p_{22}=p_{22}^{\star}.

We study three requirements that feasibility imposes on σ~\widetilde{\sigma}, p~11\widetilde{p}_{11}, p~12\widetilde{p}_{12}, p~22\widetilde{p}_{22}.

(1) First, the constraint P^⪰0\widehat{P}\succeq 0 implies that p11p22−p122≥0p_{11}p_{22}-p_{12}^{2}\geq 0 or

Because we are carrying a local study, we replace the constraint by its linearization

or, after using the known values of the symbols with a star,

(2) Then, the constraint T^⪯0\widehat{T}\preceq 0 implies t22t33−t232≥0t_{22}t_{33}-t_{23}^{2}\geq 0 or, using (3.7),

This time the leading terms in the right hand-side are quadratic in the increments and we discard the cubic terms to get:

By completing the square in the quadratic form, this may be equivalently rewritten as

(3) Finally T^⪯0\widehat{T}\preceq 0 requires t22≤0t_{22}\leq 0 or p~22(δ−σ~)≤0\widetilde{p}_{22}(\delta-\widetilde{\sigma})\leq 0; discarding the quadratic term, we get

The proof concludes by applying the lemma below. ∎

If the increments σ~≤0\widetilde{\sigma}\leq 0, p~11\widetilde{p}_{11}, p~12\widetilde{p}_{12}, p~22\widetilde{p}_{22} satisfy the constraints (3.17)–(3.20), then σ~=0\widetilde{\sigma}=0, p~11=0\widetilde{p}_{11}=0, p~12=0\widetilde{p}_{12}=0, p~22=0\widetilde{p}_{22}=0.

We combine this inequality with (3.17) to get

Since the three quantities being added in the first bracket in (3.19) are now known to be ≤0\leq 0, it is enough to consider hereafter the worst case σ~=0\widetilde{\sigma}=0.

Since δp~12+δ2p~22≤0\delta\widetilde{p}_{12}+\delta^{2}\widetilde{p}_{22}\leq 0, we must have

which implies (see (3.20), (3.22), (3.23))

By combining this inequality and (3.18) (with σ~=0\widetilde{\sigma}=0), we obtain a relation

that shows that p~12=0\widetilde{p}_{12}=0. Then comparing (3.17), (3.20) and (3.23), we conclude that p~11=p~22=0\widetilde{p}_{11}=\widetilde{p}_{22}=0, which in turn concludes the proof. ∎

The differential equation

which, if xkx_{k} is seen as an approximation to x(kh)x(kh), provides a consistent discretization of the differential equation (1.5). An example is provided by the choice β=(1−δ)/(1+δ)=(1−mh)/(1+mh)\beta=(1-\delta)/(1+\delta)=(1-\sqrt{m}h)/(1+\sqrt{m}h), where bˉ=2\bar{b}=2 and (1.5) is the equation (1.4) used by Polyak.

In general, this two-step discretization is, not a linear multistep formula. Note:

∇f\nabla f is evaluated at yky_{k}, a linear combination of xkx_{k} and xk−1x_{k-1}. In this regard, (3.1) is similar to the one-leg methods introduced by Dahlquist in his study of the long-time properties of multistep methods applied to nonlinear differential equations (see e.g. )

The unconventional factor (1−βh)/(mh)(1-\beta_{h})/(\sqrt{m}h) that converges to bˉ\bar{b} as h↓0h\downarrow 0. From the point of view of discretization methods for ODEs having bˉ\bar{b} instead of this factor, or equivalently having β=1−bˉmh\beta=1-\bar{b}\sqrt{m}h, would be more natural. But note that, when β=(1−mh)/(1+mh)\beta=(1-\sqrt{m}h)/(1+\sqrt{m}h), the algorithm (3.1) becomes GD for h=1/Lh=1/\sqrt{L} and κ=1\kappa=1; the choice β=1−bˉmh\beta=1-\bar{b}\sqrt{m}h does not share this favourable property.

and rewrite (1.5) as a first-order system

In a dimensional analysis as in Remarks 3.1 and 3.4, hh has the same units as tt. It is then a dimensional time-step, to be compablue with the non-dimensional δ\delta. The units of vv are those of xx. Of course, the divided difference (3.2) is a discrete version of v=x˙/mv=\dot{x}/\sqrt{m}.

Now according to Theorem 2.3, in order to find a Lyapunov function of the form (2.7) it is sufficient to find a matrix Pˉ⪰0\bar{P}\succeq 0 and parameters λ>0\lambda>0, σ≥0\sigma\geq 0 such that the matrix Tˉ\bar{T} in (2.8) is negative semi-definite. Similarly to the discrete case, we will simplify the subsequent analysis by considering the case σ=0\sigma=0. (The case σ>0\sigma>0 is studied in the Appendix.) The Lipschitz constant LL only enters TT in Theorem 2.3 through Mˉ(3)\bar{M}^{(3)}; under the assumption σ=0\sigma=0, Tˉ\bar{T} is independent of LL. This has an important implication: the analysis in this section applies to ff strongly mm-convex but not necessarily LL-smooth.

where the tˉij\bar{t}_{ij} have the following expressions:

We now determine λ\lambda and Pˉ^\widehat{\bar{P}}. The algebra is simplified if we set λ=m rˉ\lambda=\sqrt{m}\>{\bar{r}}.

First step. Since tˉ33=0\bar{t}_{33}=0, the requirement Tˉ^⪯0\widehat{\bar{T}}\preceq 0 implies tˉ13=0\bar{t}_{13}=0 and tˉ23=0\bar{t}_{23}=0 and accordingly

Second step. We choose pˉ22\bar{p}_{22} to ensure det(Pˉ^)=pˉ11pˉ22−pˉ122=0{\rm det}(\widehat{\bar{P}})=\bar{p}_{11}\bar{p}_{22}-\bar{p}_{12}^{2}=0. This yields

a matrix that is positive-semidefinite (but not positive definite).

Third step. Since, Tˉ^⪯0\widehat{\bar{T}}\preceq 0 implies tˉ22≤0\bar{t}_{22}\leq 0, we may write 0≥pˉ22−m/2=(m/2)(rˉ2−1)0\geq\bar{p}_{22}-m/2=(m/2)({\bar{r}}^{2}-1), and therefore we have

this imposes a bound λ≤m\lambda\leq\sqrt{m} on the convergence rate.

Fourth step. We impose the condition tˉ11tˉ22−tˉ122=0\bar{t}_{11}\bar{t}_{22}-{\bar{t}}_{12}^{2}=0. This results in an equation Ξˉ=0\bar{\Xi}=0,

that relates rˉ{\bar{r}} (or equivalently the rate λ\lambda) and the parameter bˉ\bar{b} in the differential equation (1.5).

We observe that the polynomial Ξˉ\bar{\Xi} is the limit as δ↓0\delta\downarrow 0 of the polynomial Ξδ\Xi_{\delta} in (3.12) (except of course for the symbols used to denote the variables: rr and bb for Ξδ\Xi_{\delta} and rˉ{\bar{r}} and bˉ\bar{b} for Ξˉ\bar{\Xi}). As a consequence, the discontinuous line in Figure 1, presented there as a limit of curves Ξδ=0\Xi_{\delta}=0, also describes the curve Ξˉ=0\bar{\Xi}=0 (again after renaming the variables).

The curve of equation Ξˉ(rˉ,bˉ)=0\bar{\Xi}({\bar{r}},\bar{b})=0 in the (rˉ,bˉ)({\bar{r}},\bar{b}) plane is invariant with respect to the symmetry (rˉ,bˉ)↦(−rˉ,−bˉ)({\bar{r}},\bar{b})\mapsto(-{\bar{r}},-\bar{b}) (this is a consequence of the fact that changing bˉ\bar{b} into −bˉ-\bar{b} in the differential equation is equivalent to reversing the sign of independent variable tt).The curves Ξδ(r,b)=0\Xi_{\delta}(r,b)=0, δ>0\delta>0 do not possess any symmetry because in the discrete algorithm (3.1), xk+1x_{k+1} and xk−1x_{k-1} do nor play a symmetric role (or in the terminology of differential equation integrators we are not dealing with time-symmetric algorithms). The formula for the roots of a quadratic equation gives

From here one may prove that to each real bˉ\bar{b} there corresponds a unique rˉ{\bar{r}} such that Ξˉ(rˉ,bˉ)=0\bar{\Xi}({\bar{r}},\bar{b})=0. The maximum value rˉ=1{\bar{r}}=1 (λ=m\lambda=\sqrt{m}) is achieved only for bˉ=2\bar{b}=2 (i.e. for Polyak’s (1.4)) and values rˉ∈(0,1){\bar{r}}\in(0,1) correspond to two different real values of bˉ\bar{b}.

We now have the following result that is proved as in the discrete case.

Consider the differential equation (1.5) (or the equivalent system (4.1)) with parameter bˉ>0\bar{b}>0 and assume that ff is mm-strongly convex. Let λ=mrˉ\lambda=\sqrt{m}{\bar{r}}, where rˉ>0{\bar{r}}>0 is the value determined by the relation Ξˉ(rˉ,bˉ)=0\bar{\Xi}({\bar{r}},\bar{b})=0 (see (4.6)) and define the positive semi-definite matrix Pˉ{\bar{P}} by (4.2) and (4.5). Then the matrix Tˉ\bar{T} in (4.3) is negative semi-definite.

As a result, if x(t)x(t) is a solution of (1.5), the function

decreases monotonically as tt increases, which implies

For bˉ=0\bar{b}=0, the construction leading to the theorem yields r=0r=0, i.e. λ=0\lambda=0, and,

In addition, Tˉ=0\bar{T}=0 and therefore the factor in round brackets in (4.7) is an invariant of motion. In this case the system (4.1) is Hamiltonian and the invariant we have found equals m\sqrt{m} times the corresponding Hamiltonian function.

The value bˉ=2\bar{b}=2, in addition to maximizing the decay rate in f(x(t))f(x(t)) in Theorem 4.3 for arbitrary mm-strongly convex ff, has another optimality property in the simple one-dimensional case with f(x)=mx2/2f(x)=mx^{2}/2, when (1.5) or (4.1) describe a damped harmonic oscillator. An elementary computation (see e.g. ) shows that bˉ=2\bar{b}=2 is the value of the friction coefficient that ensures the fastest dissipation of the energy (x˙)2/2+mx2/2(\dot{x})^{2}/2+mx^{2}/2.

It will be proved in the Appendix that if ff, in addition to being strongly convex has Lipschitz continuous gradient, then better decay rates in f(x(t))f(x(t)) may be obtained by choosing bˉ\bar{b} to be larger than 22. Therefore (x˙)2/2+mx2/2(\dot{x})^{2}/2+mx^{2}/2 is not the best Lyapunov function to study the rate of decay of f(x)f(x) in the damped harmonic oscillator. This is in agreement with Theorem 4.6 below.

Reference gives a Lyapunov function for (1.5) or (4.1) that includes a cross-term vT∇f(x)v^{T}\nabla f(x) and does not require the strong convexity of ff. However, the presence of the gradient in the Lyapunov function makes it necessary that ff be demanded to be twice-differentiable (the Hessian of ff appears when differentiating the Lyapunov function with respect to tt).

2 Optimality

Steps 2 and 4 in the construction above imply a degree of arbitrariness and it is of interest to ask whether there are alternative choices of λ\lambda and Pˉ^⪰0\widehat{\bar{P}}\succeq 0 that, while ensuring Tˉ^⪯0\widehat{\bar{T}}\preceq 0, furnish better decay rates. We conclude this section by proving that this is not the case.

In the theorem below we use the notation rˉ⋆\bar{r}^{\star} and Pˉ^⋆\widehat{\bar{P}}^{\star} for the values obtained, for given bˉ>0\bar{b}>0, in the construction leading to Theorem 4.3. (These are functions rˉ⋆=rˉ⋆(b)\bar{r}^{\star}=\bar{r}^{\star}(b) and Pˉ^⋆=Pˉ^⋆(b)\widehat{\bar{P}}^{\star}=\widehat{\bar{P}}^{\star}(b), but the dependence on bˉ\bar{b} will be dropped from the notation.) In particular, pˉ22⋆=mrˉ⋆2/2\bar{p}_{22}^{\star}={m\bar{r}^{\star}}^{2}/2 and Ξˉ(rˉ⋆,bˉ)=0\bar{\Xi}(\bar{r}^{\star},\bar{b})=0. The symbols λ\lambda and Pˉ^\widehat{\bar{P}} are used in the theorem to refer to an arbitrary real number and an arbitrary 2×22\times 2 symmetric matrix. Finally, we set λ⋆=m rˉ⋆\lambda^{\star}=\sqrt{m}\>\bar{r}^{\star} and λ=m rˉ\lambda=\sqrt{m}\>\bar{r}.

With the notation as described, for each fixed bˉ>0\bar{b}>0, λ⋆=max λ\lambda^{\star}={\rm max}\>\lambda, subject to the constraints Tˉ^(λ,Pˉ^)⪯0\widehat{\bar{T}}(\lambda,\widehat{\bar{P}})\preceq 0, Pˉ^⪰0\widehat{\bar{P}}\succeq 0.

Since we are solving a convex optimization problem, it is sufficient to show that (λ⋆,Pˉ^⋆)(\lambda^{\star},\widehat{\bar{P}}^{\star}) provides a local maximum.

We observed in step 1 above that Tˉ^⪯0\widehat{\bar{T}}\preceq 0 determines the values of pˉ11\bar{p}_{11}, pˉ12\bar{p}_{12} as in (4.4). This leaves us with λ\lambda (or equivalently rˉ\bar{r}) and pˉ22\bar{p}_{22} as decision variables. For simplicity we hereafter omit the subindices in pˉ22\bar{p}_{22}.

The constraint Pˉ^⪰0\widehat{\bar{P}}\succeq 0, implies det(Pˉ^)≥0{\rm det}(\widehat{\bar{P}})\geq 0 or (after using the values of pˉ11\bar{p}_{11}, pˉ12\bar{p}_{12}) pˉ≥(m/2)rˉ2\bar{p}\geq(m/2){\bar{r}}^{2}. The constraint Tˉ^⪯0\widehat{\bar{T}}\preceq 0 implies tˉ11tˉ22−tˉ122≥0\bar{t}_{11}\bar{t}_{22}-{\bar{t}_{12}}^{2}\geq 0. We use (4.4), to write tˉ11tˉ22−tˉ122≥0\bar{t}_{11}\bar{t}_{22}-\bar{t}_{12}^{2}\geq 0 as a function Δ(rˉ,pˉ)\Delta(\bar{r},\bar{p}); tedious algebra leads to the expression:

We will be done if we prove that the pair (rˉ⋆,pˉ⋆)(\bar{r}^{\star},\bar{p}^{\star}) is a local maximum for the problem

At the point (rˉ⋆,pˉ⋆)({\bar{r}}^{\star},{\bar{p}}^{\star}) both constraints are active (in fact they were chosen to be so at steps 2 and 4). If we define the Lagrangian

where ζ1\zeta_{1}, ζ2\zeta_{2} are the multipliers, the proof concludes by showing that the gradient of L\mathcal{L} at (rˉ⋆,pˉ⋆)({\bar{r}}^{\star},{\bar{p}}^{\star}) may be annihilated for a suitable choice of positive multipliers.

(∣⋆|^{\star} means evaluation at at (rˉ⋆,pˉ⋆)({\bar{r}}^{\star},{\bar{p}}^{\star})) and

(which implies that ζ1\zeta_{1} and ζ2\zeta_{2} have the same sign) and eliminate ζ1\zeta_{1} to get

In this way we are left with the task of proving that

or, after using the expression for Δ\Delta and some simplification,

Let us denote by Λ=Λ(rˉ⋆,bˉ)\Lambda=\Lambda({\bar{r}}^{\star},\bar{b}) the left hand-side of this inequality. When bˉ=2\bar{b}=2 and rˉ⋆=1{\bar{r}}^{\star}=1, we have Λ=−1\Lambda=-1. On the other hand, we know that

and this relation makes it impossible for Λ\Lambda to change sign as bˉ>0\bar{b}>0 and the corresponding rˉ⋆(b)∈(0,1]{\bar{r}}^{\star}(b)\in(0,1] vary. In fact, if Λ\Lambda were to vanish, we would have

something that cannot happen because rˉ⋆<1{\bar{r}}^{\star}<1 for bˉ≠2\bar{b}\neq 2. ∎

Connecting the differential equations with optimization algorithms

The second-order differential equation (1.5) provides a limit for the algorithm (3.1) when β\beta changes smoothly with h=αh=\sqrt{\alpha} in such a way that βh=1−bˉmh+o(h)\beta_{h}=1-\bar{b}\sqrt{m}h+o(h) as h↓0h\downarrow 0. In this section we study this limit when bˉ>0\bar{b}>0. As in (3.8) write βh=1−bhδ=1−bhmh\beta_{h}=1-b_{h}\delta=1-b_{h}\sqrt{m}h. Clearly, bh→bˉb_{h}\rightarrow\bar{b} and, in addition, for hh sufficiently small bh∈(bminh,bmaxh)b_{h}\in(b_{\rm min}^{h},b_{\rm max}^{h}) (see (3.14)). The application of Theorem 3.3 then gives a rate ρh2=1−rhδ=1−rhmh\rho^{2}_{h}=1-r_{h}\delta=1-r_{h}\sqrt{m}h. As noted before, the polynomial Ξˉ\bar{\Xi} in (4.6) is the limit of Ξδ\Xi_{\delta} in (3.12) as hh (or δ\delta) approaches zero, and, accordingly, rh→rˉr_{h}\rightarrow{\bar{r}}, where rˉ{\bar{r}} solves Ξˉ(rˉ,bˉ)=0\bar{\Xi}({\bar{r}},\bar{b})=0. Then Theorem 3.3 guarantees that, over one step k↦k+1k\mapsto k+1 of the algorithm, f(xk)−f(x⋆)f(x_{k})-f(x^{\star}) decays by a factor ρh2=1−mrˉh+o(h)\rho^{2}_{h}=1-\sqrt{m}{\bar{r}}h+{o}(h). Over kk steps the decay factor will be (1−mrˉh+o(h))k(1-\sqrt{m}{\bar{r}}h+{o}(h))^{k}, a quantity that in the limit kh→tkh\rightarrow t converges to exp⁡(−mrˉt)=exp⁡(−λt)\exp(-\sqrt{m}{\bar{r}}t)=\exp(-\lambda t). This is exactly the decay guaranteed by Theorem 4.3 for f(x(t))−f(x⋆)f(x(t))-f(x^{\star}) over an interval of length tt.

In addition, the matrices PhP_{h} in the discrete Lyapunov function converge to the matrix P^\widehat{P} in the differential equation, because from the expression for the entries in (3.11) and (4.5)

The above discussion and standard results on the convergence of discretizations of ordinary differential equations imply the following result.

Fix the parameter bˉ>0\bar{b}>0 and the initial conditions x(0)x(0), x˙(0)\dot{x}(0) for the differential equation (1.5). For small h>0h>0, consider the optimization algorithm (3.1) with parameters α=h2\alpha=h^{2} and β=βh=1−bˉmh+o(h)\beta=\beta_{h}=1-\bar{b}\sqrt{m}h+o(h). Assume that the initial points x−1x_{-1}, x0x_{0} are such that, as h↓0h\downarrow 0, x0→x(0)x_{0}\rightarrow x(0) and (1/h)(x0−x−1)→x˙(0)(1/h)(x_{0}-x_{-1})\rightarrow\dot{x}(0). Then, in the limit kh→tkh\rightarrow t,

xk→x(t)x_{k}\rightarrow x(t) and (1/h)(xk+1−xk)→x˙(t)(1/h)(x_{k+1}-x_{k})\rightarrow\dot{x}(t).

The discrete Lyapunov function in (3.16) converges to the Lyapunov function in (4.7).

As a consequende of this theorem, the Lyapunov function of the differential equation could have been derived alternatively by first finding the Lyapunov function for the discrete optimization algorithm and then taking limits. In our research we first investigated the discrete case and then studied the differential equations; in hindsight we saw it would have been easier to first deal with the differential equation and then carry out the analysis of the algorithm by mimicking the treatment of the continuous case. References find Lyapunov functions for different optimization algorithms by first constructing Lyapunov functions for suitable so-called high-resolution differential equations. In our context, this would mean perturbing (4.1) with suitable hh-dependent terms so as to obtain an (hh-dependent) differential equation for which the algorithm has a high order of consistency. The idea behind those high-resolution equations is very old in the numerical analysis of ordinary and partial differential equations, where they are known as modified equations, see e.g. or [24, Chapter 10] and, for the stochastic case, .

Heavy Ball and other methods

The paper has given rise to a number of contributions that aim to understand the behaviour of optimization methods by seeing them as discretizations of differential equations. However it is well known that the long-time properties of a differential equation are not automatically inherited by their discretizations, regardless of the value of the step-size chosen. A very simple example is provided by the application of Euler’s rule to the harmonic oscillator: for all step-sizes the discrete trajectories grow while the continuous solutions stay bounded. A more relevant example in an optimization context may be seen in . On the other hand properties of the discretizations may often be extrapolated to the continuous limit; a general discussion of these points in different settings may be seen in .

In the setting of the preceding section, it is not true that discretizing a dissipative differential equation with a known a Lyapunov function will always yield an optimization algorithm with a “suitable” Lyapunov function. We now illustrate this fact by means of the Heavy Ball algorithm obtained by choosing γ=0\gamma=0 and β≠0\beta\neq 0 in (2.2).

We proceed as in Section 3, rewrite the algorithm in terms of dkd_{k} and xkx_{k} and then cast it in the general format (2.1). We will presently prove that a discrete Lyapunov with properties similar to the Lyapunov function for Nesterov’s method in Theorem 3.3 does not exist. We argue by contradiction. With the notation as in Section 3, we consider

pij=m ϕij(β,δ)p_{ij}=m\,\phi_{ij}(\beta,\delta), (i,j)=(1,1),(1,2),(2,2)(i,j)=(1,1),(1,2),(2,2), such that P^⪰0\widehat{P}\succeq 0,

and suppose that the corresponding T(λ,P)T(\lambda,P) is ⪯0\preceq 0 for each δ<c/κ\delta<c/\sqrt{\kappa}. As in Remark 3.4 to ensure equivariance with respect to changes of scale, the number cc and functions ϕij\phi_{ij} and ψ\psi are assumed to be independent of the constants mm and LL associated with ff and the values of the parameters α\alpha and β\beta in the Heavy Ball algorithm.

For future reference, the element t11t_{11} is found to have the expression:

This has to be ≤0\leq 0 for δ<c/κ\delta<c/\sqrt{\kappa}.

Next, as in the preceding section, we assume that β\beta changes smoothly with hh in such a way that, for some bˉ>0\bar{b}>0, β=βh=1−bˉδ+o(h)=1−bˉmh+o(h)\beta=\beta_{h}=1-\bar{b}\delta+o(h)=1-\bar{b}\sqrt{m}h+o(h). Clearly the algorithm is then a consistent discretization of the differential equation (1.5), and we assume that rhr_{h}, pijhp_{ij}^{h} converge to their differential equation counterparts rˉ\bar{r} and pˉij{\bar{p}}_{ij}.This hypothesis is not necessarily in the argument that follows. It is enough to suppose that rhr_{h}, pijhp_{ij}^{h} have finite limits.

This cannot happen because LL may be arbitrarily large.

The Heavy Ball algorithm is a “more natural” discretization of (1.5) than Nesterov’s, in that, as conventional linear multistep methods, it does not evaluate ∇f\nabla f at a linear combination of xkx_{k}, xk−1x_{k-1} (cf. Remark 4.1).

The contradiction in (6.1) arises because we insisted in TT being ⪯0\preceq 0 for “large” non-dimensional stepsizes δ=mh<c/κ\delta=\sqrt{m}h<c/\sqrt{\kappa}. For optimization algorithms that, in the limit h↓0h\downarrow 0, approximate a differential equation with decay exp⁡(−λh)=exp⁡(−rˉδ)\exp(-\lambda h)=\exp(-\bar{r}\delta) in a time-interval of length hh, such large stepsizes seem to be necessary to achieve accelerated rates 1−O(κ)1-\mathcal{O}(\sqrt{\kappa}) rather than rates 1−O(κ)1-\mathcal{O}(\kappa).

The reference constructs a Lyapunov function for the Heavy Ball method, but it only operates for δ=O(1/κ)\delta=\mathcal{O}(1/\kappa) and, while useful in showing convergence, does not provide acceleration. For an additional convergence proof of the Heavy Ball algorithm see ; again this reference does not prove acceleration.

The three-parameter family of methods (2.2) contains algorithms, like Nesterov’s, that “inherit” the ODE Lyapunov function for stepsizes δ<c/κ\delta<c/\sqrt{\kappa} and algorithms, like the Heavy Ball, that do not. In fact the situation for the Heavy Ball is arguably the rule rather than the exception. For (2.2),

where we observe the unwelcome presence of the factor L−mL-m that created the difficulties in the analysis of the Heavy Ball algorithm. If we look at a situation where β\beta changes with hh as above and in addition γ\gamma is also allowed to change with hh and approaches a limit, a Lyapunov function that has the form envisaged and works for δ<c/κ\delta<c/\sqrt{\kappa} may only exist if βh−γh\beta_{h}-\gamma_{h} vanishes (at least in the limit h↓0h\downarrow 0) to offset the factor, i.e. if the algorithm is not far away from Nesterov’s.

Acknowledgement. We are thankful to an anonymous referee for helping us to improve the discussion of our results.

References

Appendix

In Theorem 4.6 we proved that, for each bˉ>0\bar{b}>0, the rate of decay λ\lambda provided by Theorem 4.3 is the best one may obtain by using Theorem 2.3 if one chooses σ=0\sigma=0. In this Appendix we investigate whether λ\lambda may be improved by a suitable choice of σ>0\sigma>0. Since for σ≠0\sigma\neq 0, the matrix Mˉ(3)\bar{M}^{(3)} that contains the constant LL contributes to TT, the following results require that ff, in addition to being mm-strongly convex (as in Theorem 4.3) is LL-smooth, i.e. they hold for f∈Fm,Lf\in\mathcal{F}_{m,L}.

When σ≠0\sigma\neq 0 the expressions for the tijt_{ij} in Section 4 have to be replaced by:

As in Section 4, we set λ=m rˉ\lambda=\sqrt{m}\>{\bar{r}} and, in addition, σ=msˉ\sigma=m\bar{s} (the variable sˉ\bar{s} is, as rˉ\bar{r}, non-dimensional). We shall show that it is possible, for given mm and LL, to find values of the six parameters pˉ11{\bar{p}}_{11}, pˉ12{\bar{p}}_{12}, pˉ22{\bar{p}}_{22}, bˉ\bar{b}, sˉ\bar{s}, rˉ\bar{r}, in such a way that the constraints Tˉ^⪯0\widehat{\bar{T}}\preceq 0, Pˉ^⪰0\widehat{\bar{P}}\succeq 0, sˉ≥0\bar{s}\geq 0 are satisfied and, at the same time, rˉ>1\bar{r}>1, so that by using the matrix Mˉ(3){\bar{M}}^{(3)} it is possible to improve on the best value rˉ=1\bar{r}=1 (associated with bˉ=2\bar{b}=2 and leading to λ=m\lambda=\sqrt{m}) that may be achieved in Theorem 4.3.

For given mm and LL, we determine the values of the six parameters as follows:

First step. We impose tˉ22=0{\bar{t}}_{22}=0, a requirement that leads to the relation

Second step. We impose tˉ23=0{\bar{t}}_{23}=0 and get

Third step. We require det(Pˉ^)=0{\rm det}(\widehat{\bar{P}})=0. Therefore

Note that for rˉ,sˉ≥0\bar{r},\bar{s}\geq 0 we have pˉ22>0{\bar{p}}_{22}>0 and thus the third step guarantees that Pˉ^⪰0\widehat{\bar{P}}\succeq 0.

Fourth step. We next demand that tˉ12=0{\bar{t}}_{12}=0 and obtain

The four preceding displayed formulas allow us to express the parameters pˉ12{\bar{p}}_{12}, pˉ22{\bar{p}}_{22}, and bˉ\bar{b} as known functions of sˉ\bar{s} and rˉ\bar{r}.

Fifth step. At this stage, we have ensublue that tˉ12{\bar{t}}_{12}, tˉ22{\bar{t}}_{22}, tˉ23{\bar{t}}_{23} vanish. As a result, the condition Tˉ^⪯0\widehat{\bar{T}}\preceq 0 is equivalent to Tˉ^13⪯0\widehat{\bar{T}}^{13}\preceq 0 where Tˉ^13\widehat{\bar{T}}^{13} is the 2×22\times 2 matrix obtained by suppressing from Tˉ^\widehat{\bar{T}} its second row and column. Furthermore tˉ33<0{\bar{t}}_{33}<0 for sˉ>0\bar{s}>0 and then we shall have Tˉ^13⪯0\widehat{\bar{T}}^{13}\preceq 0 if we impose that det(Tˉ^13)=0{\rm det}(\widehat{\bar{T}}^{13})=0, or

By using the displayed formulas above, the last equation becomes a relation F(rˉ,sˉ)=0F(\bar{r},\bar{s})=0, between rˉ\bar{r} and sˉ\bar{s}, with

We next show that the rational curve F(rˉ,sˉ)=0F(\bar{r},\bar{s})=0 in the (rˉ,sˉ)(\bar{r},\bar{s}) real plane has points with sˉ>0\bar{s}>0 and rˉ>1\bar{r}>1.

It is easily checked that the point rˉ=1\bar{r}=1, sˉ=0\bar{s}=0 lies on the curve F=0F=0 and has bˉ=0\bar{b}=0. This could have been anticipated because, if sˉ=0\bar{s}=0 and bˉ=2\bar{b}=2, the construction in this appendix just reproduces the construction in Section 4, which yields rˉ=1\bar{r}=1.

By removing the denominator in the rational function FF so as to have a polynomial equation for the curve and looking at the Newton diagram at rˉ=1\bar{r}=1, sˉ=0\bar{s}=0, one sees that in the neighbourhood of this point the curve consists of a single branch that may be parameterized by rˉ\bar{r}. A Taylor expansion reveals that

In this way, choosing a sufficiently small value of the parameter sˉ>0\bar{s}>0, there are two possible values of the rate rˉ\bar{r}

one of which is >1>1. In conclusion we have proved analytically that the introduction of σ\sigma and Mˉ(3)\bar{M}^{(3)} in TT makes it possible to achieve rates rˉ>1\bar{r}>1 (or λ>m\lambda>\sqrt{m}).

We next determined the value of sˉ\bar{s} that leads to the largest possible rˉ\bar{r} on the curve F=0F=0. In view of the involved expression of FF, we proceeded numerically and found this largest value by continuation along the curve, starting from rˉ=1\bar{r}=1, sˉ=0\bar{s}=0. The results, for different values of κ\kappa, are given in Table 1. For the small condition number κ=10\kappa=10, the table shows that it is possible to achieve a decay ≈exp⁡(−1.086mt)\approx\exp(-1.086\sqrt{m}t) by fixing the dissipation coefficient at the value bˉ≈2.35\bar{b}\approx 2.35 rather than at bˉ=2\bar{b}=2 as in Polyak’s (1.4)—this is a marginal improvement on the best decay exp⁡(−mt)\exp(-\sqrt{m}t) that one may insure without using Mˉ(3)\bar{M}^{(3)}. In addition the improvement quickly decreases as the condition number grows: for κ=103\kappa=10^{3} the decay is exp⁡(−1.0039mt)\exp(-1.0039\sqrt{m}t). In fact, we observe in the table that, as κ↑∞\kappa\uparrow\infty, rˉ≈1+0.38κ−2/3\bar{r}\approx 1+0.38\kappa^{-2/3}. Of course as κ\kappa increases, rˉ\bar{r} and bˉ\bar{b} approach the values 11 and 22 that correspond to the situation studied in Section 4, where ff is not assumed to possess Lipschitz gradients. A similar convergence obtains for the matrix Pˉ^⪰0\widehat{\bar{P}}\succeq 0. Also note that sˉ≈0.50κ−1/3\bar{s}\approx 0.50\kappa^{-1/3}: as the condition number increases the parameter σ=msˉ\sigma=\sqrt{m}\bar{s} that multiplies Mˉ(3)\bar{M}^{(3)} decreases, as it may have been expected.