From error bounds to the complexity of first-order descent methods for convex functions
Jérôme Bolte, Trong Phong Nguyen, Juan Peypouquet, Bruce Suter
Overview and main results
Since Hoffman’s celebrated result on error bounds for systems of linear inequalities , the study of error bounds has been successfully applied to problems in sensitivity, convergence rate estimation, and feasibility issues. In the optimization world, the first natural extensions were made to convex functions by Robinson , Mangasarian , and Auslender-Crouzeix . However, the most striking discovery came years before in the pioneering works of Łojasiewicz at the end of the fifties: under a mere compactness assumption, the existence of error bounds for arbitrary continuous semi-algebraic functions was provided. Despite their remarkable depth, these works remained unnoticed by the optimization community during a long period (see ). At the beginning of the nineties, motivated by numerous applications, many researchers started working along these lines, in quest for quantitative results that could produce more effective tools. The survey of Pang provides a comprehensive panorama of results obtained around this time. The works of Luo and Dedieu are also important milestones in the theory. The recent works provide even stronger quantitative results by using the powerful machinery of algebraic geometry or advanced techniques of convex optimization.
Let us introduce the concepts used in this work and show how they can be arranged to devise a new and systematic approach to complexity. Let be a real Hilbert space, and let be a proper lower-semicontinuous convex function achieving its minimum so that . In its most simple version, an error bound is an inequality of the form
where is an increasing function vanishing at –called here the residual function–, and where may evolve either in the whole space or in a bounded set. Hölderian error bounds, which are very common in practice, have a simple power form
Once the question of computing constants and exponents (here and ) for a given minimization problem is settled (see the fundamental works ), it is natural to wonder whether these concepts are connected to the complexity properties of first-order methods for minimizing . Despite the important success of the error bound theory in several branches of optimization, we are not aware of a solid theory connecting the error bounds we consider (as defined in (1)), with the study of the complexity of general descent methods. There are, however, several works connecting error bounds with the convergence rates results of first-order methods (see e.g., ). See also the new and interesting work that provides a wealth of error bounds and some applications to convergence rate analysis. An important fraction of these works involves “first-order error bounds”That is, involving inequalities of the type (see ) that are different from those we consider here.
Our answer to the connection between complexity and “zero-order error bounds” will partially come from a related notion, also discovered by Łojasiewicz and further developed by Kurdyka in the semi-algebraic world: the Łojasiewicz gradient inequality. This inequality, also called Kurdyka-Łojasiewicz (KL) inequality (see ), asserts that for any smooth semi-algebraic function there is a smooth concave function such that
for all in some neighborhood of the set . Its generalization to the nonsmooth case has opened very surprising roads in the nonconvex world and it has allowed to perform convergence rate analyses for many important algorithms in optimization . In a first stage of the present paper we show, when is convex, that error bounds are equivalent to nonsmooth KL inequalities provided the residual function has a moderate behavior close to 0 (meaning that its derivative blows up at reasonable rate). Our result includes, in particular, all power-type examples like the ones that are often met in practiceAn absolutely crucial asset of error bounds and KL inequalities in the convex world is their global nature under a mere coercivity assumption – see Section 6..
Once we know that error bounds provide a KL inequality, one still needs to make the connection with the actual complexity of first-order methods. This is probably the main contribution in this paper: to any given convex objective and descent sequence of the form
where ,
we associate a worst case one dimensional proximal method
Similar results for the sequence are provided. These ideas are already present in and [13, Section 3.2]. The function above –the inverse of a desingularizing function for on a convenient domain– contains almost all the information our approach provides on the complexity of descent methods. As explained previously, it depends on the precise knowledge of a KL inequality and thus, in this convex setting, of an error bound. The reader familiar with second-order methods might have recognized the spirit of the majorant method of Kantorovich , where a reduction to dimension one is used to study Newton’s method.
As explained before, our paper led us to establish several theoretical results and to clarify some questions appearing in a somehow disparate manner in the literature. We first explain how to pass from error bounds to KL inequality in the general setting of Hilbert spaces and vice versa, similar questions appear in . This result is proved by considering the interplay between the contraction semigroup generated by the subdifferential function and the contraction property of this flow. These results are connected to the geometry of the residual functions and break down when error bounds are too flat. This is shown in Section 6 by a dimension 2 counterexample presented in for another purpose.
Our investigations also led us to consider the problem of KL inequalities for convex functions, a problem partly tackled in . We show how to extend convex KL inequalities from a level set to the whole space. We also show that compactness and semi-algebraicity ensure that real semi-algebraic or definable coercive convex functions are automatically KL on the whole space. This result has an interesting theoretical consequence in terms of complexity: abstract descent methods for coercive semi-algebraic convex problems are systematically amenable to a full complexity analysis provided that a desingularizing function –known to exist– is explicitly computable.
Preliminaries
In this section, we recall the basic concepts, notation and some well-known results to be used throughout the paper. In what follows, is a real Hilbert space and is proper, lower-semicontinuous and convex. We are interested in some properties of the function around the set of its minimizers, which we suppose to be nonempty and denote by or . We assume, without loss of generality, that .
We use the standard notation from (see also and ). The subdifferential of at is defined as
Clearly, minimizes on if, and only if, . The domain of the point-to-set operator is For , we denote by the least-norm element of . The vector exists and is unique as it is the projection of onto the nonempty closed convex set . We have (when is not in we set ). We adopt the convention for all .
Given , the function , defined by
for , has a unique minimizer, which we denote by . Using Fermat’s Rule and the Moreau-Rockafellar Theorem, is characterized as the unique solution of the inclusion In particular, . The mapping is the proximity operator associated to . It is easy to prove that is Lipschitz continuous with constant 1.
If is nonempty, closed and convex, the indicator function of is the function , defined by
It is proper, lower-semicontinuous and convex. Moreover, for each , , the normal cone to at . In turn, is the projection operator onto , which we denote by .
2 Subgradient curves
where and is an absolutely continuous curve in . The main properties of this system for the purpose of this research are summarized in the following:
For each , there is a unique absolutely continuous curve such that and
\displaystyle\hbox{\frac{d}{dt}}\chi_{x}(t^{+})=-\partial^{0}f(\chi_{x}(t)) for all ;
\displaystyle\hbox{\frac{d}{dt}}f\left(\chi_{x}(t^{+})\right)=-\|\dot{\chi}_{x}(t^{+})\|^{2} for all ;
For each , the function decreases;
The function is nonincreasing and ;
converges weakly to some , as .
The proof of the result above is provided in , except for part , which was proved in . The trajectory is called a subgradient curve.
3 Kurdyka-Łojasiewicz inequality
In this subsection, we present the nonsmooth Kurdyka-Łojasiewicz inequality introduced in (see also , and the fundamental works ). To simplify the notation, we write (similar notation can be guessed from the context). Let and set
The function satisfies the Kurdyka-Łojasiewicz (KL) inequality (or has the KL property) locally at if there exist , and such that
for all . We say is a desingularizing function for at . This property basically expresses the fact that a function can be made sharp by a reparameterization of its values.
If is not a minimizer of , the KL inequality is obviously satisfied at . Therefore, we focus on the case when . Since , the KL inequality reads
for ]. The function has the KL property on if it does so at each point of .
The Łojasiewicz gradient inequality corresponds to the case when for some and . Following Łojasiewicz original presentation, (2) can be reformulated as follows
where . The number is the Łojasiewicz exponent. If has the KL property and admits the same desingularizing function at every point, then we say that is a global desingularizing function for .
KL inequalities were developed within the fascinating world of real semi-algebraic sets and functions. For that subject, we refer the reader to the book by Bochnak-Coste-Roy.
We recall the following theorem on the nonsmooth KL inequality (which follows the pioneering works of Łojasiewicz and Kurdyka ). It is one of the cornerstones of the present research:
Under an additional coercivity assumption, a global result is provided in Subsection 6.3.
4 Error bounds
Consider a nondecreasing function with . The function satisfies a local error bound with residual function if there is such that
for all (recall that ). Of particular importance is the case when with and , namely:
If is convex lower semicontinuous, we can extend the error bound beyond by linear extrapolation. More precisely, let such that . Then is continuous on the segment . Therefore, there is such that . By convexity, we have
for all , where . This is known in the literature as a global Hölder-type error bound (see ). Observe that it can be put under the form by simply setting . When combined with the Łojasiewicz error bound inequality , the above remark implies immediately the following result:
where and is a rational number.
Error bounds with moderate growth are equivalent to Łojasiewicz inequalities
In this section, we establish a general equivalence result between error bounds and KL inequalities. Our main goal is to provide a simple and natural way of explicitly computing Łojasiewicz exponents and, more generally, desingularizing functions. To avoid perturbing the flow of our general methodology on complexity, we discuss limitations and extensions of our results later, in Section 6.
As shown in Section 4, KL inequalities allow us to derive complexity bounds for first-order methods. However, KL inequalities with known constants are in general difficult to establish while error bounds are more tractable (see e.g., and references therein). The fact that these two notions are equivalent opens a wide range of possibilities when it comes to analyzing algorithm complexity.
where is a positive constant (observe that by concavity one has necessarily ). A pretty direct use of the Puiseux Lemma (see ) shows:
The following theorem asserts that if has a moderate behavior, has the global KL property if, and only if, has a global error bound. Besides, the desingularizing function in the KL inequality and the residual function in the error bound are essentially the same, up to a multiplicative constant. As explained through a counterexample in subsection 6.3, the equivalence breaks down if one argues in a setting where the derivative can blow up faster. This result is related to results obtained in and also shares some common techniques.
Let be a proper, convex and lower-semicontinuous, with . Let , , , and .
[KL inequality implies error bounds] If for all , then for all .
[Error bounds implies KL inequality] Conversely, if for all ( has a moderate behavior), and for all , then for all .
(i) Recall that the mapping denotes the semiflow associated to (see previous section). Since satisfies Kurdyka-Łojasiewicz inequality, we can apply Theorem 27 of Section 6, to obtain
and the conclusion follows immediately.
In a similar fashion, we can characterize the global existence of a Łojasiewicz gradient inequality.
(Characterization of Łojasiewicz inequalities for convex functions: global case) Let be a proper, convex and lower-semicontinuous, with . Let and .
If for all , then for all .
Conversely, if for all ( has moderate behavior), and for all , then for all .
(a) Observe the slight dissymmetry between the conclusions of (i) and (ii) in Theorem 5 and Corollary 6: while a desingularizing function provides directly an error bound in (i), an error bound (with moderate growth) becomes desingularizing after a rescaling, namely . (b) (Hölderian case) When in one has with , , then the constant is given by
Analytical aspects linked with the above results, such as connections with subgradient curves and nonlinear bounds, are discussed in a section devoted to further theoretical aspects of the interplay between KL inequality and error bounds. We focus here on the essential consequences we expect in terms of algorithms and complexity. With this objective in mind, we first provide some concrete examples in which a KL inequality with known powers and/or constants can be provided.
2 Examples: computing Łojasiewicz exponent through error bounds
The method we use for computing Łojasiewicz exponents is quite simple: we derive an error bound for with as much information as possible on the constants, and then we use the convexity along with either Theorem 5 or Corollary 6 to compute a desingularizing function together with a domain of desingularization; this technique appears also in a paper which only came to our knowledge during the finalization of our article.
Combining Proposition 8 and Corollary 6, the above implies:
Yet, in order to derive proper complexity bounds for ISTA we need to identify a computable constant in (4). For this we shall apply a recent result from Beck-Shtern .
First let us recall some basic results on error bounds (see e.g., ). In what follows, denotes the spectral or operator norm of a real matrix .It is the largest singular value of , which is the square root of the largest eigenvalue of the positive-semidefinite square matrix , where is the transpose matrix of .
and we assume that . There exists a constant , that only depends on the pair and is known as Hoffman’s constant for the pair , such that
A crucial aspect of Hoffman’s error bound is the possibility of estimating the constant from the data . We will not enter into these details here, we simply refer the reader to the work of Zǎlinescu and the references therein.
Therefore, we can rewrite the above inequality as follows
2.2 Distances to an intersection: convex feasibility
For , one considers closed convex subsets of whose intersection contains a nonempty open ball. This proposition is a quantitative version of [12, Corollary 3.1].
Suppose that there is and such that
We assume in a first stage. Put , and fix . The function is Lipschitz continuous with constant 1. Thus,
By taking , we deduce that . Now, we construct a specific point as follows
Obviously is in , and if we replace in by \bar{x}+\frac{R}{d}\big{(}P_{C_{1}}(x)-P_{C_{2}}P_{C_{1}}(x)\big{)}, we obtain
This implies that . Therefore
By combining the above results, we have which gives
For arbitrary , applying (13) for the two sets and , we obtain
Repeating the process times, we obtain (12).
A potential function for the barycentric projection method. Let . If , finding a point in is equivalent to minimizing the following convex function over
where for all and . As we shall see in the next section, the gradient method applied to yields the barycentric projection method (introduced in ; see also ). We now provide an error bound for under assumption (11).
It is clear that . Fix any . From Proposition 11, we obtain that has the following local error bound:
Combining with Theorem 5, we deduce that satisfies the Łojasiewicz inequality on with desingularizing function , where
A potential function for the alternating projection method. Assume now that , and set – a function related to the alternating projection method, as we shall see in a Section 5. One obviously has g(x)\geq\frac{1}{2}\big{(}\operatorname{dist}^{2}(x,C_{1})+\operatorname{dist}^{2}(x,C_{2})\big{)} for all . From the above remarks, we deduce that
Hence, satisfies the Łojasiewicz inequality on with desingularizing function given by
Complexity for first-order methods with sufficient decrease condition
In this section, we derive complexity bounds for first-order methods with a sufficient decrease condition, under a KL inequality. In what follows, we assume, as before, that is a proper lower-semicontinuous convex function such that and .
(Sufficient decrease condition) For each ,
(Relative error condition) For each , there is such that
We point out that an additional continuity condition which is not necessary here because of the convexity of was required in .
It seems that these conditions were first considered in the seminal and inspiring work of Luo-Tseng . They were used to study convergence rates from error bounds. We adopt partly their views and we provide a double improvement: on the one hand, we show how complexity can be tackled for such dynamics, and, on the other hand, we provide a general methodology that will hopefully be used for many other methods than those considered here.
The motivation behind this definition is due to the fact that such sequences are generated by many prominent methods, such as the forward-backward method (which we describe in detail below), many trust region methods , alternating methods , and, in a much more subtle manner, sequential quadratic methods and a wealth of majorization-minimization methods . In Section 5, we essentially focus on the forward-backward method because of its simplicity and its efficiency. Clearly, many other examples could be worked out.
If is smooth and its gradient is Lipschitz continuous with constant , then any sequence satisfying:
also satisfies (H2). Indeed, for every ,
for . By the strong convexity, lower-semicontinuity of the argument in the right-hand side and weak topology arguments, the set of minimizers has exactly one element. On the other hand, it is easily seen that (17) is equivalent to
Moreover, using the proximity operator defined in Subsection 2.1, the latter can be rewritten as
When , we obtain the proximal point algorithm for . On the other hand, if it reduces to the classical explicit gradient method for .
We shall see that the forward-backward method generates subgradient descent sequences if the step sizes are properly chosen.
Take . For the constant , we use the fundamental inequality provided in [21, Remark 3.2(iii)]:
For , we proceed as in Remark 12 above. Using the Moreau-Rockafellar Theorem, the optimality condition for the forward-backward method is given by
where . Using the Lipschitz continuity of , we obtain
If has the KL property, Theorem 14 below guarantees the strong convergence of every sequence generated by the forward-backward method.
Convergence of subgradient descent sequences follows readily from and . Although this kind of result has now became standard, we provide a direct proof for estimating thoroughly the constants at stake.
Assume first that and for all . Combining , , and using the concavity of we obtain
Combining the latter with yields
The case when or vanishes for some follows easily by using the argument evoked at the beginning of the proof.
When is twice continuously differentiable and definable (in particular, if it is semi-algebraic) it is proved in that near the origin. This shows that, in general, the “worst” complexity is more likely to be induced by rather than the square root.
2 Complexity for subgradient descent sequences
This section is devoted to the study of complexity for first-order descent methods of KL convex functions in Hilbert spaces.
Let , we shall assume that has the KL property on with desingularizing function (recall that and .). Whence
for all . Set and consider the function , which is increasing and convex.
The following assumption will be useful in the sequel:
Intuitively, the function embodies the worst-case “profile” of . As explained below, the worst-case behavior of descent methods appears indeed to be measured through . The assumption (A) is definitely weak, since for interesting cases is flat near , while it can be chosen affine for large values (see Proposition 30).
We focus on algorithms that generate subgradient descent sequences, thus complying with (H1) and (H2).
A one-dimensional worst-case proximal sequence. Set
for . Using standard arguments, one sees that is well defined and positive for each . Moreover, the sequence can be interpreted through the recursion
For , set . If the result is trivial. Assume , then one has also for . Set and so that satisfies
We shall prove that . Combining the KL inequality and , we obtain that
where is as in . Using and the formula for the derivative of the inverse function, this gives
We now use the descent Lemma on (see, for instance, [58, Lemma 1.30]), to obtain
The above holds for every such that .
To conclude we need two simple results on the prox operator in one dimension. Claim 1. Take and . Then
Proof of Claim 1. It is elementary, set , one indeed has and the result follows by the monotonicity of
with . Then for all .
Proof of Claim 2. We proceed by induction, the first step being trivial, we assume the result holds true for . We write
where the first inequality is due to the induction assumption (and the monotonicity of ), while the second one follows from Claim 1.
We now conclude by observing that are proximal sequences,
Recalling that , one can apply Claim 2 to obtain that . And thus . The last point follows from Theorem 14.
In many cases the function is nonlinear near zero and is affine beyond a given threshold (see subsection 2.4 or Proposition 30). This geometry reflects on the convergence rate of the estimators as follows:
A fast convergence regime is observed when . The objective is cut down by a constant value at each step.
When the sequence enters , a slower and restrictive complexity regime appears.
We draw the attention of the reader that our complexity result on the sequence (not only on the values) holds even in the case when there is a continuum of minimizers.
It is obvious from the proof that the following result holds.
Let be a subset of . If the set on which has the KL property is replaced by a more general set of the form: with the property that for all , then the same result holds.
In that case the complexity estimates given in Theorem 16 take the form
we obtain (29). For (30), first observe that
In view of (25), by adding (32) and (33) we obtain:
and combine this last equality with (34) to obtain the result.
Applications: feasibility problems, uniformly convex problems and compressed sensing
Let \displaystyle\big{\{}C_{i}\big{\}}_{i\in\{1,\ldots,m\}} be a family of closed convex subsets of , for which there exist and with
where and .
Using the function , studied in Subsection 3.2.2, it is easy to check that
Alternating projection algorithm. We consider here the feasibility problem in the case . The von Neuman’s alternating projection method is given by the following recursion
With no loss of generality, we assume that . The sequence generated by the alternating projection method converges to a point . Moreover, for all ,
2 Uniformly convex problems
Let be a positive coefficient. The function is called -uniformly convex, or simply uniformly convex, if there exists such that:
for all , . It is easy to see that satisfies the KL inequality on with (see ). For such a function we have
The case can be computed in closed form (as previously), but in general only numerical estimates are available.
Proposition 8 shows that first-order descent sequences for piecewise polynomial convex functions have a similar complexity structure. This shows that error bounds or KL inequalities capture more precisely the determinant geometrical factors behind complexity than mere uniform convexity.
Here, is an easily computable piecewise linear object known as the soft thresholding operator (see, for instance, ). This method has been applied widely in many contexts and is known to have a complexity O\big{(}\frac{1}{k}\big{)}. We intend to prove here that this bound can be surprisingly “improved” by our techniques.
First, recall that, according to Proposition 13, sequences generated by this method comply with (H1) and (H2), provided the stepsizes satisfy . Recall that the constants and can be chosen as
where is known to exist and is bounded from above by the constant given in (10).
If one makes the simple choice of a constant step size all throughout the process, namely with , one obtains
Combining the above developments with Corollary 19, we obtain the following surprising result:
(a) While it was known that ISTA has a linear asymptotic convergence rate, see in which a transparent explanation is provided, best known complexity bounds were of the type , see . Much like in the spirit of , we show here how geometry impacts complexity –through error bounds/KL inequality– providing thus complementary results to what is usually done in this field. (b) The estimate of given in Section 3.2.1 is far from being optimal and more work remains to be done to obtain acceptable/tight bounds. Observe however that the role of an optimal is absolutely crucial when it comes to complexity (see (36)): a good “conditioning” ( not too small) provides fast convergence, while a bad oneBad conditioning are produced by flat objective functions yielding thus small constants . comes with “bad complexity”. (c) Assuming that the forward-backward method is performed with a constant stepsize as in Remark 24, the value appearing in the complexity bounds given by Theorem 25 becomes
This quantity is maximized when . In this case, one obtains the optimized estimate:
Error bounds and KL inequalities for convex functions: additional properties
In this concluding section we provide further theoretical perspectives that will help the reader to understand the possibilities and the limitations of our general methodology. We give, in particular, a counterexample to the full equivalence between the KL property and error bounds, and we provide a globalization result for desingularizing functions.
This subsection essentially recalls a characterization result from on the equivalence between the KL inequality and the existence of a uniform bound for the length of subgradient trajectories verifying a subgradient differential inclusion. Due to the contraction properties of the semi-flow, the result is actually stronger than the nonconvex results provided in . For the reader’s convenience, we provide a self-contained proof.
Given , we denote by the unique solution of the differential inclusion
The following result provides an estimation on the length of subgradient trajectories, when satisfies the KL inequality. Given , and , write
Recall that and that .
Let , and . The following are equivalent:
For each , we have
For each and , we have
Moreover, under these conditions, converges strongly to a minimizer as .
Take and . First observe that
Since for all (see Theorem 1) and for almost every , it follows that
for all such . Multiplying by and integrating from to , we deduce that
Conversely, take (if is not in the result is obvious). For each we have
Finally, since , we deduce from ii) that the function has the Cauchy property as .
2 A counterexample: error bounds do not imply KL
This function is increasing (recall that is convex) and it satisfies
Let be the convex envelope of , that is the greatest convex function lying below . One easily verifies that enjoys the same properties (38), (39), (40). The Moreau envelope of the latter:
Hölderian error bounds do not necessarily imply Łojasiewicz inequality not even the KL inequality for nonconvex functions. The reason is elementary and consists simply in considering a function with non isolated critical values. Given , consider the function
3 From semi-local inequalities to global inequalities
We derive here a globalization result for KL inequalities that strongly supports the Lipschitz continuity assumption for the derivative of the inverse of a desingularizing function, an assumption that was essential to derive Theorem 16. The ideas behind the proof are inspired by .
Let be a proper lower semicontinuous convex function such that and . Assume also that has the KL property on with desingularizing function . Then, given , the function given by
is desingularising for on all of .
Let be such that . We would like to establish that , thus we may assume, with no loss of generality, that is finite. If there is such that , then
To show that such a exists, we use the semiflow of . Consider the curve and observe that there exists such that , because , and is continuous. From [23, Theorem 3.1 (6)], we know also that is nonincreasing. As a consequence, if we set , we obtained the desired point and the final conclusion.
One deduces easily from the above the following result, which is close to an observation already made in . For an insight into the notion of definability of functions, a prominent example being semi-algebraicity, one is referred to . Recall that coercivity of a proper lower-semicontinuous convex function defined on a finite dimensional space is equivalent to the fact that is nonempty and compact.
Take and use to obtain so that is KL on . Then use the previous proposition to extend on .
(Complexity of descent methods for definable coercive convex function) The previous result implies that there always exists a global measure of complexity for first-order descent methods of definable coercive convex lower-semicontinuous functions. This complexity bound is encoded in majorizing sequences computable from a single definable function and from the initial data. These majorizing sequences are of course defined, as in Theorem 16, by
where is a parameter of the chosen first-order method.
It is a very theoretical result yet conceptually important since it shows that the understanding and the research of complexity is guaranteed by the existence of a global KL inequality and our general methodology.
Conclusions
In this paper, we devised a general methodology to estimate the complexity for descent methods which are commonly used to solve convex optimization problems: error bounds can be employed to obtain desingularizing functions in the sense of Łojasiewicz, which, in turn, provide the complexity estimates. These techniques are applied to obtain new complexity results for ISTA in compressed sensing, as well as barycentric and alternating projection method for convex feasibility.
While this work was in its final phase, we discovered the prepublication in which complementary ideas are used to develop error bounds for parametric polynomial systems and to analyze the convergence rate of some first order methods. Numerous interconnections and roads must be investigated at the light of these new discoveries, and we hope to do so in our future research.
Acknowledgements The authors would like to thank Amir Beck, Patrick Combettes, Édouard Pauwels, Marc Teboulle and the anonymous referee for very useful comments.