Behavior of Accelerated Gradient Methods Near Critical Points of Nonconvex Functions

Michael O'Neill, Stephen J. Wright

Introduction

We consider methods for the smooth unconstrained optimization problem

Our particular interest here is in methods that use gradients and momentum to construct steps. In many such methods, each step is a linear combination of two components: the gradient ∇f\nabla f evaluated at a point at or near the latest iterate, and a momentum term, which is the step between the current iterate and the previous iterate. There are rich convergence theories for these methods in the case in which ff is convex or strongly convex, along with extensive numerical experience in some important applications. However, although these methods are applied frequently to nonconvex functions, little is known from a mathematical viewpoint about their behavior in such settings. Early results showed that a certain modified accelerated gradient method achieves the same order of convergence on a nonconvex problem as gradient descent — not a faster rate, as in the convex setting.

After submission of our paper, described a method that combines accelerated gradient, perturbation at points with small gradients and explicit negative curvature detection to attain a method with worst-case complexity guarantees.

Heavy-Ball is Unlikely to Converge to Strict Saddle Points

We show in this section that the heavy-ball method is not attracted to strict saddle points, unless initialized in a very particular way, that cannot occur if the starting point is chosen at random and the algorithm is modified slightly. Following , our proof is based on the stable manifold theorem.

We make the following assumption throughout this section.

Under this assumption, the eigenvalues of the Hessian ∇2f(x∗)\nabla^{2}f(x^{*}) are bounded in magnitude by LL.

The heavy-ball method is a prototypical momentum method (see ), which proceeds as follows from a starting point x0x^{0}:

Convergence for this method is known for the special case in which ff is a strongly convex quadratic. Denote by mm the positive lower bound on the eigenvalues of the Hessian of this quadratic, and recall that LL is the upper bound. For the settings

a rigorous version of the eigenvalue-based argument in [13, Section 3.2] can be applied to show R-linear convergence with rate constant β\sqrt{\beta}, which is approximately 1−m/L1-\sqrt{m/L} when the ratio L/mL/m is large. This suggests a complexity of O(L/mlog⁡ϵ)O(\sqrt{L/m}\log\epsilon) iterations to reduce the error ∥xk−x∗∥\|x^{k}-x^{*}\| by a factor of ϵ\epsilon (where x∗x^{*} is the unique solution). Such rates are typical of accelerated gradient methods. They contrast with the O((L/m)log⁡ϵ)O((L/m)\log\epsilon) rates attained by the steepest-descent method on such functions.

We note that the eigenvalue-based argument that is “sketched” by does not extend rigorously beyond strongly convex quadratic functions. A more sophisticated argument based on Lyapunov functions is needed, like the one presented for Nesterov’s accelerated gradient method in [14, Chapter 4].

The key to our argument for non-convergence to strict saddle points lies in formulating the heavy-ball method as a mapping whose fixed points are stationary points of ff and to which we can apply the stable manifold theorem. Following (3), we define this mapping to be

We have the following elementary result about the relationship of critical points for (1) to fixed points for the mapping GG.

If x∗x^{*} is a critical point of ff, then (z1∗,z2∗)=(x∗,x∗)(z_{1}^{*},z_{2}^{*})=(x^{*},x^{*}) is a fixed point for GG. Conversely, if (z1∗,z2∗)(z_{1}^{*},z_{2}^{*}) is a fixed point for GG, then x∗=z1∗=z2∗x^{*}=z_{1}^{*}=z_{2}^{*} is a critical point for ff.

The first claim is obvious by substitution into (5). For the second claim, we have that if (z1∗,z2∗)(z_{1}^{*},z_{2}^{*}) is a fixed point for GG, then

from which we have z2∗=z1∗z_{2}^{*}=z_{1}^{*} and ∇f(z1∗)=0\nabla f(z_{1}^{*})=0, giving the result.

We now establish that GG is a diffeomorphic mapping, a property needed for application of the stable manifold result.

Suppose that Assumption 1 holds. Then the mapping GG defined in (5) is a CrC^{r} diffeomorphism.

We need to show that GG is injective and surjective, and that GG and its inverse are rr times continuously differentiable.

To show injectivity of GG, suppose that G(x1,x2)=G(y1,y2)G(x_{1},x_{2})=G(y_{1},y_{2}). Then, we have

demonstrating injectivity. To show that GG is surjective, we construct its inverse G−1G^{-1} explicitly. Let (y1,y2)(y_{1},y_{2}) be such that

Then z1=y2z_{1}=y_{2}. From the first partition in (9), we obtain z2=(z1−y1−α∇f(z1))/β+z1z_{2}=(z_{1}-y_{1}-\alpha\nabla f(z_{1}))/\beta+z_{1}, which after substitution of z1=y2z_{1}=y_{2} leads to

Thus, GG is a bijection. Both GG and G−1G^{-1} are continuously differentiable one time less than ff, so by Assumption 1, GG is a CrC^{r}-diffeomorphism.

We are now ready to state the stable manifold theorem, which provides tools to let us characterize the set of escaping points.

Let be a fixed point for the CrC^{r} local diffeomorphism ϕ:U→E\phi:U\rightarrow E where UU is a neighborhood of in the Banach space EE. Suppose that E=Ecs⊕EuE=E_{cs}\oplus E_{u}, where EcsE_{cs} is the invariant subspace corresponding to the eigenvalues of Dϕ(0)D\phi(0) whose magnitude is less than or equal to 1, and EuE_{u} is the invariant subspace corresponding to eigenvalues of Dϕ(0)D\phi(0) whose magnitude is greater than 1. Then there exists a CrC^{r} embedded disc WloccsW_{loc}^{cs} that is tangent to EcsE_{cs} at 0 called the local stable center manifold. Additionally, there exists a neighborhood BB of 0 such that ϕ(Wloccs)∩B⊂Wloccs\phi(W_{loc}^{cs})\cap B\subset W_{loc}^{cs}, and that if zz is a point such that ϕk(z)∈B\phi^{k}(z)\in B for all k≥0k\geq 0, then z∈Wloccsz\in W_{loc}^{cs}.

This is a similar statement of the stable manifold theorem to the one found in , except that since we have to deal with complex eigenvalues here, we emphasize that the decomposition is between the eigenvalues whose magnitude is less than or equal to 11, and greater than 11, respectively. It guarantees the existence of a stable center manifold of dimension equal to the number of eigenvalues of the Jacobian at the critical point that are less than or equal to 1.

We show now that the Jacobian DG(x∗,x∗)DG(x^{*},x^{*}) has the properties required for application of this result, for values of α\alpha and β\beta similar to the choices (4). (Note that the conditions on α\alpha and β\beta in this result hold when α∈(0,4/L)\alpha\in(0,4/L) and β∈(−1+αL/2,1)\beta\in(-1+\alpha L/2,1), where LL is the Lipschitz constant from Assumption 1.) For purposes of this and future results in this section, we assume that at the point x∗x^{*} we have ∇f(x∗)=0\nabla f(x^{*})=0 and that the eigenvalue decomposition of ∇2f(x∗)\nabla^{2}f(x^{*}) can be written as

where the eigenvalues λ1,λ2,…,λn\lambda_{1},\lambda_{2},\dotsc,\lambda_{n} have

for some pp with 1≤p<n1\leq p<n, where Λ=diag⁡(λ1,λ2,…,λn)\Lambda=\operatorname{diag}(\lambda_{1},\lambda_{2},\dotsc,\lambda_{n}), and where viv_{i}, i=1,2,…,ni=1,2,\dotsc,n are the orthonormal set of eigenvectors that correspond to the eigenvalues in (12). The matrix V=[v1 ∣ v2 ∣ … ∣ vn]V=[v_{1}\,|\,v_{2}\,|\,\dotsc\,|\,v_{n}] is orthogonal.

Suppose that Assumption 1 holds. Let x∗x^{*} be a critical point for ff at which ∇2f(x∗)\nabla^{2}f(x^{*}) has pp negative eigenvalues, where p≥1p\geq 1. Consider the mapping GG defined by (5) where

By performing a symmetric permutation PP on this matrix, interleaving rows/columns from the first block with rows/columns from the second block, we obtain a block diagonal matrix with 2×22\times 2 blocks of the following form on the diagonals, that is,

The eigenvalues of MiM_{i} are obtained from the following quadratic in μ\mu:

We examine first the matrices MiM_{i} for which λi<0\lambda_{i}<0. We have

so both roots in (18) are real. Since t(⋅)t(\cdot) is convex quadratic, with t(0)=β>0t(0)=\beta>0 and t(1)=αλi<0t(1)=\alpha\lambda_{i}<0, one root is in (0,1)(0,1) and the other is in (1,∞)(1,\infty). We can thus write

where μihi\mu_{i}^{\text{hi}} is the eigenvalue of MiM_{i} in the range (1,∞)(1,\infty) and μilo\mu_{i}^{\text{lo}} is the eigenvalue of MiM_{i} in the range (0,1)(0,1). (This claim can be verified by direct calculation of the product (19a).)

Consider now the matrices MiM_{i} for which λi=0\lambda_{i}=0. From (18), we have that the roots are 11 and β\beta, which are distinct, since β∈(0,1)\beta\in(0,1). The eigenvalue decompositions of these matrices have the form

and the SiS_{i} are 2×22\times 2 nonsingular matrices.

When λi>0\lambda_{i}>0, we show that the eigenvalues of MiM_{i} both have magnitude less than 11, under the given conditions on α\alpha and β\beta. Both roots in (18) are complex exactly when the term under the square root is negative, and in this case the magnitude of both roots is

which is less than 11 by assumption. When both roots are real, we have (1+β−αλi)2−4β≥0(1+\beta-\alpha\lambda_{i})^{2}-4\beta\geq 0, and we require the following to be true to ensure that both are less than 11 in absolute value:

We deal with the right-hand inequality in (21) first. By rearranging, we show that this is implied by the following sequence of equivalent inequalities:

where the last is clearly true, because of α>0\alpha>0 and λi>0\lambda_{i}>0. Thus the right-hand inequality in (21) is satisfied.

For the left-hand inequality in (21), we have

and the last condition holds because of the assumption that β>−1+αλ1/2\beta>-1+\alpha\lambda_{1}/2. This completes our proof of the claim (21). Thus our assumptions on α\alpha and β\beta suffice to ensure that both eigenvalues of MiM_{i} defined in (15) have magnitude less than 11 when λi>0\lambda_{i}>0.

where SiS_{i}, i=n−p+1,…,ni=n-p+1,\dotsc,n are the matrices defined in (19), we have from (14) that

Suppose that the assumptions of Theorem 2.6 hold. Then the eigenvector of DG(x∗,x∗)DG(x^{*},x^{*}) that corresponds to the unstable eigenvalue μihi>1\mu_{i}^{\text{hi}}>1, i=n−p+1,…,ni=n-p+1,\dotsc,n defined in (18) is

But this is true because of (17), so (24) is an eigenvector of DG(x∗,x∗)DG(x^{*},x^{*}) corresponding to the eigenvalue μihi\mu_{i}^{\text{hi}}. Since the vectors {vi ∣ i=n−p+1,…,n}\{v_{i}\,|\,i=n-p+1,\dotsc,n\} form an orthogonal set, so do the vectors (24) for i=n−p+1,…,ni=n-p+1,\dotsc,n, completing the proof.

Our next result is similar to [9, Theorem 4.1]. It is for a modified version of the heavy-ball method in which the initial value for x−1x^{-1} is perturbed from its usual choice of x0x^{0}.

Suppose that the assumptions of Theorem 2.6 hold. Suppose that the heavy-ball method is applied from an initial point of (x0,x−1)=(x0,x0+ϵy)(x^{0},x^{-1})=(x^{0},x^{0}+\epsilon y), where x0x^{0} and yy are random vectors with i.i.d.i.i.d. elements, and ϵ>0\epsilon>0 is small. We then have

where the probability is taken over the starting vectors x0x^{0} and yy.

Our proof tracks that of [9, Theorem 4.1]. As there, we define the stable set for x∗x^{*} to be

Theorem 2.10 does not guarantee that once the iterates leave the neighborhood of x∗x^{*}, they never return. It does not exclude the possibility that the sequence {(xk+1,xk)}\{(x^{k+1},x^{k})\} returns infinitely often to a neighborhood of (x∗,x∗)(x^{*},x^{*}).

We note that the tweak of taking x−1x^{-1} slightly different from x0x^{0} does not affect practical performance of the heavy-ball method, and has in fact been proposed before . It also does not disturb the theory that exists for this method, which for the case of quadratic ff discussed in rests on an argument based on the eigendecomposition of the (linear) operator DGDG, which is not affected by the modified starting point. We note too that the accelerated gradient methods to be considered in the next section can also allow x−1≠x0x^{-1}\neq x^{0} without significantly affecting the convergence theory. A Lyapunov-function-based convergence analysis of this method (see, for example [14, Chapter 4], based on arguments in ) requires only trivial modification to accommodate x−1≠x0x^{-1}\neq x^{0}.

We write w=∑i=1nτiviw=\sum_{i=1}^{n}\tau_{i}v_{i} for some coefficients τi\tau_{i}, i=1,2,…,ni=1,2,\dotsc,n, and show that τi=0\tau_{i}=0 for i=n−p+1,…,ni=n-p+1,\dotsc,n.

where σ0,i=τi\sigma_{0,i}=\tau_{i} and η0,i=τi\eta_{0,i}=\tau_{i}, i=1,2,…,ni=1,2,\dotsc,n. To derive recurrences for σk,i\sigma_{k,i} and ηk,i\eta_{k,i}, we consider the multiplication by DG(x∗,x∗)DG(x^{*},x^{*}) that takes us from stages kk to k+1k+1. We have

where MiM_{i} is defined in (15). Using the factorization (19), we have

Because 0<μilo<1<μihi0<\mu_{i}^{\text{lo}}<1<\mu_{i}^{\text{hi}}, it follows from this formula that

so if ww has any component in the span of viv_{i}, i=n−p+1,…,ni=n-p+1,\dotsc,n (that is, if τi≠0\tau_{i}\neq 0), repeated multiplications of [ww]\left[\begin{matrix}w\\ w\end{matrix}\right] by DG(x∗,x∗)DG(x^{*},x^{*}) will lead to divergence, so [ww]\left[\begin{matrix}w\\ w\end{matrix}\right] cannot be in the subspace EcsE_{cs}.

A consequence of this theorem is that for a random choice of x0x^{0}, there is probability zero that (x0−x∗,x0−x∗)∈Ecs(x^{0}-x^{*},x^{0}-x^{*})\in E_{cs}, which is tangential to WloccsW^{cs}_{loc} at x∗x^{*}. Thus for x0x^{0} close to x∗x^{*}, there is probability zero that (x0,x0)(x^{0},x^{0}) is in the measure-zero set WloccsW^{cs}_{loc}. Successive iterations of (2) are locally similar to repeated multiplications of (x0−x∗,x0−x∗)(x^{0}-x^{*},x^{0}-x^{*}) by the matrix DG(x∗,x∗)DG(x^{*},x^{*}), that is, for (xk+1−x∗,xk−x∗)(x^{k+1}-x^{*},x^{k}-x^{*}) small, we have

Under the probability-one event that x0−x∗∉Ecsx^{0}-x^{*}\notin E_{cs}, this suggests divergence of the iteration (2) away from (x∗,x∗)(x^{*},x^{*}).

On the other hand, we can show that if the sequence passes sufficiently close to a point (x∗,x∗)(x^{*},x^{*}) such that x∗x^{*} satisfies second-order sufficient conditions to be a solution of (1), it subsequently converges to (x∗,x∗)(x^{*},x^{*}). For this result we need the following variant of the stable manifold theorem.

Let be a fixed point for the CrC^{r} local diffeomorphism ϕ:U→E\phi:U\rightarrow E where UU is a neighborhood of in the Banach space EE. Suppose that EsE_{s} is the invariant subspace corresponding to the eigenvalues of Dϕ(0)D\phi(0) whose magnitude is strictly less than 1. Then there exists a CrC^{r} embedded disc WlocsW_{loc}^{s} that is tangent to EsE_{s} at , and a neighborhood BB of such that Wlocs⊂BW_{loc}^{s}\subset B, and for all z∈Wlocsz\in W_{loc}^{s}, we have ϕk(z)→0\phi^{k}(z)\to 0 at a linear rate.

Speed of Divergence on a Toy Problem

In this section, we investigate the rate of divergence of an accelerated method on a simple nonconvex objective function, the quadratic with n=2n=2 defined by

Obviously, this function is unbounded below with a saddle point at (0,0)T(0,0)^{T}. Its gradient has Lipschitz constant L=1L=1. Despite being a trivial problem, it captures the behavior of gradient algorithms near strict saddle points for indefinite quadratics of arbitrary dimension, as is apparent from the analysis below.

We have described the heavy-ball method in (2). The steepest-descent method, by contrast, takes steps of the form

for some αk>0\alpha_{k}>0. When ∇f(x)\nabla f(x) has Lipschitz constant LL, the choice αk≡1/L\alpha_{k}\equiv 1/L leads to decrease in ff at each iteration that is consistent with convergence of ∥∇f(xk)∥\|\nabla f(x^{k})\| to zero at a sublinear rate when ff is bounded below . (The classical theory for gradient descent says little about the case in which ff is unbounded below, as in this example.)

We consider a starting point that is just off the horizontal axis, that is,

For the steepest-descent method with constant steplength, we have

One measure of repulsion from the saddle point is the number of iterations required to obtain ∣x2k∣≥1|x^{k}_{2}|\geq 1. Here it suffices for kk to be large enough that (1+δα)kϵ≥1(1+\delta\alpha)^{k}\epsilon\geq 1, for which (using the usual bound log⁡(1+γ)≤γ\log(1+\gamma)\leq\gamma) a sufficient condition is that

Making the standard choice of steplength α=1/L=1\alpha=1/L=1, we obtain

Consider now the heavy-ball method. Following (2), the iteration has the form:

(For this quadratic problem, the operator GG defined by (5) is linear, so that DGDG is constant.) We can partition this recursion into x1x_{1} and x2x_{2} components, and write

The eigenvalues of these two matrices are given by (18), by setting λ1=1\lambda_{1}=1 and λ2=−δ\lambda_{2}=-\delta, respectively. For α\alpha and β\beta satisfying the conditions of Theorem 2.6, which translate here to

both eigenvalues of M1M_{1} are less than 11 in magnitude (as we show in the proof of Theorem 2.6), so the x1x_{1} components converge to zero. Again referring to the proof of Theorem 2.6, the eigenvalues of M2M_{2} are both real, with one of them greater than 11, suggesting divergence in the x2x_{2} component.

To understand rigorously the behavior of the x2x_{2} sequence, we make some specific choices of α\alpha and β\beta. Consider

for some parameter γ≥0\gamma\geq 0. Note that for small δ\delta and γ\gamma, these choices are consistent with (35). By substituting into (18), we see that the two eigenvalues of M2M_{2} are

For reasonable choices of γ\gamma, we have that μ2hi=1+cδ\mu_{2}^{\text{hi}}=1+c\sqrt{\delta} for a modest positive value of cc. For specificity (and simplicity) let us consider α=3\alpha=3 and γ=0\gamma=0, for which we have

The formula (19) yields M2=S2Λ2S2−1M_{2}=S_{2}\Lambda_{2}S_{2}^{-1}, where Λ2=diag⁡(1+3δ,1−3δ)\Lambda_{2}=\operatorname{diag}(1+\sqrt{3\delta},1-\sqrt{3\delta}) and

From (33), and setting x20=x2−1=ϵx^{0}_{2}=x^{-1}_{2}=\epsilon, we have

By substituting for Λ2\Lambda_{2} and S2S_{2}, we obtain

where we simply drop the term involving μ2lo\mu_{2}^{\text{lo}} in the final step and use 1−3δ>01-\sqrt{3\delta}>0. It follows that

It follows from this bound, by a standard argument, that a sufficient condition for x2k≥1x_{2}^{k}\geq 1 is

Thus we have confirmed that divergence from the saddle point occurs in O(∣log⁡ϵ∣/δ)O(|\log\epsilon|/\sqrt{\delta}) iterations for heavy-ball, versus O(∣log⁡ϵ∣/δ)O(|\log\epsilon|/\delta) iterations for gradient descent.

For larger values of δ\delta, the divergence of steepest-descent and heavy-ball methods are both rapid, For appropriate choices of α\alpha and β\beta, the iterates generated by both algorithms leave the vicinity of the saddle point quickly.

Figure 1 illustrates the divergence behavior of steepest descent and heavy-ball on the function (27) with δ=.02\delta=.02. We set α=.75\alpha=.75 for both steepest descent and heavy-ball. For heavy-ball, we chose β=1−αδ=.985\beta=1-\alpha\delta=.985. Both methods were started from x0=(.25,.01)Tx^{0}=(.25,.01)^{T}. We see that the trajectory traced by steepest descent approaches the saddle point quite closely before diverging slowly along the x2x_{2} axis. The heavy-ball method “overshoots” the x2x_{2} axis (because of the momentum term) but quickly returns to diverging along the x2x_{2} direction at a faster rate than for steepest descent.

General Accelerated Gradient Methods Applied to Quadratic Functions

Here we analyze the rate at which a general class of accelerated gradient methods escape the saddle point of an nn-dimensional quadratic function:

where HH is a symmetric matrix with eigenvalues satisfying (12). We assume without loss of generality that HH is in fact diagonal, that is,

The Lipschitz constant LL for ∇f\nabla f is L=max⁡(λ1,−λn)L=\max(\lambda_{1},-\lambda_{n}).

As in Section 3, gradient descent with α∈(0,1/L)\alpha\in(0,1/L) satisfies

It follows that for all i≥n−p+1i\geq n-p+1, for which λi<0\lambda_{i}<0, gradient descent diverges in that component at a rate of (1−αλi)(1-\alpha\lambda_{i}).

Algorithm 1 describes a general accelerated gradient framework, including gradient descent when γk=βk=0\gamma_{k}=\beta_{k}=0, heavy-ball when γk=0\gamma_{k}=0 and βk>0\beta_{k}>0, and accelerated gradient methods when γk=βk>0\gamma_{k}=\beta_{k}>0. With ff defined by (38), the update formula can be written as

The following theorem describes the dynamics of xik+1x^{k+1}_{i} in (41) when λi<0\lambda_{i}<0.

For all ii such that λi<0\lambda_{i}<0, we have from (41) that

In addition if γk+1≥γk\gamma_{k+1}\geq\gamma_{k} and βk+1≥βk\beta_{k+1}\geq\beta_{k} for all kk then,

We begin by showing that (43) holds for k=0k=0 and k=1k=1. The case for k=0k=0 is trivial as x1=x0x^{1}=x^{0}. In addition, for k=1k=1, the update formula (41) becomes

Thus because bi,0=0b_{i,0}=0, we can make this consistent with (42) by setting bi,1=α∣λi∣b_{i,1}=\alpha|\lambda_{i}| which is exactly (43) for k=1k=1.

Now assume that (42) holds for all k≤K−1k\leq K-1. From (41), using the inductive hypothesis for K−1K-1 and K−2K-2, we need to show

by the given definition of bi,Kb_{i,K} in (43). Dividing both sides by xi0∏m=0K−1(1+bi,m)x^{0}_{i}\prod_{m=0}^{K-1}(1+b_{i,m}), this is equivalent to

Now we assume that γK+1≥γK\gamma_{K+1}\geq\gamma_{K} and βK+1≥βK\beta_{K+1}\geq\beta_{K} holds for all K≥1K\geq 1 and show by induction that bi,K+1≥bi,Kb_{i,K+1}\geq b_{i,K} holds for all K≥0K\geq 0. This is clearly true for K=0K=0 since α∣λi∣>0\alpha|\lambda_{i}|>0. Assume now that bi,k+1≥bi,kb_{i,k+1}\geq b_{i,k} holds for all 0≤k≤K−10\leq k\leq K-1. We have

where the second inequality above follows from γK+1≥γK\gamma_{K+1}\geq\gamma_{K}, βK+1≥βK\beta_{K+1}\geq\beta_{K} and bi,K−1≥bi,0=0b_{i,K-1}\geq b_{i,0}=0.

Since bi,k≥α∣λi∣b_{i,k}\geq\alpha|\lambda_{i}| for all k≥1k\geq 1, Theorem 4.1 shows that Algorithm 1 diverges at a faster rate than gradient descent when at least one of γk>0\gamma_{k}>0 or βk>0\beta_{k}>0 is true. Now we explore the rate of divergence by finding a limit for the sequence {bi,k}k=1,2,…\{b_{i,k}\}_{k=1,2,\dotsc}.

Let γk+1≥γk\gamma_{k+1}\geq\gamma_{k} and βk+1≥βk\beta_{k+1}\geq\beta_{k} hold for all kk and denote γˉ=lim⁡k→∞γk\bar{\gamma}=\lim_{k\to\infty}\gamma_{k} and βˉ=lim⁡k→∞βk\bar{\beta}=\lim_{k\to\infty}\beta_{k}. Then, for all ii such that λi<0\lambda_{i}<0, we have lim⁡k→∞bi,k=bˉi\lim_{k\rightarrow\infty}b_{i,k}=\bar{b}_{i}, where bˉi\bar{b}_{i} is defined by by

Recall from Theorem 4.1 that xik=(1+bi,k−1)xik−1x_{i}^{k}=(1+b_{i,k-1})x_{i}^{k-1}. By substituting into the equation above, we have

By matching this expression with (47), we obtain

which after division by bi,k−1b_{i,k-1} yields

Now assume for contradiction that the nondecreasing sequence {bi,k}k=1,2,…\{b_{i,k}\}_{k=1,2,\dotsc} has no finite limit, that is, bi,k→∞b_{i,k}\rightarrow\infty. Recalling that γk\gamma_{k} and βk\beta_{k} have a finite limit (as they are nondecreaseing sequences restricted to the interval $),wehavebytakingthelimitas), we have by taking the limit ask\to\inftyin(49)thattheleft−handsideapproachesin (49) that the left-hand side approaches\left(1+\alpha|\lambda_{i}|+\bar{\beta}+\bar{\gamma}\alpha|\lambda_{i}|\right),whiletheright−handsideapproaches, while the right-hand side approaches\infty,acontradiction.Thus,thenondecreasingsequence, a contradiction. Thus, the nondecreasing sequence\{b_{i,k}\}_{k=1,2,\dotsc}hasafinitelimit,whichwedenotebyhas a finite limit, which we denote by\bar{b}_{i}$.

To find the value for bˉi\bar{b}_{i}, we take limits as k→∞k\rightarrow\infty in (48) to obtain

By solving this quadratic for bˉi\bar{b}_{i}, we obtain

By Theorem 4.1, we know that bi,k≥0b_{i,k}\geq 0 for all kk, so that bˉi≥0\bar{b}_{i}\geq 0. Therefore, bˉi\bar{b}_{i} satisfies (46), as claimed.

We apply Theorem 46 to parameter choices that typically appear in accelerated gradient methods.

Let the assumptions of Theorem 46 hold, let γk=βk\gamma_{k}=\beta_{k} hold for all kk and let γˉ=βˉ=1\bar{\gamma}=\bar{\beta}=1. Then,

By direct computation with βˉ=γˉ=1\bar{\beta}=\bar{\gamma}=1, we have

The above corollary gives a rate of divergence for many standard choices of the extrapolation parameters found in the accelerated gradient literature. In particular, it includes the sequence βk=γk=tk−1−1tk\beta_{k}=\gamma_{k}=\frac{t_{k-1}-1}{t_{k}} where t0=1t_{0}=1 and

which was used in a seminal work by Nesterov . (For completeness, we provide a proof that tk→∞t_{k}\to\infty, so that the assumptions of Corollary 4.5 hold for this sequence in the appendix.) Another setting used in recent works βk=γk=k−1k+η+1\beta_{k}=\gamma_{k}=\frac{k-1}{k+\eta+1} . For proper choices of η>0\eta>0, this scheme has a number of impressive properties such as fast convergence of iterates for accelerated proximal gradient as well as achieving a o(1k2)o(\frac{1}{k^{2}}) of convergence in the weakly convex case.

We can also use Theorem 46 to derive a bound for the heavy-ball method. If we target the nn-th eigenvalue and set γk=0\gamma_{k}=0 and βk=1−α∣λn∣\beta_{k}=1-\alpha|\lambda_{n}| for all kk, simple manipulation shows that bˉn=α∣λn∣\bar{b}_{n}=\sqrt{\alpha|\lambda_{n}|}, which gives us an equivalent rate to that derived in (37). Note that for bˉn\bar{b}_{n} defined in (50) we also have bˉn≥α∣λn∣\bar{b}_{n}\geq\sqrt{\alpha|\lambda_{n}|}.

The divergence rates for accelerated gradient and heavy-ball methods are significantly faster than the per-iteration rate of (1+α∣λn∣)(1+\alpha|\lambda_{n}|) obtained for steepest descent.

Experiments

Some computational experiments verify that accelerated gradient methods escape saddle points on nonconvex quadratics faster than steepest descent.

We apply these methods to a quadratic with diagonal Hessian, with n=100n=100 and a single negative eigenvalue, λn=−δ=−0.01\lambda_{n}=-\delta=-0.01. The nonnegative eigenvalues are i.i.d. from the uniform distribution on $,andstartingvector, and starting vectorx^{0}isdrawnfromauniformdistributionontheunitball.Figure2plotsthenormofthecomponentofis drawn from a uniform distribution on the unit ball. Figure 2 plots the norm of the component ofx^{k}inthedirectionofthenegativeeigenvectorin the direction of the negative eigenvectore_{n}=(0,0,\dotsc,0,1)^{T}ateachiterationat each iterationk,foracceleratedgradient,heavy−ball,andsteepestdescent.Italsoshowsthedivergencethatwouldbeattainedifthetheoreticallimit, for accelerated gradient, heavy-ball, and steepest descent. It also shows the divergence that would be attained if the theoretical limit\bar{b}_{i}fromTheorem46appliedateveryiteration.Steepestdescentandheavy−ballwererunwithfrom Theorem 46 applied at every iteration. Steepest descent and heavy-ball were run with\alpha=1/L.Heavy−balluses(36)tocalculate. Heavy-ball uses (36) to calculate\beta,yielding, yielding\beta=0.989inthecaseofin the case of\delta=.01.Acceleratedgradientisrunwith. Accelerated gradient is run with\alpha=0.99/Landand\beta_{k}=\gamma_{k}=\frac{t_{k}-1}{t_{k+1}}wherewheret_{k}$ is defined in (51).

It is clear from Figure 2 that accelerated gradient and heavy-ball diverge at a significantly faster rate than steepest descent. In addition, there is only a small discrepancy between applying accelerated gradient and its limiting rate that is derived in Corollary 4.5, suggesting that bi,kb_{i,k} approaches bˉi\bar{b}_{i} rapidly as k→∞k\to\infty.

Next we investigate how these methods behave for various dimensions nn and various distributions of the eigenvalues. For two values of nn (n=100n=100 and n=1000n=1000), we generate 100100 random matrices with n−5n-5 eigenvalues uniformly distributed in the interval $,withthe, with the5negativeeigenvaluesuniformlydistributedinnegative eigenvalues uniformly distributed in[-2\delta,-\delta].Thestartingvector. The starting vectorx^{0}isuniformlydistributedontheunitball.AlgorithmicconstantswerethesameasthoseusedtogenerateFigure2.EachtrialwasrununtilthenormoftheprojectionofthecurrentiterateintothenegativeeigenspaceoftheHessianwasgreaterthanthedimensionis uniformly distributed on the unit ball. Algorithmic constants were the same as those used to generate Figure 2. Each trial was run until the norm of the projection of the current iterate into the negative eigenspace of the Hessian was greater than the dimensionn$. The results of these trials are shown in Table 1.

As expected, accelerated gradient outperforms gradient descent in all respects. All convergence results are slightly faster for n=100n=100 than for n=1000n=1000, because the random choice of x0x^{0} will, in expectation, have a smaller component in the span of the negative eigenvectors in the latter case. The eigenvalue spectrum has a much stronger effect on the divergence rate. For steepest descent, an order of magnitude decrease in the absolute value of the negative eigenvalues corresponds to an order of magnitude increase in iterations, whereas Nesterov’s accelerated gradient sees significantly less growth in the iteration count. While the accelerated gradient method diverges at a slightly slower rate than the theoretical limit, the relative difference between the two does not change much as the dimensions change. Thus, Theorem 46 provides a strong indication of the practical behavior of Nesterov’s method on these problems.

Conclusion

We have derived several results about the behavior of accelerated gradient methods on nonconvex problems, in the vicinity of critical points at which at least one of the eigenvalues of the Hessian ∇2f(x∗)\nabla^{2}f(x^{*}) is negative. Section 2 shows that the heavy-ball method does not converge to such a point when started randomly, while Sections 3 and 4 show that when ff is an indefinite quadratic, momentum methods diverge faster than the steepest-descent method.

It would be interesting to extend the results on speed of divergence to non-quadratic smooth functions ff. It would also be interesting to know what can be proved about the complexity of convergence to a point satisfying second-order necessary conditions, for unadorned accelerated gradient methods. A recent work shows that gradient descent can take exponential time to escape from a set of saddle points. We believe that a similar result holds for accelerated methods as well. The report , which appeared after this paper was submitted, describes an accelerated gradient method that add noise selectively to some iterates, and exploits negative curvature search directions when they are detected in the course of the algorithm. This approach is shown to have the O(ϵ−7/4)O(\epsilon^{-7/4}) rate that characterizes the best known gradient-based algorithms for finding second-order necessary points of smooth nonconvex functions.

Acknowledgments

We are grateful to Bin Hu for his advice and suggestions on the manuscript. We are also grateful to the referees and editor for helpful suggestions.

References

In this appendix we show that the following two properties hold for the sequence defined by (51):

We begin by noting two well known properties of the sequence tkt_{k} (see for example [4, Section 3.7.2]):

To prove that tk−1−1tk\frac{t_{k-1}-1}{t_{k}} is monotonically increasing, we need

Since tk+1≥tkt_{k+1}\geq t_{k} (which follows immediately from (51)), it is sufficient to prove that

By manipulating this expression and using (54), we obtain the equivalent expression

Thus (56) holds, so the claim (52) is proved. The sequence {(tk−1−1)/tk}\{(t_{k-1}-1)/t_{k}\} is nonnegative, since (t0−1)/t1=0(t_{0}-1)/t_{1}=0.

Now we prove (53). We can lower-bound (tk−1−1)/tk(t_{k-1}-1)/t_{k} as follows:

For an upper bound, we have from tk≥tk−1t_{k}\geq t_{k-1} that

Since tk−1→∞t_{k-1}\to\infty (because of (55)), it follows from (A) and (58) that (53) holds.