A Lyapunov Analysis of Momentum Methods in Optimization
Ashia C. Wilson, Benjamin Recht, Michael I. Jordan
Introduction
Momentum is a powerful heuristic for accelerating the convergence of optimization methods. One can intuitively “add momentum” to a method by adding to the current step a weighted version of the previous step, encouraging the method to move along search directions that had been previously seen to be fruitful. Such methods were first studied formally by Polyak , and have been employed in many practical optimization solvers. As an example, since the 1980s, momentum methods have been popular in neural networks as a way to accelerate the backpropagation algorithm. The conventional intuition is that momentum allows local search to avoid “long ravines” and “sharp curvatures” in the sublevel sets of cost functions .
Polyak motivated momentum methods by an analogy to a “heavy ball” moving in a potential well defined by the cost function. However, Polyak’s physical intuition was difficult to make rigorous mathematically. For quadratic costs, Polyak was able to provide an eigenvalue argument that showed that his Heavy Ball Method required no more iterations than the method of conjugate gradients .Indeed, when applied to positive-definite quadratic cost functions, Polyak’s Heavy Ball Method is equivalent to Chebyshev’s Iterative Method . Despite its intuitive elegance, however, Polyak’s eigenvalue analysis does not apply globally for general convex cost functions. In fact, Lessard et al. derived a simple one-dimensional counterexample where the standard Heavy Ball Method does not converge .
In order to make momentum methods rigorous, a different approach was required. In celebrated work, Nesterov devised a general scheme to accelerate convex optimization methods, achieving optimal running times under oracle models in convex programming . To achieve such general applicability, Nesterov’s proof techniques abandoned the physical intuition of Polyak ; in lieu of differential equations and Lyapunov functions, Nesterov devised the method of estimate sequences to verify the correctness of these momentum-based methods. Researchers have struggled to understand the foundations and scope of the estimate sequence methodology since Nesterov’s initial papers. The associated proof techniques are often viewed as an “algebraic trick.”
To overcome the lack of fundamental understanding of the estimate sequence technique, several authors have recently proposed schemes to achieve acceleration without appealing to it . One promising general approach to the analysis of acceleration has been to analyze the continuous-time limit of accelerated methods , or to derive these limiting ODEs directly via an underlying Lagrangian , and to prove that the ODEs are stable via a Lyapunov function argument. However, these methods stop short of providing principles for deriving a discrete-time optimization algorithm from a continuous-time ODE. There are many ways to discretize ODEs, but not all of them give rise to convergent methods or to acceleration. Indeed, for unconstrained optimization on Euclidean spaces in the setting where the objective is strongly convex, Polyak’s Heavy Ball method and Nesterov’s accelerated gradient descent have the same continuous-time limit. One recent line of attack on the discretization problem is via the use of a time-varying Hamiltonian and symplectic integrators . In this paper, we present a different approach, one based on a fuller development of Lyapunov theory. In particular, we present Lyapunov functions for both the continuous and discrete settings, and we show how to move between these Lyapunov functions. Our Lyapunov functions are time-varying and they thus allow us to establish rates of convergence. They allow us to dispense with estimate sequences altogether, in favor of a dynamical-systems perspective that encompasses both continuous time and discrete time.
A Dynamical View of Momentum Methods
We are concerned with the following class of constrained optimization problems:
which is nonnegative since is convex. The Euclidean setting is obtained when .
1 The Bregman Lagrangian
Wibisono, Wilson and Jordan recently introduced the following function on curves,
We introduce a second function on curves,
using the same definitions and scaling conditions. The Lagrangian (5) places a different damping on the kinetic energy than in the original Bregman Lagrangian (2).
Under the same scaling condition (3a), the Euler-Lagrange equation for the second Bregman Lagrangian (5) reduces to:
We provide a proof of Proposition 1 in Appendix A.1. In what follows, we pay close attention to the special case of the dynamics in (6) where is Euclidean and the damping is linear:
When , we can discretize the dynamics in (7) to obtain accelerated gradient descent in the setting where is -strongly convex.
2 Lyapunov function for the Euler-Lagrange equation
The existence of such a Lyapunov function guarantees that the dynamical system converges: if the function is positive yet strictly decreasing along all trajectories, then the dynamical system must eventually approach a region where is minimal. If this region coincides with the stationary points of the dynamics, then all trajectories must converge to a stationary point. We now discuss the derivation of time-dependent Lyapunov functions for dynamical systems with bounded level sets. The Lyapunov functions will imply convergence rates for dynamics (2) and (6).
Assume is convex, is strictly convex, and the second ideal scaling condition (3b) holds. The Euler-Lagrange equation (4) satisfies
when . If the ideal scaling holds with equality, , the solutions satisfy (8) for . Thus,
A similar proposition holds for the second family of dynamics (5) under the additional assumption that is -uniformly convex with respect to :
When is the Euclidean distance, (10) is equivalent to the standard assumption that is -strongly convex. Another special family is obtained when , which, as pointed out by Nesterov [20, Lemma 4], yields a Bregman divergence that is -uniformly convex with respect to the -th power of the norm:
where . Therefore, if is uniformly convex with respect to the Bregman divergence generated by the -th power of the norm, it is also uniformly convex with respect to the -th power of the norm itself. We are now ready to state the main proposition for the continuous-time dynamics.
Assume is -uniformly convex with respect to (10), is strictly convex, and the second ideal scaling condition (3b) holds. Using dynamics (6), we have the following inequality:
for . If the ideal scaling holds with equality, , the inequality holds for . In sum, we can conclude that
The proof of both results, which can be found in Appendix A.2, uses the fundamental theorem of calculus and basic properties of dynamics (6). Taking and writing the Lyapunov property explicitly,
for (12), allows us to infer a convergence rate for the function value for both families of dynamics (4) and (6).
So far, we have introduced two families of dynamics (4) and (6) and illustrated how to derive Lyapunov functions for these dynamics which certify a convergence rate to the minimum of an objective function under suitable smoothness conditions on and . Next, we will discuss how various discretizations of dynamics (4) and (6) produce algorithms which are useful for convex optimization. A similar discretization of the Lyapunov functions (9) and (12) will provide us with tools we can use to analyze these algorithms. We defer discussion of additional mathematical properties of the dynamics that we introduce—such as existence and uniqueness—to Appendix C.4.
Discretization Analysis
In this section, we illustrate how to map from continuous-time dynamics to discrete-time sequences. We assume throughout this section that the second ideal scaling (3b) holds with equality, .
The implicit Euler method, on the other hand, evaluates the vector field at the future point
An advantage of the explicit Euler method is that it is easier to implement in practice. The implicit Euler method has greater stability and convergence properties but requires solving an expensive implicit equation. We evaluate what happens when we apply these discretization techniques to both families of dynamics (4) and (6). To do so, we write these dynamics as systems of first-order equations. The implicit and explicit Euler method can be combined in four separate ways to obtain algorithms we can analyze; for both families, we provide results on several combinations of the explicit and implicit methods, focusing on the family that gives rise to accelerated methods.
1 Methods arising from the first Euler-Lagrange equation
We apply the implicit and explicit Euler schemes to dynamics (4), written as the following system of first-order equations:
Wibisono, Wilson and Jordan showed that the polynomial family is the continuous-time limit of a family of accelerated disrete-time methods , Here, we consider any parameter whose time derivative can be well-approximated by a discrete-time sequence . The advantage of choosing an arbitrary time scaling is that it leads to a broad family of algorithms. To illustrate this, make the approximations , , , , and denote , so that . With these approximations, we explore various combinations of the explicit and implicit discretizations.
Written as an algorithm, the implicit Euler method applied to (15a) and (15b) has the following update equations:
We now state our main proposition for the discrete-time dynamics.
Using the discrete-time Lyapunov function,
the bound holds for algorithm (16).
In particular, this allows us to conclude a general convergence rate for the implicit method (16).
The implicit scheme (16), with the aforementioned discrete-time approximations, satisfies the following variational inequalities:
Using these identities, we have the following derivation:
The inequality on the last line follows from the convexity of and the strict convexity of . ∎
We study families of algorithms which give rise to a family of accelerated methods. These methods can be thought of variations of the explicit Euler scheme applied to (15a) and the implicit Euler scheme applied to (15b).Here we make the identification . The first family of methods can be written as the following general sequence:
where is an arbitrary map whose domain is the previous state, . The second family can be written:
where is an arbitrary map whose domain is the previous state, . When for either algorithm, we recover a classical explicit discretization applied to (15a) and implicit discretization applied to (15b). We will show that the additional sequence allows us to obtain better error bounds in our Lyapunov analysis. Indeed, we will show that accelerated gradient descent , accelerated higher-order methods , accelerated universal methods , accelerated proximal methods all involve particular choices for the map and for the smoothness assumptions on and . Furthermore, we demonstrate how the analyses contained in all of these papers implicitly show the following discrete-time Lyapunov function,
is decreasing for each iteration . To show this, we begin with the following proposition.
Assume that the distance-generating function is -uniformly convex with respect to the -th power of the norm (11) and the objective function is convex. Using only the updates (19a) and (19b), and using the Lyapunov function (21), we have the following bound:
The error bounds in (23) were obtained using no smoothness assumption on and ; they also hold when full gradients of are replaced with elements in the subgradient of . The proof of this proposition can be found in Appendix B.1. The bounds in Proposition 5 were obtained without using the arbitrary update . In particular, accelerated methods are obtained by picking a map that results in a better bound on the error than the straightforward discretization . We immediately see that any algorithm for which the map satisfies the progress condition or will have a convergence rate. We now show how this general analysis applied concretely to each of the aforementioned five methods.
The quasi-monotone subgradient method, which uses the map
for both algorithms (19) and (20), was introduced by Nesterov in 2015.Under this map, assuming the strong convexity of (which implies ), we can write the error (23) as
If we assume all the (sub)gradients of are upper bounded in norm, then maximizing results in an convergence rate. This matches the lower bound for (sub)gradient methods designed for Lipschitz-convex functions.The same convergence bound can be shown to hold for the (sub)gradient method under this smoothness class, when one assesses convergence for the average/minimum iterate .
In 1983, Nesterov introduced accelerated gradient decent, which uses the following family of operators , parameterized by a scaling constant :
Nesterov assumed the use of full gradients which are -smooth; thus, the gradient map is scaled according to the Lipschitz parameter.
Assume is -strongly convex and is -smooth. Using the gradient update, , for updates (19c) and (20b), where is defined in (25), the error for algorithm (19) can be written as follows:
The optimality condition for the gradient update (25) is
The bound (26a) follows from smoothness of the objective function ,
For the second bound (26b), we use the -smoothness of the gradient,
substituting (27) into (28), squaring both sides, and expanding the square on the left-hand side, yields the desired bound:
The error bounds we have just obtained depend explicitly on the scaling . This restricts our choice of sequences ; they must satisfy the following inequality:
for the error to be bounded. Choosing to be a polynomial in of degree two, with leading coefficients , optimizes the bound (29); from this we can conclude , which matches the lower bound for algorithms which only use full gradients of the objective function. Furthermore, if we take the discretization step to scale according to the smoothness as , then both and ; therefore, as , we recover the dynamics (15) and the statement for Lyapunov function (4) in the limit.
Typically, practitioners care about the setting where we have Hölder-continuous gradients () or Hölder-continuous Hessians (), since methods which use higher-order information are often too computationally expensive. In the case , the gradient update
Assume has Hölder-continuous higher-order gradients. Using the map , defined by (31), in update (20b) yields the following progress condition:
Lemma 7 demonstrates that if the Taylor approximation is regularized according to the smoothness of the function, the progress condition scales as a function of the smoothness in a particularly nice way. Using this inequality, we can simplify the error (23b) in algorithm (20) to the following,
We end by mentioning that in the special case , Nesterov showed that a slightly modified gradient map,
has the following property when applied to functions with Hölder-continuous gradients.
That is, if we take a gradient descent step with increased regularization and assume is -strongly convex, the error for algorithm (19) when is -Hölder-continuous can be written as,
2 Methods arising from the second Euler-Lagrange equation
We apply the implicit and explicit Euler schemes to the dynamics (6) written as the following system of equations:
As in the previous setting, we consider any parameter whose time derivative can be well-approximated by a discrete-time sequence . In addition, we make the discrete-time approximations and , and denote . We have the following proposition.
Written as an algorithm, the implicit Euler scheme applied to (35a) and (35b) results in the following updates:
Using the following discrete-time Lyapunov function:
we obtain the bound for algorithm (16). This allows us to conclude a general convergence rate for the implicit scheme (16).
The algorithm that follows from the implicit discretization of the dynamics (36) satisfies the variational conditions
where . Using these variational inequalities, we have the following argument:
The inequality uses the Bregman three-point identity (60) and -uniform convexity of with respect to (10). ∎
We now focus on analyzing the accelerated gradient family, which can be viewed as a discretization that contains easier subproblems.
We study a family of algorithms which can be thought of as slight variations of the implicit Euler scheme applied to (35a) and the explicit Euler scheme applied to (35b)
where is the previous state and . Note that when , we recover classical discretizations. The additional sequence , however, allows us to obtain better error bounds using the Lyapunov analysis. To analyze the general algorithm (39), we use the following Lyapunov function:
We begin with the following proposition, which provides an initial error bound for algorithm (39) using the general update (39c).
Assume the objective function is -uniformly convex with respect to (10) and is -strongly convex. In addition, assume is -smooth. Using the sequences (39a) and (39b), the following bound holds:
where the error term has the following form:
When is Euclidean, the error simplifies to the following form
We present a proof of Proposition 10 in Appendix B.4. The result for accelerated gradient descent can be summed up in the following corollary, which is a consequence of Propositions 6 and 10.
for update (39c) results in an error which scales as
The parameter choice ensures the error is non-positive. With this choice, we obtain a linear convergence rate. Again, if we take the discretization step to scale according to the smoothness as , then both and , so we recover the dynamics (7) and the continuous Lyapunov argument in the limit .
2.2 Quasi-monotone method
We end this section by studying a family of algorithms which can be thought of as a variation of the implicit Euler scheme applied to (35b) and (35b),
where . In discretization (42a), the state has been replaced by the state . When is Euclidean, we can write (42b) as the following update:
Assume is -strongly convex with respect to and is -strongly convex. The following error bound:
can be shown for algorithm (42) using Lyapunov function (37), where the error scales as
No smoothness assumptions on and are needed to show this bound, and we can replace all the gradients with subgradients. If we assume that all the subgradients of are upper bounded in norm, then optimizing this bound results in an convergence rate for the function value, which is optimal for subgradient methods designed for strongly convex functions.In particular, this rate is achieved by taking .
3 Frank-Wolfe algorithms
In this section we describe how Frank-Wolfe algorithms can, in a sense, be considered as discrete-time mappings of dynamics which satisfy the conditions,
These dynamics are not guaranteed to exist; however, they are remarkably similar to the dynamics (4), where instead of using the Bregman divergence to ensure nonnegativity of the variational inequality , we simply assume (44b) holds on the domain . We summarize the usefulness of dynamics (44) in the following proposition.
Assume is convex and the ideal scaling (3b) holds. The following function:
is a Lyapunov function for the dynamics which satisfies (44). We can therefore conclude an convergence rate of dynamics (44) to the minimizer of the function.
The proof of this Proposition is in Appendix B.6. Here, we will analyze two Frank-Wolfe algorithms that arise from dynamics (44). Applying the backward-Euler scheme to (44a) and (44b), with the same approximations, , , and denoting , we obtain the variational conditions for the following algorithm:
Update (46a) requires the assumptions that be convex and compact; under this assumption, (46a) satisfies
consistent with (44b). The following proposition describes how a discretization of (45) can be used to analyze the behavior of algorithm (46).
Assume is convex and is convex and compact. If f is -smooth, using the Lyapunov function,
where the error for algorithm (46) scales as
If instead we assume has -Hölder-continuous gradients (30), the error in algorithm (46) now scales as
Taking we infer the convergence rates and , respectively. We provide a proof of Proposition 14 in Appendix B.7.
Equivalence to Estimate Sequences
In this section, we connect our Lyapunov framework directly to estimate sequences. We derive continuous-time estimate sequences directly from our Lyapunov function and demonstrate how these two techniques are equivalent.
We provide a brief review of the technique of estimate sequences . We begin with the following definition.
[18, 2.2.1] A pair of sequences and is called an estimate sequence of function if
The following lemma, due to Nesterov, explains why estimate sequences are useful.
[18, 2.2.1] If for some sequence we have
then .
Rearranging gives the desired inequality. ∎
Notice that this definition is not constructive. Finding sequences which satisfy these conditions is a non-trivial task. The next proposition, formalized by Baes in as an extension of Nesterov’s Lemma 2.2.2 , provides guidance for constructing estimate sequences. This construction is used in , and is, to the best of our knowledge, the only known formal way to construct an estimate sequence. We will see below that this particular class of estimate sequences can be turned into our Lyapunov functions with a few algebraic manipulations (and vice versa).
Define recursively , , and
for all . Then is an estimate sequence.
From (51) and (53), we observe that the following invariant:
where . Rearranging, we have the following bound:
Notice that an argument analogous to that of Lemma 15 holds:
Rearranging, we obtain the desired bound,
In Table 1 “linear” is defined as and “quadratic” is defined as The estimate-sequence argument is inductive; one must know the three sequences a priori in order to check the invariants hold. This aspect of the estimate-sequence technique has made it hard to discern its structure and scope.
2 Equivalence to Lyapunov functions
We now demonstrate an equivalence between these two frameworks. The continuous-time view shows that the errors in both the Lyapunov function and estimate sequences are due to discretization errors. We demonstrate how this works for accelerated methods, and defer the proofs for the other algorithms discussed earlier in the paper to Appendix C.
The discrete-time estimate sequence (53) for accelerated gradient descent can be written:
Multiplying through by , we have the following argument, which follows directly from our definitions:
The last inequality follows from definition (52). Rearranging, we obtain the inequality for our Lyapunov function (21). Going the other direction, from our Lyapunov analysis we can derive the following bound:
Rearranging, we obtain the estimate sequence (50), with :
Writing , one can simply rearrange terms to extract an estimate sequence:
Comparing this to (55), matching terms allows us to extract the continuous-time estimate sequence , where .
Further Observations
The dynamical perspective can be extended to the derivation and analysis of a range of other methods. In this section, we provide sketches of some of these analyses, providing a detailed treatment in Appendix D.
Methods for minimizing the composite of two convex functions, , were introduced by Nesterov and studied by Beck and Teboulle , Tseng and several others. In Appendix D.1, we present a dynamical perspective on these methods and show how to recover their convergence theory via the Lyapunov functions presented in this paper.
Discussion
The main contributions in this paper are twofold: We have presented a unified analysis of a wide variety of algorithms using three Lyapunov functions–(21), (40) and (47), and we have demonstrated the equivalence between Lyapunov functions and estimate sequences, under the formalization of the latter due to Baes . More generally, we have provided a dynamical-systems perspective that builds on Polyak’s early intuitions, and elucidates connections between discrete-time algorithms and continuous-time, dissipative second-order dynamics. We believe that the dynamical perspective renders the design and analysis of accelerated algorithms for optimization particularly transparent, and we also note in passing that Lyapunov analyses for non-accelerated gradient-based methods, such as mirror descent and natural gradient descent, can be readily derived from analyses of gradient-flow dynamics.
We close with a brief discussion of some possible directions for future work. First, we remark that requiring a continuous-time Lyapunov function to remain a Lyapunov function in discrete time places significant constraints on which ODE solvers can be used. In this paper, we show that we can derive new algorithms using a restricted set of ODE techniques (several of which are nonstandard) but it remains to be seen if other methods can be applied in this setting. Techniques such as the midpoint method and Runge Kutta provide more accurate solutions of ODEs than Euler methods . Is it possible to analyze such techniques as optimization methods? We expect that these methods do not achieve better asymptotic convergence rates, but may inherit additional favorable properties. Determining the advantages of such schemes could provide more robust optimization techniques in certain scenarios. In a similar vein, it would be of interest to analyze the symplectic integrators studied by within our Lyapunov framework.
Several restart schemes have been suggested for the strongly convex setting based on the momentum dynamics (4). In many settings, while the Lipschitz parameter can be estimated using backtracking line-search, the strong convexity parameter is often hard—if not impossible—to estimate . Therefore, many authors have developed heuristics to empirically speed up the convergence rate of the ODE (or discrete-time algorithm), based on model misspecification. In particular, both Su, Boyd, and Candes and Krichene, Bayen and Bartlett develop restart schemes designed for the strongly convex setting based on the momentum dynamics (4). Our analysis suggests that restart schemes based on the dynamics (6) might lead to better results.
Earlier work by Drori and Teboulle , Kim and Fessler , Taylor et al , and Lessard et al have shown that optimization algorithms can be analyzed by solving convex programming problems. In particular, Lessard et al show that Lyapunov-like potential functions called integral quadratic constraints can be found by solving a constant-sized semidefinite programming problem. It would be interesting to see if these results can be adapted to directly search for Lyapunov functions like those studied in this paper. This would provide a method to automate the analysis of new techniques, possibly moving beyond momentum methods to novel families of optimization techniques.
Acknowledgements
We would like to give special thanks to Andre Wibisono as well as Orianna Demassi and Stephen Tu for the many helpful discussions involving this paper. ACW was supported by an NSF Graduate Research Fellowship. This work was supported in part by the Army Research Office under grant number W911NF-17-1-0304 and by the Mathematical Data Science program of the Office of Naval Research.
References
Appendix A Dynamics
We compute the Euler-Lagrange equation for the second Bregman Lagrangian (5). Denote . The partial derivatives of the Bregman Lagrangian can be written,
We also compute the time derivative of the momentum ,
The terms involving cancel and the terms involving the momentum will simplify under the scaling condition (3a) when computing the Euler-Lagrange equation . Compactly, the Euler-Lagrange equation can be written
It is interesting to compare with the partial derivatives of the first Bregman Lagrangian (2),
as well as the derivative of the momentum,
For Lagrangian (2), not only do the terms involving cancel when computing the Euler-Lagrange equation, but the ideal scaling will also force the terms involving the momentum to cancel as well.
A.2 Deriving the Lyapunov functions
We demonstrate how to derive the Lyapunov function (21) for the momentum dynamics (4); this derivation is similar in spirit to the Lyapunov analysis of mirror descent by Nemirovski and Yudin. Denote . We have:
Using this identity, we obtain the following argument:
Here (58a) uses the momentum dynamics (15b) and (15a). The inequality (58b) follows from the convexity of . If , simply by rearranging terms and taking , we have shown that the function (9) has nonpositive derivative for all and is hence a Lyapunov function for the family of momentum dynamics (4). If , the Lyapunov function is only decreasing for .
A.2.2 Proof of Proposition 3
We demonstrate how to derive the Lyapunov function (12) for the momentum dynamics (6). Using the same identity (57), we have the following initial,
will now be useful. Proceeding from the last line, we have
The first inequality follows from the -uniform convexity of with respect to . The second inequality follows from nonnegativity of the Bregman divergence, and the ideal scaling condition (3b), where we must take if .
Appendix B Algorithms derived from dynamics (4)
We show the initial bounds (23a) and (23b). We begin with algorithm (19):
The first inequality follows from the -uniform convexity of with respect to the -th power of the norm and the last inequality follows from the Fenchel Young inequality. If we continue with our argument, and plug in the identity (23a), it simply remains to use our second update (19a):
From here, we can conclude using the convexity of .
We now show the bound (23b) for algorithm (20) using a similar argument.
The first inequality follows from the uniform convexity of and the second uses the Fenchel Young inequality and definition (23b). Using the second update (20a), we obtain our initial error bound:
The last line can be upper bounded by the error using convexity of .
B.2 Proof of Proposition 7
A similar progress bound was proved in Wibisono, Wilson and Jordan [34, Lem 3.2]. Note that satisfies the optimality condition
Furthermore, since is Hölder-continuous (30), we have the following error bound on the -nd order Taylor expansion of ,
Substituting (62) to (63) and writing , we obtain
Now the argument proceeds as in . Squaring both sides, expanding, and rearranging the terms, we get the inequality
Substituting the values and from (65), we obtain
B.3 Proof of Universal Gradient Method
We present a convergence rate for higher-order gradient method where is given by (31) and has -Hölder-continuous gradients (30). The proof is inspired by the proof of the rescaled gradient flow outlined in [34, Appendix G], which is the continuous-time limit of the algorithm. Using the Lyapunov function
the following argument can be made using the convexity of and the dynamics:
B.4 Proof of Proposition 10
We show the initial error bound (41). To do so, we define the Lyapunov function,
The first inequality uses the -strong convexity of and the Fenchel-Young inequality. The second inequality uses the -strong convexity of with respect to . The third inequality uses the strong convexity of and -strong convexity of . The following line uses the Bregman three point identity (60) and the subsequent inequality uses the strong convexity of . The last line follows from the smoothness of . Now we turn to the case where is Euclidean (so ):
In the second line we have expanded the square. The last line uses the update (39a).
B.5 Proof of Proposition 12
We show the convergence bound for the quasi-monotone method (42). We have,
The first inequality from the strong convexity of as well as Hölder’s inequality. The second inequality from the uniform convexity of with respect to and convexity of . The last line follows from the Bregman three-point identity (60) and non-negativity of the Bregman divergence. Taking gives the desired error bound.
B.6 Proof of Proposition 13
We show that (47) is a Lyapunov function for dynamics (44). The argument is simple:
B.7 Proof of Proposition 14
If we take bound (49) implies (48); therefore we simply show the bound (49). To that end,
The first inequality follows from the Hölder continuity and convexity of . The rest simply follows from plugging in our identities.
Appendix C Estimate Sequences
The discrete-time estimate sequence (53) for quasi-monotone subgradient method can be written:
Multiplying through by , we have
Rearranging, we obtain our Lyapunov argument for (21):
Going the other direction, from our Lyapunov analysis we can derive the following bound:
Rearranging, we obtain our estimate sequence (50) () with an additional error term:
C.2 Frank-Wolfe
The discrete-time estimate sequence (53) for conditional gradient method can be written:
Multiplying through by , we have
Rearranging, we obtain our Lyapunov argument for (47) :
Going the other direction, from our Lyapunov analysis we can derive the following bound:
Rearranging, we obtain our estimate sequence (50) () with an additional error term:
Given that the Lyapunov function property allows us to write
we can extract as the continuous-time estimate sequence for Frank-Wolfe.
C.3 Accelerated gradient descent (strong convexity)
The discrete-time estimate sequence (53) for accelerated gradient descent can be written:
Summing over the right-hand side, we obtain the estimate sequence (50):
Since the Lyapunov function property allows us to write
we can extract as the continuous-time estimate sequence for accelerated gradient descent in the strongly convex setting.
C.4 Existence and uniqueness
In this section, we show existence and uniqueness of solutions for the differential equations (6), when is Euclidean. To do so, we write the dynamics as the following system of equations
Inverting the first of these relations, we get
Computing the time-dilated Euler-Lagrange equation, we get
for the first equation, as well as the identity
which is the Euler-Lagrange equation for the sped-up curve, where the ideal scaling holds with equality. Finally, we mention that we can deduce the existence/uniqueness of solution for the proximal dynamics (74) and (80) from the existence/uniqueness of solution for dynamics (4) and (6), given the difference between these dynamics is that (74) (80) have an extra Lipschitz-continuous vector field. Thus, the Cauchy-Lipschitz theorem can be readily applied to the proximal dynamics and the same arguments can be made regarding time-dilation.
Appendix D Additional Observations
In 2009, Beck and Teboulle introduced FISTA, which is a method for minimizing the composite of two convex functions
Define and assume and are convex. Under the ideal scaling condition (3b), Lyapunov function (9) can be used to show that solutions to dynamics
satisfy .
The first line follows from the Bregman identity (57). The second line plugs in the dynamics (80a) and (80b). The third lines follows from (58). The fourth and fifth lines follow from convexity. The sixth line plugs in the dynamics (80b) and the last line follows from application of the chain rule. ∎
Next, to show results for dynamics when subgradients of the function are used, we adopt the setting of Su, Boyd and Candes [30, p.35]. First, we define the subgradient through the following lemma.
This guarantees the existence of a directional derivative. Now we establish the following theorem (similar to [30, Thm 24]):
Given the sum of two convex functions with directional subgradient , assume that the second-order ODE
admits a solution on for some . Then for any , we have .
We follow the framework of Su, Boyd and Candes [30, pg. 36]. It suffices to establish that our Lyapunov function is monotonically decreasing. Although may not be differentiable, we can study for small . For the first term, note that
where the second line follows since we assume is locally Lipschitz. The does not affect the function in the limit:
The second term, , is differentiable, with derivative . Hence,
The last two inequalities follows from the convexity of . In the last inequality, we have used the identity in the term . Combining everything we have shown
which along with the continuity of , ensures is a non-increasing of time. ∎
Now we will discretize the dynamics (74). We assume the ideal scaling (3b) holds with equality. Using the same identifications , and , we apply the implicit-Euler scheme to (74b) and the explicit-Euler scheme to (74a). Doing so, we obtain a proximal mirror descent update,
and the sequence (19a), respectively. We write the algorithm as
where we have similarly substituted the state with a sequence , and added the update . We summarize how the initial bound scales for algorithm (76) in the following proposition.
Assume is strongly convex, is -smooth and is simple but not necessarily smooth. Using the Lyapunov function (21), the following initial bound
can be shown for algorithm (76), where the error scales as
Tseng [32, Algorithm 1] showed that the map
can be used to simplify the error to the following,
Notice that the condition necessary for the error to be non-positive is the same as the condition for accelerated gradient descent (29). Using the same polynomial, we can conclude an convergence rate.
We begin with the observation that the update (77) and the convexity of allow us to show the inequality
Thus we can conclude . With this, the standard Lyapunov analysis follows:
The first inequality uses the identity (79). The second inequality follows from the convexity of . The last line uses the -smoothness of . It simply remains to use the -strong convexity of and the identities (19a) and . Continuing from the last line, and using these properties, we have
The last line follows from the convexity of . ∎
D.1.2 Strongly convex functions
We study the problem of minimizing the composite objective in the setting where is -smooth and -strongly convex and is simple but not smooth. Like the setting where is weakly convex, we begin with the following proposition concerning dynamics that are relevant for this setting.
Define and assume is -strongly convex with respect to and is convex. Under the ideal scaling condition (3b), Lyapunov function (12) can be used to show that solutions to dynamics,
satisfy .
The second line comes from plugging in dynamics (80b). The third line uses the Bregman three-point identity (60). We continue by using the strong convexity assumption:
The fourth line follows the strong convexity of and convexity of . The fifth line (second inequality) uses the convexity of once again. The third inequality plugs in the definition of and the second-last inequality follows from the chain rule and the ideal scaling condition (3b). ∎
Assume is Euclidean and the ideal scaling (3b) holds with equality . To discretize the dynamics (80b), we split the vector field (80b) into two components, , and and apply the explicit Euler scheme to and the implicit Euler scheme to , with the same identification for both vector fields.While using the same identification of for both vector fields is problematic—since one is being evaluated forward in time and the other backward in time—the error bounds only scale sensibly in the setting where is a constant. This results in the proximal update
We summarize how the initial bound changes with this modified update in the following proposition.
Assume is Euclidean, is strongly convex, is -smooth, and is convex and simple. Using the Lyapunov function (40), we have
The condition necessary for the error to be non-positive, results in a convergence rate. This matches the lower bound for the class of -smooth and -strongly convex functions. As in continuous time, this analysis also allows for the use of subgradients of .
The first inequality follows from the strong convexity and -smoothness of and (79), from which we can conclude . The second inequality follows from the convexity of . The third inequality uses the strong convexity of . Next, we use identity (60) and the smoothness of to simplify the bound as follows:
D.2 Stochastic methods
Assume is -strongly convex and is convex. For algorithm (19), where stochastic gradients are used instead of full gradients and , we can show the following error bound:
for Lyapunov function (17), where the error scales as
For algorithm (42), where stochastic gradients are used instead of full gradients, we can show the following error bound:
for Lyapunov function (40), where the error scales as
The proof of this claim follows from the proof of Proposition 5 and 12, where we simply take to be stochastic. Maximizing over this sequence gives a for the first algorithm and for the second. This convergence rate is optimal and matches the rate of SGD. Notice, however, that the convergence rate is for the entire sequence of iterates, unlike SGD.
Having introduced the dynamics (6), it is clear that the following stochastic dynamics
where the inequality follows from the proof of proposition 3 which can be found in Appendix A.2.2. That is, we can conclude
In particular, choosing , we obtain a convergence rate. We can compare this upper bound to the bound (85) with the identifications and .