TL;DR
This paper introduces a sum-of-squares (SOS) based framework to analyze and certify convergence rates of first-order convex optimization algorithms, unifying existing methods and providing new bounds especially for noisy gradient descent.
Contribution
It establishes a hierarchy of semidefinite programs for convergence analysis, connecting SOS proofs with the Performance Estimation Problem framework, and derives new bounds for noisy gradient descent.
Findings
First level SOS hierarchy corresponds to the PEP framework.
New convergence bounds for noisy gradient descent with inexact line search.
SOS framework offers a systematic approach to certify improved convergence rates.
Abstract
We introduce a new framework for unifying and systematizing the performance analysis of first-order black-box optimization algorithms for unconstrained convex minimization. The low-cost iteration complexity enjoyed by first-order algorithms renders them particularly relevant for applications in machine learning and large-scale data analysis. Relying on sum-of-squares (SOS) optimization, we introduce a hierarchy of semidefinite programs that give increasingly better convergence bounds for higher levels of the hierarchy. Alluding to the power of the SOS hierarchy, we show that the (dual of the) first level corresponds to the Performance Estimation Problem (PEP) introduced by Drori and Teboulle [Math. Program., 145(1):451--482, 2014], a powerful framework for determining convergence rates of first-order optimization algorithms. Consequently, many results obtained within the PEP framework…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Analysis of Optimization Algorithms via Sum-of-Squares
Sandra S. Y. Tan
Antonios Varvitsiotis
Vincent Y. F. Tan Sandra S. Y. Tan was with the Department of Electrical and Computer Engineering, National University of Singapore ([email protected]). Antonios Varvitsiotis was with the Department of Electrical and Computer Engineering and Department of Industrial Systems Engineering and Management, National University of Singapore ([email protected]). Vincent Tan is with the Department of Electrical and Computer Engineering and Department of Mathematics, National University of Singapore ([email protected]).
Abstract
We introduce a new framework for unifying and systematizing the performance analysis of first-order black-box optimization algorithms for unconstrained convex minimization. The low-cost iteration complexity enjoyed by first-order algorithms renders them particularly relevant for applications in machine learning and large-scale data analysis. Relying on sum-of-squares (SOS) optimization, we introduce a hierarchy of semidefinite programs that give increasingly better convergence bounds for higher levels of the hierarchy. Alluding to the power of the SOS hierarchy, we show that the (dual of the) first level corresponds to the Performance Estimation Problem (PEP) introduced by Drori and Teboulle [Math. Program., 145(1):451–482, 2014], a powerful framework for determining convergence rates of first-order optimization algorithms. Consequently, many results obtained within the PEP framework can be reinterpreted as degree-1 SOS proofs, and thus, the SOS framework provides a promising new approach for certifying improved rates of convergence by means of higher-order SOS certificates. To determine analytical rate bounds, in this work we use the first level of the SOS hierarchy and derive new results for noisy gradient descent with inexact line search methods (Armijo, Wolfe, and Goldstein).
1 Introduction
The pervasiveness of machine learning and big-data analytics throughout most academic fields and industrial domains has triggered renewed interest in convex optimization, the subfield of mathematical optimization that is concerned with minimizing a convex objective function over a convex set of decision variables. Of particular relevance for solving large-scale convex optimization problems with low accuracy requirements are first-order algorithms, defined as iterative algorithms that only use (sub)gradient information.
There exists extensive literature on the convergence analysis of first-order optimization algorithms with respect to various performance metrics; see, e.g., [2, 4, 5, 6] and the references therein. However, existing convergence results typically rely on case-by-case analyses and cannot be understood by a common guiding principle. In this work we introduce a unified framework for deriving worst-case upper bounds on the convergence rates of first-order optimization algorithms, through the use of sum-of-squares (SOS) optimization.
SOS optimization is an active research area with important practical applications; see, e.g., [3, 29, 21, 22, 30]. The key idea underlying SOS optimization is to use semidefinite programming (SDP) relaxations for certifying the nonnegativity of a polynomial over a set defined by polynomial (in)equalities. This allows to construct hierarchies of SDPs that approximate the optimal value of arbitrary polynomial optimization problems.
To illustrate the main ingredients of our approach, consider the problem of minimizing a convex function over , i.e., and let be a global minimizer. Any solution strategy entails choosing a black-box algorithm that generates a sequence of iterates . Our goal is then to estimate the worst-case convergence rate of with respect to a fixed family of functions and an appropriate measure of performance (e.g., distance to optimality or objective function accuracy . For concreteness, using as performance metric the objective function accuracy and a first-order algorithm that does not increase the objective function value at each step, we seek to solve the following optimization problem:
[TABLE]
where we set and for all . As the optimization problem (1) is hard in general, we relax it into a tractable convex program (in fact, an SDP), in two steps. In the first step, we derive necessary conditions that are expressed as polynomial inequalities and equalities , in terms of the variables in , which are dictated by the choice of the algorithm and the corresponding class of functions. Having identified these necessary polynomial constraints, the first relaxation of the optimization problem (1) is to find the minimum such that the polynomial is nonnegative over the semi-algebraic set
[TABLE]
where here and throughout we use the notation . Nevertheless, as this second problem is also hard in general, in the second step we further relax this constraint by demanding that the nonnegativity of the polynomial over is certified by an SOS decomposition:
[TABLE]
where the ’s are SOS polynomials and the ’s are arbitrary polynomials. Clearly, expression (2) certifies that is nonnegative over the semi-algebraic set . Furthermore, once the degree of the ’s and the ’s has been fixed, the problem of finding the least such that (2) holds is an instance of an SDP, and thus, it can be solved efficiently.
1.1 Related Work
Performance Estimation Problem.
Our work was motivated by the recent framework introduced by Drori and Teboulle [10] that casts the search for worst-case rate bounds as an infinite-dimensional optimization problem:
[TABLE]
called the Performance Estimation Problem (PEP). A series of recent works has highlighted the PEP as an extremely useful tool in various settings, including the study of worst-case guarantees for first-order optimization algorithms [10, 39, 38, 7, 36, 37, 8], the design of optimal methods [10, 20, 19, 11, 9], and the study of worst-case guarantees for solving monotone inclusion problems [32, 18, 16, 24]. The PEP captures the worst-case objective function accuracy over all functions within , after iterations of the algorithm from any starting point , which is within distance from some minimizer .
Although the PEP is infinite-dimensional (as its search space includes all functions in the class ), it can be transformed into an equivalent finite-dimensional problem using the (smooth) convex interpolation approach introduced in [38]. Following [38], the functional constraint is discretized by introducing additional variables capturing the value and the gradient of the function at the points . Specifically, setting , the finite-dimensional problem
[TABLE]
with decision variables , is equivalent to the PEP in the sense that their optimal values coincide and an optimal solution to the PEP can be transformed to an optimal solution to the f-PEP (and conversely).
The seemingly simple step of reformulating the PEP into f-PEP by discretizing and introducing interpolability constraints leads naturally to a powerful approach for evaluating (or upper bounding) the value of the f-PEP. Specifically, if interpolability with respect to and the iterates generated by satisfy conditions that are linear in and the entries of the Gram matrix , where , the value of the f-PEP is upper bounded by the SDP defined by all necessary functional and algorithmic constraints, as well as the appropriate reformulations in terms of and of the optimality condition and the initialization condition .
Moreover, in the case where interpolability with respect to and the first-order method under consideration are both linearly Gram-representable, i.e., exactly characterized by a finite number of constraints that are linear in and in the entries of , the corresponding SDP relaxation of f-PEP is tight, for large enough values of .
Interpolability conditions have been formulated exactly for various function classes, including the class of -smooth and -strongly convex functions [38, Theorem 5], indicator and support functions [37, Section 3.3], smooth and nonconvex functions [37, Section 3.4]. In terms of the tightness of the SDP relaxation of the f-PEP, in the case where is one of the aforementioned function classes, and the corresponding algorithm is a fixed-step linear first-order method as defined in [37, Definition 2.11] the SDP relaxation is tight, as long as [37, Proposition 2.6].
Integral Quadratic Constraints.
A competing approach that uses SDPs to analyze iterative optimization algorithms was introduced in [23]. In this setting, the minimizers of the function of interest are mapped to the fixed points of a discrete-time linear dynamical system with a nonlinear feedback law, whose convergence is then analyzed using integral quadratic constraints (IQCs). The IQC approach allows one to derive analytical and numerical upper bounds on the convergence rates for various algorithms by solving small SDPs. For instance, in [23], algorithms considered include the gradient method, the heavy-ball method, Nesterov’s accelerated method (and related variants) applied to smooth and strongly convex functions.
The line of research initiated in [23] has been generalized further in various directions. Some notable examples include the convergence analysis of the ADMM method [27], the case of non-strongly convex objective functions [13], the generalization to stochastic algorithms [17], and the design of first-order optimization algorithms [12]. In addition, an approach drawing upon ideas from both the PEP and IQC frameworks, and comparison between these, was proposed in [35].
1.2 Summary of Results
In most instances where the PEP framework was applied in the literature, close inspection of the proofs of the analytic worst-case bounds reveals that they can be reinterpreted as simple, i.e., low-degree SOS certificates; see, e.g., [39, Appendix A], [38, Section 3.6], and [7, Section 4.1]. This observation is the point of departure for our work, whose aim is to unify the aforementioned results, and additionally, to make the search for the underlying SOS certificates explicit.
As it turns out, the connection between the PEP and the SOS framework is an instance of SDP duality. Specifically, we have mentioned that relaxing the f-PEP into an SDP requires the functional and algorithmic constraints to imply linear constraints of the form
[TABLE]
for appropriate vectors , matrices and scalars . Nevertheless, notice that an equivalent way expressing the constraints in (3) is as polynomial constraints in the variables . Specifically, setting and , where we use to denote the th coordinate of for , the constraints in (3) may be equivalently expressed as
[TABLE]
i.e., as polynomials in the variables , to which we apply the SOS framework. Formalizing this connection, in Theorem 3 we show that the dual of the first level of the SOS hierarchy is equivalent to the PEP when the functional and algorithmic constraints are linearly Gram-representable. This allows to reinterpret existing rate bounds derived within the PEP framework as degree-1 SOS certificates.
Nevertheless, despite its many successful applications, the PEP framework does not offer a systematic way by which the SDP relaxation can be strengthened when the function class under consideration or the employed algorithm are not linearly Gram-representable. Indeed, recall that to go from the PEP to an SDP we take two relaxation steps. In the first step we extract necessary (quadratic) conditions that are dictated by the interpolability with respect to and the algorithm . In the second step, we use the identified conditions to formulate an SDP, which gives the desired rate bounds. Now, it is clear that if the first relaxation step is loose, then the value of the SDP is not necessarily equal to the value of the PEP. In such a setting, there is no systematic way to strengthen the PEP-SDP, whereas, the sum-of-squares approach clearly provides a solution: just consider a higher level of the hierarchy. This is exactly why we believe that the sum-of-squares approach is an interesting and complementary approach to the Gram matrix approach of Taylor et al. [38].
On the other hand, the SOS approach provides a systematic framework for finding better (i.e., smaller) bounds on the worst-case contraction factor of descent algorithms, by using higher levels of the SOS hierarchy. It is worth noting though that this flexibility comes at a computational cost, in the sense that the SDPs obtained via the SOS hierarchy are dimension-dependent, i.e., any performance certificate generated by the model only applies to functions over a domain with a fixed dimension .
To overcome this issue, we show in Theorem 2 that in the specific setting studied in this work (cf. Section 2.3), a degree-1 certificate for the univariate case (i.e. can be lifted to a degree-1 certificate for the general case ). Nevertheless, we have been unable to extend this lifting procedure for higher-order SOS certificates. As our goal is to identify analytic rates, the inability to work with general has forced us to only consider degree-1 certificates. We leave the consideration of higher degree certificates to future work.
In terms of using the SOS hierarchy to derive new convergence results, we focus on gradient descent applied to -smooth, -strongly convex functions, where the step size is chosen using inexact line search methods. Specifically, in Theorem 4, Theorem 5 and Theorem 6 we respectively study the Armijo, Wolfe, and Goldstein conditions with step size selection in both the noisy and noiseless settings. Denoting by the noise level in the gradient estimation (see (22)), our main results are the following rate bounds:
Gradient descent with Armijo-terminated line search:
[TABLE]
which is valid for any noise level , algorithm parameters and .
Gradient descent with Goldstein-terminated line search:
[TABLE]
which is valid for noise levels and algorithm parameter .
Gradient descent with Wolfe-terminated line search:
[TABLE]
which is valid for any algorithm parameters .
We show that the bound for GD with Armijo-terminated line search rule is an improvement upon two existing bounds in the literature, see [26, Proposition 3.3.5] and [25, Page 239]. On the other hand, our results for GD with Goldstein or Wolfe-terminated line search are, to the best of our knowledge, new.
The interested reader may find the code for numerically and symbolically verifying the results at https://github.com/sandratsy/SumsOfSquares.
Paper Organization.
The paper is organized as follows: Section 2 introduces the SOS technique, explains how it is applied to derive worst-case bounds and describes the function class and algorithms we examine within this work. Furthermore, we determine a procedure for lifting degree-1 certificates from the univariate to the multivariate case and also prove the relation between PEP and SOS. In Section 3 we use the SOS framework to determine new convergence results for noisy gradient descent with inexact line search methods (Armijo, Wolfe, Goldstein). Lastly, Section 4 contains concluding remarks and suggests avenues for future work.
Note.
A preliminary version of this paper was presented at the Signal Processing with Adaptive Sparse Structured Representations (SPARS) workshop in Toulouse, France in July 2019 [34]. Moreover, several additional convergence results obtained via the SOS approach including GD with constant step size and exact line search, and proximal gradient with constant step size and exact line search can be found in the M. Eng. thesis of the first author [33]. These results have not been included in this manuscript as the exact same rates have been also derived via the PEP framework, which as already discussed, is equivalent to degree-1 SOS proofs.
2 Description of our Approach
2.1 Background on Sum-of-Squares
Before we provide the details of our approach, we need to introduce some necessary notation and definitions. For any , where is the set of nonnegative integers, we denote by the monomial . The degree of the monomial is defined to be . Let denote the set of polynomials in variables , of degree at most . Any polynomial can be written as a linear combination of monomials of degree at most , i.e., An (even-degree) polynomial is called a sum-of-squares (SOS) if there exist polynomials satisfying Note that if the degree of is equal to , all polynomials will necessarily have degree at most . It is instructive to think of the existence of an SOS decomposition as a tractable certificate for the global nonnegativity of . Indeed, it is clear that any SOS polynomial is also globally nonnegative, i.e., for all . Furthermore, although less obvious, it is well-known that checking the existence of an SOS decomposition can be done efficiently using SDPs [30].
Moving beyond the problem of certifying global nonnegativity, a more general problem is to certify the nonnegativity of a polynomial over a (basic) closed semi-algebraic set i.e., to certify that for all . Analogously to the case of global nonnegativity, we look for certificates that can be found efficiently using SDPs. One such choice are Putinar-type certificates [31], given by:
[TABLE]
where the ’s are themselves SOS polynomials and the ’s are arbitrary (i.e., not necessarily SOS) polynomials. Clearly, the expression (5) serves as a certificate that for all and moreover, the existence of such a representation (for a fixed degree ) can be done using SDPs, e.g., see [30].
2.2 Algorithm Analysis Using SOS Certificates
Fixing a family of functions and a first-order algorithm —one that uses only gradient information—our goal is to find the best (smallest) contraction factor that is valid over all functions in and all sequences of iterates that can be generated using the algorithm . Concretely, for any fixed , we want to estimate the minimum satisfying for all and . We address this question using SOS certificates. To employ an SOS approach, we first need to identify polynomial inequalities and polynomial equalities in the variables
[TABLE]
that should be necessarily satisfied following the choice of the class of functions and the first-order algorithm . Setting to be the semi-algebraic set defined by the identified polynomial equalities and inequalities, i.e.,
[TABLE]
it follows immediately that if the polynomial
[TABLE]
is nonnegative over the set for some , then also serves as an upper bound on the worst-case rate , or, in other words, is upper bounded by the value of the following optimization problem
[TABLE]
where the decision variable is the scalar . As the optimization problem (7) involves a polynomial nonnegativity constraint (over a semi-algebraic set) it is in general hard—in fact, strongly NP-hard [1]. To obtain tractable upper bounds, we replace the constraint that is nonnegative over by asking that admits an SOS certificate of the form (5), which clearly certifies nonnegativity over . Concretely, for any and , we get the SDP:
[TABLE]
where . For any fixed integer and , the optimization problem (8) is an SDP, and consequently, it can be solved in polynomial-time to any desired accuracy. Furthermore, for a fixed , it follows immediately from the definitions that
[TABLE]
In other words, as increases, the SDPs given in (8) give increasingly better—more precisely, no worse—upper bounds on the worst-case ratio . On the negative side, the sizes of these SDPs grow as so in practice, working with large values of is computationally prohibitive. Summarizing, our strategy for estimating the worst-case rate consists of the following steps:
Identify polynomial inequality and equality constraints in the variable (recall (6)) that are implied by choosing a function class and an algorithm. 2. 2.
Fix a degree for the SOS certificate, i.e., for the degrees of the polynomials ’s and ’s. Higher degree certificates allow for tighter bounds but are more difficult to find due to the increase in size of the SDP. 3. 3.
Numerically solve the SDP in (8) using degree- SOS certificates multiple times, varying the parameters corresponding to the algorithm and the function class. This allows us to “guess” the analytic form of the optimal variables for (8). 4. 4.
Lastly, we verify that the identified solution from step 3 is indeed feasible for (8). Determining feasibility gives an analytic upper bound on the best contraction factor that can certified using degree- SOS certificates.
Implementation Details.
Throughout this paper, we restrict our attention to degree-1 SOS certificates, as our main goal is to derive rates symbolically (see Section 2.3). The derivation of the affine constraints defining the feasible region of the SDP (8) was done by matching coefficients in (5). The SDP (8) was solved with CVX [15, 14], using the supported SDP solver SDPT3 [40, 41]. Fortunately, there are many SOS optimization toolboxes such as YALMIP that automate the process of matching coefficients and constructing the SDP. Finally, verification of the identified solution was done through MATLAB’s Symbolic Math Toolbox and Mathematica [42]. Mathematica was used to first verify that the optimal matrices are PSD, before we found their corresponding SOS decompositions analytically. For the interested reader, the codes for implementation of the SDPs and verification of the solutions may be found at https://github.com/sandratsy/SumsOfSquares.
2.3 Choices Specific to this Work
Function classes of interest.
Consider parameters . In this work, we only consider the class of -smooth, -strongly convex functions—also known as -smooth functions—with domain , which we denote by . Recall that a proper, closed, convex function is called -smooth if
[TABLE]
and -strongly convex if the function is convex, where denotes the usual Euclidean norm.
Throughout this work, we use the following set of necessary and sufficient conditions developed in [38] for the existence of a function in generating data triples .
Theorem 1**.**
Given a set , there exists where and for all , if and only if, for all :
[TABLE]
Applying Theorem 1 to the data triples , , and we get six polynomial constraints that we denote throughout this paper by Specifically, setting , the six -interpolability conditions are:
[TABLE]
2.4 Lifting Univariate Certificates
As already mentioned, we restrict our attention to degree-1 SOS certificates (recall (8)). In this setting, is an SOS of linear polynomials and, since the polynomials and we consider are degree-2, the ’s need to be degree-0 SOS polynomials and the ’s degree-0 polynomials. The SOS certificate can be thus expressed as:
[TABLE]
where and . We claim that the form of the polynomials , ’s and ’s, combined with the specific choice of SOS certificates under consideration (i.e., degree-1 certificates) allow us to only consider the univariate case . Concretely, we show in the rest of this section that an SOS certificate for some contraction factor in the univariate case, induces an SOS certificate for the same contraction factor in the multivariate case (). To see this, first we rearrange the variable as where
[TABLE]
where denotes the th coordinate of for .
Theorem 2**.**
Assume that the performance measure polynomial and the constraint functions are separable with respect to the blocks of variables , they are invariant with respect to permutations of the blocks of variables , and that they have no constant terms. Then, a degree-1 SOS certificate for a rate in the univariate case (i.e., ) can be lifted to degree-1 certificate for the general case (i.e., ).
Note that the structural assumptions on the performance measure polynomial and the constraint functions imply that they have the form
[TABLE]
for some polynomials and .
Furthermore, note that all the performance measure polynomials (e.g., and ) and the constraint functions encountered thus far have the form (12). Furthermore, (12) is satisfied when the polynomial constraints take the form given in (4), i.e, the constraints are linear in the ’s and in the inner products of the ’s and ’s.
Proof.
To prove the theorem, note that an SOS certificate , (i.e., is a PSD matrix, and ) for a rate in the general case has the following form:
[TABLE]
As the polynomials have no constant terms, it follows immediately that . Furthermore, as the polynomials are separable with respect to the blocks of variables is block diagonal. Using these two observations, (12) and (13) imply that:
[TABLE]
Lastly, assume there exists an SOS certificate for a rate in the univariate case, i.e., a PSD matrix and scalars where
[TABLE]
As before, this may be decomposed into
[TABLE]
Comparing equation (14) with (16) and equation (15) with (17), we see that , , , is a valid certificate for the multivariate case. ∎
Lastly, we note that for higher-degree SOS certificates (beyond degree-1), it is not immediately apparent how to verify that a certificate for the univariate case induces one for the multivariate case.
2.5 Dual of the SOS Hierarchy
In this section we determine the exact relationship between the PEP and the SOS hierarchy introduced in this work. Specifically, we show that:
Theorem 3**.**
If the functional and algorithmic constraints are linearly Gram-representable (i.e., (3) holds), the 1-step PEP applied to a contractive algorithm is equivalent to the first-level of the SOS hierarchy.
Proof.
For concreteness, we consider the 1-step PEP (i.e., where we only take 1 step using algorithm ) with respect to the performance metric given by the objective function accuracy. Similar arguments apply when the performance is measured using the distance from optimality or the residual gradient norm.
The corresponding optimization problem is given by:
[TABLE]
If the -interpolability and algorithmic conditions are of the form given in (3) with , the equivalent (f-PEP) may be relaxed into an SDP of the following form:
[TABLE]
where we recall that , , and . Note that may be expressed as and as . Setting , and to be the Lagrange multipliers of the three sets of constraints in (18) respectively, the dual of (18) is
[TABLE]
On the other hand, using the SOS approach and restricting our attention to degree-1 certificates, the SOS-SDP defined in (8) is given by:
[TABLE]
where we define as before (recall (11)) with and
[TABLE]
and furthermore, the polynomial constraints and have the form given in (4) with , i.e.,
[TABLE]
Note that polynomials of the form (20) satisfy the requirement identified in (12). In particular, this implies that the matrix is block-diagonal. Based on this, the constraint
[TABLE]
is equivalent to the equality of the following polynomials in the variables :
[TABLE]
which is in turn equivalent to:
[TABLE]
Thus, the SOS-SDP may be expressed as:
[TABLE]
Finally, we note that the constraint can be dropped if the algorithm is a descent algorithm. The SDP induced by the 1-PEP (19) and the SDP induced by the degree-1 SOS problem (21) are hence equivalent problems. ∎
3 Using the SOS Hierarchy to Obtain New Convergence Bounds
In this section, we consider a few variants of GD with inexact line search under both the noisy and noiseless settings. In “noisy” GD, the update step is given by , where the error (i.e., the difference between the descent direction and negative gradient) is bounded relative to the gradient:
[TABLE]
for some noise level . This assumption ensures that the next step taken remains in a descent direction, i.e., , e.g. see [2, Page 38].
We begin by deriving some inequalities that will be used throughout this section. We note that
[TABLE]
where the last inequality follows by (22). By a similar argument, we have
[TABLE]
Squaring and expanding (22), we have
[TABLE]
which, combined with (24), implies that
[TABLE]
Furthermore, by the triangle inequality, we have and thus
[TABLE]
3.1 The Armijo Rule
Using Armijo-terminated line search, the step size is chosen so that
[TABLE]
for some and , e.g., see [26, Section 2.4.1] and [2, Page 29]. In the noisy setting, the gradient is not available. Substituting for in (28)-(29) we obtain:
[TABLE]
When noisy GD with Armijo-terminated line search is applied to an -smooth function, we are able to show the validity of the following inequality:
[TABLE]
for , and . Indeed, as is -smooth we have that
[TABLE]
Substituting and we get
[TABLE]
Furthermore, combining (31) and (33), we have
[TABLE]
In turn, this implies
[TABLE]
and as we require , we need that . Substituting (34) into (30), we have
[TABLE]
where the last inequality follows by (27). We note that for , the above inequality reduces to [26, Equation (3.3.9)].
For the next theorem we use polynomial constraints given in (9), and given in (32), and search for a degree-1 SOS certificate as described in (10). Constructing and solving the appropriate SDP, we obtain the following result.
Theorem 4**.**
For any , and , given an -smooth function and any sequence of iterates generated using noisy GD with Armijo-terminated line search, the bound
[TABLE]
admits an SOS certificate of degree-1.
Proof.
Defining
[TABLE]
we have that is equal to
[TABLE]
The first term in the right-hand-side of equation (35) is strictly positive since . In addition, as previously discussed, any sequence of iterates generated by noisy GD with Armijo-terminated line search for minimizing a function satisfies and . Since , overall the right-hand-side of (35) is positive. Hence, the left-hand-side of equation (35) is also positive, concluding the proof. ∎
From Theorem 4, we also get a rate bound for GD with Armijo-terminated line search in the noiseless case (i.e., ), which is given by
[TABLE]
As a consequence of (36), for all we have
[TABLE]
where is the condition number of . To the best of our knowledge, the best bounds for a function minimized by GD with Armijo rule were given by Luenberger and Ye [25, Page 239] and Nemirovski [26, Proposition 3.3.5]. For any and , Luenberger and Ye (LY) showed that
[TABLE]
while for any and , Nemirovski showed that
[TABLE]
To compare these convergence rates, we consider the three contraction factors
[TABLE]
Since Luenberger and Ye’s bound only holds for whereas ours hold for , we compare and within the common range . On the other hand, Nemirovski’s bound only holds for , hence we compare and within this range.
Using simple arguments we now show that and within each range of comparison. Thus, our contraction factor is no larger than those of Luenberger and Ye’s, and Nemirovski’s. Indeed, to show note that as , we have
[TABLE]
Next, we show that Since , we have
[TABLE]
Since , and , this implies
[TABLE]
Since , we can subtract it from the right-hand side:
[TABLE]
and add to each side and factorize:
[TABLE]
Rearranging the equation, we obtain
[TABLE]
and the proof that is concluded.
Figures 2 and 2 compare with and respectively for various values of and .
We note that when and and , our contraction factor tends to 0, whereas Nemirovski’s contraction factor tends to 0.5. In fact, when , the function behaves roughly as a quadratic. Combining this with the fact that and the updates as shown in (28), it can be verified that GD with Armijo rule takes only a single step to attain the optimal solution. Hence, the contraction factor we derived, i.e., , is tight in this limiting scenario.
Conversely, Nemirovski’s contraction factor is loose. The looseness of Nemirovski’s analysis can be attributed to the fact that he only applies the condition
[TABLE]
to select iterates (i.e., discretizing the condition), which is not sufficient to guarantee -interpolability. On the other hand, we make use of the condition from Theorem 1, which constitutes a necessary and sufficient condition for a function to be -interpolable.
3.2 The Goldstein Rule
Using Goldstein-terminated line search, the step size is chosen so that
[TABLE]
for some [26, Section 2.4.2]. The Goldstein rule was proposed earlier than the Armijo rule, and encapsulates the same principle of sufficient decrease as the Armijo rule [2, Page 32].
To examine the performance of the Goldstein-terminated line search in the noisy setting, we again substitute for in (38) to get:
[TABLE]
When noisy GD with the Goldstein rule is applied to an -smooth function, the following polynomial constraint:
[TABLE]
holds for and . Indeed, as is -smooth we get
[TABLE]
which combined with the first inequality in (39) gives
[TABLE]
In turn, this implies that
[TABLE]
Since we require , we need that . Together with the condition that , this implies that the Goldstein rule only works in the case where and . Substituting (41) into the second inequality in (39), we have
[TABLE]
The polynomial constraints we use in the search of a degree-1 SOS certificate (10) are as follows: given in (9), as well as (40), denoted by . As before, after constructing and solving the appropriate SDP we derive the following result:
Theorem 5**.**
For any and , given an -smooth function and any sequence of iterates generated using noisy GD with the Goldstein rule, the bound
[TABLE]
admits an SOS certificate of degree-1.
Proof.
Defining , and
[TABLE]
we have that is equal to
[TABLE]
The first term in the right-hand-side of equation (42) is strictly positive since implies . In addition, any sequence of iterates generated by noisy GD with the Goldstein rule for minimizing a function satisfies and . Since , the right-hand-side of (42) is positive. Hence, the left-hand-side of equation (42) is also positive, concluding the proof. ∎
Lastly, from Theorem 5, we recover the bound for GD with the Goldstein rule in the noiseless case (i.e., ), which is given by
[TABLE]
3.3 The Wolfe Conditions
A step size chosen using the Wolfe conditions must satisfy the following two inequalities:
[TABLE]
where is a descent direction and , e.g. see [28, Page 37].
For the Wolfe conditions, we only have results for noiseless GD. In this setting, and hence equations (43)-(44) become
[TABLE]
Next, we show that the following polynomial inequality holds when GD with the Wolfe conditions is applied to an -smooth function:
[TABLE]
Indeed, as is -smooth we have that
[TABLE]
which for and gives
[TABLE]
In turn, this implies that
[TABLE]
which shows that
[TABLE]
Lastly, (48) together with (45), gives us
[TABLE]
In the next theorem, the polynomials we use in the search of a degree-1 SOS certificate (10) are given in (9), as well as (47), denoted by . Constructing and solving the appropriate SDP, we obtain the following result.
Theorem 6**.**
For any , given an -smooth function and any sequence of iterates generated using GD with an inexact line search satisfying the Wolfe conditions, the bound
[TABLE]
admits an SOS certificate of degree-1.
Proof.
Defining , and , we have
[TABLE]
Since and are both nonnegative, and since any sequence of iterates generated by GD with the Wolfe conditions for minimizing a function satisfies and , the right-hand-side of (49) is nonnegative. The left-hand-side of equation (49) is also nonnegative, which concludes the proof. ∎
4 Conclusions and Future Work
This paper proposes a new technique for bounding the convergence rates for various algorithms—namely, by searching for SOS certificates. This leads to a hierarchy of SDPs, for which the first level of the hierarchy is dual to the SDP induced by the one-step PEP as discussed in Section 2.5. Furthermore, using the first level of the SOS hierarchy, we derive new bounds for gradient descent with three popular inexact line search methods.
However, our technique does not necessarily produce tight bounds, since it entails two relaxation steps. For one, the constraints characterizing the function class or algorithm may be relaxed. Secondly, we relax the constraint that be nonnegative to the constraint that is an SOS. Recall that while SOS implies nonnegativity, the converse is not necessarily true. Proving the tightness of the derived bounds will have to be done via other means.
At present, we have only utilized the first level of the proposed hierarchy by searching for degree-1 certificates. In future work, we look to apply the SOS framework to broader function classes, for which exact -interpolability conditions have not been formulated. In this setting, the SDP formulation of the f-PEP (dual to our degree-1 SOS-SDP) would, in general, not be tight, and going higher up the hierarchy may produce tighter contraction factors (as the degree of the SOS-SDP increases). Finally, in the instances where SOS certificates cannot be found, it would be desirable to examine why the technique fails to better understand the scope for which this approach may be applied.
Acknowledgements
The authors are supported by a Singapore National Research Foundation (NRF) Fellowship (R-263-000-D02-281).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A. A. Ahmadi. Sum of squares (SOS) techniques: An introduction. http://www.princeton.edu/~amirali/Public/Teaching/ORF 523/S 16/ORF 523_S 16_Lec 15.pdf .
- 2[2] D. P. Bertsekas. Nonlinear Programming . Athena Scientific, second edition, 1999.
- 3[3] G. Blekherman, P. A. Parrilo, and R. R. Thomas. Semidefinite Optimization and Convex Algebraic Geometry , volume 13. MOS-SIAM Series on Optimization, 2012.
- 4[4] S. P. Boyd and L. Vandenberghe. Convex Optimization . Cambridge University Press, 2009.
- 5[5] A. I. Cohen. Rate of convergence of several conjugate gradient algorithms. SIAM Journal on Numerical Analysis , 9(2):248–259, 1972.
- 6[6] Y.-H. Dai. Nonlinear conjugate gradient methods. Wiley Encyclopedia of Operations Research and Management Science , 2011.
- 7[7] E. de Klerk, F. Glineur, and A. B. Taylor. On the worst-case complexity of the gradient method with exact line search for smooth strongly convex functions. Optimization Letters , 11(7):1185–1199, 2017.
- 8[8] E. de Klerk, F. Glineur, and A. B. Taylor. Worst-case convergence analysis of gradient and Newton methods through semidefinite programming performance estimation. Technical report, https://arxiv.org/abs/1709.05191 , 2017.
