Splitting methods with variable metric for KL functions
Pierre Frankel, Guillaume Garrigos, Juan Peypouquet
Nonconvex and nonsmooth optimization ; Kurdyka-Łojasiewicz inequality ; Descent methods ; Convergence rates ; Variable metric ; Gauss-Seidel method ; Newton-like method.
The second and third authors are partly supported by Conicyt Anillo Project ACT-1106, ECOS-Conicyt Project C13E03 and Millenium Nucleus ICM/FIC P10-024F. The third author is also partly supported by FONDECYT Grant 1140829 and Basal Project CMM Universidad de Chile.
P. Frankel & G. Garrigos Institut de Mathématiques et Modélisation de Montpellier, UMR 5149 CNRS. Université Montpellier 2, Place Eugène Bataillon, 34095 Montpellier cedex 5, France. Email: p.frankel30@orange.fr, guillaume.garrigos@gmail.com
G. Garrigos & J. Peypouquet Departamento de Matemática & AM2V. Universidad Técnica Federico Santa María, Avenida España 1680, Valparaíso, Chile. Email: guillaume.garrigos@gmail.com, juan.peypouquet@usm.cl
Introduction
In this paper we present a class of numerical methods to find critical points for a class of nonsmooth and nonconvex functions defined on a Hilbert space. Our analysis relies on the Kurdyka-Łojasiewicz (KŁ) inequality, initially formulated by Łojasiewicz for analytic functions in finite dimension , and later extended to nonsmooth functions in more general spaces . Gradient-like systems governed by potentials satisfying this KŁ inequality enjoy good asymptotic properties: under a compactness assumption, the corresponding trajectories have finite length and converge strongly to equilibria or critical points. These ideas were used in to study nonlinear first-order evolution equations (see also ). Second-order systems were considered in and a Schrödinger equation in .
The convergence analysis of algorithms in this context is more recent. See for gradient-related methods, for the proximal point algorithm and for a nonsmooth subgradient-oriented descent method. The celebrated Forward-Backward algorithm, a splitting method exploiting the nonsmooth/smooth structure of the objective function, has been studied in , and extended in to take in account a variable metric. Another splitting approach comes from Gauss-Seidel-like methods, which apply to functions with separated variables, and consist in doing a descent method relatively to each (block of) variables alternatively. See for a proximal alternating method, and for a variable-metric version. Recent papers propose to combine these two splitting approaches in order to exploit both the smooth/nonsmooth character and the separated structure of the function.
Most of the algorithms studied in the aforementioned papers share the same asymptotic behavior: under a compactness assumption, the sequences generated converge strongly to critical points, and the affine interpolations have finite length. This is not surprising since the algorithms described in together with the ones of (without extrapolation step) fall into the general convergence result for abstract descent methods of Attouch, Bolte and Svaiter . Besides, these methods essentially share the same hypotheses on the parameters with the abstract method of : the step sizes (resp. the eigenvalues of the matrices underlying the metric) are required to remain in a compact subinterval of the positive numbers. Moreover they have little flexibility regarding the presence of computational errors. To our knowledge vanishing step sizes (resp. unbounded eigenvalues) or sufficiently general errors have never been treated in the KŁ context.
Another interesting aspect is that the convergence rate of several of these methods are essentially the same, and depend on the KŁ inequality rather than the nature of the algorithm. Therefore, it seems reasonable to consider the existence of an abstract convergence rate result for general descent methods.
We present now the structure of the paper and underline its main contributions: in Section 2 we recall some definitions, well-known facts, and set the notation. Section 3 contains the main theoretical results of the paper. More precisely, in Subsection 3.1, we present an abstract inexact descent method, which is inspired by but extending their setting in order to account for additive computational errors and more versatility in the choice of the parameters. The strong convergence of the iterates with a finite-length condition, and a capture property are proved under certain hypotheses. Since the proofs are very close to those of , most arguments are given in Appendix A.1. Then, in Subsection 3.2 we prove new and interesting general convergence rates. They are similar to the ones obtained in . Surprisingly, an explicit form of the algorithm terminates in a finite number of iterations in several cases. A link with convergence rates for some continuous-time dynamical systems is also given. Sections 4 and 5 contain the main practical contributions. In Section 4, we present a particular instance of the model, which provides further insight into a large class of known methods and present some innovative variants. More exactly, we revisit the Alternating Forward-Backward methods, already considered in , but allowing inexact computation of the iterates and a dynamic choice of metric. This setting includes also the generalized Levenberg-Marquardt algorithm, a Newton-like method adapted for nonconvex and nonsmooth functions. In Section 5, we briefly describe an instance of this algorithm to produce a new method for the sparse and low-rank matrix decomposition. Finally, some perspectives are discussed in Section 6.
Preliminaries
If and , then .
2. The Kurdyka-Łojasiewicz property
holds for all in the strict local upper level set
Semi-algebraic and bounded sub-analytic functions in finite dimension satisfy a KŁ inequality (), as well as some, but not all, convex functions (see for details and a counterexample). See , and the references therein, for more information in the general context of o-minimal functions. See for characterizations in infinite-dimensional Hilbert spaces.
3. Proximal operator in a given metric
Observe that if is weakly lower-semicontinuous and bounded from below (see [29, Theorem 3.2.5]), which holds in many relevant applications. If is the indicator function of a set, then is the nearest point mapping relatively to the metric induced by .
Convergence of an abstract inexact descent method
for all .
In Section 4, we complement this axiomatic description of descent methods by providing a large class of implementable algorithms that produce sequences verifying hypotheses , and . A simple example is:
If is differentiable, a gradient-related method (see ) is an algorithms where each iteration has the form , where and agrees with the steepest descent direction in the sense that and , with and . If is Lipschitz-continuous, it is easy to find conditions on the sequence to verify hypotheses , and .
Sequences generated by the procedure described above converge strongly to critical points of and the piecewise linear curve obtained by interpolation has finite length. More precisely, we have:
It is possible in Theorem 1 to drop the -precompactness assumption and obtain a capture result, near a global minimum of . To simplify the notation, for , and , define the relaxed local upper level set by
As mentioned in , Theorem 2 admits a more general formulation, for instance, if is a local minimum of where a growth assumption is locally satisfied (see [17, Remark 2.11]).
The proofs of Theorems 1 and 2 follow the arguments in [17, Subsection 2.3], adapted to the presence of errors and the variability of the parameters. They are given in Appendix A.1 for the reader’s convenience.
2. Rates of Convergence
We assume that , and hold, and for simplicity and precision, we restrict ourselves to the case where . Suppose that -converges to a point where has the KŁ property. We study three types of convergence rate results, depending on the nature of the desingularizing function :
Theorem 3 establishes the relationship between the distance to the limit and the gap , for a generic desingularizing function. It is similar to the result in for the proximal method in the convex case.
Theorem 4 gives explicit convergence rates in terms of the parameters both for the distance and the gap when the desingularizing function is of the form with and . Several results obtained in the literature for various methods are recovered.
Finally, Theorem 5 provides convergence rates when is replaced by a slightly different hypothesis that holds for certain explicit schemes, namely gradient-related methods. This result is valid for a generic desingularizing function . However, when is of the form (, ) the prediction is considerably better than the one provided by Theorem 4.
for all . Summing this inequality for , we obtain
Using the triangle inequality and passing to the limit, we get
Theorem 4 below is qualitatively analogous to the results in : convergence in a finite number of steps if , exponential convergence if and polynomial convergence if . In the general convex case, finite-time termination of the proximal point algorithm was already proved in and (see also ).
Assume for some , .
, and
.
, and
.
for each . Let us now consider different cases for :
Subcase : Since and , we may assume, by enlarging if necessary, that for all . Inequality (7) implies or, equivalently, for all . By induction, we obtain
for all . But , and so
Subcase : Recall from inequality (7) that . Set . Then , and
On the one hand, if we suppose that , then
On the other hand, suppose that . Since , we have . Thus , where . Therefore,
with . Since , we can write
Setting we can write for all . This implies
which is precisely with . As before, Theorem 3 gives the second part. ∎
2.3. Sharper results for gradient-related methods
Convergence rates for the continuous-time gradient system
where is some integral functional, are given in . For any , [34, Theorem 2.7] states that
, and
,
, and
.
To see this, let be large enough to have where the KŁ inequality holds for all . We apply successively , , the KŁ inequality and to obtain
Let be a primitive of . Then
because is decreasing. Therefore,
as claimed. Now let us analyze the two cases:
For the second one, since is concave and differentiable, we have
by . The KŁ property and then give
Descent methods with errors and variable metric
As stressed in , the abstract scheme developed in Section 3 covers, among others, the gradient-related methods (a wide variety of schemes based on the gradient method sketched in ), the proximal algorithm (introduced in and further developed in ), and the forward-backward algorithm (a combination of the preceding, see ). This last one is a splitting method, used to solve structured optimization problems with the following form
It satisfies , and (see [17, Theorem 5.1]) and falls into the setting of Theorem 1. We shall extend this class of algorithms in different directions:
Alternative choice of metric for the ambient space, which may vary at each step (see and the references therein). Considering metrics induced by a sequence , the forward-backward method becomes
(recall Subsection 2.3). Indeed, (13) can be rewritten as
At each step, an approximation of , replacing its smooth part by a quadratic model, is minimized. See for a similar algorithm called Variable Metric Forward-Backward, and for an approach considering more general models. Note that when one recovers (12). Allowing variable metric can improve convergence rates, help to implicitly deal with certain constraints, or compensate the effect of ill-conditioning. Rather than simply giving a convergence result for a general choice of , we handle, in Subsection 4.3, a detailed method to select these operators, using second-order information.
where are nonsmooth proper l.s.c functions and is differentiable with Lipschitz gradient. One approach is the regularized Gauss-Seidel method, which exploits the fact that the variables are separated in the nonsmooth part of , as considered in . It consists in minimizing alternatively a regularized version of with respect to each variable. In other words, it is an alternating proximal algorithm, of the form:
But this algorithm does not exploit the smooth nature of . An alternative is to use an alternating minimization method which can deal with the nonsmooth character, while it benefits from the smooth features. An Alternating Forward-Backward Method considering variable metrics is presented below. A constant-metric version, namely the Proximal Alternating Linearized Minimization Algorithm, can be found in . A forthcoming paper deals with the same algorithm, called Block Coordinate Variable Metric Forward-Backward, with a non-cyclic way of selecting the variables to minimize. Nevertheless, our setting differs from the aforementioned works in the following ways:
We allow more flexibility in the choice of parameters, accounting, in particular, for vanishing step sizes or unbounded eigenvalues for the metrics.
Convergence of this method with errors is given in Theorem 6.
Let be Hilbert spaces, each provided with its own inner product and norm . If there is no ambiguity, we will just note instead of . Set and endow it with the inner product and the associated norm . Consider the problem
has a -Lipschitz continuous gradient. We shall present an algorithm that generates sequences converging to critical points of . The sequences will be updated cyclically, meaning that given , we start by updating the first variable into , and then we consider to update the second variable, and so on. In order to have concise and clear notations, throughout this section we shall denote:
Observe that and that we can write .
We shall consider some hypotheses on the operators . Define and , which give bounds on the spectral values of . We make the following assumptions:
Here is a bound on the spectral values by the Lipschitz constant of the gradient of , in order to enforce the descent property of the sequence. For operators of the form , we recover the classical bound . In , the authors prove that, with an additional convexity assumption on the ’s, and boundedness of the parameters, one can consider . Item states that the spectral values may diverge, but not too fast. Finally, can be seen as an hypothesis on the variations of the extreme spectral values of the chosen operators. It clearly holds for instance if is bounded. It is also sufficient to assume that the condition numbers
are bounded, with also remaining bounded.
Even if is globally Lipschitz continuous, is not the Lipschitz constant of but a common Lipschitz constant for the functions defined in (18). As a consequence the partial gradients are -Lipschitz continuous while is -Lipschitz. This allows us to have a better bound in which is of particular importance in the applications (see Section 5). In , the authors give a more precise analysis: at each substep of the algorithm, they consider as the Lipschitz constant of the gradient of . Then they take step sizes equal to where is a fixed non-negative constant. This approach can be related to the one in . However, they suppose a priori that the values remain bounded. It would be interesting to know if it is possible to combine the two approaches (a variable Lipschitz constant and vanishing step sizes).
2. The AFB method with errors
In order to allow for approximate computation of the descent direction or the proximal mapping, we go further by considering an inexact AFB method. We introduce the sequences and for which correspond respectively to errors arising at the explicit and implicit steps relatively to the variable . The AFB method with Errors is computed from an initial by
We do specific hypothesis on the errors in view to guarantee the convergence of the method. Observe in particular that we do not assume a priori that the errors converge to zero:
This AFB algorithm (with errors) is related to the abstract descent method studied in Section 3. This is stated in the next proposition, whose proof is left in Appendix A.2.
Any sequence generated by the AFB algorithm with errors satisfies , and .
Given this result, one could directly apply Theorem 1 to obtain convergence of the sequence to a critical point of . But this result would suffer from some drawbacks. First, we are expecting that converges to a critical point, not . So we should make the assumption that the errors tend to zero. Moreover we would suppose that is -precompact, while we may only have an access to . To handle this, we make the link between the asymptotic behaviour of and :
For any sequence generated by the AFB method with errors:
If has finite length, then so does .
is precompact if and only if is bounded from below and is precompact.
Item 1 comes directly from . To prove item 2, we use Proposition 1: from and we have that
hence is a decreasing sequence. Then we can sum inequality (21) to obtain that
An other disadvantage to the direct application of Theorem 1 is that it asks the -precompactness of . In some cases, precompactness of a sequence can be deduced using compact embeddings between Hilbert spaces. Sequences remaining in a sublevel set of an inf-compact function are also precompact. However, -precompactness is harder to obtain without further continuity assumption on . Actually, both limit and -limit points coincide whenever the parameters are bounded:
If either or is continuous on its domain, then is -precompact if and only if it is precompact.
and the latter implies (using Cauchy-Schwartz and ):
Now recall that tends to while goes to zero (see Proposition 2). Observe also that is bounded since it converges to . Moreover, goes also to zero since we have
As a direct consequence of Propositions 1, 2, 3 together with Theorem 1, we finally get our convergence result for the AFB algorithm with errors. It extends the results of (when taking a cyclic permutation on the variables) in two directions: the functions need not be continuous on their domain, or the step sizes can tend to 0.
Let be a KŁ function. Let be a precompact sequence generated by the AFB algorithm with errors, with (HP) and (HE) satisfied. Suppose that either remains bounded, or that is continuous on its domain. Hence, the sequence has finite length and converges toward a critical point of .
An analog of the capture result in Theorem 2 can also be deduced:
Suppose that the KŁ property holds in a global minimum of . Let be a sequence generated by the AFB algorithm with errors, satisfying (HP) and (HE) with . Hence, there exist and such that if , then has finite length and converges to a global minimum of .
To prove this theorem, it suffices to use , and to see at the end of the proof of Proposition 1 that iff , where is the parameter involved in . Then, apply Theorem 2 together with Propositions 1 and 2.
3. Variable metric: towards generalized Newton methods
gives the minimum of over in one single step. For a general function , (24) reduces to the minimisation over of a quadratic model of , as stressed in (14). One can see on this example that computing the proximal operator relatively to the metric used in the explicit step (and not the ambient metric !) is of crucial importance in this method.
The spirit here is to use second-order information from in order to improve the convergence of the method. In the unconstrained case, a popular choice of metric is given by Newton-like methods, where the metric at step is induced by (an approximation of) the Hessian . Since it is often impossible to know in advance whether or not the Hessian is uniformly elliptic at each , a positive definite approximation has to be chosen.
We detail here a natural way to chose this positive definite in closed loop, and show that this method remains in the setting of Theorem 6. Since it generalizes the Levenberg-Marquardt method used in the convex case (see ) we will refer to the Generalized Levenberg-Marquardt method for this way of designing . One of the interesting aspect of the method is that such a matrix can be defined even if is only and not , since the differentiability of is not necessary in Theorem 6. Another interesting aspect is that the splitting approach led us to solve constrained minimization problems with a Newton-projected approach.
A globalized version of the method can be considered by taking step sizes ensuring descent. Then the following convergence result holds:
where is selected with the Generalized Levenberg-Marquardt process detailed above, and the stepsizes satisfy:
Then the sequence has finite length and is converging to a critical point of .
Start by observing that , so the algorithm falls in the setting of the AFB algorithm. According with the previous notations, being -Lipschitz continuous implies that the sequence is bounded by , and so remains bounded by . To conclude through Theorem 6 we just need to check the hypotheses (HP) on the parameters . We have here and Thus is satisfied, while items and follows directly from the hypotheses made on . Since the indicator function is continuous on its domain, the hypotheses of Theorem 6 are satisfied.∎
This extends, in a way, results from the convex setting to the nonconvex one, enforcing moreover the strong convergence (see [42, Theorem 7.1]).
A drawback of this method is that the Hessian increases the complexity of implementation since a matrix must be inverted in the explicit step. An alternative is the Broyden-Fletcher-Goldfarb-Shanno (BFGS) update scheme (see ,), using only first-order information to compute the inverse of the Hessian. On the other hand, the implicit step gains also in complexity since one must project onto a constraint relatively to a given metric, which is nontrivial even for simple constraints. For linear constraints, a particular second-order model of the Hessian can be taken in order to reduce the implicit step in a trivial orthogonal projection step (see ).
Newton-like methods are expected to have good convergence rates in exchange for a more expensive implementation. An interesting question is whether one can obtain convergence rates beyond the results in Subsection 3.2, by exploiting, not only the KŁ nature of the function, but also the specific properties of the matrices selected by the Generalized Levenberg-Marquardt process.
Applications
The framework presented in this paper is suitable for the numerical resolution of a wide variety of structured problems. Consider for instance the problems arising in image processing and data compression, which are generally semi-algebraic by nature . Indeed, they generally involve the semi-algebraic counting norm , whose proximal operator (the hard shrinkage operator, see ) is easily implementable. Feasability problems with semi-algebraic (eventually nonconvex) constraints are also well suited for the AFB method (see ). The search for equilibria of nonlinear partial differential equations has already been tackled using the KŁ inequality . It should now be improved by using splitting methods more adapted to the structure of the problem. Let us end by discussing in some detail the sparse and low-rank matrix decomposition, for which the AFB method is particularly well adapted, in view of its structure.
The KŁ framework is well adapted to the original nonconvex (but semialgebraic!) problem and offers convergent numerical methods. Moreover, the AFB method is well suited for its structure in separated variables involving smooth and nonsmooth parts. It leads to an Alternating Averaged Projected Method: given , take , with . For , define
Projection onto can be done using the Singular Value Decomposition (see Eckart-Young’s Theorem). To project onto , one simply sets all the coefficients to zero, except for the largest ones (in absolute value). Theorem 7 guarantees convergence to the solution for sufficiently close initialization. This example illustrate the discussion in Remark 2: here we have , while if one consider the Lipschitz constant of the gradient of , we would have had , that is a strictly smaller upper bound for the parameters.
Concluding Remarks
We have given a unified way to handle various recent descent algorithms, and derived general convergence rate results in the KŁ framework. These are applicable to potential future numerical methods. Some improvements have been explored, and a novel projected Newton-like method has been proposed.
A challenging task is to extend the present convergence analysis to algorithms that do not satisfy the sufficient decrease condition . This will allow to consider acceleration schemes like the ones studied in , or primal-dual methods based on a Lagrangian approach. A recent preprint seems to be an interesting first attempt in this direction.
Finally, it is worth mentioning that the results in Section 3 remain true in the more general context of a normed space, adapting the definition of subdifferential and lazy slope in an obvious manner.
Acknowledgements : The authors thank H. Attouch for useful remarks. They would also like to thank the anonymous reviewer for his careful reading and constructive comments.
Appendix A Appendix
The argument is a straightforward adaptation of the ideas in the proof of [17, Lemma 2.6]. One first proves:
: There exist such that
The initial point belongs to and
The basic asymptotic properties are given by the following result:
Let , , and hold. Then for all and converges to some lying in the closed ball . Moreover , , and .
We are now in position to complete the proofs of Theorems 1 and 2.
which implies part i) of . Now take such that
It follows that , and so . Finally, we have
A.2. Proof of Proposition 1
Since , we can rewrite the algorithm as
We start by showing that is satisfied.
Let be fixed. Using the definition of the proximal operator in (27) and developing the squared norms gives
Using in (28), the latter results in
where remains coercive, since . Using successively the Cauchy-Schwartz inequality, the Lipschitz property of (see Remark 2) and , one gets
Inserting this estimation in (32) we deduce that
We can now conclude by summing all these inequalities for :
so is fulfilled with . To prove , fix and use Fermat’s first order condition in (27) to get:
Define which lies in , by (35). The triangle inequality gives
where we use the error estimations from (HE)
and the -Lipschitz continuity of :
Define now (recall the definition of ). Then through the sum over of inequality (39) we have (using )
Hence is verified with and .