Acceleration Methods
Alexandre d'Aspremont, Damien Scieur, Adrien Taylor
Chapter 1 Introduction
Optimization methods are a core component of the modern numerical toolkit. In many cases, iterative algorithms for solving convex optimization problems have reached a level of efficiency and reliability comparable to that of advanced linear algebra routines. This is largely true for medium scale-problems where interior point methods reign supreme, but less so for large-scale problems where the complexity of first-order methods is not as well understood and efficiency remains a concern.
The situation has improved markedly in recent years, driven in particular by the emergence of a number of applications in statistics, machine learning, and signal processing. Building on Nesterov’s path-breaking algorithm from the 80’s, several accelerated methods and numerical schemes have been developed that both improve the efficiency of optimization algorithms and refine their complexity bounds. Our objective in this monograph is to cover these recent developments using a few master templates.
The methods described in this manuscript can be arranged in roughly two categories. The first, stemming from the work of Nest83, produces variants of the gradient method with accelerated worst-case convergence rates that are provably optimal under classical regularity assumptions. The second uses outer iteration (a.k.a. nested) schemes to speed up convergence. In this second setting, accelerated schemes run both an inner loop and an outer loop, with the inner iterations being solved by classical optimization methods, and the outer loop containing the acceleration mechanism.
Ever since the original algorithm by Nest83, the acceleration phenomenon was regarded as somewhat of a mystery. While accelerated gradient methods can be seen as iteratively building a model for the function and using it to guide gradient computations, the argument is essentially algebraic and is simply an effective exploitation of regularity assumptions. This approach of collecting inequalities induced by regularity assumptions and cleverly chaining them to prove convergence was also used in e.g., [Beck09], to produce an optimal proximal gradient method. There too, however, the proof yielded little evidence as to why the method is actually faster.
Fortunately, we are now better equipped to push the proof mechanisms much further. Recent advances in the programmatic design of optimization algorithms allow us to design and analyze algorithms by following a more principled approach. In particular, the performance estimation approach, pioneered by Dror14, can be used to design optimal methods from scratch, selecting algorithmic parameters to optimize worst-case performance guarantees [Dror14, kim2016optimized]. Primal dual optimality conditions on the design problem then provide a blueprint for the accelerated algorithm structure and for its convergence proof.
Using this framework, acceleration is no longer a mystery: it is the main objective in the design of the algorithm. We recover the usual “soup of regularity inequalities” that forms the template of classical convergence proofs, but the optimality conditions of the design problem explicitly produce a method that optimizes the convergence guarantee. In this monograph, we cover accelerated first-order methods using this systematic template and describe a number of convergence proofs for classical variants of the accelerated gradient method, such as those of Nesterov (Nest83, Nest03a), Beck09, tseng2008accelerated as well as more recent ones [kim2016optimized].
The second category of acceleration techniques that we cover in this monograph is composed of outer iteration schemes, in which classical optimization algorithms are used as a black-box in the inner loop and acceleration is produced by an argument in the outer loop. We describe three acceleration results of this type.
The first scheme is based on nonlinear acceleration techniques. Based on arguments dating back to [Aitk27, Wynn56, Ande87], these techniques use a weighted average of iterates to extrapolate a better candidate solution than the last iterate. We begin by describing the Chebyshev method for solving quadratic problems, which interestingly qualifies both as a gradient method and as an outer iteration scheme. It takes its name from the use of Chebyshev polynomial coefficients to approximately minimize the gradient at the extrapolated solution. The argument can be extended to non-quadratic optimization problems provided the extrapolation procedure is regularized.
The second scheme, due to [guler1992new, monteiro2013accelerated, lin2015universal] relies on a conceptual accelerated proximal point algorithm, and uses classical iterative methods to approximate the proximal point in an inner loop. In particular, this framework produces accelerated gradient methods (in the same sense as Nesterov’s acceleration) when the approximate proximal points are computed using linearly converging gradient-based optimization methods, taking advantage of the fact that the inner problems are always strongly convex.
Finally, we describe restart schemes. These techniques exploit regularity properties called Hölderian error bounds, which extend strong convexity properties near the optimum and hold almost generically, to improve the convergence rates of most first-order methods. The parameters of the Hölderian error bounds are usually unknown, but the restart schemes are robust: that is, they are adaptive to the Hölderian parameters and their empirical performance is excellent on problems with reasonable precision targets.
We present a few convergence acceleration techniques that are particularly relevant in the context of (first-order) convex optimization. Our summary includes our own points of view on the topic and is focused on techniques that have received substantial attention since the early 2000’s, although some of the underlying ideas are much older. We do not pretend to be exhaustive, and we are aware that valuable references might not appear below.
The sections can be read nearly independently. However, we believe the insights of some sections can benefit the understanding of others. In particular, Chebyshev acceleration (Section 2) and nonlinear acceleration (Section 3) are clearly complementary readings. Similarly, Chebyshev acceleration (Section 2) and Nesterov acceleration (Section 4), Nesterov acceleration (Section 4) and proximal acceleration (Section 5), as well as Nesterov acceleration (Section 4) and restart schemes (Section 6) certainly belong together.
This monograph is not meant to be a general-purpose manuscript on convex optimization, for which we refer the reader to the now classical references [boyd2004convexopt, bonnans2006numerical, nocedal2006numerical]. Other directly related references are provided in the text.
We assume the reader to have a working knowledge of base linear algebra and convex analysis (such as of subdifferentials), as we do not detail the corresponding technical details while building on them. Classical references on the latter include [Rock70, rockafellar2009variational, hiriart2013convex].
Chapter 2 Chebyshev Acceleration
While “Chebyshev polynomials are everywhere dense in numerical analysis,” we would like to argue here that Chebyshev polynomials also provide one of the most direct and intuitive explanations for acceleration arguments in first-order methods. That is, one can form linear combinations of past gradients for optimizing a worst-case guarantee on the distance to an optimal solution. In quadratic optimization, these linear combinations emerge from a Chebyshev minimization problem, whose solution can also be computed iteratively, thereby yielding an algorithm called the Chebyshev method [Nemic84]. The Chebyshev method traces its roots to at least Flan50, who credit Tuckey and Grosch. Its recurrence matches asymptotically the one of the heavy-ball method and is detailed below.
In this section, we demonstrate basic acceleration results on quadratic minimization problems. In such problems, optimal points are the solutions of a linear system, and the basic gradient method can be seen as a simple iterative solver for this linear system. In this context, acceleration methods can be obtained using a classical argument involving Chebyshev polynomials.
Analyzing this simple scenario is useful in two ways. First, recursive formulations of the Chebyshev argument yield a basic algorithmic template for designing accelerated methods and provide first approach to their structures, such as the presence of a momentum term. Second, the arguments are robust to perturbations of the quadratic function and hence apply in more generic contexts. This property enables acceleration in a wider range of applications, which we cover later in the Section 3 and Section 4.
For now, consider the following unconstrained quadratic minimization problem
and calling the optimum of problem (2.1) (satisfying ) yields
This means the iterates of gradient descent can be computed from via using the matrix polynomial
Suppose we set the step size to ensure
Because the matrix H is symmetric and hence diagonalizable in an orthogonal basis, given , we obtain
To get the best possible worst-case convergence rate, we now minimize this quantity in by solving
The optimal step size is obtained when both terms in the max are equal, reaching:
Denoting by the condition number of the function , the bound in (2.4) finally becomes
which is a worst-case guarantee for the gradient method when minimizing smooth strongly convex quadratic functions.
2 Optimal Methods and Minimax Polynomials
In Equation (2.4) above, we saw that the worst-case convergence rate of the gradient method on quadratic functions can be controlled by the spectral norm of a matrix polynomial. Figure 2.1 plots the polynomial for several degrees . We can extend this reasoning further to produce methods with accelerated worst-case convergence guarantees.
The bounds derived above for gradient descent can be extended to a broader class of first-order methods for quadratic optimization. We consider first-order algorithms in which each iterate belongs to the span of previous gradients, i.e.
and show that the iterates can be written using matrix polynomials as in (2.3) above.
for all , if and only if the errors can be written as
for all , for some sequence of polynomials with of degree at most and .
Since is the gradient of a quadratic function, it reads
for any satisfying , where H is symmetric. We have
We now show recursively that , where is a residual polynomial of degree at most . Our assumption about the iterates (2.9) implies that, for some sequence of coefficients ,
Assuming recursively that (2.10) holds for all indices ,
Then, by writing , we have
with and . Since the proof is a sequence of equalities, the equivalence readily follows.
Given a class of problem matrices H, Proposition 2.2.1 provides a way to design algorithms. Indeed, we can extract a first-order method from a sequence of polynomials . We can therefore use tools from approximation theory to find optimal polynomials and extract corresponding methods from them. Given a matrix class , this involves minimizing the worst-case convergence bound over by solving
where is the set of polynomials of degree at most . The polynomial is an optimal polynomial for and yields a (worst-case) optimal algorithm for the class . In terms of the notation used in the proof of Proposition 2.2.1, we are by construction looking for coefficients depending only on the problem class , but not on a specific instance of H.
3 The Chebyshev Method
In the case where is the set of positive definite matrices with a bounded spectrum, namely
the optimal polynomial can be found by solving
Polynomials that solve (2.12) are derived from Chebyshev polynomials of the first kind in approximation theory and can be formed explicitly to produce an optimal algorithm called the Chebyshev method. This section describes this method and provides its corresponding worst-case convergence guarantees.
We now explicitly introduce the Chebyshev polynomials. A more complete treatment of these polynomials is available in, e.g., mason2002chebyshev. Chebyshev polynomials of the first kind are defined recursively as follows
There exists a compact explicit solution for Chebyshev polynomials that involves trigonometric functions:
It is possible to show that Chebyshev polynomials satisfy the minimax property
where a monic polynomial is a polynomial whose coefficient associated with the highest power is equal to one. From this minimax definition, that defines the minimal polynomial over $[\mu,L]P(0)=1[\mu,\,L][-1,\,1]$,
where we have enforced the normalization constraint . Under these transformations, the shifted Chebyshev polynomials keep some minimax property, and can be shown to be solutions to (2.12).
3.2 Chebyshev Algorithm
The following recursion follows from (2.13) together with (2.15) and a few simplifications:
where and
The sequence ensures . We present this recursion for simplicity, but one should note that it might present some numerical stability issues in practice. There exist numerically more stable first-order methods based on Chebyshev polynomials, see, e.g., [gutknecht2002chebyshev, Algorithm 1]. We plot , and in Figure 2.2 for illustration.
Let us quickly detail how to arrive to (2.3.2) using (2.13) and (2.15). We first expand \mathcal{T}_{k}\big{(}t^{[\mu,L]}(x)\big{)} using (2.13),
Since C_{k}^{[\mu,L]}(x)=\frac{\mathcal{T}_{k}\big{(}t^{[\mu,L]}(x)\big{)}}{\mathcal{T}_{k}\big{(}t^{[\mu,L]}(0)\big{)}}, we substitute \mathcal{T}_{k}\big{(}t^{[\mu,L]}(x)\big{)} by \mathcal{T}_{k}\big{(}t^{[\mu,L]}(0))\cdot C_{k}^{[\mu,L]}(x) in the equation above and obtain
For obtaining a simple recursion on , note that for all by construction. It follows that
3.3 Chebyshev and Polyak’s Heavy-Ball Methods
We now present the resulting algorithm, called Chebyshev semi-iterative method [Golu61]. We define iterates using as follows,
we can simplify away to get the following recursion:
which describes iterates of the Chebyshev method. We summarize it as Algorithm 2. By construction, the Chebyshev method is a worst-case optimal first-order method for minimizing quadratics whose spectrum lies in . Surprisingly, its iteration structure is simple and somewhat intuitive: it involves a gradient step with variable step size , combined with a variable momentum term.
Perhaps more surprisingly, the Chebyshev method has a stationary regime that is even simpler. Indeed, when , the coefficients of the recursion from Algorithm 2 converge to the ones of Polyak’s heavy-ball method,
To see this, it suffices to compute the limit of , written as , by solving
We obtain Polyak’s heavy-ball method by replacing with in Algorithm 2.
3.4 Worst-case Convergence Bounds
The shifted Chebyshev polynomials are solutions to (2.12). Therefore, using the same trick as for gradient descent, we can obtain the following worst-case bound for the Chebyshev method
The maximum value is determined by evaluating the polynomial at one of the extremities of the interval [mason2002chebyshev, Chapter 2] (see also Figure 2.2), i.e,
We obtain the worst-case convergence guarantee of the Chebyshev method, as stated in the following theorem.
After plugging this result into the cosh, we get
It may be difficult to compare the convergence rate of the Chebyshev method with that of gradient descent, due to its more complex expression. However, by neglecting the denominator term , we obtain the following upper bound:
Note that the convergence rate of Polyak’s heavy-ball method matches (up to a multiplicative factor) that of Chebyshev’s method asymptotically, which is better than that of gradient descent in (2.7), which reads
We summarize this result in the following corollary, which compares the number of iterations required to reach a target accuracy .
iterations of gradient descent (Algorithm 1 with (2.6)), or
iterations of Chebyshev’s method (Algorithm 2),
For gradient descent, a sufficient condition on the number of iterations required to reach an accuracy of reads
Using the bound , the above condition can be simplified to the following stronger condition on
This gives the desired result for gradient descent. With the same approach, we also get the result for the Chebyshev algorithm.
This corollary shows that the Chebyshev method can be faster than gradient descent. This translate to a speedup factor of in problems with a (reasonable) condition number of , which is very significant.
When the dimension of the ambient space is sufficiently large, and without further assumptions on the spectrum of H, the worst-case guarantee on Chebyshev’s method is essentially unimprovable. Informally, given a budget , a problem class and some , the best worst-case guarantee on the distance to optimality that can be achieved by a first-order method is given by
which corresponds to the worst-case performance of the best performing method on any problem of the class. More precisely, for any first-order method satisfying for all (the “span assumption”) applied on the quadratic problem (2.1), it holds that:
and therefore, the conjugate gradient-like method
In other words, the term in (2.22) searches for the “most difficult” quadratic function, while the term represents the best first-order method for a specific quadratic function. Of course, the method (2.21) is much more powerful than the Chebyshev method, since it is optimal for any specific function. However, it is possible to show that despite being more powerful, this optimal algorithm has the same worst-case performance as that of Chebyshev’s method when the dimension of the ambient space is large enough. The lower bound result is summarized by the next theorem.
with .
More details on this topic can be found in [nemirovskinotes1995, Section 12.3].
4 Notes and References
The Chebyshev method presented in this section is worst-case optimal for the class of quadratic functions with Hessians H satisfying . More detailed discussions and developments on the topic of Chebyshev polynomials, for quadratic minimization, are provided in [Nemi83, nemirovsky1992information, Nest03a], as well as in the lecture notes [nemirovskinotes1995, Chapter 10]. Those references include the treatment of the case where the smallest eigenvalue is . Finally, one should note that the optimal convergence bounds achieved by the Chebyshev method requires knowledge of the problem class parameters, and , which might or might not be an issue, depending on the problem at hand.
Probably the most celebrated method for unconstrained quadratic optimization problems is the conjugate gradient (CG) method. Its origin is usually attributed to stiefel1952methods, straeter1971extension. As for the setup of this section, it turns out that CG methods are instance-optimal, in the sense that they are the best performing first-order methods on every particular problem instance in the range of unconstrained quadratic minimization problems (in particular, the CG variant presented in (2.21) achieves the lower bound from Theorem 2.3.5). The classical CG produces iterates such that
which admits efficient formulation; see, e.g., [nocedal2006numerical]. Another variant of CG is often referred to as MINRES, which produces iterates in the form
Its generalization GMRES [saad1986gmres] is popular for solving linear systems of the form when H is not required to be either symmetric or invertible.
Yet another alternative for dealing with quadratic minimization is to resort on Anderson-type acceleration schemes. As for conjugate gradient methods, those schemes do not readily extend beyond quadratic minimization with the same nice theoretical guarantees. This is the topic of the next section.
Beyond quadratic optimization, properties of Chebyshev polynomials is the focus of [mason2002chebyshev]. The use of Chebyshev polynomials in the context of solving linear systems is covered at length in [fischerpolynomial]. In particular, the theory of [fischerpolynomial] can be instantiated for the convex quadratic minimization in average-case analyses, where Chebyshev polynomials (along with their heavy-ball limits) also naturally appear [pedregosa2020acceleration, lacotte2020optimal, scieur2020universal].
Chapter 3 Nonlinear Acceleration
In this section, we see that the main argument used in the Chebyshev method can be adapted beyond quadratic problems. The extension that we present here, called nonlinear acceleration, follows a pattern that is known in numerical analysis as vector extrapolation methods: it seeks to accelerate the convergence of sequences by extrapolation using nonlinear averages. Different such strategies are known under various names, starting with Aitken’s [Aitk27], Wynn’s epsilon algorithm [Wynn56], and Anderson acceleration [anderson1965iterative]; a survey of these techniques can be found in [Sidi86]. The vector extrapolation techniques, generic by nature, can be applied to optimization, as explained in what follows.
This section focuses on the convex minimization problem:
We aim at adapting some of the ideas behind Chebyshev’s acceleration (see Section 2) to a broader class of convex minimization problems beyond quadratic minimization. These adaptations stems from a local quadratic approximation of the objective:
where (the set of symmetric matrices) is the Hessian of at , which we assume to satisfy for some . Of course, neglecting the second-order term in (3.2) allows recovering a quadratic minimization problem for which one could apply Chebyshev’s method as is.
so that does not depend on the particular problem instance and on the initialization , but only on the problem class described by and (we note that in Section 2, (3.3) was expressed in terms of optimizing a polynomial (2.12)). A natural alternative to Chebyshev’s method consists in choosing those weights adaptively. That is, depending on the particular instance of the problem at hand. For doing so, we have to choose another way to measure performance (because minimizing would require knowledge of ); one such possibility is to rely on function values or gradient norms. One could then rely on conjugate gradient-type methods which are very attractive for unconstrained quadratic minimization (see, e.g., discussions in Section 2.4). In this section, we consider the case where a first-order optimization method provided us with a sequence of pairs satisfying (for )
and we study methods producing approximations of as linear combinations of the previous iterates . For choosing the corresponding weights, we minimize the norm of the gradient at the approximated point. In unconstrained convex quadratic minimization problems, this approach is closely related to the so-called MINRES [paige1975solution] and GMRES [saad1986gmres] methods (conjugate gradient-type methods minimizing gradient norms; see discussions by walker2011anderson and Section 2.4). That is, when is quadratic, we choose the weights by solving
Whereas the new approximation is a linear combination of previous iterates , the coefficients depend nonlinearly on both and on . This technique is known under a few different names including those of Anderson acceleration and minimal polynomial extrapolation (see discussions and references in Section 3.6 for more details). In this section, we refer to all these methods as “nonlinear acceleration” techniques.
2 Nonlinear Acceleration for Quadratic Minimization
In this section, we present the simplest form of nonlinear acceleration, which is often referred to as the offline nonlinear acceleration mechanism. We start with the main arguments underlying the technique, and present a few variants later in this section.
The core idea of the mechanism is to use a sequence of iterates provided by a first-order method for solving (3.1). On this basis, we generate a new approximation of a solution to (3.1) as a linear combination of past iterates, in the form . The point is commonly referred to as the extrapolation and can be chosen in different ways. In classical nonlinear acceleration mechanisms, it is chosen for making small, as in (3.5). In general, solving (3.5) is just as costly as solving (3.1), but the mechanism turns out to have an efficient formulation when minimizing quadratic functions of the form
In this case, it is possible to find an explicit formula for (3.5). Indeed, the gradient of is then a linear function, and because the coefficients sum to one, the gradient of the linear combination is equal to a linear combination of gradients:
It follows that (3.5) reduces to a simple quadratic program involving gradients of the past iterates. It can be formulated as
For convenience, we use the following more compact form in the sequel
where is the matrix formed by concatenating past gradients. This quadratic subproblem requires solving a small linear system of equations. When is invertible, an explicit solution is provided by
This mechanism is summarized in Algorithm 3.
In this section, we quantify the accuracy of nonlinear acceleration. In particular, we show that it is instance-optimal and achieves the same worst-case convergence rate as that Chebyshev’s method (see Theorem 2.3.1 and Theorem 2.3.5) in the worst-case, as soon as the sequence is generated by a reasonable first-order method. Before going into the analysis, we introduce a few technical ingredients specifying what is a reasonable first-order method. In short, we require that is obtained from a “nondegenerate” first-order method. That is, we assume that the method uses non-trivially for generating (for all ).
The proposition below shows that when the sequence is generated by a nondegenerate first-order method, the gradient of any iterate can be written using a polynomial of degree exactly .
We proceed by induction. First, we have ( has degree and ) and hence
thereby trivially reaching the desired conclusion for .
We proceed with the induction hypothesis, assuming that the desired result holds for . By Definition 3.2.1 (nondegenerate first-order method), and because is a quadratic function (3.6), we have
Thanks to the induction hypothesis, we have with and for . For showing that satisfies the desired claim, we start by expressing in terms of a polynomial:
It is relatively straightforward to verify using the previous expression:
Finally, a minor reorganization of the expression of allows writing
Nondegeneracy of the first-order method implies that there exists some such that the previous expression holds. Finally it follows from (induction hypothesis) that , thereby reaching the desired claim.
Equipped with previous technical ingredients, one can show that Algorithm 3 is “instance-optimal” when applied to a nondegenerate first-order method. This means that the nonlinear acceleration algorithm finds the best polynomial given a specific quadratic function —in opposition to the Chebyshev method that finds the best polynomial for a class of functions (Theorem 2.3.1). In other words, nonlinear acceleration adaptively looks for the best combination of previous iterates given the information stored in the previous gradients, while Chebyshev’s method uses the same worst-case optimal polynomial in all cases. Moreover, Algorithm 3 does not require knowledge of the smoothness or strong convexity parameters.
where is obtained from Algorithm 3 , and is the set of polynomials of degree at most .
Since the coefficients sum to one, we have the following equalities:
We now use the definition of a first-order method, which yields iterates such that
From Section 2.3, Proposition 2.2.1, it follows that can be written as
It also holds that its gradient can be written using the same polynomial:
By substituting this expression in the objective of (3.8), we obtain
Since the iterates are generated by a nondegenerate first-order method, all polynomials have differents degrees. Therefore, the polynomials are linearly independent, and hence is a basis for the space . Finally, because and , we can rephrase the objective (3.13) as
This theorem shows that the worst-case convergence rate is essentially controlled by the optimal value of a minimization problem. The minimum in (3.11) can be bounded using a Chebyshev argument similar to the main argument used in Section 2.
where is the output of Algorithm 3 applied to .
We use the shifted Chebyshev polynomial from Theorem 2.3.1 as a feasible solution of the minimization problem (3.11).
As for the Chebyshev method, it is possible to show that the convergence rate cannot be improved as it matches that of the corresponding lower bound, which can be obtained by adapting Theorem 2.3.5 to gradient norms; see e.g., [nemirovskinotes1995, Proposition 12.3.2].
When is generated by a nondegenerate first-order method and when is large enough, nonlinear acceleration eventually converges exactly to the minimizer of the quadratic function (this follows easily from analogies with conjugate gradient-type methods; see, e.g.,Section 2.4). More formally, for all it holds that
where is the output of Algorithm 3 applied to . This is a natural consequence of the fact that is the best point in , as provided by (3.8).
2.2 Computational Complexity
The computational complexity of Algorithm 3 is , where is the length of the sequence of gradients and is the dimension of the ambient space. The first term originates from the matrix-matrix multiplication in step 1, and the second one comes from solving a matrix in step 2. The length being often much smaller than , the resulting complexity is typically .
When using the nonlinear acceleration method in parallel with a first-order method generating a growing sequence of iterates , an extrapolation step can be computed each time a new iterate is produced. we can reduce the per iteration complexity up to by computing the matrix and the coefficients using low-rank updates [sidi1991efficient].
Because the iteration complexity of nonlinear acceleration grows with the length of the input sequence, it might become costly to compute an extrapolation. It is therefore common to use nonlinear acceleration only with the last few iterates produced by the first-order method. More formally, if we impose a maximum memory of pairs, we compute the extrapolation as follow when . More formally, if we impose a maximum memory of pairs, one can use Algorithm 3 with input .
2.3 Online Nonlinear Acceleration
So far, we have seen a post-processing procedure that generates an extrapolated point from a sequence of pairs . If this sequence is generated by a nondegenerate first-order method, then Corollary 3.2.6 shows that the gradient of the extrapolated point converges to zero at an optimal worst-case convergence rate, without any hyper-parameters. Perhaps surprisingly, Algorithm 3 is itself not a nondegenerate first-order method, and can therefore not be used recursively as is.
In what follows, we introduce a mixing parameter. This parameter transforms the nonlinear acceleration mechanism to a nondegenerate first-order method without hurting its worst-case performance. This enables using nonlinear acceleration recursively for generating the whole sequence . This technique is often referred to as online nonlinear acceleration.
The idea underlying the mixing parameter is fairly simple: instead of combining previous iterates, we combine gradient steps as follows:
as provided by Algorithm 4. Furthermore, the use of an appropriate step size can even slightly improve the worst-case convergence speed of Algorithm 3.
Intuitively, this mixing between iterates and gradients emulates a gradient step on the extrapolated point from Algorithm 3, that we call here ,
where the second equality comes from the fact that is a quadratic function, and that .
This mixing parameter requires tuning one hyper-parameter , which can be chosen in various ways. Proposition 3.2.9 shows that the mixing strategy slightly improves the performance of nonlinear acceleration if is set properly.
where is obtained from Algorithm 3 applied to , is the extrapolation with mixing from (3.15), and
Moreover, the factor is guaranteed to be smaller than one if , and takes its minimal value at .
Because is the quadratic function (3.6), the gradient of reads
and the desired result follows from .
As previously underlined, the mixing parameter transforms the nonlinear acceleration method into a nondegenerate first-order method. We can therefore use it recursively. The online variant of the nonlinear acceleration technique, with limited memory, is provided in Algorithm 5, using Algorithm 4 as a subroutine. One should note that when (no memory restriction), the worst-case performance of offline version of nonlinear acceleration with mixing (Algorithm 4) is also valid for its online variant (Algorithm 5). It follows from Proposition 3.2.9 that the worst-case performance of Algorithm 4 and Algorithm 5 is no worse than that of offline version of nonlinear acceleration (Algorithm 3), provided by Corollary 3.2.6.
In the next section, we see that nonlinear acceleration technique might suffer from serious instability issues when applied beyond quadratic minimization. Perhaps luckily, a simple regularization technique allows stabilizing the procedure beyond quadratics.
3 Regularized Nonlinear Acceleration Beyond Quadratics
where is the noise matrix. In this bound, the perturbation impacts the solution proportionally to its norm and to the conditioning of .
Unfortunately, even for small perturbations, the condition number of and the norm of the vector are usually huge. In fact, G has a Krylov matrix structure, which is notoriously poorly conditioned [Tyrt94]. Thereby, even a very small perturbation E might have a significant impact on performance. For illustrating this, let us briefly illustrate the link between G and Krylov matrices: consider using gradient descent with step size on a quadratic function; the iterates follow the rule
Thereby, a matrix G formed by these expressions has the form
which shows that G is in fact a Krylov matrix—by definition, a Krylov matrix associated with a matrix and vector is defined as .
In Figure 3.1, we show the norm of and the condition number of the matrix when it is formed from iterates of gradient descent, accelerated gradient descent (see Section 4), and nonlinear acceleration (in the online setting, see Algorithm 5) for minimizing some randomly generated quadratic function. Figure 3.1(a) shows that even after 3 iterations, the system can already be considered singular (i.e., the condition number exceeds ).
For stabilizing the method, it is common to regularize the linear system. The resulting algorithm is often referred to as regularized nonlinear acceleration (RNA) [scieur2016regularized]. The following section is devoted to some theoretical properties of this method.
Regularized nonlinear acceleration (RNA) consists of using Algorithm 3 with a regularization, thereby rendering the method less sensitive to noise. In short, the base operation underlying RNA is to solve
As in the quadratic case, Algorithm 6 and Algorithm 7 could be used as subroutines in the online nonlinear acceleration method (Algorithm 5), thereby forming the regularized version of the online acceleration algorithm.
3.2 Perturbed Linear Gradients
In this section, we consider the problem of minimizing a twice continuously differentiable convex function , as in (3.1), beyond quadratic problems. For doing that, we introduce perturbed linear gradients. As before, we consider iterates originating from a first-order method satisfying
However, is now no longer the gradient of a quadratic function. Instead, gradients of can be written as a sum of the gradients of a quadratic function with a perturbation term , as follows:
Indeed, it follows from twice continuous differentiability of that
Therefore, can be approximated by the quadratic function (3.18) with . Similarly, its gradient reads
where is the first-order Taylor remainder of the gradient. Thus, minimizing a non-quadratic function is equivalent to minimizing a perturbed quadratic one with a second-order error on its gradient:
where .
3.3 Convergence Bound
Using a perturbation argument, it is possible to derive a convergence guarantee for RNA. We state here a simplified version of [scieur2018online, Theorem 3.2], which describes how regularization balances acceleration and stability in Algorithm 7. We discuss convergence rates in greater detail in what follows.
where is the output of Algorithm 7 applied to with parameters , and is a constant that corresponds to the maximum value on the interval of the regularized Chebyshev polynomial, i.e,
where is the norm of the vector of coefficients of the polynomial .
This theorem states that regularization helps stabilizing the algorithm while slowing down the convergence rate. The regularized Chebyshev polynomial is somehow a mid-point between the classical shifted Chebyshev polynomial (from (2.15)) and the polynomial whose coefficients are defined by (the polynomial that averages the iterates ). By construction, its maximum value is always larger than that of the Chebyshev polynomial, but the norm of its coefficients is smaller. Unfortunately, there is as yet no known explicit expression of the regularized Chebyshev polynomial. To the best of our knowledge, its value can nevertheless be computed numerically [Barr20].
This mid-point between Chebyshev coefficients and the simple averaging of iterates is also natural in the context of noisy iterations. When the noise is negligible, a small regularization parameter combines the iterates using nearly the classical Chebyshev weights. When the noise is more substantial, a larger regularization parameter brings the vector of coefficients closer to the average , thereby improving the “stability term” while rendering the “acceleration” less effective.
3.4 Asymptotic Convergence Rate
We briefly discuss the behavior of RNA when the initial point approaches the solution . In particular, the next proposition shows that if the perturbation magnitude decreases faster than , the parameter can be adjusted to ensure an asymptotic convergence rate comparable to that of the Chebyshev method on quadratic problems (see Section 2).
Informally, the theorem exploits the fact that as approaches , gets closer to its quadratic approximation around . Thereby, an appropriate tuning of RNA allows matching (asymptotically) the convergence rate of nonlinear acceleration on quadratics (see Theorem 3.2.4).
and if we set (proportional to ), where , then it holds that
where is the output of Algorithm 7 applied to the sequence with parameters .
To simplify the notation, set . We start from the result of Theorem 3.3.1 and divide both sides by :
Since and ,
When , we have and
Finally, in (3.20) the regularization parameter . Since the (non-regularized) shifted Chebyshev polynomial is a feasible solution of (3.20), we have the following bounds:
As we have that the upper bound on converges to the maximum value of the regular (shifted) Chebyshev polynomial, thereby reaching the desired claim.
In short, the previous theorem states that the asymptotic convergence rate matches the rate of Chebyshev’s method as soon as is decreasing (condition ), but not too quickly compared to the perturbation magnitude (condition ), which is achievable only when . This condition is met, for instance, when accelerating twice continuously differentiable functions with gradient descent: the error decreases as , see (3.19), and therefore .
4 Extensions
The previous sections presented the nonlinear acceleration mechanism for unconstrained convex quadratic minimization. It also contained an analysis of its regularized version when applied beyond quadratics. In this section, we briefly cover two natural extensions: (i) the application of nonlinear acceleration to iterates that are corrupted by a stochastic noise, and (ii) the application of nonlinear acceleration to constrained/composite convex optimization problems when a projection/proximal operator is used.
to being the sum of a stochastic noise with a Taylor remainder. This is typically the case when applying RNA to stochastic gradient descent (SGD) and related methods. In this case, Theorem 3.3.1 holds in expectation under standard assumptions [Scie17], such as a bounded variance of . However, the asymptotic convergence result from Proposition 3.3.2 may not be achieved. Indeed, in this setting, Proposition 3.3.2 also holds in expectation under the condition
Unfortunately, an asymptotic acceleration is not always possible. For instance, when trying to accelerate the fixed step SGD, we have (i.e., ) and the asymptotic guarantee does not apply. This is probably not a surprise as this SGD does not converge to the optimum, hence there is no apparent reason for any sequence extrapolation technique to work at all. Fortunately, Algorithm 6 does usually work for “variance reduced” first-order methods [Scie17], such as SAG [schmidt2017minimizing], SAGA [defazio2014saga], or SVRG [johnson2013accelerating].
It is common to apply first-order methods to composite convex minimization problems of the form:
where is a smooth strongly convex function (this class of functions is used intensively in Section 4; see Definition 4.1.1) and is a closed, proper, and convex function (i.e., has a closed, non-empty, and convex epigraph) and whose proximal operator is available:
for some step size . Problem (3.21) can then be approached iteratively via the proximal gradient method:
We omit most of the details on proximal algorithms; see Section 4 and Section 5 for more details and references. For instance, when is the indicator function of a non-empty closed convex set , the proximal operator corresponds to an orthogonal projection onto and the proximal gradient method reduces to the projected gradient method.
Unfortunately, a naive use of nonlinear acceleration on the iterates does not immediately work in this context, for several reasons. In particular, it is not possible to ensure that the extrapolated point belongs to (or to the set when is an indicator function for ). Moreover, due to the use of the proximal operator, the iterates do not necessarily satisfy the span assumption (3.4).
Recently, mai2019anderson adapted the Anderson Acceleration method to handle a large class of constrained and non-smooth composite problems. The main idea is as follows: instead of accelerating the sequence generated by the proximal gradient method (3.23), we accelerate an alternate sequence which satisfies
This sequence corresponds to the sequence generated by (3.23) with the ordering of the gradient and proximal steps being swapped.
This trick allows obtaining convergence bounds for nonlinear acceleration in the proximal setup under very few changes in the algorithm. In particular, mai2019anderson show that using Algorithm 8 in the presence of a proximal operator does not change the convergence analysis—using Clarke’s generalized Jacobian [clarke1990optimization], semi-smoothness [mifflin1977semismooth, qi1993nonsmooth] and assuming that the function is twice epi-differentiable and that is twice-differentiable around the solution . We refer the reader to [rockafellar2009variational, Section 13] for a comprehensive treatment of epi-differentiability.
5 Globalization Strategies and Speeding-up Heuristics
As for many standard optimization methods, such as quasi-Newton methods, RNA only has local convergence guarantees beyond quadratics. Therefore, it is common to embed the mechanism with some globalization strategies, a.k.a. safeguards. Those strategies ensure not to deteriorate too much the performance of the initial first-order method in cases where RNA is used beyond its guaranteed range of applications. Those strategies can also be seen as speeding-up heuristics.
It is in general not guaranteed that the extrapolated point is better than any iterate of the sequence produced by the original method. This situation might for example occur when extrapolating with a bad mixing or regularization parameter, or simply when the error terms are too large. One classical way of limiting the impact of such problems is by checking some descent condition. For instance, one might consider “accepting” only if it is better than previous iterates :
Nonlinear acceleration requires the selection of a mixing parameter, which might be difficult to tune in practice. One common trick is to choose it via a line-search strategy. That is, defining:
one can choose by approximately solving .
6 Notes and References
Nonlinear acceleration techniques have been studied extensively during recent decades, and excellent reviews can be found in [smith1987extrapolation, jbilou1991some, brezinski1991extrapolation, jbilou1995analysis, jbilou2000vector, brezinski2001convergence, brezinski2019genesis]. The first usage of an acceleration technique for fixed point iteration can be traced back to [gekeler1972solution, brezinski1971algorithme, brezinski1970application].
There are numerous independent works leading to methods similar to those described here. The most classical, and probably the most similar, is Anderson acceleration [anderson1965iterative], which corresponds exactly to the online mode of nonlinear acceleration (without regularization). Despite it being an old algorithm, there has been a recent uptake of interest in the convergence analysis [walker2011anderson, toth2015convergence] of Anderson acceleration thanks to its good empirical performance, and strong connection with quasi-Newton methods [fang2009two].
Other versions of nonlinear acceleration use different arguments but behave similarly. For instance, minimal polynomial extrapolation (MPE), which uses the properties of the minimal polynomial of a matrix [cabay1976polynomial]; reduced rank extrapolation (RRE); and the Mesina method [mevsina1977convergence, eddy1979extrapolating] are also variants of Anderson acceleration. The properties and equivalences of these approaches whave been studied extensively during the past decades [sidi1988extrapolation, ford1988recursive, sidi1991efficient, jbilou1991some, sidi1998upper, sidi2008vector, sidi2017minimal, sidi2017vector, brezinski2018shanks, brezinski2020shanks]. Unfortunately, these methods do not extend well to nonlinear functions, especially due to conditioning problems [sidi1986convergence, sidi1988convergence, scieur2016regularized]. Recent works have nevertheless proven the convergence of such methods, provided that good conditioning of the linear system [sidi2019convergence] can be ensured.
There are also other classes of nonlinear acceleration algorithms, based on existing algorithms, for accelerating the convergence of scalar sequences [brezinski1975generalisations]. For instance, the topological epsilon vector algorithm (TEA) extends the idea of the scalar -algorithm of [Wynn56] to vectors.
Chapter 4 Nesterov Acceleration
This section presents a systematic interpretation of the acceleration of the gradient method stemming from Nesterov’s original work [Nest83]. The early parts of the section are devoted to the gradient method and the “optimized gradient method,” due to Dror14 and kim2016optimized. The motivations and ideas underlying the latter are intuitive and very similar to those behind the introduction of Chebyshev methods for optimizing quadratic functions (see Section 2). Furthermore, the optimized gradient method has a relatively simple format and proof and can be used as an inspiration for developing numerous variants with wider ranges of applications, including Nesterov’s early accelerated gradient methods [Nest83, Nest13] and the fast iterative shrinkage-thresholding algorithm [Beck09, FISTA]. Although some parts of this section are more technical, we believe all the ideas can be reasonably well understood even when skipping, or skimming through the algebraic proofs. The section and the proofs are organized so that each time an additional ingredient (strong convexity, constraints, etc.) is included, its inclusion only requires a few additional ingredients compared to the previous (simpler) proofs of the base versions of the method.
We start with the theory and interpretation of acceleration in a simple setting: smooth unconstrained convex minimization in a Euclidean space. All subsequent developments follow from the same template, namely a linear combination of regularity inequalities, with additional ingredients being added one by one. The next part is devoted to methods that take advantage of strong convexity by using the same ideas and algorithmic structures. On the way, we provide a few different (equivalent) templates for the algorithms, since in more advanced settings, those templates do not generalize in the same way. We then recap and discuss a few practical extensions for handling constrained problems, nonsmooth regularization terms, unknown problem parameters/line-searches, and non-Euclidean geometries. Finally, we briefly discuss a popular ordinary differential equation (ODE)-based interpretation of Nesterov’s method. Techniques for obtaining the worst-case analyses presented throughout this text are presented in Appendix C, and notebooks for simpler reproduction of the proofs are provided in Section 4.9.
In the first part of this section, we consider smooth unconstrained convex minimization problems. This type of problems is a direct extension of unconstrained convex quadratic minimization problems where the quadratic function has eigenvalues bounded above by some constant. More precisely, we consider the simple unconstrained differentiable convex minimization problem
where is convex with an -Lipschitz gradient (we call such functions convex and -smooth, see Definition 4.1.1 below), and we assume throughout that there exists a minimizer . The goal of the methods presented below is to find a candidate solution satisfying for some . Depending on the target application, other quality measures, such as guarantees on or , might be preferred. We refer to Section 4.9 “Changing the performance measure”, for discussions on this topic.
We start with the analysis of gradient descent and then show that its iteration complexity can be significantly improved using an acceleration technique proposed by Nest83.
After presenting the theory for the smooth convex case we see how it goes in the smooth strongly convex one. This class of problems extends to that of unconstrained convex quadratic minimization problems where the quadratic function has eigenvalues respectively bounded above and below by some constants and .
Furthermore, we denote by the inverse condition number (that is, , with is the usual condition number as used e.g., in Section 2) of functions in the class .
Figure 4.1 provides an illustration of the global quadratic upper approximation (with curvature ) on due to smoothness and of the global quadratic lower approximation (with curvature ) on due to strong convexity.
A number of inequalities can be written to characterize functions in : see, for example, Nest03a. When analyzing methods for minimizing functions in this class, it is crucial to have the right inequalities at our disposal, as worst-case analyses essentially boil down to appropriately combining such inequalities. We provide the most important inequalities along with their interpretations and proofs in Appendix A. In this section, we only use three. First, we use the quadratic upper and lower bounds arising from the definition of smooth strongly convex functions, that is, (4.2) and (4.3). For some analyses however, we need an additional inequality, provided by the following theorem. This inequality is often referred to as an interpolation (or extension) inequality. Its proof is relatively simple: it only consists of requiring all quadratic lower bounds from (4.3) to be below all quadratic upper bounds from (4.2) (details in Appendix A.1). It can be shown that worst-case analyses of all first-order methods for minimizing smooth strongly convex functions can be performed using only this inequality for some specific values of and (details in Appendix C).
As discussed later in Section 4.3.3, this inequality has some flaws. Therefore, we only use (4.2) and (4.3) whenever possible.
Before continuing to the next section, we mention that both smoothness and strong convexity are strong assumptions. More generic assumptions are discussed in Section 6 to obtain improved rates under weaker assumptions.
2 Gradient Method and Potential Functions
In this section, we analyze gradient descent using the concept of potential functions. The resulting proofs are technically simple, although they might not seem to provide any direct intuition about the method at hand. We use the same ideas to analyze a few improvements on gradient descent before providing interpretations underlying this mechanism.
The simplest and probably most natural method for minimizing differentiable functions is gradient descent. It is often attributed to cauchy1847methode and consists of iterating
where is some step size. There are many different techniques for picking , the simplest of which is to set , assuming is known—otherwise, line-search techniques are typically used; see Section 4.7. Our present objective is to bound the number of iterations required by gradient descent to obtain an approximate minimizer of that satisfies .
2.2 A Simple Proof Mechanism: Potential Functions
Potential (or Lyapunov/energy) functions are classical tools for proving convergence rates in the first-order literature, and a nice recent review of this topic is given by bansal2019potential. For gradient descent, the idea consists in recursively using a simple inequality (proof below),
as a potential and use as the building block for the worst-case analysis. Once such a potential inequality is established, a worst-case guarantee can easily be deduced through a recursive argument, yielding
and hence, . We also conclude that the worst-case accuracy of gradient descent is or equivalently, that its iteration complexity is . Therefore, the main inequality to be proved for this worst-case analysis to work is the potential inequality . In other words, the analysis of iterations of gradient descent is reduced to the analysis of a single iteration, using an appropriate potential. This kind of approach was already used for example by Nest83, and many different variants of the potential function can be used to prove convergence of gradient descent and related methods in similar ways.
with and .
The proof consists of performing a weighted sum of the following inequalities:
convexity of between and , with weight :
smoothness of between and with weight :
The last inequality is often referred to as the descent lemma since substituting allows to obtain .
The weighted sum forms a valid inequality:
Using , this inequality can be rewritten (by completing the squares or simply extending both expressions and verifying that they match on a term-by-term basis) as follows:
which can be reorganized and simplified to
where the last inequality follows from picking and neglecting the last residual term (which is nonpositive) on the right-hand side.
A convergence rate for gradient descent can be obtained directly as a consequence of Theorem 4.2.1, following the reasoning of (4.5), and the worst-case guarantee corresponds to . We detail this in the next corollary.
Following the reasoning of (4.5), we recursively use Theorem 4.2.1, starting with . That is, we define
and recursively use the inequality from Theorem 4.2.1, with and ; hence, . We thus obtain
2.3 How Conservative is this Worst-case Guarantee?
Before moving to other methods, we show that the worst-case rate of gradient descent is attained on very simple problems, motivating the search for alternate methods with better guarantees. This rate is observed on, e.g., all functions that are nearly linear over large regions. One such common function is the Huber loss (with , arbitrarily):
with and to ensure its continuity and differentiability. On this function, as long as the iterates of gradient descent satisfy , they behave as if the function were linear, and the gradient is constant. It is therefore relatively easy to explicitly compute all iterates. In particular, by picking , we get and reach the worst-case bound; see Dror14. Therefore, it appears that the worst-case bound from Corollary 4.2.3 for gradient descent can only be improved in terms of the constants, but the rate itself is the best possible one for this simple method; see, for example, [Dror14, drori2014contributions] for the corresponding tight expressions.
In the next section, we show that similar reasoning based on potential functions produces methods with improved worst-case convergence rate , compared to the of vanilla gradient descent.
3 Optimized Gradient Method
Given that the complexity bound for gradient descent cannot be improved, it is reasonable to look for alternate, hopefully better, methods. In this section, we show that accelerated methods can be designed by optimizing their worst-case performance. To do so, we start with a reasonably broad family of candidate first-order methods described by
Of course, methods in this form are impractical since they require keeping track of all previous gradients. Neglecting this potential problem for now, one possibility for choosing the step size is to solve a minimax problem:
In other words, we are looking for the best possible worst-case ratio among methods of the form (4.6). Of course, different target notions of accuracy could be considered instead of , but we proceed with this notion for now.
It turns out that (4.7) has a clean solution, obtained by kim2016optimized, based on clever reformulations and relaxations of (4.7) developed by Dror14 (some details are provided in Section 4.9). Furthermore, this method has “factorized” forms that do not require keeping track of previous gradients. The optimized gradient method (OGM) is parameterized by a sequence that is constructed recursively starting from (or equivalently ), using
We also mention that optimized gradient methods can be stated in various equivalent formats, we provide two variants in Algorithm 9 and Algorithm 10 (a rigorous equivalence statement is provided in Appendix B.1.1). While the shape of Algorithm 10 is more common in accelerated methods, the equivalent formulation provided in Algorithm 9 allows for slightly more direct proofs.
Direct approaches to (4.7) are rather technical—see details in [Dror14, kim2016optimized]. However, showing that the OGM is indeed optimal on the class of smooth convex functions can be accomplished indirectly by providing an upper bound on its worst-case complexity guarantees and by showing that no first-order method can have a better worst-case guarantee on this class of problems. We detail a fully explicit worst-case guarantee for OGM in the next section. It consists in showing that
is a potential function for the optimized gradient method when (Theorem 4.3.1, below). For , we need a minor adjustment (Lemma 4.3.3, below) to obtain a bound on and not in terms of , which appears in the potential.
As in the case of gradient descent, the proof relies on potential functions. Following the recursive argument from (4.5), the convergence guarantee is driven by the convergence speed of towards . We note that when ,
and therefore, . We also directly obtain
and hence, . Before providing the proof, we mention that it heavily relies on inequality (4.4) with . This inequality is key for formulating (4.7) in a tractable way.
The main point now is to prove that (4.9) is indeed a potential for the optimized gradient method. We emphasize again that our main motivation for proving this is to show that the OGM provides a good template algorithm for acceleration (i.e., a method involving two or three sequences) and that the corresponding potential functions can also be used as a template for the analysis of more advanced methods.
Note that the potential structure does not seem immediately intuitive: it was actually found using computer-assisted proof design techniques; see Section 4.9 “On obtaining the proofs in this section” and Appendix C for further references. In particular, the following theorem can be found in taylor19bach.
when and are obtained from Algorithm 9.
Recall that the algorithm can be written as
The proof consists of performing a weighted sum of the following inequalities.
Smoothness and convexity of between and with weight :
Smoothness and convexity of between and with weight :
Since the weights are nonnegative, the weighted sum produces a valid inequality:
which (either by completing the squares or simply by extending both expressions and verifying that they match on a term-by-term basis) can be reformulated as
The desired conclusion follows from picking satisfying
and hence the choice (4.8), thus reaching
A final technical fix is required now. To show that the optimized gradient method is an optimal solution to (4.7), we need an upper bound on the function values, rather than on the function values minus a squared gradient norm. This discrepancy is handled by the following technical lemma.
where is obtained from Algorithm 9.
The proof consists of performing a weighted sum of the following inequalities.
Smoothness and convexity of between and with weight :
Smoothness and convexity of between and with weight :
Since the weights are nonnegative, the weighted sum produces a valid inequality:
The conclusion follows from choosing such that
By combining Theorem 4.3.1 and the technical Lemma 4.3.3, we get the final worst-case performance bound of the OGM on function values, detailed in the corollary below.
using Theorem 4.3.1 and technical Lemma 4.3.3. We obtain the last bound by using ; see (4.11).
In the following section, we mostly use potential functions, relying directly on the function value instead of for practical reasons discussed below. Note that using the descent lemma (i.e., the inequality ) directly on the potential function allows us to obtain a bound on for the OGM. This result can be found in [kim2017convergence, Theorem 3.1] without the “potential function” mechanism.
3.2 Optimality of Optimized Gradient Methods
A nice, commonly used guide for designing optimal methods consists of constructing problems that are difficult for all methods within a certain class. This strategy results in lower complexity bounds, and it is often deployed via the concept of minimax risk (of a class of problems and a class of methods)—see, e.g., guzman2015lower—which corresponds to the worst-case performance of the best method within the prescribed class. In this section, we briefly discuss such results in the context of smooth convex minimization, on the particular class of black-box first-order methods. The term black-box is used to emphasize that the method has no prior knowledge of (beyond the class of functions to which belongs, so methods are allowed to use ) and that it can only obtain information about by a evaluating its gradient/function value through an oracle.
Of particular interest to us, drori2017exact established that the worst-case performance achieved by the optimized gradient method (see Corollary 4.3.5) on the class of smooth convex functions cannot in general be improved by any black-box first-order method.
In the previous sections, we showed that . It is also relatively easy to establish that
thereby obtaining (because ) as well as
We conclude (through Theorem 4.3.7) that the lower bound has the form
While Drori’s approach to obtaining this lower bound is rather technical (a slightly simplified and weaker version of this result can be found in [drori2021exact, Corollary 5]), there are simpler approaches that allow us to show that the rate (that is, neglecting the tight constants) cannot in general be beaten in black-box smooth convex minimization. For one such example, we refer to [Nest03a, Theorem 2.1.6]. In a closely related line of work, [nemirovsky1991optimality] established similar exact bounds in the context of solving linear systems of equations and for minimizing convex quadratic functions (see also Section 2.3.4). For convex quadratic problems whose Hessian has bounded eigenvalues between and , these lower bounds are attained by the Chebyshev (see Section 2) and by conjugate gradient methods [nemirovsky1991optimality, nemirovsky1992information].
Perhaps surprisingly, the conjugate gradient method also achieves the lower complexity bound of smooth convex minimization provided by Theorem 4.3.7. Furthermore, the proof follows essentially the same structure as that for the OGM. In particular, it relies on the same potential function (see Appendix B.2).
3.3 Optimized Gradient Method: Summary
Before going further, we quickly summarize what we have learned from the optimized gradient method. First of all, the optimized gradient method can be seen as a counterpart of the Chebyshev method for minimizing quadratics, applied to smooth convex minimization. It is an optimal method in the sense that it has the smallest possible worst-case ratio over the class among all black-box first-order methods, given a fixed computational budget of gradient evaluations. Furthermore, although this method has a few drawbacks (we mention a few below), it can be seen as a template for designing other accelerated methods using the same algorithmic and proof structures. We extensively use variants of this template below. In other words, most variants of accelerated gradient methods rely on the same two (or three) sequence structures, and on similar potential functions. Such variants usually rely on slight variations in the choice of the parameters used throughout the iterative process, typically involving less aggressive step size strategies (i.e., smaller values for in (4.6)).
Second, the OGM is not a very practical method as such: it is fined-tuned for unconstrained smooth convex minimization and does not readily extend to other situations, such as situations involving constraints, for which (4.4) does not hold in general; see the discussions in [drori2018properties] and Remark A.1.6.
On the other hand, we see in what follows that it is relatively easy to design other methods that follow the same template and achieve the same rate, while resolving the issues of the OGM listed above. Such methods use slightly less aggressive step size strategies, at the cost of being slightly suboptimal for (4.7), i.e., they have slightly worse worst-case guarantees. In this vein, we start by discussing the original accelerated gradient method, proposed by Nest83.
4 Nesterov’s Acceleration
Motivated by the format of the optimized gradient method, we detail a potential-based proof for Nesterov’s method. We then quickly review the concept of estimate sequences and show that they provide an interpretation of potential functions as increasingly good models of the function to be minimized. Finally, we extend these results to strongly convex minimization.
In this section, we follow the algorithmic template provided by the optimized gradient method. In this spirit, we start by discussing the first accelerated method in its simplest form (Algorithm 11) as well as its potential function, originally proposed by Nest83, but the presentation here is different.
Our goal is to derive the simplest algebraic proof for this scheme. We follow the algorithmic template of the optimized gradient method (which is further motivated in Section 4.6.1). Once a potential is chosen, the proofs are quite straightforward as simple combinations of inequalities and basic algebra. Our choice of potential function is not immediately obvious but allows for simple extensions afterwards. Other choices are possible, for example, incorporating as (in the OGM) or additional terms such as . We pick a potential function similar to that used for gradient descent and that of the optimized gradient method, which is written
where one iteration of the algorithm has the following form, reminiscent of the OGM:
Our goal is to select algorithmic parameters so as to greedily make as large as possible as a function of since the convergence rate of the method is controlled by the inverse of the growth rate of , i.e., .
In practice, we can pick by choosing , , and (see Algorithm 11), and the proof is then quite compact.
Before continuing to the proof of the potential inequality, we show that . Indeed, we have,
where the last inequality follows from a recursive application of the previous one, along with .
with .
The proof consists of a weighted sum of the following inequalities.
Convexity of between and with weight :
Convexity of between and with weight :
Smoothness of between and (a.k.a., descent lemma) with weight :
We therefore arrive at the following valid inequality
For the sake of simplicity, we do not substitute by its expression until the last stage of the reformulation. Substituting , , and by their expressions in (4.13) along with , , and , basic algebra shows that the previous inequality can be reorganized as
The claim follows from selecting such that , thereby reaching
The final worst-case guarantee is obtained by using the same chaining argument as in (4.5), combined with an upper bound on .
Following the argument of (4.5), we recursively use Theorem 4.4.1 with :
where we used from (4.14) to reach the last inequality.
Before moving on, we emphasize that the rate of matches that of lower bounds (see, e.g., Theorem 4.3.7) up to absolute constants.
Finally, note that Nesterov’s method is often written in a slightly different format, similar to that of Algorithm 10. The alternate formulation omits the third sequence and is provided in Algorithm 12. It is preferred in many references on the topic due to its simplicity. A third equivalent variant is provided in Algorithm 13; this variant turns out to be useful when generalizing the method beyond Euclidean spaces. The equivalence statements between Algorithm 11, Algorithm 12, and Algorithm 13 are relatively simple and are provided in Appendix B.1.2. Many references tend to favor one of these formulations, and we want to point out that they are equivalent in the base problem setup of unconstrained smooth convex minimization. Although the expression of the different formats in terms of the same external sequence does not always correspond to their simplest forms (i.e., alternate parameterizations might be simpler, particularly in the strongly convex case which follows), we proceed with this sequence to avoid introducing too many variations on the same theme.
4.2 Estimate Sequence Interpretation
We now relate the potential function approach to estimate sequences. That is, we relate acceleration to first-order methods maintaining a model of the function throughout the iterative procedure. This approach was originally developed in [Nest03a, Section 2.2], and it has since been used in numerous works to obtain accelerated first-order methods in various settings (see discussions in Section 4.9). We present a slightly modified version, related to those of [baes2009estimate, wilson2016lyapunov], which simplifies our comparisons with the previous material.
(ii) as . If in addition, an estimate sequence satisfies (iii) for all , there exists some such that , then we can guarantee that .
To develop such models and the corresponding methods, three sequences of points are commonly used: (a) minimizers of our models that correspond to iterates of the corresponding method; (b) a sequence of points, whose first-order information is used to update the model of the function; and (c) the iterates , corresponding to the best possible that we can form. (The iteratives often do not correspond to the minimum of the model, , which is not necessarily an upper bound on the function.)
Regarding (iii), this condition ensures that the models remain upper bounds on the optimal value . That is, it ensures that (since ) and hence that . From previous bullet point, this ensures that the modeling error of goes to asymptotically as increases. More formally, conditions (ii) and (iii) allow us to construct proofs similar to potential functions and to obtain convergence rates. That is, under (iii), we get that
and that therefore . The convergence rate is thereby dictated by the rate of , which goes to by (ii).
Now, the game consists of picking appropriate sequences that correspond to simple algorithms. We thus translate our potential function results in terms of estimate sequences.
One can observe that potential functions and estimate sequences are closely related. First, in both cases, the convergence speed is dictated by that of a scalar sequence . In fact, there is one subtle but important difference between the two approaches: whereas should be an increasingly good approximation of for all in the context of estimate sequences, potential functions require a model to be an increasingly good approximation of only , which is less restrictive. Hence, estimate sequences are more general but may not effectively handle situations in which the analysis actually requires having a weaker model that holds only on , and not of , for all . We make this discussion more concrete via three examples, namely gradient descent, Nesterov’s method, and the optimized gradient method.
Gradient descent: the potential inequality from Theorem 4.2.1 actually holds for all , and not only , as the proof does not exploit the optimality of . That is, it is proved that:
and (with ) is an estimate sequence for gradient descent.
and (with ) is an estimate sequence for Nesterov’s method.
Optimized gradient method: the potential inequality from Theorem 4.3.1 exploits the fact that is an optimal point. Indeed, the proof relies on
which is an instance of Equation (4.4) exploiting . This does not mean that there is no estimate sequence-type model of the function as the algorithm proceeds, but the potential does not directly correspond to one. Alternatively, one can interpret
as an increasingly good model of (i.e., it is an increasingly good approximation of for all such that ).
A similar conclusion holds for the conjugate gradient method (CG), from Appendix B.2. We are not aware of any estimate sequence that can be used to prove that CG reaches the lower bound from Theorem 4.3.7.
These discussions can be extended to the strongly convex setting, which we now address.
5 Acceleration under Strong Convexity
As in the smooth convex case, the smooth strongly convex case can be studied through potential functions. There are many ways to prove convergence rates for this setting, but we only consider one that allows us to recover the case as its limit such that the results are well-defined even in degenerate cases. The next proof is essentially the same as that for the smooth convex case in Theorem 4.2.1, and the same inequalities are used, with strong convexity instead of convexity. The potential is only slightly modified, thereby allowing to have a geometric growth rate:
For notational convenience, we use to denote the inverse condition ratio. This quantity plays a key role in the geometric convergence of first-order methods in the presence of strong convexity.
with , , and .
The proof consists of performing a weighted sum of the following inequalities.
Strong convexity of between and , with weight :
Smoothness of between and with weight
This weighted sum yields a valid inequality:
Using , this inequality can be rewritten exactly as
The desired inequality follows from and the sign of , making one of the last two terms nonpositive and the other equal to zero, thus reaching
From this theorem, we observe that adding strong convexity to the problem allows to follow a geometric rate given by (where we again denote by the inverse condition number). The corresponding iteration complexity of gradient descent to find an approximate solution for smooth strongly convex minimization is therefore . This rate is essentially tight, as can be verified on quadratic functions (see, e.g., Section 2), and it follows from the following corollary whose result can be translated to iteration complexity using the same arguments as in Corollary 2.3.3.
with the inverse condition number .
Following the reasoning of (4.5), we recursively use Theorem 4.2.1 starting with ; that is,
and we notice that the recurrence equation has the solution . The final bound is obtained by using again.
Note that as , the result of Corollary 4.5.3 tends to that of Corollary 4.2.3.
As in the smooth convex case, one can derive lower complexity bounds for smooth strongly convex optimization. Using the lower bounds from smooth strongly convex quadratic minimization (for which Chebyshev’s methods have optimal iteration complexity), one can conclude that no black-box first-order method can behave better than with (see Section 2). In other words, lower complexity bounds from the quadratic optimization setting have the form . We refer the reader to Nest03a, nemirovsky1992information for more details.
For smooth strongly convex problems beyond quadratics, this lower bound can be improved to as provided in [drori2021exact, Corollary 4]. In this context, we see that Nesterov’s acceleration satisfies
That is, it has an iteration complexity (using similar simplifications as those of Corollary 2.3.3), reaching the lower complexity bound up to a constant factor. As for the optimized gradient method provided in Section 4.3, an optimal method for the smooth strongly convex case is detailed in Section 4.6.1, and it can be shown to match exactly the corresponding worst-case lower complexity bound.
5.2 Acceleration for Smooth Strongly Convex Objectives
To adapt our proofs of convergence of accelerated methods to the strongly convex case, we need to make a small adjustment to the shape of the previous accelerated method
As discussed below, there is an optimized gradient method for smooth strongly convex minimization, similar to OGM for the smooth convex setting (see Section 4.3), with this structure (details in Section 4.6.1). Following this scheme, Nesterov’s method for strongly convex problems is presented in Algorithm 14. As in the smooth convex case, we detail several of its convenient reformulations in Algorithm 28 and Algorithm 29. The corresponding equivalences are established in Appendix B.1.3.
Regarding the potential, we make the same adjustment as for gradient descent, arriving to the following theorem.
with and .
The proof consists of a weighted sum of the following inequalities.
Strong convexity between and with weight :
Convexity between and with weight :
Smoothness between and (descent lemma) with weight
We therefore arrive at the following valid inequality:
For the sake of simplicity, we do not substitute by its expression until the last stage of the reformulation. After substituting , by their expressions in (4.17) along with , , , and , basic algebra shows that the previous inequality can be reorganized as
The desired statement follows from selecting such that
The final worst-case guarantee is obtained by using the same reasoning as before, together with a simple bound on :
which means when , or alternatively that is the iteration complexity of obtaining an approximate solution (using similar simplifications as those of Corollary 2.3.3). The following corollary summarizes our result for Nesterov’s method.
Following the argument of (4.5), we recursively use Theorem 4.5.6 with , together with the bounds on for the smooth convex case (4.14) and for the smooth strongly convex one (4.18). (Note that is an increasing function of , and hence the bound for the smooth case remains valid in the smooth strongly convex one.) We have , thus reaching .
Before moving to the next section, we mention that another direct consequence of the potential inequality above (Theorem 4.5.6) is that may also serve as an approximate solution to when . Indeed, by using the inequality
and hence that . Therefore it also follows that
In addition, since is a convex combination of and , the same conclusion holds for and . Similar observations also apply to other variants of accelerated methods when .
5.3 A Simplified Stationary Method with Constant Momentum
Important simplifications are often made to the Nesterov’s method in the strongly convex case where . Several approaches produce the same method, known as the “constant momentum” version of Nesterov’s accelerated gradient. We derive this version by observing that the asymptotic (or stationary) behavior of Algorithm 14 can be characterized explicitly. In particular, when , it is clear that as well. We can thus take the limits of all parameters as , to obtain a corresponding “limit/stationary method.” This is similar in spirit to the result showing that Polyak’s heavy-ball method is the asymptotic version of Chebyshev’s method, discussed in Section 2.3.3. First, the convergence rate is obtained as
By taking the limits of all the algorithmic parameters, that is,
we obtain Algorithm 15 and its equivalent, probably most well-known, second form, provided as Algorithm 16.
From a worst-case analysis perspective, these simplifications correspond to using a Lyapunov function obtained by dividing the potential function of Theorem 4.5.6 by and then taking the limit of the inequality:
Let and . The proof is essentially the same as that of as Theorem 4.5.6. That is, the weights used in this proof are those used in Theorem 4.5.6 divided by , leading to a slight variation in the reformulation of the weighted sum, and the following valid inequality:
we arrive at the following valid inequality:
We reach the desired statement from the last term being nonpositive:
The desired result directly follows from Theorem 4.5.11 with
, , and .
In view of Section 4.4.2, one can also find estimate sequence interpretations of Algorithms 14 and 15 from their respective potential functions.
A few works on accelerated methods focus on understanding this particular instance of Nesterov’s method. Our analysis here is largely inspired by that of Nest03a, but such potentials can be obtained in different ways, see, for example [wilson2016lyapunov, shi2018understanding, bansal2019potential].
6 Recent Variants of Accelerated Methods
In this section, we first push the reasoning in terms of potential functions to its limit. We present the information-theoretic exact method [drori2021optimal], which generalizes the optimized gradient descent in the strongly convex case. Similar to Nesterov’s method with constant momentum, the information-theoretic exact method has a limit case that is known as the triple momentum method [van2017fastest]. We then discuss a more geometric variant, known as geometric descent [bubeck2015geometric] or quadratic averaging [drusvyatskiy2018optimal].
It turns out that there also exist optimal gradient methods for smooth strongly convex minimization that are similar to the optimized gradient method for smooth convex minimization. Such methods can be obtained by solving a minimax problem similar to (4.7) with different objectives.
The following scheme is optimal for the criterion , reaching the exact worst-case lower complexity bound for this criterion, as discussed below. In addition, this method reduces to the OGM (see Section 4.3) when by using the correspondence (for ). Therefore, this method is doubly optimal, i.e., optimal according to two criteria, in the sense that it also achieves the lower complexity bound for when , using the last iteration adjustment from Lemma 4.3.3.
The following analysis is reminiscent of Nesterov’s method in Algorithm 14 but also of the optimized gradient method and its proof (see Theorem 4.3.1). That is, the known potential function for the information-theoretic exact method (ITEM) relies on inequality (4.4), not only for its proof but also simply to simply show that it is nonnegative, which follows from instantiating (4.4) at . The following analyses can be found almost verbatim in [drori2021optimal]. The main proof of this section is particularly algebraic, but it can be reasonably skipped as it follows from similar ideas found in previous developments.
and .
We first perform a weighted sum of two inequalities from Theorem 4.4.
Smoothness and strong convexity between and with weight :
Smoothness and strong convexity of between and with weight :
By summing up and reorganizing these two inequalities (without substituting by its expression, for simplicity), we arrive at the following valid inequality:
By substituting the expressions of and with
(noting that this substitution is valid even for since in that case and hence, and ), the previous inequality can be reformulated exactly as
with the three parameters (which are well-defined given that and )
To obtain the desired inequality, we select such that and , thereby demonstrating the claim and the choice of .
The final bound for this method is obtained after the usual growth analysis of the sequence , as follows. When , we have
reaching and hence and . When , we can use an alternate bound:
therefore achieving similar bounds as before. In this case, we only emphasize the convergence result for since it corresponds to the lower complexity bound for smooth strongly convex minimization (provided below).
From (4.4), we have that . It remains to use the bounds on . That is, by using , we have which concludes the proof.
Before concluding, we mention that the algorithm is non-improvable when minimizing large-scale smooth strongly convex functions in the following sense.
Just as for the optimized gradient method from Section 4.3, the ITEM might serve as a template for the design of other accelerated schemes. However, it has the same caveats as the optimized gradient method, which are also similar to those of the triple momentum method, presented in the next section. As emphasized in Section 4.3.3, it is unclear how to generalize the ITEM to broader classes of problems, e.g., problems involving constraints.
6.2 The Triple Momentum Method
The triple momentum method (TMM) is due to van2017fastest and is reminiscent of Nesterov’s method with constant momentum, provided as Algorithm 15. It corresponds to the asymptotic behavior of the information-theoretic exact method, just as Nesterov’s accelerated method with constant momentum is the limit case of Nesterov’s method (see Section 4.5.3) and as Polyak’s heavy-ball is the limit case of Chebyshev’s method (see Section 2.3.3). Indeed, considering Algorithm 17, one can explicitly compute
As for the information-theoretic exact method, the known potential function for the triple momentum method relies on inequality (4.4), not only for its proof but to show that it is nonnegative, which follows from instantiating (4.4) at .
For simplicity, we consider Algorithm 18 in the following form, parameterized by
We combine the following two inequalities.
Smoothness and strong convexity between and with weight :
Smoothness and strong convexity between and with weight :
After some algebra, the weighted sum can be reformulated exactly as follows (it is simpler not to use the expression of to verify this):
Using the expression , the last two terms cancel, and we arrive at the desired result:
The triple momentum method was proposed in [van2017fastest], heavily relying on the control-theoretic framework developed by [lessard2016analysis] (which is discussed in Appendix C). It was further studied in cyrus2018robust from a robust control perspective and by zhou2020boosting as an accelerated method for a different objective. The triple momentum method can also be obtained as a time-independent optimized gradient method [lessard2020direct]. Of course, all of the drawbacks of the OGM and ITEM also apply to the triple momentum method, so the same questions related to generalizations of this scheme remain open. Furthermore, this method is defined only for , like Nesterov’s method with constant momentum.
6.3 Quadratic Averaging and Geometric Descent
Accelerated methods tailored for the strongly convex setting, such as Algorithms 15 and 18, make use of two kinds of step sizes to update the different sequences. First, they perform small gradient steps with the step size . Such steps correspond to minimizing quadratic upper bounds (4.2). Second, they use so-called large steps , which correspond to minimizing quadratic lower bounds (4.3). This algorithmic structure is provided with an interpretation which was further exploited by geometric descent [bubeck2015geometric] and quadratic averaging [drusvyatskiy2018optimal]. These two methods produce the same sequences of iterates (see [drusvyatskiy2018optimal, Theorem 4.5]), and we therefore take the stand of presenting them through the quadratic averaging viewpoint, which relates more directly to previous sections.
drusvyatskiy2018optimal propose a method based on quadratic averaging. It is similar in shape to Algorithm 15 except that the last sequence is explicitly computed as the minimum of a quadratic lower bound on the function. (The coefficients arising in the computation of are dynamically selected to maximize this lower bound). To construct the new lower bound at iteration , the algorithm combines the lower bound constructed at iteration , whose minimum is achieved at , with a new lower bound constructed using the strong convexity assumption along with the first-order information of the current iterate (more precisely this second lower bound on is ), whose minimum is . Because of the specific shape of these two lower bounds, their convex combinations has a minimum that is the convex combination of their respective minima, with the same weights, thereby motivating the update rule , with dynamically chosen (to maximize the minimum value of the new under-approximation).
Alternatively, the sequence can be interpreted in terms of a localization method for tracking , using intersections of balls. In this case, the sequence corresponds to the centers of the balls containing . This alternate viewpoint is referred to as geometric descent [bubeck2015geometric], and the are chosen to minimize the radius of the ball, centered at while ensuring that the new ball contains .
Geometric descent is detailed in [bubeck2015geometric] and [bubeck2015convex, Section 3.6.3]. It has been extended to handle constraints [chen2017geometric] and has been studied using the same Lyapunov function as that used in Theorem 4.5.11 [karimi2017single].
7 Practical Extensions
The goal of this section is to detail a few of the many extensions of Nesterov’s accelerated methods. We see below that additional elements can be incorporated into the accelerated methods while maintaining the same proof structures. That is, we perform weighted sums involving the same inequalities that we used for the smooth (possibly strongly) convex functions and only introduce a few additional inequalities to account for the new elements.
We also seek to provide intuition, along with bibliographical pointers for going further. The following scenarios are particularly important in practice.
In the presence of constraints or nonsmooth functions, a common approach is to resort to (proximal) splitting techniques. This idea is not recent; see, e.g., [douglas1956numerical, glowinski1975approximation, lions1979]. However, it remains highly relevant in signal processing, computer vision, and statistical learning [peyre2011numerical, parikh2014proximal, chambolle2016introduction, fessler2020optimization].
Problem constants, such as smoothness and strong convexity parameters, are generally unknown. Furthermore, their local values tend to be much more favorable than their, typically conservative, global values. In general, smoothness constants are estimated on the fly using backtracking line-search strategies; see, e.g. [goldstein1962cauchy, armijo1966minimization, Nest83]. Strong convexity constants, or the more general Hölderian error bounds (see Section 6), on the other hand, are more difficult to estimate, and restart schemes are often used to adapt to these additional regularity properties; see, e.g. [Nest13, Beck12, ODon15, roulet2017sharpness]. Such schemes are the workhorse of Section 6.
Although we only briefly mention this topic, accounting for the geometry of the problem at hand is generally key to obtaining good empirical performance. In particular, optimization problems can often be formulated more naturally in a non-Euclidean space, with non-Euclidean norms producing better implicit models for the function. A popular method in this setting is commonly known as mirror descent [Nemi83]—see also [Bentc01, juditsky2011first]—which we do not to detail at length here. Good surveys are provided by beck2003mirror, bubeck2015convex. However, we do describe an accelerated method in this setting in Section 4.7.4.
Gradient descent guarantees the iterates to be monotonically good approximations of an optimal solution (i.e., for all ). This desirable property is generally not true for accelerated methods. Although the worst-case guarantees on are indeed monotonically decreasing functions of the iteration counter (such methods are sometimes referred to as quasi-monotone methods [nesterov2015quasi]), accelerated methods are in general not descent schemes. Monotonicity is a desirable feature for improving numerical stability of algorithms, and we show in Section 4.7.3 that simple modifications allows enforcing monotonicity of accelerated methods at low technical and computational cost. Albeit with a different presentation, such developments can be found in, e.g., [tseng2008accelerated, beck2009fastmonotone]. The technique is particularly simple to incorporate within the potential function-based analyses of this section.
7.1 Handling Nonsmooth Terms/Constraints
In this section, we consider the problem of minimizing a sum of two convex functions:
can be evaluated efficiently. (Section 5 deals with some cases where this operator is approximated; see also the discussions in Section 4.9.) The proximal operator can be seen as an implicit (sub)gradient step on , as dictated by the optimality conditions of the proximal operation
In particular, when is the indicator function of a closed convex set , the proximal operation corresponds to the orthogonal projection onto . There are a few commonly used functions for which the proximal operation has an analytical solution such as ; see, for instance, the list provided by [chierchia2020proximity]. In the proofs below, we incorporate using inequalities that characterize convexity, that is,
where is some subgradient of at . The proximal step (sometimes referred to as backward, or implicit, step) is a base algorithmic tool in the first-order optimization toolbox.
In this setting, classical methods for solving (4.19) involve a forward-backward splitting strategy (in other words, forward steps (a.k.a. gradient steps) on and backward steps (a.k.a. proximal steps) on ), introduced by passty1979ergodic. This topic is addressed in many references, and we refer to [parikh2014proximal, ryu2016primer] and the references therein for further details. In the context of accelerated methods, forward-backward splitting was introduced by Nesterov (Nest03a, Nest13) through the concept of gradient mapping; see also tseng2008accelerated, Beck09. Problem (4.19) is also sometimes referred to as the composite convex optimization setting [Nest13]. Depending on the assumptions made on and , there are alternate ways of solving this problem—for example, when the proximal operator is available for both, one can use the Douglas-Rachford splitting [douglas1956numerical, lions1979]. However, this is beyond the scope of this section and we refer to [ryu2016primer, condat2019proximal] and the references therein for further discussions on this topic.
7.2 Adaptation to Unknown Regularity Parameters
In previous sections, we assumed to be -smooth and possibly -strongly convex. Moreover, in the previous algorithms, we explicitly used the values of both and to design the methods. However, this is not a desirable feature. First, it means that we need to be able to estimate valid values for and . Second, it means that the methods are not adaptive to potentially better (local) parameter values. That is, we do not benefit from the problems being simpler than specified, i.e., where the smallest valid is much smaller than our estimate and/or the largest valid is much larger than our estimation. Furthermore, we want to benefit from the typically better local properties of the function at hand, along the path taken by the method, rather than relying on the global properties. The difference between local and global regularity properties is often significant, and adaptive methods often converge much faster in practice.
We discuss below how adaptation is implemented for the smoothness constant, using line-search techniques. However, it remains an open question whether strong convexity parameters can be efficiently estimated while maintaining reasonable worst-case guarantees and without resorting to restart schemes (i.e., outer iterations) (see Section 6).
To handle unknown parameters, the key is to examine the inequalities used in the proofs of the desired method. It turns out that smoothness is usually only used in inequalities between pairs of iterates, which means that these inequalities can be tested at runtime, at each iteration. Therefore, for our guarantees to hold, we do not need the function to be -smooth everywhere, but rather we only need a given inequality to hold for the value of that we are using (where the smoothness of the function ensures that such an exists). Conversely, strong convexity is typically only used in inequalities involving the optimal point (see, for example, the proof of Theorem 4.5.6), which we do not know a priori. As a result, these inequalities cannot be tested as the algorithm proceeds, which complicates the estimation of strong convexity while running the algorithm. Adaptation to strong convexity is therefore typically accomplished via the use of restarts.
These approaches are common, and are not new [goldstein1962cauchy, armijo1966minimization]; they were already used by Nest83. They were later adapted to the forward-backward setting in Nest13, Beck09 and have been further exploited to improve performance in various settings; see, e.g., [scheinberg2014fast]. The topic is further discussed in the next section as well as in the notes and references provided in Section 4.9.
As discussed above, the smoothness constant is used very sparsely in the proofs of both the gradient descent (Theorem 4.2.1 and Theorem 4.5.1) and the accelerated variants (Theorem 4.4.1, Theorem 4.5.6, and Theorem 4.5.11). Essentially, it is only used in three places: (i) to compute (only when ); (ii) to compute ; and (iii) in the inequality
(Recall that this is known as the descent lemma since by substituting the gradient step it can be written as .) Other than , (4.21) only contains information that we observe. Hence, we can simply check whether this inequality holds for a given estimate of . When it does not hold, we simply increase the current approximation of and then with this new estimate, recompute (i) (necessary only if ) and the corresponding and (ii) , using the new step size. We then check again whether (4.21) is satisfied. If (4.21) is satisfied, then we can proceed (because the potential inequality of the desired method is then verified—see, e.g., Theorem 4.2.1 or Theorem 4.5.1 for gradient descent, or Theorem 4.4.1, Theorem 4.5.6, or Theorem 4.5.11 for Nesterov’s methods), and otherwise we continue increasing our approximation of until the descent condition (4.21) is satisfied. Finally, to guarantee that we only perform a finite number of “wasted” gradient steps to estimate , we need an appropriate rule for how to increase our approximation. It is common to simply multiply the current approximation by some constant , thereby guaranteeing that at most gradient steps, where is the true smoothness constant and is our starting estimate, are wasted in the process. As we see below, both backtracking and nonsmooth terms require proofs very similar to those presented above, and potential-based analyses are suitable.
We present two extensions of Nesterov’s first method that can handle nonsmooth terms, and that have a backtracking procedure on the smoothness parameter. The first, the fast iterative shrinkage-thresholding algorithm (FISTA), is particularly popular, while the second resolves one potential issue that can arise in the original FISTA.
The fast iterative shrinkage-thresholding algorithm, due to Beck09, is a natural extension of Nest83 in its first form (see Algorithm 14), handling an additional nonsmooth term. In this section, we present a strongly convex variant of FISTA, provided as Algorithm 19. The proof contains the same ingredients as in the original work, and it can easily be compared to previous material.
with and .
The proof consists of a weighted sum of the following inequalities.
Strong convexity of between and with weight :
Strong convexity of between and with weight :
Smoothness of between and (descent lemma) with weight :
Convexity of between and with weight :
with and .
Convexity of between and with weight :
By substituting , , and with
the previous weighted sum can be reformulated exactly as
Using and selecting such that and
Finally, we obtain a complexity guarantee by adapting the potential argument (4.5) and by noting that is a decreasing function of (whose maximal value is assuming and is otherwise ). The growth rate of in the smooth convex setting remains unchanged; see (4.14). However, when , its geometric grow rate might actually be slightly degraded to
which remains better than the worst-case rate of gradient descent with backtracking, assuming in both cases that . When the rates might respectively be degraded to and instead.
We assume that since otherwise and the proof would directly follow the case without backtracking. Define
The chained potential argument (4.5) can then be adapted to obtain
where we used Theorem 4.7.1 and the fact that the output of the algorithm satisfies (4.21). Using , we reach
There are two common variations on the backtracking strategy presented in this section. One can, for example, reset (in line 3 of Algorithm 19) at each iteration, potentially using a total of additional gradient evaluations over all iterations. Another possibility is to pick some additional constant and to initiate (in line 3 of Algorithm 19). In the case , this strategy potentially costs additional gradient evaluation per iteration due to the backtracking strategy, thus potentially using a total of additional gradient evaluations over all iterations.
Such non-monotonic estimations of can be incorporated at a low additional technical cost. The corresponding methods and their analyses are essentially the same as those of this section; they are provided in Appendix B.3.1 and B.3.2 (see Algorithm 31 and Algorithm 32).
Variations on strongly convex extensions of FISTA, involving backtracking line-searches, can be found in, e.g., [chambolle2016introduction, calatroni2019backtracking, florea2018accelerated, florea2020generalized], together with practical improvements. The method presented in this section was designed for easy comparison with the previous material.
FISTA potentially evaluates gradients outside of the domain of , and it therefore implicitly assumes that is defined even outside this region. In many situations, this is not an issue, such as when is quadratic. In this section, we instead assume that is continuously differentiable and satisfies smoothness condition (4.22) only for all .
(-smoothness) there exists an open set such that and is continuously differentiable on , and for all , it holds that
(-strong convexity) for all , it holds that
where is a subgradient of at . (Note that when is differentiable.)
By extension, denotes the set of closed -strongly convex proper functions whose domain contains , and denotes the set of closed convex proper functions.
There exist different ways of handling this situation. The method presented in this section relies on using the proximal operator on the sequence and on formulating Nesterov’s method in form III (see Algorithm 13). In this situation, assuming the initial point is feasible () implies both the and are obtained from convex combinations of feasible points and hence are feasible.
A wide variety of accelerated methods exists; most variants solve the issue of FISTA using two proximal operations per iteration (on both of the sequences and ). The variant in this section performs only one projection per iteration, while also fixing the infeasibility issue of in FISTA. Variations on this theme can found in a number of references; see, for example, [auslender2006interior, “Improved interior gradient algorithm”], [tseng2008accelerated, Algorithm 1], or more recently [gasnikov2018universal, “Method of similar triangles”].
with and .
First, is in by construction—it is the output of the proximal/projection step. Furthermore, we have given that . A direct consequence is that since , all subsequent and are also in (as they are obtained from convex combinations of feasible points).
The rest of the proof consists of a weighted sum of the following inequalities (which are valid due to the feasibility of the iterates).
Strong convexity of between and with weight :
Convexity of between and with weight :
Smoothness of between and (descent lemma) with weight :
Convexity of between and with weight :
with and .
Convexity of between and with weight :
with .
Convexity of between and with weight :
By substituting , , and with
we reformulate the previous inequality as
Then selecting such that
The proof follows the same arguments as those for Corollary 4.7.3, using the potential from Theorem 4.7.8 with the fact the output of the algorithm satisfies (4.21).
In this section, we introduced backtracking techniques by examining how the inequalities are used in previous proofs. In particular, because smoothness is used only through the descent lemma in which the only unknown value is , one can simply check this inequality at runtime. Another way to exploit the observation of which inequalities are needed in a proof is to identify minimal assumptions on the class of functions under which it is possible to prove accelerated rates; this topic is explored by, e.g., necoara2019linear, hinder20a. More generally the same question holds for the ability to prove the convergence rates of simpler methods, such as gradient descent [bolte2017error, necoara2019linear].
7.3 Monotone Accelerated Methods
As emphasized in previous sections, accelerated methods are quasi-monotone, meaning that their worst-case guarantees are decreasing functions of the number of iteration. However, they are generally not monotone, as the function values are not guaranteed to be improved from iteration to iteration.
As it is, the trick does not apply to the optimized gradient method (Algorithm 9), the information theoretic exact method (Algorithm 17) and the triple momentum method (Algorithm 18) due to the slightly different structure of their potential functions. However, this trick is valid for all other methods presented in this section, as well as those presented in Appendix B and the proximal accelerated methods from Section 5.
The proof follows from the fact that worst-case guarantees for all algorithms under consideration rely on the same potential function:
for all . Furthermore, it follows from the fact that
Hence, the same worst-case guarantees are achieved.
7.4 Beyond Euclidean Geometries using Mirror Maps
In this section, we put ourselves in a slightly different scenario, often referred to as the non-Euclidean setting or the mirror descent setup. We consider the convex minimization problem:
for all . In this setting, inequality (4.22) also holds (see Appendix A.2), and we, perhaps abusively, also denote .
Finally, pick , and define the Bregman divergence generated by as
which we use below as a notion of distance to generalize the previous proximal operator (4.20). Note that the Bregman divergence generated by any subgradient of at is considered valid here.
The base ingredient we use to solve (4.24) is the Bregman proximal gradient step, with step size :
which corresponds to the usual Euclidean proximal gradient step when . Under previous assumptions, (4.26) is well defined and we can explicitly write
with some , , and .
Under this construction, one can rely on (4.26) to solve (4.24) using Algorithm 22. Note that when is differentiable (which is usually the case but which necessitates further discussions when requiring to be closed, convex, and proper), we often refer to as a mirror map. This refers to a bijective mapping due to the strong convexity and differentiability of . In this case, the iterations can be described as
Theorem 4.7.15 provides a convergence guarantee for Algorithm 22 by a potential argument.
where and is a Bregman divergence (4.25) with respect to . Furthermore, .
First, is feasible, i.e., , by construction. Indeed, is feasible by assumption, and the following iterates () are obtained after proximal steps; hence, , and therefore, .
Second, it can be directly verified that given that . It follows from that the elements of and are obtained as convex combinations of elements of . Hence, the sequences and are also in , which is convex. The rest of the proof consists of a weighted sum of the following inequalities.
Convexity of between and with weight :
Convexity of between and with weight :
Smoothness of between and (descent lemma) with weight :
Convexity of between and with weight :
with .
Convexity of between and with weight :
with .
Convexity of between and with weight
Strong convexity of between and with weight
Now, by substituting (using )
we obtain exactly . The weighted sum can then be reformulated exactly as
and we obtain the desired inequality from selecting that satisfies and
We conclude this section by providing a final corollary to describe the worst-case performance of the method.
The claim directly follows from previous arguments using the potential , along with from (4.14).
Bregman first-order methods are often split into two different families: mirror descent and dual averaging (which we did not explicitly mention here), for which we refer the reader to the discussions in [bubeck2015convex, Chapter 4]. The method presented in this section is essentially a case of [tseng2008accelerated, Algorithm 1], and it corresponds to [auslender2006interior, “Improved interior gradient algorithm”] when the norm is Euclidean. It is also similar to [tseng2008accelerated, Algorithm 3] and to [gasnikov2018universal, “Method of similar triangles”], which are “dual-averaging” versions of the same algorithm: they are essentially equivalent in the Euclidean setup without constraints. The method presented here enjoys a number of variants (see, e.g., discussions in [tseng2008accelerated]), some of which may involve two projections per iteration, as in [Nest03, Section 3], [lan2011primal, Section 3]. The method can also naturally be embedded with a backtracking procedure, exactly as in previous sections. Finally, such methods can be adapted to strong convexity, either on , as in [gasnikov2018universal] or on , as in [diakonikolas2021complementary].
Note that the technique for rendering accelerated methods monotone (see Section 4.7.3) also directly applies to Algorithm 22.
and set . In this case, the expression for the Bregman proximal gradient step in Algorithm 22 can be computed exactly, assuming (for all ):
Hence, we also have that as long as ; a common technique is to instantiate .
In this setup, a non-Euclidean geometry often provides a significant practical advantage when optimizing large-scale functions by improving the dependence from to in the final complexity bound. In fact, here we have compared to in the Euclidean case, so the dependence in is seemingly better in the Euclidean case. However, the choice of norms has a very significant impact. When the gradient has a small Lipschitz constant measured with respect to , that is,
the Lipschitz constant might be up to times smaller than the constant computed using the Euclidean norm (using norm equivalences), i.e.,
with . The final complexity bound using a Euclidean geometry then reads
using the geometry induced by the entropy. The impact of the choice of norm is discussed extensively in, e.g. [Judic07, Example 2.1] and [d2018optimal].
Another related example is optimizing over a spectrahedron; see, for example, the nice introduction by bubeck2015convex. This setup is largely motivated in [Nest03]. We refer to [allen2017linear, diakonikolas2021complementary] and the references therein for further discussions on this topic.
8 Continuous-time Interpretations
Before concluding this section, we survey another last popular approach to Nesterov’s acceleration. The idea is to study continuous versions of first-order schemes, which enables simpler (less technical) proofs to emerge. One notorious caveat of such approaches is that they usually defer implementation details (i.e., discretization) to integration solvers (such as explicit Euler’s scheme), but the simplicity of the proofs arguably renders this approach worth investigating. In particular, we see later that one usually does not use smoothness when computing worst-case convergence speeds. That is, smoothness is intrinsically linked to the discretization procedure, and not at all to the convergence speed of the continuous-time processes.
The section is divided in three parts. We start by reviewing results related to the gradient flow, a natural ordinary differential equation (ODE) for modelling first-order methods. Then, we continue with Nesterov’s ODE, the continuous-time limit of Nesterov’s accelerated gradient method as the step size vanishes [su2014differential]. We conclude with discussions and pointers to different results and research directions relying on ODE interpretations of Nesterov’s method.
For simplicity purposes, we make the choice of only presenting informal arguments for obtaining the continuous-time versions of gradient descent and of Nesterov’s acceleration.
A starting point for linking first-order methods to continuous-time processes is to minimize a convex function by following its gradient flow
From (4.27), one can recover usual first-order methods by playing with different integration schemes. Hence, first-order methods can typically be interpreted in the light of integration schemes, through specific notions of numerical stability, see, e.g., [scieur2017integration]. In short, whereas integration schemes typically aim at tracking the full trajectory of an ODE, optimization methods only target tracking the stationary point of (4.27) thereby requiring less stringent notions of numerical stability.
As a particular case, the classical explicit Euler integration scheme applied to (4.27) boils down to gradient descent for minimizing . On the other hand, (4.27) can be obtained as a natural continuous-time counterpart to gradient descent with vanishing step size. That is, gradient descent with step size can be written as
Informally, assume that the sequence is obtained as an approximation to a solution to an ODE, with and . It is clear that
leading to (4.27) by taking the limit on both sides.
Before moving to Nesterov’s ODE, we glance at the convergence speed of the gradient flow towards an optimum when is a convex function. For doing that, we use a similar potential function as that used in the discrete setup.
We proceed essentially as in the previous section, but we see below that the proofs are much less technical. We introduce the (continuous) potential function:
The analysis simply consists in showing that . Indeed, just as in the discrete setup, we can then write:
with and . Thereby, we reach
and the worst-case speed of convergence of towards is dictated by the growth rate of .
Let be a closed proper convex function, , and let . For any solution to (4.27) and any , it holds that
The proof simply uses a convexity inequality between and . That is, explicit computations allow obtaining:
and we reach the desired inequality using :
Let be a closed proper convex function and . For any solution to (4.27) and any , it holds that
The proof follows from (Theorem 4.8.1) and
8.2 An Ordinary Differential Equation for Nesterov’s Method
In this section, we briefly study a different ODE, namely
where is some constant. This ODE with was proposed in [su2014differential] as the continuous-time interpretation of Nesterov’s method. The case might be considered instead for simplicity of the exposition, rendering the ODE directly well-defined even for . For simplicity, we also consider Algorithm 12 with for (leading to ), that is,
for . In this setup, the method can also be described in terms of a single sequence:
As shown in [su2014differential], it turns out that (4.28) can be seen as the continuous-time limit of (4.29) as . Using a similar informal development to that of [su2014differential], a few approximations allow to arrive to the desired ODE. For doing that, let us denote by a trajectory of the limiting ODE, and let us assume that it is approximated by Nesterov’s method (acting as a numerical integrator) as (i.e., we make the correspondence ). Note the time scaling in instead of due to the second-order dynamics of the system. Next, we use the following Taylor expansions
Simplifying these expressions, dividing all terms by and taking the limit leads to the desired
As for the gradient flow, the analysis only requires an appropriate (continuous) potential function . The desired conclusion follows from showing that , as provided by the following theorem.
Let be a closed proper convex function and . For any solution to (4.28) and any , it holds that
From the expression of , it is relatively straightforward to obtain that
Using (4.28), one can substitute the expression of , leading to
and it follows from convexity that , as desired.
Let be a closed proper convex function and . For any solution to (4.28) and any , it holds that
The proof follows from (Theorem 4.8.5), implying and thereby
8.3 Continuous-time Approaches to Acceleration: Summary
In this section, we saw that some ordinary differential equations can be used for modelling gradient and accelerated gradient-type methods. The corresponding convergence proofs are much simpler, as they only involve using a single inequality, namely convexity between two points: and . However, convergence speeds of continuous-time versions of algorithms might not be representative of their behaviors, as the corresponding ODE might be complicated to integrate, and as using numerical integration solvers might break the potentially nice convergence properties of the continuous-time dynamics.
The content of this section is explored at length in many references, see e.g., [su2014differential, krichene2015accelerated, wibisono2016variational, attouch2018fast]. We discuss a few extensions and limitations below, before concluding the section.
Continuous-time formulations of gradient-based methods cannot be implemented as is on digital computers. Therefore, continuous-time analyses cannot provide a complete picture on the topic without incorporating numerical integration methods into the analyses. Another symptom of this incompleteness is that of different optimization methods giving rise to the same limiting ODEs. For instance, the same limiting ODE is obtained from Polyak’s heavy-ball, from Nesterov’s accelerated methods, and from the triple momentum methods; see [shi2018understanding] and [sun2020high].
This observation motivates different lines of works. In [scieur2017integration], the authors focus on the gradient flow (4.27) and propose different integration methods for recovering classical first-order methods in the quadratic minimization setup. In [su2014differential], it is shown that forward Euler integration of Nesterov’s ODE (4.28) leads to a heavy-ball type method, close to Nesterov’s acceleration. In [shi2019acceleration], the authors obtain accelerated methods by integrating “high resolution” variants of the accelerated ODEs via symplectic methods (partially implicit, and partially explicit integration rules). Various discussions, developments, and connections between continuous-time systems and their discrete counterparts are further presented in diakonikolas2019approximate, siegel2019accelerated, sanz2021connections.
In the strongly convex case, limiting ODEs for “stationnary” accelerated methods such as Nesterov’s method with constant momentum (Algorithm 15) or triple momentum method (Algorithm 18) are also presented in different works; see, e.g., [shi2018understanding, sun2020high].
As previously discussed, it might not be simple to use classical continuous-time methods on digital computers (nontrivial integration schemes must be deployed). A family of so-called “continuized methods” are directly implementable while keeping the benefits of the continuous-time approaches. Those methods rely on randomized discretizations of the continuous-time process [even2021continuized].
9 Notes and References
Potential functions were already used in the original paper by Nest83 to develop accelerated methods. Nest03a developed estimate sequences as an alternate, more constructive, approach to obtaining optimal first-order methods. Since then, both approaches have been used in many references on this topic, in a variety of settings. tseng2008accelerated provides a helpful unified view of accelerated methods. Estimate sequences have been extensively studied by, e.g., Nest13, baes2009estimate, devolder2011stochastic, kulunchakov2019estimate. Another related approach is that of the approximate duality gap diakonikolas2019approximate which is a constructive approach to estimate sequences/potential functions with a continuous-time counterpart.
Mirror descent dates back to the work of Nemi83. It has been further developed and used in many subsequent works [Bentc01, Nest03, Nest09, xiao2010dual, juditsky2014deterministic, diakonikolas2021complementary]. Sound pedagogical surveys can be found in [beck2003mirror, juditsky2011first, juditsky2011first2, bubeck2015convex].
Beyond the setting described in this section, mirror descent has also been studied in the relative smoothness setting, introduced by Baus16—see also [teboulle2018simplified]—, and extended to the notion of relative strong convexity by Lu18a. However, acceleration remains an open issue in the context of relative smoothness and relative strong convexity, and it is generally unclear which additional assumptions allow accelerated rates. It is, however, clear that additional assumptions are required, as emphasized by the lower bound provided by dragomir2019optimal. In particular, accelerated schemes are known under an additional triangle scaling inequality [hanzely2021accelerated, gutman2018unified].
Lower complexity bounds have been studied in a variety of settings to establish limits on the worst-case performance of black-box methods. The classical reference on this topic is the book by Book:NemirovskyYudin.
Obtaining (practical) accelerated method for other types of convergence criteria, such as gradient norms, is still not a fully settled issue. These criterion are important in other contexts, including dual methods, and can be used to draw links between methods intrinsically designed to solve convex problems and those used in nonconvex settings, where the goal is to find stationary points. There are a few tricks that make it possible to pass from a guarantee in one context to another one. For example, a regularization trick was proposed in [nesterov2012make] that yields approximate solutions with small gradient norm. Beyond that, in the context of smooth convex minimization, recent progresses have been made by kim2018optimizing, who designed an optimized method for minimizing the gradient norm after a given number of iterations. This method was analyzed through potential functions in [diakonikolas2021potential], and its geometric structure was further explored and exploited in [lee2021geometric]. Corresponding lower bounds, based on quadratic minimization, for a variety of performance measures can be found in [nemirovsky1992information].
The idea of using backtracking line-searches is classical and is attributed to goldstein1962cauchy and armijo1966minimization; see also discussions in [nocedal2006numerical, bonnans2006numerical]. It was already incorporated in the original work of Nest83 to estimate the smoothness constant within an accelerated gradient method. Since then, many works on the topic have relied heavily on this technique, which is often adapted to obtain better practical performance; see, for example, [scheinberg2014fast, chambolle2016introduction, florea2018accelerated, calatroni2019backtracking]. A more recent adaptive step size strategy (without line-search) can be found in [malitsky20a].
The ability to use approximate first-order information, be it stochastic or deterministic, is key for tackling certain problems for which computing the exact gradient is expensive. Deterministic (or adversarial) error models are studied in, e.g., [dAsp05, schmidt2011convergence, devolder2014first, devolder2013exactness, devolder2013intermediate, aybat2020robust] through different noise models. Such approaches can also be deployed when the projection/proximal operation is computed approximately [schmidt2011convergence, villa2013accelerated] (see also Section 5 and the references therein).
Similarly, stochastic approximations and incremental gradient methods are key in many statistical learning problems, where samples are accessed one at a time and for which it is not desirable to optimize beyond the data accuracy [bottou2007tradeoffs]. For this reason, the old idea of stochastic approximations [robbins1951stochastic] is still widely used and remains an active area of research. The “optimal” variants of stochastic approximations were developed much later [lanstoch2008] with the rise of machine learning applications. In this context, it is not possible to asymptotically accelerate convergence rates but only to accelerate the transient phase toward a purely stochastic regime; see also [hu2009accelerated, xiao2010dual, devolder2011stochastic, lan2012optimal, dvurechensky2016stochastic, aybat2019universally, gorb20]—in particular, we note that “stochastic” estimate sequences were developed in [devolder2011stochastic, kulunchakov2019estimate]. The case of stochastic noise arising from sampling an objective function that is a finite sum of smooth components attracted substantial attention in the 2010s, starting with [schmidt2017minimizing, johnson2013accelerating, shalev2013stochastic, defazio2014saga, defazio2014finito, mairal2015incremental] and was then extended to feature acceleration techniques [shalev2014accelerated, allen2017katyusha, zhou2018simple, zhou2019direct]. Acceleration techniques also apply in the context of randomized block coordinate descent; see, for example, nesterov2012efficiency, lee2013efficient, fercoq2015accelerated, nesterov2017efficiency.
Acceleration mechanisms have also been proposed in the context of higher-order methods. This line of work started with the cubic regularized Newton method introduced in [nesterov2006cubic] and its acceleration using estimate sequence mechanisms [nesterov2008accelerating]; see also [baes2009estimate, wilson2016lyapunov] and [monteiro2013accelerated] (which we also discuss in the next section). Optimal higher-order methods were presented by [gasnikov2019optimal]. It was not clear before the work of nesterov2019implementable that intermediate subproblems arising in the context of higher-order methods were tractable. The fact that tractability is not an issue has attracted significant attention to these methods.
Optimized gradient methods were discovered by kim2016optimized, based on the work by Dror14. Since then, optimized methods have been studied in various settings: incorporating constraints/proximal terms [kim2018another, taylor2017exact]; optimizing gradient norms [kim2018generalizing, kim2018optimizing, diakonikolas2021potential] (as an alternative to [nesterov2012make]); adapting to unknown problem parameters using exact line-searches [drori2019efficient] or restarts [kim2018adaptive]; and in the strongly convex case [van2017fastest, cyrus2018robust, park2021factor, drori2021optimal]. Such methods have also appeared in the context of fixed-point iterations [lieder2020convergence] and proximal methods [kim2019accelerated, barre2020principled].
The worst-case performance of first-order methods can often be computed numerically. This has been shown in [Dror14, drori2014contributions, drori2016optimal, taylor2017smooth] through the introduction of performance estimation problems. Such techniques might be framed in different ways, e.g., from a purely optimization-based point of view [Dror14, taylor2017smooth] or from a control-theoretical perspective [lessard2016analysis, fazlyab2018analysis]. We provide a brief summary in the following lines with more details in Appendix C.
The performance estimation approach was shown to provide tight certificates, from which one can recover both worst-case certificates and matching worst-case problem instances in [taylor2017smooth, taylor2017exact]. One consequence is that worst-case guarantees for first-order methods such as those detailed in this section can always be obtained as a weighted sum of the appropriate inequalities characterizing the problem at hand; see, for instance, [de2017worst, dragomir2019optimal]. A similar approach framed in control theoretic terms, and originally tailored to obtain geometric convergence rates, was developed by lessard2016analysis and can also be used to form potential functions [hu2017dissipativity] as well as optimized methods such as the triple momentum method [van2017fastest, cyrus2018robust, lessard2020direct].
The proofs in this section were obtained by using the performance estimation approach tailored for potential functions [taylor19bach] together with the performance estimation toolbox [pesto2017]. In particular, the potential function for the optimized gradient method can be found in [taylor19bach, Theorem 11] (see also [drori2021optimal, park2021factor]). These techniques can be used for to either validate or rediscover the proofs in this section numerically, through semidefinite programming. More details are provided in Appendix C.
For the purpose of reproducibility, we provide the corresponding code, as well as notebooks for numerically and symbolically verifying the algebraic reformulations in this section at https://github.com/AdrienTaylor/AccelerationMonograph.
Chapter 5 Proximal Acceleration and Catalysts
In this section, we present simple methods based on approximate proximal operations that produce accelerated gradient-based methods. This idea is exploited for example in the Catalyst [lin2015universal, lin2017catalyst] and Accelerated Hybrid Proximal Extragradient (A-HPE) [monteiro2013accelerated] frameworks. In essence, the idea is to develop (conceptual) accelerated proximal point algorithms and to use classical iterative methods to approximate the proximal point. In particular, these frameworks produce accelerated gradient methods (in the same sense as Nesterov’s acceleration) when the approximate proximal points are computed using linearly converging gradient-based optimization methods.
We review acceleration from the perspective of proximal point algorithms (PPA). The key concept here, called proximal operation, dates back to the 1960s, with the works of Moreau (moreau1962proximite, moreau1965proximite). Its introduction to optimization is attributed to Martinet (martinet1970breve, martinet1972det) and was primarily motivated by its link with augmented Lagrangian techniques. In contrast with previous sections, where information about the functions to be minimized was obtained through their gradients, the following sections deal with the case in which information is gathered through a proximal operator or an approximation of that operator.
The proximal point algorithm and its use in the development of optimization schemes are surveyed in [parikh2014proximal]. We aim to go in a slightly different direction here and describe the use of the PPA in an outer loop to obtain improved convergence guarantees in the spirit of the Accelerated Hybrid Proximal Extragradient (A-HPE) method [monteiro2013accelerated] and of Catalyst [lin2015universal, lin2017catalyst].
In this section, we focus on the problem of solving
It is possible to develop optimized proximal methods in the spirit of the optimized gradient methods presented in Section 4. That is, given a computational budget—in the proximal setting, this consists of a number of iterations and a sequence of step sizes—one can choose the algorithmic parameters to optimize the worst-case performance. The proximal equivalent to the optimized gradient method is Güler’s second method [guler1992new, Section 6] (see the discussions in Section 5.6). We do not spend time on this method here and directly aim for methods designed from simple potential functions, in the same spirit our approach to Nesterov’s accelerated gradient methods in Section 4.
2 Proximal Point Algorithm and Acceleration
Whereas the base method for minimizing a function using its gradient is gradient descent:
the base method for minimizing a function using its proximal oracle is the proximal point algorithm:
The proximal point algorithm has a number of intuitive interpretations, with two of them being particularly convenient for our purposes.
Optimality conditions of the proximal subproblem reveal that a proximal step corresponds to an implicit (sub)gradient method:
where .
Using the proximal point algorithm is equivalent to applying gradient descent to the Moreau envelope of , where the Moreau envelope, denoted , is provided by
The Moreau envelope has the same set of optimal solutions as , while enjoying attractive additional regularity properties (it is -smooth and convex; see Definition 4.1.1). More precisely, its gradient is given by
(see [lemarechal1997practical] for more details). This allows us to write
and hence to write proximal minimization methods (as well as their inexact and accelerated variants) applied to as classical gradient methods (and their inexact and accelerated variants) applied to .
In general, proximal operations are expensive, sometimes nearly as expensive as minimizing the function itself. However, there are many cases, especially in the context of composite optimization problems, where one can isolate parts of the objective for which proximal operators actually have analytical solutions; see, e.g. [chierchia2020proximity] for a list of such examples.
In the following sections, we start by analyzing such proximal point methods, and then at the end of the section we show how proximal methods can be used in outer loops, where proximal subproblems are solved approximately using a classical iterative method (in inner loops). In particular, we describe how this combination produces accelerated numerical schemes.
Given the links between proximal operations and gradient methods, it is probably not surprising that proximal point methods for convex optimization can be analyzed using potential functions similar to those used for gradient methods.
However, there is a huge difference between gradient and proximal steps, as the latter can be made arbitrarily “powerful” by taking large step sizes. In other words, a single proximal operation can produce an arbitrarily good approximate solution by picking an arbitrarily large step size. This contrasts with gradient descent, where large step sizes make the method diverge. This fact is clarified later by Corollary 5.2.3. However, this nice property of proximal operators comes at a cost: we may not be able to efficiently compute the proximal step.
As emphasized by the next theorem, proximal point methods for solving (5.1) can be analyzed by using similar potentials as those of gradient-based methods. We use
and show that . As before, this type of reasoning can be used recursively:
thereby reaching bounds of the type , assuming . Since the convergence rates are dictated by the growth rate of the scalar sequence , the proofs are designed to increase as fast as possible.
We perform a weighted sum of the following valid inequalities originating from our assumptions.
Convexity between and with weight :
with some .
Convexity between and with weight :
with the same as before.
By performing a weighted sum of these two inequalities with their respective weights, we obtain the following valid inequality:
By matching the expressions term by term and by substituting , one can easily check that the previous inequality can be rewritten exactly as
By omitting the last term on the right hand-side (which is nonpositive), we reach the desired statement.
The first proof of the following worst-case guarantee is due to guler1991convergence and directly follows from the previous potential.
It follows directly from the potential with the choice . That is, we use the potential defined in (5.3) with Theorem 5.2.1, which allows using the chaining argument from (5.4). We obtain:
where and the claim directly follows.
Note again that we can make this bound arbitrarily good by simply increasing the value of the . There is no contradiction here because the proximal oracle is massively stronger than the usual gradient step, as previously discussed. However, solving even a single proximal step is usually (nearly) as hard as solving the original optimization problem, so the proximal method, as detailed here, is a purely conceptual algorithm.
Note that the choice of a constant step size results in convergence, reminiscent of gradient descent. It turns out that as for gradient-based optimization of smooth convex functions, it is possible to improve this result to by using information from previous iterations. This idea was proposed by guler1992new. In the case of a constant step size , one possible way to obtain this improvement is to apply Nesterov’s method (or any other accelerated variant) to the Moreau envelope of . For varying step sizes, the corresponding bound has the form
In addition, Güler’s acceleration is actually robust to computation errors (as described in the next sections), while allowing for varying step size strategies.
These two key properties allow using Güler’s acceleration to design improved numerical optimization schemes using
Approximate proximal steps, for example by approximately solving the proximal subproblems via iterative methods; and
The step size ’s can be increased from one iteration to the next, allowing for arbitrarily fast convergence rates to be achieved (assuming that the proximal subproblems can be solved efficiently).
It is important to note that the classical lower bounds for gradient-type methods do not apply here, as we use the much stronger, and more expensive, proximal oracle. It is therefore not a surprise that such techniques (i.e., increasing the step sizes from iteration to iteration) might beat the bound obtained through Nesterov’s acceleration. Such increasing step size rules can be used, for example, when solving the proximal subproblem via Newton’s method, as proposed by monteiro2013accelerated.
3 Güler and Monteiro-Svaiter Acceleration
In this section, we describe an accelerated version of the proximal point algorithm which may involve inexact proximal evaluations. The method detailed below is a simplified version, sufficient for our purposes, of that of monteiro2013accelerated, and we provide a simple convergence proof for it. The method essentially boils down to that of guler1992new when exact proximal evaluations are used (note that the inexact analysis of guler1992new has a few gaps).
Before proceeding, we mention that there exist quite a few natural notions of inexactness for proximal operations. In this section, we focus on approximately satisfying the first-order optimality conditions of the proximal problem
In other words, optimality conditions of the proximal subproblem are
for some . In the following lines, we instead tolerate an error :
and require to be small enough to guarantee convergence—even starting at an optimal point does not imply staying at it, without proper assumptions on . One possibility is to require to be small with respect to the distance between the starting point and the approximate solution to the proximal subproblem .
Formally, we use the following definition for an approximate solution with relative inaccuracy :
Intuitively, this notion allows for tolerance of relatively large errors when the solution of the proximal subproblem is far from (meaning that is also far away from a minimum of ), while demanding relatively small errors when approaching a solution. On the other side, if is an optimal point for , then so is , as shown by the following proposition.
for some . (The second inequality follows from base algebraic manipulations of the first one.) In addition, optimality of implies that
with , where the second inequality follows from the convexity of (see, e.g., Section A). Therefore, condition (5.6) can be satisfied only when , meaning that is a minimizer of .
Now, assuming that it is possible to find an approximate solution to the proximal operator, one can use Algorithm 23, originally from [monteiro2013accelerated], to minimize the convex function . For simplicity, the parameters in the algorithm are optimized for ; they can be slightly improved by exploiting the case .
Perhaps surprisingly, this method can be analyzed with the same potential as the proximal point algorithm, despite the presence of computation errors.
where and are generated by one iteration of Algorithm 23, and .
We perform a weighted sum of the following valid inequalities, which stem from our assumptions.
Convexity between and with weight :
for some , which we also use below.
Convexity between and with weight :
Error magnitude with weight :
which is valid for all in (5.5).
By performing the weighted sum of these three inequalities, we obtain the following valid inequality:
After substituting , and , one can easily check that the previous inequality can be rewritten as
either by comparing the expressions on a term-by-term basis or by using an appropriate “complete the squares” strategy. We obtain the desired statement by enforcing , which allows us to neglect the last term on the right-hand side (which is then nonpositive). Finally, since we have already assumed , requiring corresponds to
The convergence speed then follows from the same reasoning as for the proximal point method.
with as well as the chaining argument used in Corollary 5.2.3, we obtain
Hence, .
4 Exploiting Strong Convexity
In this section, we provide refined convergence results when the function to be minimized is -strongly convex (all results from previous sections can be recovered by setting ). The algebra is slightly more technical, but the message and techniques are the same. While the proofs in the previous section can be seen as particular cases of the proofs presented below, we detail both versions separately to alleviate the algebraic barrier as much as possible.
We begin by refining the results on the proximal point algorithm. The same modification to the potential function is used to incorporate acceleration in the sequel.
We perform a weighted sum of the following valid inequalities, which originate from our assumptions.
Strong convexity between and with weight :
with some which we further use below.
Convexity between and with weight :
By performing the weighted sum of these two inequalities, we obtain the following valid inequality:
By matching the expressions term by term and after substituting and , one can check that the previous inequality can be rewritten as
By neglecting the last term on the right-hand side (which is nonpositive), we reach the desired statement.
To obtain the convergence speed guaranteed by the previous potential, we have to characterize the growth rate of again, observing that
The following corollary contains our final worst-case guarantee for the proximal point algorithm, which can be converted to its iteration complexity (details below).
Note that the recurrence for provided in Theorem 5.4.1 has a simple solution . By combining this with
as provided by Theorem 5.4.1, and , we reach the desired statement.
As a particular case, note that we recover the case from the previous corollary since when goes to zero.
For arriving to the iteration complexity for obtaining an approximate solution satisfying with constant step sizes , we use the following sufficient condition due to Corollary 5.4.3:
A few algebraic manipulations and taking logarithms allows obtaining the following equivalent sufficient condition
Finally, using the bound (for all ) we arrive to
We conclude that the accuracy is therefore achieved in iterations of the proximal point algorithm when the step size is kept constant. This contrasts with in the non-strongly convex case.
To accelerate convergence while exploiting strong convexity, we upgrade Algorithm 23 to Algorithm 24, whose analysis follows the same lines as before. For simplicity, the algorithm is optimized for ; it can be slightly improved by exploiting the case . This method is a simplified version of the A-HPE method of [barre2021note, Algorithm 5.1].
We perform a weighted sum of the following valid inequalities, which originate from our assumptions.
Strong convexity between and with weight :
with some , where this particular subgradient is used repetitively below.
Strong convexity between and with weight
Error magnitude with weight :
which is valid for all in (5.5).
By performing a weighted sum of these three inequalities, with their respective weights, we obtain the following valid inequality:
By matching the expressions term by term and by substituting the expressions for , , and , one can check that the previous inequality can be rewritten as (we advise against substituting at this stage):
The conclusion follows from which allows us to discard the last term (which is then nonpositive). Positivity of the first residual term can be enforced by choosing such that
The desired result is achieved by specifically choosing the largest root of the second-order polynomial in , such that .
In contrast with the previous proximal point algorithm, this accelerated version requires
inexact proximal iterations to reach when using a constant step size . This follows from characterizing the growth rate of the sequence :
The proof follows from the same arguments as before; that is,
where we used and . We then proceed with (5.7).
Before continuing to the next section, we note that combining Corollary 5.3.5 with Corollary 5.4.7 shows that
5 Application: Catalyst Acceleration
In what follows, we illustrate how to use proximal methods as meta-algorithms to improve the convergence of simple gradient-based first-order methods. The idea consists of using a base first-order method, such as gradient descent, to obtain approximations to the proximal point subproblems, within an accelerated proximal point method. This idea can be extended by embedding any algorithm that can solve the proximal subproblem.
There exist many notions of approximate solutions to the proximal subproblems, giving rise to different types of guarantees together with slightly different methods. In particular, we required the approximate solution to have a small gradient. Other notions of approximate solutions are used, among others, in [guler1992new, schmidt2011convergence, villa2013accelerated]. Depending on the target application or on the target algorithm for solving inner problems, the natural notion of an approximate solution to the proximal subproblem might change. A fairly general framework was developed by monteiro2013accelerated (where the error is controlled via a primal-dual gap on the proximal subproblem).
A popular application of the inexact accelerated proximal gradient is Catalyst acceleration [lin2015universal]. For readability purposes, we do not present the general Catalyst framework but rather a simple instance. Stochastic versions of this acceleration procedure have also been developed, and we briefly summarize them in Section 5.5.4. The idea is again to use a base first-order method to approximate the proximal subproblem up to the required accuracy. For now, we assume that we want to minimize an -smooth convex function , i.e.,
The corresponding proximal subproblem has the form
and it is therefore the minimization of an -smooth and -strongly convex function. To solve such a problem, one can use a first-order method to approximate its solution.
In what follows, we consider using a method to solve the proximal subproblem (5.8). We assume that this method is guaranteed to converge linearly on any smooth strongly convex problem with minimizer , and more precisely that:
(where are the iterates of ) for some constant and some . Note that we consider linear convergence in terms of for convenience; other notions can be used, such as convergence in function values.
We distinguish the sequences , , and , which are the iterates of the inexact accelerated proximal point algorithm (Algorithm 23, or 24), and the sequence of iterates , which are the iterates of , used to approximate in step 6 of Algorithm 23 (or step 5 of Algorithm 24). We also use the warm-start strategy .
We can thus apply Algorithm 23 to minimize while (approximately) solving the proximal subproblems with . We first define four iteration counters:
, the number of iterations of the inexact accelerated proximal point method (Algorithm 23, or 24), which serves as the “outer loop” for the overall acceleration scheme. That is, the output of the overall method is in the notation of Algorithm 23 (or Algorithm 24);
, the number of iterations performed by that did not result in an additional iteration of the inexact accelerated proximal point method. That is, if the user has a limited budget in terms of a total number of iterations for , it is likely that the last few iterations of do not allow completing an iteration of the “outer loop”. Thus, , i.e., the number of useless iterations of is smaller than the number of iterations that would have lead to an additional outer iteration.
, the total number of iterations of method :
Again, is the number of iterations of that did not allow an additional outer iteration to complete.
As we detail in the sequel, assuming that satisfies (5.9), the overall complexity of the combination of methods is guaranteed to be
where is the iterate produced after iterations of the inexact accelerated proximal point method or equivalently, the iterate produced after a total number of iterations of method . More precisely, is guaranteed to satisfy
(the first inequality follows from Corollary 5.3.5 and the second one from the analysis below) where we used for all and hence , where the constant depends solely on the choice of and on properties of . This represents the computational burden of approximately solving one proximal subproblem with , and it satisfies
We provide a few simple examples based on gradient methods for smooth strongly convex minimization. For all these methods, the embedding within the inexact proximal framework yields
iteration complexity in terms of the total number of calls to to find a point that satisfies . We can make this bound a bit more explicit depending on the choice of .
Let be a regular gradient method with step size that we use to solve the proximal subproblem. The method is known to converge linearly with and (the inverse condition ratio for the proximal subproblem), and it produces the accelerated rate in (5.10). Note that directly applying the gradient method to the problem of minimizing yields a much worse iteration complexity: .
Let be a gradient method including an exact line-search. It is guaranteed to converge linearly with (the condition ratio of the proximal subproblem) and . The iteration complexity of applying this steepest descent scheme directly to is similar to that of vanilla gradient descent. One can also choose to avoid having an excessively large ; for example, .
Let be an accelerated gradient method specifically tailored for smooth strongly convex optimization, such as Nesterov’s method with constant momentum; see Algorithm 16. It is guaranteed to converge linearly with and . Although there is no working guarantee for this method on the original minimization problem, if is not strongly convex, it can still be used to minimize through the inexact proximal point framework, as proximal subproblems are strongly convex.
To conclude, inexact accelerated proximal schemes produce accelerated rates for vanilla optimization methods that converge linearly for smooth strongly convex minimization. The idea of embedding a simple first-order method within an inexact accelerated scheme can be applied to a large array of settings, including to obtain acceleration in strongly convex problems or for stochastic minimization (see below). However, one should note that practical tuning of the corresponding numerical schemes (and particularly of the step size parameters) critically affects the overall performance, as discussed in, e.g., [lin2017catalyst]. This makes effective implementation somewhat tricky. The analysis of non-convex settings is beyond the scope of this section, but examples of such results can be found in, e.g., [paquette2018catalyst].
5.2 Detailed Complexity Analysis
Recall that function value accuracies, e.g., in Corollary 5.3.5 are expressed in terms of outer loop iterations. Therefore, to complete the analysis, we need to answer the following question: given a total budget of inner iterations of method , how many iterations of Algorithm 23, , will we perform in the ideal strategy (in other words, what is )? To answer this question, we start by analyzing the computational cost of solving a single proximal subproblem through .
We need to compute an upper bound on the number of iterations required to satisfy the error criterion (5.5):
where we denote by the index of the first iteration such that (5.11) is satisfied: this is precisely the quantity we want to upper bound. We start with the following observations:
By -smoothness of , we have
where is the minimizer of .
The triangle inequality applied to implies
Hence, (5.11) is satisfied if the right-hand side of (5.12) is smaller than the left-hand side of (5.13) divided by . Thus, for any for which we can prove
we obtain . Rephrasing this inequality leads to
Therefore, by assumption on , (5.11) is guaranteed to hold as soon as
and thus (5.11) holds for any that satisfies
We conclude that (5.11) is satisfied before this number of iterations is achieved; hence,
Given that the right-hand side does not depend on , we use the notation
as our upper bound on the iteration cost of solving the proximal subproblem via .
We have shown that the number of iterations in the inner loop is bounded above by a constant that depends on the specific choice of the regularization parameter and on the method . In other words, . Denoting by the total number of calls to the gradient of , by the number of iterations performed by Algorithm 23, and by the number of iterations of that did not result in an additional outer iteration (see discussions in Section 5.5.1 “Preliminaries”), we conclude that
Hence, since (the number of useless iterations is smaller than the number of iterations that would lead to an additional outer iteration). The conclusion follows from Corollary 5.3.5:
That is, given a target accuracy , the iteration complexity written in terms of the total number of approximate proximal minimizations in Algorithm 23 is , and the total iteration complexity when solving the problem using in the inner loops is simply the same bound multiplied by the cost of solving a single proximal subproblem, namely .
5.3 Catalyst for Strongly Convex Problems
The previous analysis holds for the convex (but not necessarily strongly convex) case. The iteration complexity of solving inner problem remains valid in the strongly convex case, and the expression for can only be improved slightly—by taking into account the better strong convexity parameter and the possibly larger acceptable error magnitude with the factor in Algorithm 24. Therefore, the total number of iterations of Algorithm 24 embedded with remains bounded in a similar fashion, and the overall error decreases as , and the iteration complexity is therefore of order
It is thus natural to choose the value of by optimizing the overall iteration complexity of Algorithm 24 combined with . One way to proceed is by optimizing
essentially neglecting the factor in the complexity estimate (5.14). Here are a few examples:
Gradient method with suboptimal tuning (e.g., when using backtracking or line-search techniques): . Optimizing the ratio leads to the choice , and the ratio is equal to . Assuming (which is the case for the standard step size ), the overall iteration complexity is then where we neglected the factor when is large enough.
Gradient method with optimal tuning: . The resulting choice is and the ratio is , thereby arriving at the same .
5.4 Catalyst for Randomized/Stochastic Methods
Use the inexact accelerated proximal point algorithm (Algorithm 23 or 24) as if were deterministic.
Use the stochastic method to obtain points that satisfy the accuracy requirement.
which is simply . A simple argument for obtaining this bound uses Markov’s inequality as follows:
The overall expected iteration complexity is that of the inexact accelerated proximal point method multiplied by the expected computational burden of solving the proximal subproblems . That is, the expected iteration complexity becomes
in the smooth strongly convex setting. The main argument of this section, namely the use of Markov’s inequality, was adapted from lin2017catalyst (merged with the arguments for the deterministic case above). Stochastic versions of Catalyst acceleration were also studied in [kulunchakov2019generic].
6 Notes and References
In the optimization literature, the proximal operation is an essential algorithmic primitive at the heart of many practical optimization methods. Proximal point algorithms are also largely motivated by the fact that they offer a nice framework for obtaining “meta” (or high-level) algorithms. They naturally appear in augmented Lagrangian and splitting-based numerical schemes, among others. We refer the reader to the excellent surveys in [parikh2014proximal, ryu2016primer] for more details.
Proximal point algorithms have a long history, dating back to the works of Moreau (moreau1962proximite, moreau1965proximite): they were introduced to the optimization community by Martinet (martinet1970breve, martinet1972det). Early interest in proximal methods was motivated by their connection to augmented Lagrangian techniques [rockafellar1973dual, rockafellar1976augmented, iusem1999augmented]; see also the helpful tutorial by eckstein2013practical). Among the many other successes and uses of proximal operations, one can cite the many splitting techniques [lions1979, eckstein1989splitting], for which there are sound surveys [boyd2011distributed, eckstein2012augmented, condat2019proximal]. In this context, inexact proximal operations had already been introduced by rockafellar1976augmented and were combined with acceleration much later by guler1992new—although not with a perfectly rigorous proof, which was later corrected in [salzo2012inexact, monteiro2013accelerated].
Whereas Catalyst acceleration is based on the idea of solving the proximal subproblem via a first-order method, the (related) hybrid proximal extragradient framework is also used together with a Newton scheme in [monteiro2013accelerated]. Furthermore, the accelerated hybrid proximal extragradient framework allows for an increasing sequence of step sizes, thereby leading to faster rates than those obtained via vanilla first-order methods. (That is, using an increasing sequence of , might grow much faster than .)
The HPE framework was introduced by Solodov and Svaiter (solodov1999hybrid, solodov1999hybrid2, solodov2000error, solodov2001unified) before it was embedded with acceleration techniques by [monteiro2013accelerated].
The variant presented in this section was chosen for simplicity of exposition; it is largely inspired by recent works on the topic in [lin2017catalyst, ivanova2019adaptive] along with [monteiro2013accelerated]. Efficient implementations of Catalyst can be found in the Cyanure package by mairal2019cyanure. In particular, most efficient practical implementations of Catalyst appear to rely on an absolute inaccuracy criterion for the inexact proximal operation, instead of on relative (or multiplicative) ones, as used in this section. In practice, the most convenient and efficient variants appear to be those that use a constant number of inner loop iterations to approximately solve the proximal subproblems.
In this section, we chose the relative error model as we believe it allows for a slightly simpler exposition while relying on essentially the same techniques. Catalyst was originally proposed by lin2015universal as a generic tool for reaching accelerated methods. Among others, it allowed for the acceleration of stochastic methods such as SVRG [johnson2013accelerating], SAGA [defazio2014saga], MISO [mairal2015incremental], and Finito [defazio2014finito] before direct acceleration techniques had been developed for them [allen2017katyusha, zhou2018simple, zhou2019direct].
Higher-order proximal subproblems of the form
were used by [nesterov2020inexactAcc, nesterov2020inexact] as a new primitive for designing optimization schemes. These subproblems can also be solved approximately (via th-order tensor methods [nesterov2019implementable]) while maintaining good convergence guarantees.
It is possible to develop optimized proximal methods in the spirit of optimized gradient methods. That is, given a computational budget—in the proximal setting, this consists of a number of iterations and a sequence of step sizes —one can choose algorithmic parameters to optimize the worst-case performance of a method of the type
The proofs of the potential inequalities in this section were obtained through the performance estimation methodology, introduced by Dror14 and specialized to the study of inexact proximal operations by barre2020principled. More details can be found in Section 4.9, “On obtaining the proofs of this section” and in Appendix C. In particular, for reproducibility purposes, we provide code for symbolically verifying the algebraic reformulations of this section at https://github.com/AdrienTaylor/AccelerationMonograph together with those of Section 4.
Chapter 6 Restart Schemes
In this section, we show that restart strategies can improve the performance of accelerated schemes when the objective function satisfies very generic Hölderian error bounds (HEB) which generalize the notion of strong convexity, but only need to hold locally around the optimum. Restart schemes provide a convenient way to render standard first-order methods adaptive to the HEB parameters, and we will see that the cost of adaptation is only logarithmic.
First-order methods typically exhibit a sublinear convergence, whose rate varies with gradient smoothness. The polynomial upper complexity bounds are typically convex functions of the number of iterations, so first-order methods converge faster in the beginning, then convergence tails off as iterations progress. This suggests that periodically restarting first-order methods, i.e., simply running more “early” iterations, could accelerate their convergence. We illustrate this concept in Figure 6.1.
Beyond this graphical argument, all accelerated methods have memory and look back at least one step to compute the next iterate. They iteratively form a model for the function around the optimum, and restarting allows this model to be periodically refreshed, thereby discarding outdated information as the algorithm converges towards the optimum.
While the benefits of restart are immediately apparent in Figure 6.1, restart schemes raise several important questions: How many iterations should we run between restarts? What is the best complexity bound we can hope for using a restart scheme? What regularity properties of the problem drive the performance of restart schemes? Fortunately, all these questions have an explicit answer that stems from a simple and intuitive argument. We will see that restart schemes are also adaptive to unknown regularity constants and often reach near optimal convergence rates without observing these parameters.
We begin by illustrating this adaptivity on the problem of minimizing a strongly convex function using the fixed step gradient method.
We illustrate the main argument of this section when minimizing a strongly convex function using fixed step gradient descent. Suppose we seek to solve the minimization problem
Suppose that the gradient of is Lipschitz continuous with constant with respect to the Euclidean norm;
We can use the fixed step gradient method to solve problem (6.1), as in Algorithm 25 below.
The smoothness assumption in (6.2) ensures the complexity bound
after iterations (see Section 4 for a complete discussion).
Assume now that is also strongly convex with parameter , with respect to the Euclidean norm. Strong convexity means that satisfies
where is an optimal solution to problem (6.1), and is the corresponding optimal objective value. Denote by the output of iterations of Algorithm 25 started at , and suppose that we periodically restart the gradient method according to the following scheme.
Combining the strong convexity bound in (6.4) with the complexity bound in (6.3) yields
after an iteration of the restart scheme in Algorithm 26 in which we run (inner) iterations of the gradient method in Algorithm 25. This means that if we set
after iterations of the restart scheme in Algorithm 26. Therefore, when running a total of gradient steps, we can rewrite the complexity bound in terms of the total number of gradient oracle calls (or inner iterations) as
which proves linear convergence in the strongly convex case.
Of course, the basic gradient method with fixed step size in Algorithm 25 has no memory, so “restarting” it has no impact on the number of iterations or numerical performance. Invoking the restart scheme in Algorithm 26 simply allows us to produce a better complexity bound in the strongly convex case. Without information about the strong convexity parameter (since restart has no impact on the basic gradient method), whereas the classical bound yields sublinear convergence, while the restart method converges linearly.
Crucially here, the argument in (6.5) can be significantly generalized to improve the convergence rate of several types of first-order methods. In fact, as we will see below, a local bound on the growth rate of the function akin to strong convexity holds almost generically, albeit with a different exponent than in (6.4).
1.2 Restart Strategies
Empirical performance of restart schemes was studied at length in [Beck12] and various restart strategies were explored to improve convergence of basic gradient methods by exploiting regularity properties of the objective function. [Nest13] for example runs a bounded number of iterations between restarts to obtain linear convergence in the strongly convex case, while [ODon15] obtain excellent empirical performance by restarting an accelerated method whenever convergence fails to be monotonic (accelerated methods typically exhibit oscillating convergence near the optimum). Below, we will describe the performance of a simple grid search on the restart strategy, attaining optimal performance while using a very limited number of grid points.
2 Hölderian Error Bounds
We now recall several results related to subanalytic functions and Hölderian error bounds of the form
for some , where is the distance to the optimal set. We refer the reader to, e.g., [Bolt07] for a more complete discussion. These results produce bounds akin to local versions of strong convexity, with various exponents, and they are known to hold under very generic conditions. In general of course, these values are neither observed nor known a priori, but as detailed below, restart schemes can be made adaptive to and and reach optimal convergence rates without any prior information.
Now, assume that satisfies the Hölderian error bound (HEB) on a set with parameters . Combining (6.7) and (HEB) leads to
for every . This means that by taking close enough to . We will allow the gradient smoothness exponent of 2 to vary in later results, where we assume the gradient to be Hölder smooth, but we first detail the smooth case for simplicity. In what follows, we use the following notations:
to define generalized condition numbers for the function . Note that if , then matches the classical condition number of the function.
2.2 Subanalytic Functions
Subanalytic functions form a very broad class of functions for which we can demonstrate the Hölderian error bounds as in (HEB), akin to strong convexity. We recall some key definitions and refer the reader to, e.g., [Bolt07] for a more complete discussion.
The class of subanalytic functions is, of course, very large, but the definition above suffers from one key shortcoming since the image and preimage of a subanalytic function are not generally subanalytic. To remedy this stability issue, we can define a notion of global subanalyticity. We first define the function with
We now recall the Łojasiewicz factorization lemma, which gives us local growth bounds on the graph of a function around its minimum.
for some . Here, Theorem 6.2.3 produces a bound on the growth rate of the function around the optimum, generalizing the strong convexity bound in (6.4). We illustrate this in Figure 6.2. Overall, since continuity and subanalyticity are very weak conditions, Theorem 6.2.3 shows that the Hölderian error bound in (HEB) holds almost generically.
3 Optimal Restart Schemes
We now discuss how the Hölderian error bounds detailed above can be exploited using restart schemes. Generic exponents beyond strong convexity, require restart schemes with a varying number of inner iterations (versus a constant one in the strongly convex case) and we we study here the cost of finding the best such scheme. Suppose again that we seek to solve the following unconstrained minimization problem:
where the gradient of is Lipschitz continuous with constant with respect to the Euclidean norm. The optimal method in (4.4.3) detailed as Algorithm 11 produces a point that satisfies
Assuming that the function satisfies the Hölderian error bound (HEB), we can use a chaining argument similar to that in (6.5) to demonstrate improved convergence rates. While a constant number of inner iterations (between restarts) is optimal in the strongly convex case, the optimal restart scheme for involves a geometrically increasing number of inner iterations [Nemic85, roulet2017sharpness].
with and defined in (6.8) and . The precision reached at the last point is bounded by,
when , where is the total number of inner iterations.
In the strongly convex case, i.e., when , the bound above becomes
and we recover the classical linear convergence bound for Algorithm 14 in the strongly convex case. On the other hand, when , bound (6.14) reveals a faster convergence rate than accelerated gradient methods on non-strongly convex functions (i.e., when ). The closer is to 2, the tighter the upper and lower bounds induced by smoothness and sharpness are, yielding a better model for the function and faster convergence. This property matches the lower bounds for optimizing smooth sharp functions [Nemic85] up to a constant factor. Moreover, setting yields continuous bounds on the precision, i.e., when , bound (6.14) converges to the linear bound, which shows that for values of near zero, constant restart schemes are almost optimal.
4 Robustness and Adaptivity
The previous restart schedules depend on the sharpness parameters in (HEB). In general, of course, these values are neither observed nor known a priori. Making the restart scheme adaptive is thus crucial for practical performance. Fortunately, a simple logarithmic grid search on these parameters is enough to guarantee nearly optimal performance. In other words, as shown in [roulet2017sharpness], the complexity bound in (6.14) is somewhat robust to misspecification of the inner iteration schedule .
We can test several restart schemes in Algorithm 26, each with a given number of inner iterations to perform a log-scale grid search on the values of and in (6.8). We see below that running restart schemes suffices to achieve nearly optimal performance. We define these schemes as
where and . We stop these schemes when the total number of inner algorithm iterations exceeds , i.e., at the smallest such that . The size of the grid search in is naturally bounded since as we cannot restart the algorithm after more than total inner iterations, so . Also, when is smaller than , a constant schedule performs as well as the optimal, geometrically increasing schedule, which crucially means we can also choose and limits the cost of the grid search to . We have the following complexity bounds.
(ii) If , there exist and such that scheme achieves a precision given by
Overall, running the logarithmic grid search has a complexity that is times higher than running iterations using the optimal scheme where we know the parameters in (HEB), while the convergence rate is slowed down by roughly a factor four.
5 Extensions
We now discuss several extensions of the results above.
so that the gradient is Hölder smooth. Without further assumptions on , the optimal rate of convergence for this class of functions is bounded as , where is the total number of iterations and
which gives for smooth functions and for non-smooth functions. The universal fast gradient method [Nest15] achieves this rate. It requires both a target accuracy and a starting point as inputs, and it outputs a point such that
after iterations, where is a constant (). We can extend the definition of and in (6.8) to the case where the gradient is Hölder smooth, with
We choose a sequence that ensures
for the geometrically decreasing sequence . A grid search on the restart scheme still works in this case, but it requires knowledge of both and .
and where is defined in (6.17), and are defined in (6.19), and here. The precision reached at the last point is given by
where is the total number of iterations.
We can also extend the inequality defining condition (HEB) by replacing the distance to the optimal set by a more general Bregman divergence. Suppose is a 1-strongly convex function with respect to the Euclidean norm. The Bregman divergence is defined as
for some . This allows us to use the restart scheme complexity results above to accelerate proximal gradient methods.
6 Calculus Rules
In general, the exponent and the factor in the bounds (HEB) and (6.25) are not observed and are difficult to estimate. Nevertheless, due to the robustness result in Theorem 6.4.1, searching for the best restart scheme only introduces a factor in the overall algorithm complexity. There are, however, a number of scenarios where we can produce much more precise estimates of and and hence both obtain refined a priori complexity bounds and reduce the cost of the grid search in (6.15).
In particular, [Li18] provides “calculus rules” for the HEB exponent for a number of elementary operations using a related type of error bound known as the Kurdyka-Łojasiewicz inequality; see [Bolt07, Theorem 5] for more details on the relationship between these two notions. The results focus on the Kurdyka-Łojasiewicz exponent , defined as follows.
whenever and .
In particular, [Bolt07, Theorem 3.3] shows that (HEB) implies (6.22) with exponent . The other way also holds with , but the constant is degraded; see [Bolt07, Section 3.1]. Very briefly, the following calculus rules apply to the exponent .
If and each has the KL exponent , then has the KL exponent [Li18, Corollary 3.1].
If and each is continuous and has the KL exponent , then has KL exponent [Li18, Corollary 3.3].
Then has the KL exponent [Li18, Theorem 3.4].
Note that a related notion of error bound in which the primal gap is replaced by the norm of the proximal step was studied in, e.g., [Pang87, Luo92b, Tsen10, Zhou17].
7 Restarting Other First-Order Methods
The restart argument can be readily extended to other optimization methods provided their complexity bound directly depends on some measure of distance to optimality. This is the case for instance for the Frank-Wolfe method, as detailed in [kerdreux2019restarting]. Suppose that we seek to solve the following constrained optimization problem
The distance to optimality is now measured in terms of the strong Wolfe gap, defined as follows.
Let be a smooth convex function, a polytope, and be arbitrary. Then the strong Wolfe gap over is defined as
The inequality that plays the role of the Hölderian error bound in (HEB) for the strong Wolfe gap is then written as follows.
Let be a compact neighborhood of in , where is the set of solutions of the constrained optimization problem (6.23). A function satisfies an -strong Wolfe primal bound on , if and only if there exists and such that for all
Notice that this inequality is an upper bound on the primal gap , whereas the Hölderian error bound in (HEB) provides a lower bound. This is because the strong Wolfe gap can be understood as a gradient norm, such that (6.25) is a Łojasiewicz inequality as in [Bolt07], instead of a direct consequence of the Łojasiewicz factorization lemma as in (HEB) above.
The regularity of is measured using the away curvature as in [lacoste2015global], with
allowing us to bound the performance the Fractional Away-Step Frank-Wolfe Algorithm in [kerdreux2019restarting], as follows.
Let be a smooth convex function with away curvature . Assume the strong Wolfe primal bound in (6.25) holds for some . Let and assume is such that . With , the output of the Fractional Away-Step Frank-Wolfe Algorithm satisfies
This result is similar to that of Theorem 6.5.1, and it shows that restart yields linear complexity bounds when the exponent in the strong Wolfe primal bound in (6.25) matches that in the curvature (i.e., ) and that it yields to improved linear rates when the exponent satisfies . Crucially, the method here is fully adaptive to the error bound parameters, so no prior knowledge of these parameters is required to get the accelerated rates in Theorem 6.7.3, and no log-scale grid search is required.
8 Application: Compressed Sensing
In some applications such as compressed sensing, under some classical assumptions on the problem data, the exponent is equal to one and the constant can be directly computed from quantities controlling recovery performance. In such problems, a single parameter thus controls both signal recovery and computational performance.
The matrix satisfies the Null Space Property (NSP) on support with constant if for any ,
The matrix satisfies the Null Space Property at order with constant if it satisfies it on every support of cardinality at most .
9 Notes and References
The optimal complexity bounds and exponential restart schemes detailed here can be traced back to [Nemic85]. Restart schemes were extensively benchmarked in the numerical toolbox TFOCS by [Beck12], with a particular focus on compressed sensing applications. The robustness result showing that a log scale grid search produces near optimal complexity bounds is due to [roulet2017sharpness].
Restart schemes based on the gradient norm as a termination criterion also reach nearly optimal complexity bounds and adapt to strong convexity [Nest13] or HEB parameters [Ito21].
Hölderian error bounds for analytic functions can be traced back to the work of Loja63. They were extended to much broader classes of functions by [Kurd98, Bolt07]. Several examples of problems in signal processing where this condition holds can be found in, e.g., [Zhou15, Zhou17]. Calculus rules for the exponent are discussed in details in, e.g., [Li18].
Restarting is also helpful in the stochastic setting, with [Davi19] showing recently that stochastic algorithms with geometric step decay converge linearly on functions satisfying Hölderian error bounds. This validates a classical empirical acceleration trick, which is to restarts every few epochs after adjusting the step size (aka the learning rate in machine learning terminology).
Appendix A Useful Inequalities
In this appendix, we prove basic inequalities involving smooth strongly convex functions. Most of these inequalities are not used in our developments. Nevertheless, we believe they are useful for gaining intuition about smooth strongly convex of functions, as well as for comparisons with the literature.
Also note that these inequalities can be considered standard (see, e.g., [Nest03a, Theorem 2.1.5].
The following theorem summarizes known inequalities that characterize the class of smooth convex functions. Note that these characterizations of are all equivalent assuming that since convexity is not implied by some of the points below. In particular, (i), (ii), (v), (vi), and (vii) do not encode the convexity of when taken on their own, whereas (iii) and (iv) encode both smoothness and convexity.
is convex.
We start with (i)(ii). We use the first-order expansion
The quadratic upper bound then follows from algebraic manipulations and from upper bounding the integral term:
where the last line follows from the explicit maximization on . That is, we pick and reach the desired result after base algebraic manipulations.
We continue with (iii)(iv), which simply follows from adding
To obtain (iv)(i), one can use Cauchy-Schwartz:
which allows us to conclude that , thus reaching the final statement.
To obtain (ii)(v), we simply add
To obtain (v)(ii), we again use a first-order expansion:
The quadratic upper bound then follows from algebraic manipulations and from upper bounding the integral term. (We use the intermediate variable for convenience)
which follows from base algebraic manipulations.
which follows from base algebraic manipulations.
To obtain the corresponding inequalities in the strongly convex case, one can rely on Fenchel conjugation between smoothness and strong convexity; see, for example, [rockafellar2009variational, Proposition 12.6]. The following inequalities are stated without proofs; they can be obtained either as direct consequences of the definitions or from Fenchel conjugation along with the statements of Theorem A.1.1.
and are convex and -smooth.
Finally, we mention that the existence of an inequality that allows us to encode both smoothness and strong convexity together. This inequality is also known as an interpolation inequality [taylor2017smooth], and it turns out to be particularly useful for proving worst-case guarantees.
explicit maximization over . That is, picking allows the desired inequality to be reached by base algebraic manipulations.
((A.1)) is direct by observing that (A.1) is stronger than Theorem A.1.1(iii); is then direct by reformulating (A.1) as
which is stronger than .
A.2 Smoothness for General Norms and Restricted Sets
where is some norm and is the corresponding dual norm, implies a quadratic upper bound :
The desired result is obtained from a first-order expansion:
The quadratic upper bound then follows from algebraic manipulations and from upper bounding the integral term
Appendix B Variations on Nesterov Acceleration
In this short section, we show that Algorithm 9 and Algorithm 10 generate the same sequence . A direct consequence of this statement is that the sequences also match, as in both cases they are generated from simple gradient steps on .
For this purpose we show that Algorithm 10 is a reformulation of Algorithm 9.
The sequence generated by Algorithm 9 is equal to that generated by Algorithm 10.
We first observe that the sequences are initiated the same way in both formulations of the OGM. Furthermore, consider one iteration of the OGM in form I:
Therefore, we clearly have . At the next iteration, we have
where we substituted by its equivalent expression from the previous iteration. Now, by noting that , we reach
where we reorganized the terms to achieve the same format as in Algorithm 10.
B.1.2 Nesterov’s Method: Forms I, II, and III
The two sequences and generated by Algorithm 11 are equal to those generated by Algorithm 12.
In order to prove the result, we use the identities as well as , and .
Given that the sequences are obtained from gradient steps on in both formulations, it is sufficient to prove that the sequences match. The equivalence is clear for , as both methods generate . For , from Algorithm 11, one can write iteration as
Substituting this expression in that for iteration , we reach
where we substituted the expression for and used previous identities to reach the desired statement.
The same relationship holds with Algorithm 13, as provided by the next proposition.
The three sequences , and generated by Algorithm 11 are equal to those generated by Algorithm 13.
Clearly, we have in both methods. Let us assume that the sequences match up to iteration , that is, up to , , and . Clearly, both and are computed in the same way in both methods. It remains to compare the update rules for : in Algorithm 13, we have
where we used the update rule for . Further simplifications, along with the identity allows us to arrive at
which is clearly the same update rule as that of Algorithm 11. Hence, all sequences match and the desired statement is proved.
B.1.3 Nesterov’s Accelerated Gradient Method (Strongly Convex Case): Forms I, II, and III
In this short section, we provide alternate, equivalent, formulations for Algorithm 14.
The two sequences and generated by Algorithm 14 are equal to those generated by Algorithm 28.
Without loss of generality, we can consider that a third sequence is present in Algorithm 28 (although it is not computed).
Obviously, we have in both methods. Let us assume that the sequences match up to iteration , that is, up to , , and . Clearly, is computed in the same way in both methods as a gradient step from , and it remains to compare the update rules for . In Algorithm 14, we have
By noting that , we see that the coefficients in front of match in both expressions. It remains to check that
is identically to reach the desired statement. By substituting , this expression reduces to
and we have to verify that is zero. Substituting and reworking this expression using the expressions for , and , we arrive at
as we recognize that (which is the expression we used to select ).
The three sequences , , and generated by Algorithm 14 are equal to those generated by Algorithm 29.
Clearly, we have in both methods. Let us assume that the sequences match up to iteration , that is, up to , , and . Since and are clearly computed in the same way in both methods, we only have to verify that the update rules for match. In other words, we have to verify that
which, using the update rules for and , amounts to verifying that
This statement is true since we recognize as the expression used to select .
B.2 Conjugate Gradient Method
Historically, Nesterov’s accelerated gradient method [Nest83] was preceded by a few other methods with optimal worst-case convergence rates for smooth convex minimization. However, the alternate schemes required the capability to optimize exactly over a few dimensions—plane-searches were used in [Book:NemirovskyYudin, nemirovski1983information] and line-searches were used in [nemirovski1982orth]; unfortunately these references are not available in English, and we refer to [narkiss2005sequential] for related discussions.
In this vein, accelerated methods can be obtained through their links with conjugate gradients (Algorithm 30), as a by-product of the worst-case analysis. In this section, we illustrate the absolute perfection of the connection between the OGM and conjugate gradients is absolutely perfect: an identical proof (achieving the lower bound) is valid for both methods.
The conjugate gradient (CG) method for solving quadratic optimization problems is known to have an efficient form that does not require span-searches (which are in general too expensive to be of any practical interest); see, for example, [nocedal2006numerical]. Beyond quadratics, it is generally not possible to reformulate the CG method in an efficient way. However, it is possible to find other methods for which the same worst-case analysis applies, and it turns out that the OGM is one of them—see [drori2019efficient] for details. Similarly, by slightly weakening the analysis of the CG method, one can find other methods, such as Nesterov’s accelerated gradient (see Remark B.2.3 below for more details).
More precisely, recall the previous definition for the sequence , defined in (4.8):
As a result of the worst-case analysis presented below, all methods satisfying
achieve the optimal worst-case complexity of smooth convex minimization that is provided by Theorem 4.3.7. On the one hand, the CG ensures that this inequality holds thanks to its span-searches (which ensure the orthogonality of successive search directions); that is,
On the other hand, the OGM enforces this inequality by using
The worst-case analysis below relies on the same potentials used for the optimized gradient method; see Theorem 4.3.1 and Lemma 4.3.3.
The result is obtained from the same potential as that used for the OGM, obtained from further inequalities. That is, we first perform a weighted sum of the following inequalities.
Smoothness and convexity of between and with weight :
Smoothness and convexity of between and with weight :
Search procedure to obtain , with weight :
where we used .
Substituting , the previous inequality can be reformulated exactly as
We reach the desired inequality by selecting that satisfies and
thereby reaching the same potential as in Theorem 4.3.1.
To obtain the technical lemma that allows us to bound the final , we follow the same steps with the following inequalities.
Smoothness and convexity of between and with weight :
Smoothness and convexity of between and with weight :
Search procedure to obtain , with weight :
The weighted sum can then be reformulated as:
thus reaching the desired inequality, as in Lemma 4.3.3, by selecting that satisfies and
Hence, the potential argument from Corollary 4.3.5 applies as such, and we reach the desired conclusion. In other words, for all , one can define
and reach the desired statement by chaining the inequalities:
It is possible to further exploit the conjugate gradient method to design practical accelerated methods in different settings, such as that of Nest83. This point of view has been exploited in [narkiss2005sequential, karimi2016unified, karimi2017single, diakonikolas2019conjugate], among others. The link between the CG method and the OGM presented in this section is due to drori2019efficient, though with a different presentation that does not involve the potential function.
B.3 Acceleration Without Monotone Backtracking
In this section, we show how to incorporate backtracking strategies that may not satisfy , which is important in practice. The developments are essentially the same; one possible trick is to incorporate all the knowledge about in . That is, we use a rescaled shape for the potential function:
where without the backtracking strategy, . This seemingly cosmetic change allows to depend on solely via , and it applies to both backtracking methods presented in Section 4 (Section 4.7).
The idea used to obtain both methods below is that one can perform the same computations as in Algorithm 14, replacing by and by at iteration . Thus, as in previous versions, only the current approximate Lipschitz constant is used at iteration : previous approximations were only used to compute .
with .
The proof consists of a weighted sum of the following inequalities.
Strong convexity of between and with weight :
Strong convexity of between and with weight :
Smoothness of between and (descent lemma) with weight :
Convexity of between and with weight :
with and .
Convexity of between and with weight :
Substituting the , , and with
after some basic but tedious algebra, yields
Then, choosing such that and
Finally, we obtain a complexity guarantee by adapting the potential argument (4.5) and by noting that is a decreasing function of (whose maximal value is , assuming ; otherwise, its maximal value is ). The growth rate of in the smooth convex setting remains unchanged (see (4.14)) since we have
We assume that since otherwise, and the proof directly follows from the case without backtracking. The chained potential argument (4.5) can be used as before. Using , we reach
Our previous bounds on yields the desired result, using
B.3.2 Another Accelerated Method without Monotone Backtracking
Just as for FISTA, we can perform the same cosmetic change to Algorithm 20 for incorporating a non-monotonic estimations of the Lipschitz constant. The proof is therefore essentially that of Algorithm 20.
with .
First, is in by construction—it is the output of a proximal/projection step. Furthermore, we have given that . A direct consequence is that since , all subsequent and are also in (as they are obtained from convex combinations of feasible points).
The rest of the proof consists of a weighted sum of the following inequalities (which are valid due to the feasibility of the iterates).
Strong convexity of between and with weight :
Convexity of between and with weight :
Smoothness of between and (descent lemma) with weight :
Convexity of between and with weight :
with and .
Convexity of between and with weight :
with .
Convexity of between and with weight :
Substituting the , , and by
and algebra allows us to obtain the following reformulation:
The desired inequality follows from selecting such that and
The final corollary follows from the same arguments as those used for Corollary B.3.3. It provides the final bound for Algorithm 32.
The proof follows the same arguments as those for Corollary B.3.3, using the potential from Theorem B.3.5 and the fact that the output of the algorithm satisfies (4.21).
Appendix C On Worst-case Analyses for First-order Methods
In this section, we show that obtaining convergence rates and proofs can be framed as finding feasible points to certain convex problems. More precisely, all convergence guarantees from Section 4 and Section 5 can be obtained as feasible points to certain linear matrix inequalities (LMI). As we see in what follows, this approach can be seen as a principled approach to worst-case analysis of first-order methods: the approach fails only when no such guarantees can be found. The purpose of this section is to provide complete examples of the LMIs for a few cases of interest: analyses of gradient and accelerated gradient methods, as well as pointers to the relevant literature. We provide a full derivation for the base case, and leave advanced ones as exercises for the reader. Notebooks for obtaining the corresponding LMIs are provided in Section C.5.
The elements of this section are largely inspired by the presentation of Taylor and Bach (taylor19bach) with elements borrowed from the presentation of Taylor, Hendrickx and Glineur (taylor2017smooth), which is itself largely inspired by that of Drori and Teboulle (Dror14). The arguments are also similar to the line of work by Lessard, Recht and Packard (lessard2016analysis) and follow-up works, see, e.g., [fazlyab2018analysis, hu2017dissipativity]. The latter line of works is similar in spirit to the former, but framed in control-theoretic terms, via so-called integral quadratic constraints, popularized by megretski1997system.
These techniques are analogous and mostly differs in their presentation styles. Roughly speaking, they can be seen as dual to each others. That is, whereas the performance estimation viewpoint stems from the problem of computing worst-case scenarios and approaches worst-case guarantees as feasible point to the corresponding dual problems, the integral quadratic constraint approach directly starts from the problem of performing linear combination of inequalities, which is exactly the dual problem to that of computing worst-case scenarios. Depending on the background of the researchers involved in a work on one of those topics, things might therefore be named in different ways. We insist on the fact that those are really two facets of the same coin with only subtle differences in terms of presentations.
We choose to take the performance estimation viewpoint as using the definition of a “worst-case” allows to carefully select the most appropriate set of inequalities to be used. Informally, this advantageous construction allows certifying the approach to provide meaningful worst-case guarantees: either the approach provides a satisfying worst-case guarantee, or there exists a non-satisfying counterexample, invalidating the existence of any satisfying guarantee of the desired form.
Further discussions and a more thorough list of references are provided in Section C.5. Readability in mind, the presentation focuses on some examples of interest rather than on a general framework. We refer to [Dror14, taylor2017exact, taylor2017smooth] for more details.
C.2 Worst-case Analysis as Optimization/Feasibility Problems
In this section, we provide examples illustrating the type of problems that can be used for obtaining worst-case guarantees. The base idea underlying the technique is that worst-case scenarios are by definition solutions to certain optimization problems. In the context of first-order convex optimization methods, those worst-case scenarios correspond to solutions to linear semidefinite programs (SDP), which are convex; see, e.g., [vandenberghe1999applications]. It nicely follows from this theory that any worst-case guarantee (i.e., any upper bound on a worst-case performance) can be formulated as a feasible point to the dual problem to that of finding worst-case scenarios. Equivalently, those dual solutions correspond to appropriate weighted sums of inequalities, whose weights correspond to the values of the dual variables. Proofs from Section 4 and Section 5 correspond to such dual certificates.
Those statements are made more precise in the next sections. We begin by providing a few examples of LMIs that can be used for designing worst-case guarantees.
Perhaps the most basic LMI that can be presented for obtaining worst-case guarantees concerns gradient descent and its convergence in terms of distance to an optimal point. We present it for simplicity, as the corresponding LMI only involves very few variables. This LMI has also relatively simple solutions. As our target here is to present the approach, we let finding their solutions as exercises. We present the LMIs in their most raw forms, even without a few direct simplifications.
Note that those LMIs always involve “dual” variables (the precise meaning of dual becomes clear in the sequel), where is the number of points at which the type of guarantee under consideration requires using or specifying a function or gradient evaluation (either in the algorithm or for computing the value of the guarantee). In the following example, we need two dual variables because the guarantee only requires using two gradients of , namely (for expressing a gradient step ) and (for expressing optimality of as ).
We emphasize that the message underlying Theorem C.2.1 is that verifying a worst-case convergence guarantee of the form (C.1) boils down to verifying the feasibility of a certain convex problem. It is relatively straightforward to convert a feasible point of (C.2) to a proof that only consists of a weighted linear combination of inequalities, see, e.g., [taylor2018exact, Theorem 3.1]. The corresponding weights are the values of the multipliers (that is, in Theorem C.2.1, the weights are and ) as showcased in Section 4 and Section 5.
As we see in Section C.3, changing the Lyapunov, or potential, function to be verified also changes the LMI to be solved. The desired LMI can be obtained following a principled approach presented in the sequel. In particular, the following result is slightly more complicated and corresponds to verifying the potential provided by Theorem 4.2.1. One should note that those LMIs can be solved numerically, providing nice guides for choosing appropriate analytical weights. Symbolic computations and computer algebra software might also help.
The following LMI relies on dual variables as it involves gradients and/or function values of at three points: , , and , thereby fixing and hence dual variables.
(where ’s denote symmetric elements in the matrix).
The LMIs of this section are put in their “raw” forms, for simplicity of the presentation (which does not focus on solving those LMIs analytically. Of course, a few simplifications are relatively direct: for instance, any feasible point will have and , as the corresponding matrix could not be positive semidefinite otherwise.
As we discuss in the sequel (see Remark C.3.5), it is also relatively straightforward to obtain weaker versions of those LMIs which are then only sufficient for obtaining valid worst-case guarantees. Those simplified LMIs might be simpler to solve analytically, and might therefore be advantageous in certain contexts. Brief discussions and pointers for this topic are provided in Remark C.3.5 and Section C.5.
A strongly convex version of Theorem C.2.2 is provided in Theorem C.3.6. It is slightly more algrebaic in its vanilla form, but allows recovering the results of Theorem 4.5.1 as a feasible point. Analyses of accelerated methods can be obtained in a similar way, as illustrated by the following LMI. The latter uses on dual variables , as it relies on evaluating gradients and/or function values of at four points: , , , and , so and hence . Although this LMI might appear as a bit of a brutal approach to worst-case analysis, one might observe that many of elements of the LMI can be set to zero due to the structure of the problem.
C.3 Analysis of Gradient Descent via Linear Matrix Inequalities
In this section, we detail the approach to obtain LMIs such as those of Theorem C.2.1, Theorem C.2.2 and Theorem C.2.4. We provide full details for gradient descent. The same technique is presented in a more expeditious way for its accelerated versions afterwards.
We consider gradient descent for minimizing smooth strongly convex functions. For exposition purposes, we investigate a type of one-iteration worst-case convergence guarantee in terms of the distance to the optimum (see Theorem C.2.1) for gradient descent, of the form:
As it is, this problem does not look quite practical. However, it actually admits an equivalent formulation as a linear semidefinite program. As a first step for reaching this formulation, the previous problem can be formulated in an equivalent sampled manner. That is, we sample at the points where the first-order information is explicitly used:
and is now represented in terms of its samples at and .
A second stage in this reformulation consists of replacing the existence of a certain interpolating (or extending) the samples by an equivalent explicit condition provided by the following theorem.
Theorem C.3.1 conveniently allows replacing the existence constraint by a set of quadratic inequalities, reaching:
where we also substituted and by their respective expressions. Finally, we arrive to a first (convex) semidefinite reformulation of the problem via new variables: and defined as
The problem turns out to be linear in and :
For arriving to the desired LMI, it remains to dualize the problem. That is, we perform the following primal-dual associations:
Standard Lagrangian duality allows arriving to
Theorem C.2.1 is now a direct consequence of the dual reformulation (C.11), as provided by the following proof.
(Sufficiency, ) If there exists a feasible point for (C.2), weak duality implies that it is an upper bound on by construction.
Following similar lines as those of this section, one can verify other types of inequalities, beyond (C.1), simply by changing the objective in (C.5). This allows obtaining the statement from Theorem C.2.2 and Theorem C.2.4.
Finding analytical solutions to such LMIs (parametrized by the algorithm and problem parameters) might be challenging. For gradient descent, the solution is provided in e.g., [lessard2016analysis, Section 4.4] and [taylor2018exact, Theorem 3.1]. For more complicated cases, one can rely on numerical inspiration for finding analytical solutions (or upper bounds on it).
It is possible to obtain “weaker” LMIs based on other sets of inequalities (which are necessary but not sufficient for interpolation). Those LMIs are then only sufficient for finding worst-case guarantees. Those alternate LMIs might enjoy simpler analytical solutions, but this comes at the cost of loosing a priori tightness guarantees. This is in general not a problem if the worst-case guarantee is satisfying, but the subtle consequence is that those LMIs might then fail to provide a satisfying guarantee even when there exists one.
C.3.2 Potential Function for Gradient Descent
For formulating the LMI for verifying potential functions as those of Theorem 4.2.1 and Theorem 4.5.1, one essentially has to follow the same steps as in the previous section. The strongly convex version is a bit heavy and is provided below. In short, verifying that
where the maximum is taken over , , , and . This problem can be reformulated as in Section C.3 using the same technique with more samples. More precisely, this formulation requires sampling the function at three points (instead of two): , , and , and hence dual variables are required (because inequalities of the form (C.7) are used for describing the sampled version of the function ). The formal statement is provided by the following theorem, without a proof.
Note again that a notebook is provided in Section C.5 for obtaining and verifying this LMI formulation via symbolic computations.
C.4 Accelerated Gradient Descent via Linear Matrix Inequalities
We provide the main ideas for formulating the LMI for verifying potential functions as those of Theorem 4.5.1 and Theorem 4.5.6. In short, verifying that
where the maximum is taken over , , the iterates, as well as . This problem can be cast as a SDP using the same ideas as in Section C.3 with more samples, again. More precisely, this formulation requires sampling the function at four points: , , , and . The case is covered by Theorem C.2.4.
C.5 Notes and References
The whole idea of using semidefinite programming for analyzing first-order methods dates back to [Dror14] (more details and examples in [drori2014contributions, drori2016optimal]). The principled approach to worst-case analysis using performance estimation problems with interpolation/extension arguments was proposed in in [taylor2017smooth], and generalized to more problem setups in [taylor2017exact]. The integral quadratic approach to first-order methods was proposed in [lessard2016analysis], specifically for studying linearly converging methods (focus on strong convexity and related notions). Those two related methodologies were then further extended and linked in different setup [hu2017dissipativity, hu2017unified, taylor2018lyapunov, fazlyab2018analysis, taylor19bach, lieder2020convergence, aybat2020robust, hu2021analysis, Ryu20, dragomir2019optimal]. Among those developments, some works performed analyses via “weaker” LMIs, based on other sets of inequalities which are necessary but not sufficient for interpolation; see, e.g., [ryupark2021]. The advantage of this approach is that it is often simpler to obtain analytical solutions to some of those LMIs, at the cost of loosing tightness guarantees (which might not be a problem when the guarantee is satisfying). This is in general the case for IQC-based works. In those cases, non-tightness is usually coupled with the search for a Lyapunov function. In general, it is possible to simultaneously look for a tight guarantee and a Lyapunov/potential function, see e.g., [taylor2018lyapunov, taylor19bach]. A simplified approach to performance estimation problems was implemented in the performance estimation toolbox [pesto2017, PESTO].
The optimized gradient method (OGM) was apparently the first method obtained by optimizing its worst-case using SDPs/LMIs. It was obtained as a solution to a convex optimization problem by Dror14, which was later solved analytically by kim2016optimized. The same method was obtained through an analogy with the conjugate gradient method [drori2019efficient], which might serve as a strategy for designing method in various setups. Optimized methods can be developed for other criteria and setups as well. As an example, optimized methods for gradient norms are studied in kim2018optimizing, kim2018generalizing, in the smooth convex setting. See also Section 4.6.1 and Section 4.6.2; in particular, the Triple Momentum Method (TMM) [van2017fastest] was designed as a time-independent optimized gradient method, through Lyapunov arguments (and IQCs). See also [lessard2020direct, zhou2020boosting, gramlich2020convex, drori2021exact] for different ways of recovering the TMM. Optimized methods were also developed in other setups, such as fixed-point iteration [lieder2020convergence] and monotone inclusions [kim2019accelerated] (which turned out to be a particular case of [lieder2020convergence]).
The SDP/LMI approaches were taken further for studying first-order methods in a few different contexts. It was originally used for studying gradient-type methods (see, e.g., [Dror14, drori2014contributions, lessard2016analysis, taylor2017smooth]) and accelerated/fast gradient-type methods (see, e.g., [Dror14, drori2014contributions, lessard2016analysis, taylor2017smooth, taylor2017exact, hu2017dissipativity, van2017fastest, cyrus2018robust, safavi2018explicit, aybat2020robust]) for convex minimization. It was used later for analyzing, among others, nonsmooth setups [drori2016optimal, drori2019efficient], stochastic [hu2017unified, hu2018dissipativity, taylor19bach, hu2021analysis], coordinate-descent [shi2017better, taylor19bach], nonconvex setups [abbaszadehpeivasti2021exact, abbaszadehpeivasti2021rate], proximal methods [taylor2017exact, kim2018another, kim2018optimizing, barre2020principled], splitting methods [ryu2020finding, ryu2020operator, taylor2018exact], monotone inclusions and variational inequalities [ryu2020operator, gu2019optimal, gu2020tight, zhang2021unified], fixed-point iterations [lieder2020convergence], and distributed/decentralized optimization [sundararajan2020analysis, colla2021automated].
For solving the LMIs, standard numerical semidefinite optimization packages can be used, see, e.g., [Yalmip, Sedumi, Mosek, SdpT3]. For obtaining and verifying analytical solutions, symbolic computing might also be a great asset. For the purpose of reproducibility, we provide notebooks for obtaining the LMI formulations of this section symbolically, and for solving them numerically, at https://github.com/AdrienTaylor/AccelerationMonograph.