Practical Inexact Proximal Quasi-Newton Method with Global Complexity Analysis

Katya Scheinberg, Xiaocheng Tang

Introduction

In this paper, we are interested in the following popular convex optimization problem:

Here ∥y∥H2\|y\|^{2}_{H} denotes y⊤Hyy^{\top}Hy. Clearly, the computational cost of approximately solving (1.2) depends on the choice of matrix HH and the solution approach.

We are particularly interested in the case of sparse optimization, where g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1}. While the theory we present here applies to the general form (1.1), the efficient method for solving (1.2) that we consider in this paper is designed with g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1} example in mind. In this case problem (1.2) takes a form of an unconstrained Lasso problem . We consider matrices HH which are a sum of a diagonal matrix and a low-rank matrix and we apply randomized coordinate descent to solve (1.2) approximately. An extension to the group sparsity term g(x)=λ∑∥xi∥2g(x)=\lambda\sum\|x_{i}\|_{2} , is rather straightforward.

Problems of the form (1.1) with g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1} have been the focus of much research lately in the fields of signal processing and machine learning. This form encompasses a variety of machine learning models, in which feature selection is desirable, such as sparse logistic regression , sparse inverse covariance selection and unconstrained Lasso , etc. These settings often present common difficulties to optimization algorithms due to their large scale. During the past decade most optimization effort aimed at these problems focused on development of efficient first-order methods, such as accelerated proximal gradient methods , block coordinate descent methods and alternating directions methods . These methods enjoy low per-iteration complexity, but typically have slow local convergence rates. Their performance is often hampered by small step sizes. This, of course, has been known about first-oder methods for a long time, however, due to the very large size of these problems, second-order methods are often not a practical alternative. In particular, constructing and storing a Hessian matrix, let alone inverting it, is prohibitively expensive for values of nn larger than 1000010000, which often makes the use of the Hessian in large-scale problems prohibitive, regardless of the benefits of fast local convergence rate.

Nevertheless, recently several new methods were proposed for sparse optimization which make careful use of second-order information . These new methods are designed to exploit the special structure of the Hessian of specific functions to improve efficiency of solving (1.2). Several successful methods employ coordinate descent to approximately solve (1.2). While other approaches to solve Lasso subproblem were considered in , none generally outperform coordinate descent, which is well suited when special structure of the Hessian approximation, HH, can be exploited and when low accuracy of the subproblem solutions is sufficient. In particular, proposes a specialized GLMNET implementation for sparse logistic regression, where coordinate descent method is applied to the unconstrained Lasso subproblem constructed using the Hessian of f(x)f(x). The special structure of the Hessian is used to reduce the complexity cost of each coordinate step so that it is linear in the number of training instances, and a two-level shrinking scheme proposed to focus the minimization on smaller subproblems. Similar ideas are used in in a specialized algorithm called QUIC for sparse inverse covariance selection, where the Hessian of f(x)f(x) also has a favorable structure for solving Lasso subproblems. Another specialized method for graphical Markov random fields was recently proposed in . This method also exploits special Hessian structure to improve coordinate descent efficiency.

There are other common features shared by the methods described above. These methods are often referred to as proximal Newton-type methods. The overall algorithmic framework can be described as follows:

At each iteration kk the smooth function f(x)f(x) is approximated near the current iterate xkx^{k} by a convex quadratic function qk(x)q^{k}(x).

A working subset of coordinates (elements) of xx is selected for subproblem optimization.

Then l(k)l(k) passes of coordinate descent are applied to optimize (approximately) the function qk(x)+g(x)q^{k}(x)+g(x) over the working set, which results in a trial point. Here l(k)l(k) is some linear function of kk.

The trial point is accepted as the new iterate if it satisfies some sufficient decrease condition (to be specified).

Otherwise, a line search is applied to compute a new trial point.

In this paper we do not include the theoretical analysis of various working set selection strategies. Some of these have been analyzed in the prior literature (e.g., see ). Combining such existing analysis with the rate of convergence results in this paper is a subject of a future study.

This paper contains the following three main results.

We discuss theoretical properties of the above framework in terms of global convergence rates. In particular, we show that if we replace the line search by a prox-parameter update mechanism, we can derive sublinear global convergence results for the above methods under mild assumptions on Hessian approximation matrices, which can include diagonal, quasi-Newton and limited memory quasi-Newton approximations. We also provide the convergence rate for the case of inexact subproblem optimization. It turns out that standard global convergence analysis of proximal gradient methods (see ) does not extend in a natural way to proximal quasi-Newton frameworks, hence we use a different technique derived for smooth optimization in , in a novel way, to obtain the global complexity result.

The heuristic of applying l(k)l(k) passes of coordinate descent to the subproblem is very useful in practice, but has not yet been theoretically justified, due to the lack of known complexity estimates. Here we use probabilistic complexity bounds of randomized coordinate descent to show that this heuristic is indeed well justified theoretically. In particular, it guarantees the sufficiently rapid decrease of the expectation of the error in the subproblems and hence allows for sublinear global convergence rate to hold for the entire algorithm (again, in expectation). This gives us the first complete global convergence rate result for the algorithmic schemes for practical (inexact) proximal Newton-type methods. Moreover, using the new analysis from we are able to provide lower overall complexity bound than the one that follows from

Finally, we propose an efficient general purpose algorithm that uses the same theoretical framework, but which does not rely on the special structure of the Hessian, and yet in our tests compares favorably with the state-of-the-art, specialized methods such as QUIC and GLMNET. We replace the exact Hessian computation by the limited memory BFGS Hessian approximations (LBFGS) and exploit their special structure within a coordinate descent approach to solve the subproblems.

Let us elaborate a bit further on the new approaches and results developed in this paper and discuss related prior work.

In Byrd et al. propose that the methods in the framework described above should be referred to as sequential quadratic approximation (SQA) instead of proximal Newton methods. They reason that there is no proximal operator or proximal term involved in this framework. This is indeed the case, if a line search is used to ensure sufficient decrease. Here we propose to consider a prox term as a part of the quadratic approximation. Instead of a line search procedure, we update the prox term of our quadratic model, which allows us to extend global convergence bounds of proximal gradient methods to the case of proximal (quasi-)Newton methods. The criteria for accepting a new iteration is based on sufficient decrease condition (much like in trust region methods, and unlike that in proximal gradient methods). We show that our mechanism of updating the prox parameter, based on sufficient decrease condition, leads to an improvement in performance and robustness of the algorithm compared to the line search approach as well as enabling us to develop global convergence rates.

Convergence results for the proximal Newton method have been shown in and more recently in (with the same sufficient decrease condition as ours, but applied within a line search). These papers also demonstrate super linear local convergence rate of the proximal Newton and a proximal quasi-Newton method. Thus it is confirmed in that using second order information is as beneficial for problems of the form (1.1) as it is for the smooth optimization problems. These results apply to our framework when exact Hessian (or a quasi-Newton approximation) of f(x)f(x) is used to construct q(x)q(x) (and if the matrices have bounded eigenvalues). However, theory in does not provide global convergence rates for these methods, and just as in the case on smooth optimization, the super linear local convergence rates, generally, do not apply in the case of LBFGS Hessian approximations.

The convergence rate that we show is sub linear, which is generally the best that can be expected from a proximal (quasi-)Newton method with no assumptions on the accuracy of the Hessian approximations. Practical benefits of using LBFGS Hessian approximations is well known for smooth optimization and have been exploited in many large scale applications. In this paper we demonstrate this benefit in the composite optimization setting (1.1). Some prior work showing benefit of limiter memory quasi-Newton method in proximal setting include . We also emphasize in our theoretical analysis the potential gain over proximal gradient methods in terms of constants occurring in the convergence rate.

To prove the sub linear rate we borrow a technique from . The technique used in and for the proof of convergence rates of the (inexact) proximal gradient method do not seem to extend to general positive definite Hessian approximation matrix. In a related work the authors analyze global convergence rates of an accelerated proximal quasi-Newton method, as an extension of FISTA method . The convergence rate they obtain match that of accelerated proximal gradient methods, hence it is a faster rate than that of our method presented here. However, they have to impose much stricter conditions on the Hessian approximation matrix, in particular they require that the difference between any two consecutive Hessian approximations (i.e., Hk−Hk+1H_{k}-H_{k+1}) is positive semidefinite. This is actually in contradiction to FISTA’s requirement that the prox parameter is never increased. Such a condition is very restrictive as is impractical. In this paper we briefly show how results in and can be extended under some (also possibly strong) assumptions of the Hessian approximations, to give a simple and natural convergence rate analysis. We then present an alternative analysis, which only requires the Hessian approximations to have bounded eigenvalues. Investigating accelerated version of our approach without restrictive assumptions on the Hessian approximations and with the use of randomized coordinate descent is a subject of future research.

Finally, we use the complexity analysis of randomized coordinate descent in to provide a simple and efficient stopping criterion for the subproblems and thus derive the total complexity of proximal (quasi-)Newton methods based on randomized coordinate descent to solve Lasso subproblems.

The paper is organized as follows: in Section 2 we describe the algorithmic framework. Then, in Section 3 we present some of the assumptions and discussions and, in Section 3.1, convergence rate analysis based on and . In Section 4 we show the new convergence rate analysis using for exact and inexact version of our framework. We then extend the analysis for the cases where inexact solution to a subproblem is random in Section 5 and in particular to the randomized coordinate descent in Section 5.1. Brief description of the details of our proposed algorithm are in Section 6 and computational results validating the theory are presented in Section 7.

Basic algorithmic framework and theoretical analysis

The following function is used throughout the paper as an approximation of the objective function F(x)F(x).

For a fixed point xˉ\bar{x}, the function Q(H,x,xˉ)Q(H,x,\bar{x}) serves as an approximation of F(x)F(x) around xˉ\bar{x}. Matrix HH controls the quality of this approximation. In particular, if f(x)f(x) is smooth and H=1μIH=\frac{1}{\mu}I, then Q(H,x,xˉ)Q(H,x,\bar{x}) is a sum of the prox-gradient approximation of f(x)f(x) at xˉ\bar{x} and g(x)g(x). This particular form of HH plays a key role in the design and analysis of proximal gradient methods (e.g., see ) and alternating direction augmented Lagrangian methods (e.g, see ). If H=∇2f(xˉ)H=\nabla^{2}f(\bar{x}), then Q(H,x,xˉ)Q(H,x,\bar{x}) is a second order approximation of F(x)F(x) . In this paper we assume that HH is a positive definite matrix such that σI⪯H⪯MI\sigma I\preceq H\preceq MI for some positive constants MM and σ\sigma.

Minimizing the function Q(H,u,v)Q(H,u,v) over uu reduces to solving problem (1.2). We will use the following notation to denote the accurate and approximate solutions of (1.2).

The method that we consider in this paper computes iterates by (approximately) optimizing Q(H,u,v)Q(H,u,v) with respect to uu using some particular HH which is chosen at each iteration. The basic algorithm is described in Algorithms 1 and 2.

Algorithm 2 chooses Hessian approximations of the form Hk=1μkI+GkH_{k}=\frac{1}{\mu_{k}}I+G_{k}. However, it is possible to consider any procedure of choosing positive definite HkH_{k} which ensures MI⪰Hk⪰σIMI\succeq H_{k}\succeq\sigma I and F(pHk(x))−F(x)≤ρ(Q(Hk,pHk(x),x)−F(x))F(p_{H_{k}}(x))-F(x)\leq\rho(Q(H_{k},p_{H_{k}}(x),x)-F(x)), for a given 0<ρ≤10<\rho\leq 1, - a step acceptance condition which is a relaxation of conditions used in and .

An inexact version of Algorithm 1 is obtained by simply replacing pHkp_{H_{k}} by pHk,ϕkp_{H_{k},\phi_{k}} in both Algorithms 1 and 2 for some sequence of ϕk\phi_{k} values.

Basic results, assumptions and preliminary analysis

ISTA is a particular case of Algorithm 1 with Gk=0G_{k}=0, for all kk, and ρ=1\rho=1. In this case, the value of μk\mu_{k} is chosen so that the conditions of Lemma 2 hold with ϵ=0\epsilon=0. In other words, the reduction achieved in the objective function F(x)F(x) is at least the amount of reduction achieved in the model Q(μk,p(xk),xk)Q(\mu_{k},p(x^{k}),x^{k}). It is well known that as long as μk≤1/L(f)\mu_{k}\leq 1/L(f) (recall that L(f)L(f) is the Lipschitz constant of the gradient) then condition (3.8) holds with ρ=1\rho=1. Relaxing condition (3.8) by using ρ<1\rho<1 allows us to accept larger values of μk\mu_{k}, which in turn implies larger steps taken by the algorithm. This basic idea is the cornerstone of step size selection in most nonlinear optimization algorithms. Instead of insisting on achieving ”full” predicted reduction of the objective function (even when possible), a fraction of this reduction is usually sufficient. In our experiments small values of ρ\rho provided much better performance than values close to 11.

In the next three sections we present the analysis of convergence rate of Algorithm 1 under different scenarios. Recall that we assume that f(x)f(x) is convex and smooth, in other words ∥∇f(x)−∇f(y)∥≤L(f)∥x−y∥\|\nabla f(x)-\nabla f(y)\|\leq L(f)\|x-y\| for all xx and yy in the domain of interest, while g(x)g(x) is simply convex. In Section 5.1 we assume that g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1}. Note that we do not assume that f(x)f(x) is strongly convex or that it is twice continuously differentiable, because we do not rely on any accurate second order information in our framework. We only assume that the Hessian approximations are positive definite and bounded, but their accuracy can be arbitrary, as long as sufficient decrease condition holds. Hence we only achieve sublinear rate of convergence. To achieve higher local rates of convergence stronger assumptions on f(x)f(x) and on the Hessian approximations have to be made, see for instance, and for related local convergence analysis.

First we present a helpful lemma which is a simple extension of Lemma 2 in to the case of general positive definite Hessian estimate. This lemma establishes some simple properties of an ϕ\phi-optimal solution to the proximal problem (1.2). It uses the concept of the ϕ\phi-subdifferential of a convex function aa at xx, ∂ϕa(x)\partial_{\phi}a(x), which is defined as the set of vectors yy such that a(x)−yTx≤a(t)−yTt+ϕa(x)-y^{T}x\leq a(t)-y^{T}t+\phi for all tt.

where z=v−H−1∇f(v)z=v-H^{-1}\nabla f(v). Then there exists η\eta such that 12∥η∥H−12≤ϕ\frac{1}{2}\|\eta\|^{2}_{H^{-1}}\leq\phi and

Proof. (3.1) indicates that pϕ(v)p_{\phi}(v) is an ϕ\phi-minimizer of the convex function a(x):=12∥x−z∥H2+g(x)a(x):=\frac{1}{2}\|x-z\|_{H}^{2}+g(x). If we let a1(x)=12∥x−z∥H2a_{1}(x)=\frac{1}{2}\|x-z\|_{H}^{2} and a2(x)=g(x)a_{2}(x)=g(x), then this is equivalent to

Then (3.2) follows using z=v−H−1∇f(v)z=v-H^{-1}\nabla f(v).

We will find the following bound useful on the norm of η\eta which follows from the above lemma.

where λmax\lambda_{max} is the largest eigenvalue of HH or its upper bound.

Below are the assumptions made in our analysis.

(i) The set of optimal solutions of (1.1), X∗X^{*}, is nonempty and x∗x^{*} is any element of that set.

Without loss of generality, we restrict our discussions below to the level set X0:=XF(x0){\cal X}_{0}:={\cal X}_{F}(x^{0}) given by some x0∈dom⁡(F)x^{0}\in\operatorname{dom}(F), e.g., the initial iterate of the Algorithm 1.

(iii) gg is convex and Lipschitz continuous with constant LgL_{g} for all x,y∈X0x,y\in{\cal X}_{0}:

(iv) There exists positive constants MM and σ\sigma such that for all k≥0k\geq 0, at the kk-th iteration of Algorithm 1:

(v) There exists a positive constant DX0D_{{\cal X}_{0}} such that for all iterates {xk}\{x^{k}\} of Algorithm 1:

In the analysis of the proximal gradient methods Assumption 1 is removed by directly establishing a uniform bound on ∥xk−x∗∥\|x^{k}-x^{*}\| (rf. ). In the next section we show an outline of a proximal-gradient type analysis where this assumption is imposed for simplicity of the presentation. It is possible to establish a similar, but more complex bound without this assumption. The proximal gradient approach in the next subsection, however, requires another, stronger, assumption on HkH_{k}. In the alternative analysis that follows we impose Assumption 1 but relax the assumption on HkH_{k} matrices. Note that all iterates {xk}\{x^{k}\} fall into the level set X0{\cal X}_{0}, due to the sufficient decrease condition (3.8) that demands a monotonic decrease on the objective values. Assumption 1 thus follows straightforwardly if the level set is bounded, which often holds in real-world problems or can be easily imposed.

In this section we extend the analysis in and to our framework under additional assumptions on the Hessian approximations HkH_{k}. The following lemma, is a generalization of Lemma 2.3 in and of a similar lemma in . This lemma serves to provide a bound on the change in the objective function F(x)F(x).

Given ϵ\epsilon, ϕ\phi and HH such that

Proof. The proof is an easy extension of that in .

Note that if ϕ=0\phi=0, that is the subproblems are solved accurately, then we have 2(F(u)−F(p(v)))≥∥p(v)−u∥H2−∥v−u∥H2−2ϵ2(F(u)-F(p(v)))\geq\|p(v)-u\|_{H}^{2}-\|v-u\|_{H}^{2}-2\epsilon.

and Lemma 2 holds at each iteration kk of Algorithm 1 with ϵk=−1−ρρ(F(xk+1)−F(xk))\epsilon_{k}=-\frac{1-\rho}{\rho}(F(x^{k+1})-F(x^{k})).

We now establish the sub linear convergence rate of Algorithm 1 under the following additional assumption.

Let {xk}\{x^{k}\} be the sequence of iterates generated by Algorithm 1, then there exists a constant MHM_{H} such that

where MiM_{i} is the upper bound on the largest eigenvalue of HiH_{i} as defined in Assumption 1.

The assumption above is not verifiable, hence it does not appear to be very useful. However, it is easy to see that a condition Hi+1Mi+1⪯HiMi\frac{H_{i+1}}{M_{i+1}}\preceq\frac{H_{i}}{M_{i}}, for all ii, easily implies (3.9) with MH=0M_{H}=0. This condition, in turn, is trivially satisfied if Hi+1H_{i+1} is a multiple of HiH_{i} for all ii, as it is in the case of ISTA algorithm. It is also clear that Assumption 2 is a lot weaker than the condition that Hi+1H_{i+1} is a multiple of HiH_{i} for all ii. For example, it also hold if Hi+1H_{i+1} is a multiple of HiH_{i} for all ii except for a finite number of iterations. It also holds if Hi+1H_{i+1} converges to HiH_{i} (or to its multiple) sufficiently rapidly. It is also weaker than the assumption in that Hi+1⪯HiH_{i+1}\preceq{H_{i}}. Exploring different conditions on the Hessian approximations that ensure Assumption 2 is a subject of a separate study. Below we show how under this condition sub linear convergence rate is established.

Suppose that Assumptions 1 and 2 hold. Assume that all iterates {xk}\{x^{k}\} of inexact Algorithm 1 are generated with some ϕk≥0\phi_{k}\geq 0 (cf. (2.3)), then

where km=∑i=0k−1Mi−1k_{m}=\sum_{i=0}^{k-1}M_{i}^{-1}.

Proof. Let us apply Lemma 2, sequentially, with u=x∗u=x^{*}, pϕ(v)=xip_{\phi}(v)=x^{i} and subproblem minimization residual ϕi\phi_{i} for i=0,…,k−1i=0,\ldots,k-1. Adding up resulting inequalities, we obtain

From (3.5) and definition of MiM_{i} we know that ∥ηi∥≤2Miϕi\|\eta_{i}\|\leq\sqrt{2M_{i}\phi_{i}}. Using the already established bound ∑i=0k−1ϵi≤(1−ρ)(F(x0)−F(x∗))ρ\sum_{i=0}^{k-1}\epsilon_{i}\leq\frac{(1-\rho)(F(x^{0})-F(x^{*}))}{\rho} we obtain

Let us consider the term 1km=1∑i=0k−1Mi−1\frac{1}{k_{m}}=\frac{1}{\sum_{i=0}^{k-1}M_{i}^{-1}}. From earlier discussions, we can see that 1km≤Mk\frac{1}{k_{m}}\leq\frac{M}{k}. Moreover, if HkH_{k} are diagonal matrices, then M=L(f)M=L(f) and, hence 1km≤L(f)k\frac{1}{k_{m}}\leq\frac{L(f)}{k}, which established a bound similar to that of proximal gradient methods. The role of MiM_{i} is to show that if most of these values are much smaller than the global Lipschitz constant L(f)L(f), then the constant involved in the sub linear rate can be much smaller than that of the proximal gradient methods. This is well known effect of using partial second order information and it is observed in our computational results.

We conclude that under Assumption 2 Algorithm 1 converges at the rate of O(1/k)O(1/k) if ∑i=0k−12ϕiMi\sum_{i=0}^{k-1}\sqrt{\frac{2\phi_{i}}{M_{i}}} is bounded for all kk. This result in similar to those obtained in . In it is shown how randomized block coordinate descent and other methods can be utilized to optimize subproblems min⁡uQ(Hi,u,xi)\min_{u}Q(H_{i},u,x^{i}) so that 2ϕiMi\sqrt{\frac{2\phi_{i}}{M_{i}}} decays sufficiently fast to guarantee such a bound (possibly in expectation).

In this paper, however, we focus on a different derivation of the sub linear convergence rate, which results in a different bound on ϕk\phi_{k} and different, more complex, dependence on the constants, but, on the other hand, does not require Assumption 2 and results in a weaker assumption on ϕi\phi_{i}.

Analysis of sub linear convergence

In our analysis below we will use another known technique for establishing sub linear convergence of gradient descent type methods on smooth convex functions . However, due to the non smooth nature of our function the analysis requires significant extensions, especially in the inexact case. Moreover, it does not apply to the line-search algorithm, we will rely on the fact that a proximal quasi-Newton method is used in that each new iteration xk+1x^{k+1} is an approximate minimizer of the function Q(Hk,u,xk)Q(H_{k},u,x^{k}). Our analysis, hence, also applies to proximal gradient methods.

First we prove the following simple result.

Consider F(⋅)F(\cdot) defined in (1.1). Let Assumptions 1 hold. Then for any three points u,v,w∈dom⁡(F)u,v,w\in\operatorname{dom}(F), we have

where γg,ϕv∈∂ϕg(v)\gamma_{g,\phi}^{v}\in\partial_{\phi}g(v) is any ϕ\phi-subgradient of g(⋅)g(\cdot) at point vv.

Proof. From convexity of ff and gg and the definition of ϕ\phi-subgradient, it follows that for any points u,wu,w and vv,

Here we applied (4.2), (4.3) and (4.4) to get (4.5). Using Assumption 1 to bound the term g(2v−u)−g(v)+g(u)−g(v)g(2v-u)-g(v)+g(u)-g(v) we can easily derive (4.1).

We now consider the exact version of Algorithm 1, i.e., ϕk=0\phi_{k}=0 for all kk. We have the following lemma.

Moreover, there exists a vector γgk+1∈∂g(xk+1)\gamma_{g}^{k+1}\in\partial g(x^{k+1}) such that the following bounds hold:

Proof. The proof is a special case of Lemma 7, proved below.

Let Assumptions 1 hold for all kk. Then the iterates {xk}\{x^{k}\} generated by Algorithm 1 satisfy

Proof. We will denote F(xk)−F∗F(x^{k})-F^{*} by ΔFk\Delta F_{k}. Our goal is to bound ΔFk\Delta F_{k} from above in terms of 1/k1/k which we will achieve by deriving a lower bound on 1ΔFk\frac{1}{\Delta F_{k}} in terms of kk.

for some constant ckc_{k}, which depends on iteration kk, but will be lower bounded by a uniform constant.

This follows simply from (4.1) with u=xk,w=x∗,v=xk+1u=x^{k},w=x^{*},v=x^{k+1} and ϕ=0\phi=0,

Substituting the bounds on ∥xk+1−xk∥\|x^{k+1}-x^{k}\| (cf. (4.7)) and ∥xk−x∗∥\|x^{k}-x^{*}\| (cf. Assumptions 1) in (4.11) we get the desired bound (4.10).

Indeed F(xk)−F(xk+1)≥ρ(Q(Hk,xk,xk)−Q(Hk,xk+1,xk))F(x^{k})-F(x^{k+1})\geq\rho(Q(H_{k},x^{k},x^{k})-Q(H_{k},x^{k+1},x^{k})). And a bound on the reduction in QQ can be established by combining (4.6) and (4.7),

Finally, combining the lower bound on F(xk+1)−F(xk)F(x^{k+1})-F(x^{k}) together with the upper bound on ΔFk2\Delta F_{k}^{2} we can conclude that

which establishes (4.28) with ck=ρσk32Mk2(DX0σk+2Lg)2c_{k}=\frac{\rho\sigma_{k}^{3}}{2M_{k}^{2}(D_{{\cal X}_{0}}\sigma_{k}+2L_{g})^{2}}.

Dividing both sides of the inequality above by ΔFk+1ΔFk\Delta F_{k+1}\Delta F_{k} we have

Summing the above expression for i=0,…,k−1i=0,\ldots,k-1 we have

Let us note that if Hk=L(f)IH_{k}=L(f)I for all kk, as in standard proximal gradient methods, where L(f)L(f) is the Lipschitz constant of ∇f(x)\nabla f(x), then the bound becomes

if Lg≪DX0L(f)L_{g}\ll D_{{\cal X}_{0}}L(f). This bound is similar to 2∥x0−x∗∥2L(f)k\frac{2\|x^{0}-x^{*}\|^{2}L(f)}{k} established for proximal gradient methods, assuming that DX0D_{{\cal X}_{0}} is comparable to ∥x0−x∗∥\|x^{0}-x^{*}\|.

2 The inexact case

We now analyze Algorithm 1 in the case when the computation of pH(v)p_{H}(v) is performed inexactly. In other words, we consider the version of Algorithm 1 (and 2) where we compute xk+1:=pHk,ϕk(xk)x^{k+1}:=p_{H_{k},\phi_{k}}(x^{k}) and ϕk\phi_{k} can be positive for any kk. The analysis is similar to that of the exact case, with a few additional terms that need to be bounded. We begin by extending Lemma 5.

Moreover there exists a vector γg,ϕk+1∈∂gϕk(xk+1)\gamma_{g,\phi}^{k+1}\in\partial g_{\phi_{k}}(x^{k+1}) such that the following bounds hold:

Proof. Recall Lemma 1, from (3.2), there exists a vector, which we will refer to as γg,ϕk+1\gamma_{g,\phi}^{k+1}, such that

with 12∥ηk∥Hk−12≤ϕk\frac{1}{2}\|\eta_{k}\|^{2}_{H_{k}^{-1}}\leq\phi_{k}, which, in turn, implies ∥ηk∥≤2Mkϕk\|\eta_{k}\|\leq\sqrt{2M_{k}\phi_{k}}. The following inequality follows from the definition of ϕ\phi-subdifferential,

Using (4.16) and (4.17), we derive (4.13) as follows,

Unlike the exact case, the inquality 1ΔFk+1−1ΔFk≥ck\frac{1}{\Delta F_{k+1}}-\frac{1}{\Delta F_{k}}\geq c_{k} can no longer be guaranteed to hold on each iteration. The convergence rate is obtained by observing that when this desired inequality fails another inequality always holds, which bounds ΔFk\Delta F_{k} in terms of ϕk\phi_{k}. Specifically, we have the following theorem.

Consider kkth iteration of the inexact Algorithm 1 with 0≤ϕk≤10\leq\phi_{k}\leq 1. Let ΔFk:=F(xk)−F(x∗)\Delta F_{k}:=F(x^{k})-F(x^{*}). Then there exists large enough positive constant θ>0\theta>0, such that one of the following two cases must hold,

where bkb_{k} and ckc_{k} are given below,

Proof. First, applying (4.1) with u=xk,w=x∗u=x^{k},w=x^{*} and v=xk+1v=x^{k+1} we obtain,

We will consider two cases that are possible at each iteration kk for some fixed constant θ>1\theta>1 which we will specify later.

Let us assume that Case 1 holds, then from (4.14) and (4.22) it simply follows that

Using (4.22), (4.21), the bound on ∥xk+1−xk∥\|x^{k+1}-x^{k}\| from (4.24) together with the bound on ∥xk−x∗∥\|x^{k}-x^{*}\| from Assumptions 1 we get

We now consider Case 2, where (4.23) along with (4.14) from Lemma 7 imply

Substituting into (4.21) the upper bound on ∥xk+1−xk∥\|x^{k+1}-x^{k}\| from (4.26) and the bound on ∥xk−x∗∥\|x^{k}-x^{*}\| from Assumptions 1 we now get

From ϕk≤1\phi_{k}\leq 1 it follows that ∥∇f(xk)+γg,ϕk+1∥≥θ2Mkϕk≥θ2Mkϕk\|\nabla f(x^{k})+\gamma_{g,\phi}^{k+1}\|\geq\theta\sqrt{2M_{k}\phi_{k}}\geq\theta\sqrt{2M_{k}}\phi_{k}. Hence we obtain

We will show that in this case, as in the exact case, we have

for some constant ckc_{k} (different from that in the exact case). Towards that goal we will establish a lower bound on F(xk)−F(xk+1)F(x^{k})-F(x^{k+1}) in terms of ∥∇f(xk)+γg,ϕk+1∥2\|\nabla f(x^{k})+\gamma_{g,\phi}^{k+1}\|^{2} as before. We still have F(xk)−F(xk+1)≥ρ(Q(Hk,xk,xk)−Q(Hk,xk+1,xk))F(x^{k})-F(x^{k+1})\geq\rho(Q(H_{k},x^{k},x^{k})-Q(H_{k},x^{k+1},x^{k})). We now use the bounds (4.13) from Lemma 7, (4.23) and (4.26) and obtain

By selecting a sufficiently large θ\theta we can ensure that

for tk=σk2(θ−1θMk)2−1+θθ2σk−12θ2Mk>0t_{k}=\frac{\sigma_{k}}{2}(\frac{\theta-1}{\theta M_{k}})^{2}-\frac{1+\theta}{\theta^{2}\sigma_{k}}-\frac{1}{2\theta^{2}M_{k}}>0. Finally, combining the lower bound (4.29) on F(xk+1)−F(xk)F(x^{k+1})-F(x^{k}) together with the upper bound (4.27) on ΔFk2\Delta F_{k}^{2} we can conclude that (4.28) holds with

Finally, (4.19) follows from (4.28) divided by ΔFkΔFk+1\Delta F_{k}\Delta F_{k+1} and using the fact that ΔFkΔFk+1≥1\frac{\Delta F_{k}}{\Delta F_{k+1}}\geq 1.

Let us discuss the result of the above lemma. The lemma applies for any value of θ\theta for which tkt_{k}, and hence, ckc_{k} is positive for all kk. It is easy to see that large values of θ\theta imply large values of ckc_{k}. On the other hand, large θ\theta is likely to cause Case 1 to hold (i.e., (4.18)) instead of Case 2 (i.e., (4.19)) on any given iteration, with bkb_{k} also growing with the size of θ\theta. As we will show below the overall rate of convergence of the algorithm is derived using the two bounds - (4.18), where the rate is controlled by the rate of ϕk→0\phi_{k}\to 0 and (4.19), which is similar to the bound in the exact case. The overall bound, thus, will depend on the upper bound on bkb_{k}’s and the inverse of the lower bound on ckc_{k}’s. If, again, we assume that σk=Mk=L(f)\sigma_{k}=M_{k}=L(f) for all kk, then θ=O(L(f))\theta=O(\sqrt{L(f)}) is sufficient to ensure that ck>0c_{k}>0 and this results in bk≤O(DX0L(f))b_{k}\leq O(D_{{\cal X}_{0}}L(f)) and 1/ck≥O(DX02L(f))1/c_{k}\geq O(D_{{\cal X}_{0}}^{2}L(f)), thus again, we obtain a bound which is comparable to that of proximal gradient methods, although with more complex constants.

We now derive the overall convergence rate, under the assumption that ϕk\phi_{k} decays sufficiently fast.

Suppose that Assumption 1 holds. Assume that all iterates {xk}\{x^{k}\} of inexact Algorithm 1 are generated with some ϕk≥0\phi_{k}\geq 0 that satisfy

Let θ\theta be chosen as specified in Lemma 8. Then for any kk

Proof. Consider all iterations before a particular iteration kk. From Lemma 8, it follows that either (4.18) or (4.19) must hold for each prior iteration. Let k1<kk_{1}<k denote the index of the last iteration before kk, for which (4.18) holds. If no such k1k_{1} exists, then (4.19) holds for all kk and without loss of generality we can consider k1=0k_{1}=0. From (4.18) and from the fact that the function value never increases

For each iteration from k1+1k_{1}+1 to k−1k-1, (4.19) gives

Summing up the above inequalities and using (4.34) we obtain the following bound on ΔFk\Delta F_{k},

To derive a simple uniform bound on ΔFk\Delta F_{k} we will use bb and cc - uniform upper and lower bounds, respectively, for bkb_{k} and ckc_{k} given in (4.20), i.e., bk≤bb_{k}\leq b, ck≥c,∀k≥k0c_{k}\geq c,\forall k\geq k_{0}. From Assumptions 1 we can derive the expressions for cc as follows,

Bound bb can be obtained in a similar fashion.

Substituting bounds bb and cc in (5.5) we get

It follows that the inexact version of Algorithm 1 has sublinear convergence rate if ϕi≤a2/i2\phi_{i}\leq a^{2}/i^{2} for some a<1a<1 and all iterations i=0,…,ki=0,\ldots,k. In contrast, the bounds in and in Section 3.1 require that ∑i=0∞ϕi\sum_{i=0}^{\infty}\sqrt{\phi_{i}} is bounded. This bound on the overall sequence is clearly stronger than ϕi≤a2/i2\phi_{i}\leq a^{2}/i^{2}, since ∑i=0∞ai=∞\sum_{i=0}^{\infty}\frac{a}{i}=\infty. On the other hand, it does not impose any particular requirement on any given iteration, except that each ϕi\phi_{i} is finite, which our bound on ϕi\phi_{i} is assumed to hold at each iteration, so far.

3 Complexity in terms of subproblem solver iterations

Let us discuss conditions on the sequence of ϕi\phi_{i} established above and how they can be ensured. Firstly, let us note that condition a<1a<1 in Theorem 10 can easily be removed. We introduced it for the sake of brevity, to ensure that ϕi≤1\phi_{i}\leq 1 on each iteration. Clearly, an arbitrarily large aa can be used and in that case ϕi≤1\phi_{i}\leq 1 for all i≥1/ai\geq 1/a. Moreover, the condition ϕi≤1\phi_{i}\leq 1 is only needed to replace ϕi\phi_{i} with ϕi\sqrt{\phi_{i}} in Lemma 8 in inequality (4.25). Instead we can use bound (4.23) and upper bounds on ∇f(xi)\nabla f(x^{i}) and γg,ϕi+1\gamma^{i+1}_{g,\phi} to replace ϕk\phi_{k} with a constant multiple of ϕi\sqrt{\phi_{i}}. In conclusion, it is sufficient to solve the subproblem on the ii-th iteration to accuracy O(1/i2)O(1/i^{2}).

The question now is: what method and what stopping criterion should be used for subproblem optimization, so that sufficient accuracy is achieved and no excessive computations are performed, in other word, how can we guarantee the bound on ϕi\phi_{i}, while maintaining efficiency of the subproblem optimization? It is possible to consider terminating the optimization of the ii-th subproblem once the duality gap is smaller than the required bound on ϕi\phi_{i}. However, checking duality gap can be computationally very expensive. Alternatively one can use an algorithm with a known convergence rate. This way it can be determined apriori how many iterations of such an algorithm should be applied to the ii-th subproblem to achieve the desired accuracy. In particular, we note that the objective functions in our subproblems are all σ\sigma-strongly convex, so a simple proximal gradient method, or some of its accelerated versions, will enjoy linear convergence rates when applied to these subproblems. Hence, after ii iterations of optimizing QiQ_{i}, such a method will achieve accuracy ϕi\phi_{i} that decays geometrically, i.e., ϕi=Cδi\phi_{i}=C\delta^{i}, for some constants C>0C>0 and 0<δ<10<\delta<1, hence ∑i=0∞ϕi\sum_{i=0}^{\infty}\sqrt{\phi_{i}} is bounded. Note that the same property holds for any linearly convergent method, such as the proximal gradient or a semi-smooth Newton method. Also, it is easy to see that ϕi≤a2/i2\phi_{i}\leq a^{2}/i^{2} holds for some a>0a>0 for all ii. One can also can use FISTA to optimize QiQ_{i} which will ensure ϕi≤a2/i2\phi_{i}\leq a^{2}/i^{2} for some a>0a>0 but will not guarantee ∑i=0∞ϕi\sum_{i=0}^{\infty}\sqrt{\phi_{i}}. The advantage of using FISTA and its resulting rate is that ist does not depend on the strong convexity constant, hence the subproblem complexity does not depend on σ\sigma - the lower bound on the smallest eigenvalues of the Hessian approximations. In conclusion, we have the following overall bounds.

Suppose that Assumptions 1 hold and that at the kk-th iteration of inexact Algorithm 1 function Q(Hk,u,xk)Q(H_{k},u,x^{k}) is approximately minimized, to obtain xk+1x^{k+1} by applying l(k)=αk+βl(k)=\alpha k+\beta steps of any algorithm which guarantees that Q(Hk,xk+1,xk)≤Q(Hk,xk,xk)Q(H_{k},x^{k+1},x^{k})\leq Q(H_{k},x^{k},x^{k}) and whose convergence rate ensures the error bound ϕk≤a2/(αk+β)2\phi_{k}\leq a^{2}/(\alpha k+\beta)^{2} for some a>0a>0. Then accuracy F(xk)−F(x∗)≤ϵF(x^{k})-F(x^{*})\leq\epsilon is achieved after at most

inner iterations (of the chosen algorithm), with b,cb,c given in Theorem 10.

Proof. A proof follows trivially from Theorem 10.

Suppose that Assumptions 1 hold and that at the kk-th iteration of inexact Algorithm 1 function Q(Hk,u,xk)Q(H_{k},u,x^{k}) is approximately minimized, to obtain xk+1x^{k+1} by applying l(k)l(k) steps of an algorithm, which guarantees that Q(Hk,xk+1,xk)≤Q(Hk,xk,xk)Q(H_{k},x^{k+1},x^{k})\leq Q(H_{k},x^{k},x^{k}) and whose convergence rate ensures the error bound ϕk≤δl(k)MQ\phi_{k}\leq\delta^{l(k)}M_{Q}, for some constants 0<δ<10<\delta<1 and MQ>0M_{Q}>0. Then, by setting lk=2log1δ(k)l_{k}=2log_{\frac{1}{\delta}}(k), accuracy F(xk)−F(x∗)≤ϵF(x^{k})-F(x^{*})\leq\epsilon is achieved after at most

inner iterations (of the chosen algorithm), with t=⌈max⁡{ba,1c}ϵ+1⌉t=\lceil\frac{\max\{ba,\frac{1}{c}\}}{\epsilon}+1\rceil and b,cb,c given in Theorem 10.

Proof. A proof follows trivially from Theorem 10.

The total complexity in terms of the inner iterations should not be viewed as a summary of the whole complexity of Algorithm 1. A key step of the algorithm is the computation of F(xk)F(x^{k}) and ∇f(xk)\nabla f(x^{k}) at each iteration. In big data applications this is often the most extensive step, hence the main complexity is defined by the number of function and gradient computations. Due to backtracking via proximal parameter update to satisfy sufficient decrease condition, the number of function and gradient computation may be larger than the number of iterations of Algorithm 1, however, it does not exceed this number by more than a logarithmic factor. In practice, only several initial iterations contain backtracking steps, hence Theorem 10 provides the bound on the complexity in terms of function and gradient computations.

In the next section we extend our convergence rate results to the case of solving subproblems via randomized coordinate descent, where ϕ\phi is random and hence does not satisfy required bounds on each iteration.

Analysis of the inexact case under random subproblem accuracy

As we pointed out in the introduction, the most efficient practical approach to subproblem optimization, in the case when g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1}, seems to be the coordinate descent method. One iteration of a coordinate descent step can be a lot less expensive than that of a proximal gradient or a Newton method. In particular, if matrix HH is constructed via the LBFGS approach, then one step of a coordinate decent method takes a constant number of operations, mm (the memory size of LBFGS, which is typically 10-20). On the other hand, one step of proximal gradient takes O(mn)O(mn) operations and Newton method takes O(nm2)O(nm^{2}).

Unfortunately, cyclic (Gauss-Seidel) coordinate descent, does not have deterministic complexity bounds, hence it is not possible to know when the work on a particular subproblem can be terminated to guarantee the desired level of accuracy. However, a randomized coordinate descent has probabilistic complexity bounds, which can be used to demonstrate the linear rate of convergence in expectation.

We have the following probabilistic extension of Theorem 10.

Suppose that Assumption 1 holds. Assume that for all kk iterates {xk}\{x^{k}\} of inexact Algorithm 1 are generated with some ϕk≥0\phi_{k}\geq 0 that satisfy

conditioned on the past. Let θ\theta, bb and cc be as specified in Theorem 10. Then for any kk

Proof. As in the proof of Theorem 10 consider all iterations before a particular iteration kk. From Lemma 8, it follows that either (4.18) or (4.19) must hold for each prior iteration. Let k1<kk_{1}<k denote the index of the last iteration before kk, for which (4.18) holds. Let k2k_{2} denote the index of the second to last such iteration and so on, hence kik_{i} is the index of the last iteration such that there are exactly ii iterations between kik_{i} and k−1k-1 for which (4.18) holds. Without loss of generality we can assume that kik_{i} exists for each ii, because if it does not - we can set ki=0k_{i}=0 and obtain a better bound. Let us now assume for a given ii that ϕki≤a2ki2\phi_{k_{i}}\leq\frac{a^{2}}{{k_{i}}^{2}} holds, but that ϕkj>a2kj2\phi_{k_{j}}>\frac{a^{2}}{{k_{j}}^{2}} for all j=1,…,i−1j=1,\ldots,i-1 (if i=1i=1 we have the case analyzed in the proof of Theorem 10). The analysis in the proof of Theorem 10 extends easily to the case i>1i>1 by observing that

holds for any ki+1≤l≤k−1k_{i}+1\leq l\leq k-1, l≠kj, j=1…,i−1l\neq k_{j},\,j=1\ldots,i-1, that is all the iterations for which or (4.18) does not hold. We also have

for ki+1≤l≤k−1k_{i}+1\leq l\leq k-1, l=kj, j=1…,i−1l=k_{j},\,j=1\ldots,i-1, simply from the fact that function values never increase. Summing up the above inequalities and using the fact that ϕki≤a2ki2\phi_{k_{i}}\leq\frac{a^{2}}{{k_{i}}^{2}} we obtain ΔFk\Delta F_{k},

Now, recall that P{ϕki≤a2ki2}≥1−pP\{\phi_{k_{i}}\leq\frac{a^{2}}{{k_{i}}^{2}}\}\geq 1-p, for any iteration ii, independently of the other iteration. This means that the probability that {ϕki≤a2ki2}\{\phi_{k_{i}}\leq\frac{a^{2}}{{k_{i}}^{2}}\} and {ϕkj>a2kj2}\{\phi_{k_{j}}>\frac{a^{2}}{{k_{j}}^{2}}\} for all j=1…,i−1j=1\ldots,i-1 is (1−p)pi(1-p)p^{i}. This implies

To bound the term ∑i=1k−1(pi−1+i−1k−ipi−1)\sum_{i=1}^{k-1}(p^{i-1}+\frac{i-1}{k-i}p^{i-1}) observe that i−1k−ipi−1≤(i−1)pi−1\frac{i-1}{k-i}p^{i-1}\leq(i-1)p^{i-1} and hence

which gives us the final bound on the expected error.

We note that the (2-p) factor is the result of an overestimate of the weighted geometric series and a tighter bound should be possible to obtain.

Below we show that randomized coordinate descent can guarantee sufficient accuracy for subproblem solutions and hence maintain the sub linear convergence rate (in expectation) of Algorithm 1. Moreover, we show in Section 7, that the randomized coordinate descent is as efficient in practice as the cyclic one.

In randomized coordinate descent the model function Q(⋅)Q(\cdot) is iteratively minimized over one randomly chosen coordinate, while the others remain fixed. The method is presented in Algorithm 3 and is applied for ll steps, with ll being an input parameter.

Here we will show how properties of coordinate descent can be used together with the analysis in Section 4. Combination of coordinate descent with the waker analysis presented in Section 3.1 can be found in .

Our analysis is based on Richtarik and Takac’s results on iteration complexity of randomized coordinate descent . In particular, we make use of Theorem 7 in , which we restate below without proof, while adapting it to our context.

where μ(H)\mu(H) is a constant that measures conditioning of HH along the coordinate directions and in the worst case is at most M/σM/\sigma - the condition number of HH.

Let us now state the version of Algorithms 1 and 2 which is close to what implement in practice and discuss in the following sections and for which the complexity bound can be applied.

The conclusion of Lemma 16 in application to Algorithms 3-5 is that when applying l(k)l(k) steps of randomized coordinate descent approximately to optimize Q(Hk,u,xk)Q(H_{k},u,x^{k}), ϕk≤MQδl(k)\phi_{k}\leq M_{Q}\delta^{l(k)}, with probability pp, where MQM_{Q} is an upper bound on Q(Hk,xk,xk)−Q(Hk,pH(xk),xk)p\frac{Q(H_{k},x^{k},x^{k})-Q(H_{k},p_{H}(x^{k}),x^{k})}{p} and δ=e−1n(1+μ(Hk))\delta=e^{-\frac{1}{n(1+\mu(H_{k}))}}. This, together with Theorem 15 implies that to solve subproblem on iteration kk it is sufficient to set l(k)=O(n(1+μ(H))log⁡(kp/MQ))l(k)=O(n(1+\mu(H))\log(kp/M_{Q})) and the resulting convergence rate will then obey Theorems 10 and 13. However, it is necessary to know constants MQM_{Q} and μ(H)\mu(H) to be able to construct efficient expression l(k)l(k). In practice, a successful strategy is to select a slow growing linear function of kk, l(k)=ak+bl(k)=ak+b. This certainly guarantees convergence rate of the outer iteration as in Theorem 15. In terms of overall rate this gives inferior complexity, however, we believe that the real difference in terms of the workload appears only in the limit, while in most cases the algorithm successfully terminated before our practical formula l(k)=ak+bl(k)=ak+b, described in the next section, significantly exceeds, the theoretical bound O(n(1+μ(H))log(kp/MQ))O(n(1+\mu(H))log(kp/M_{Q})) with appropriate constants. Moreover, as noted earlier, the number of function and gradient evaluations may be the dominant complexity in the big data cases, hence it may be worthwhile to increase workload of coordinate descent in order to reduce the constants in the bound in Theorem 15.

Finally, we note that when using ISTA method for the subproblem, instead of randomized coordinate descent, the number of inner iteration does not need to depend on the dimension nn. However, it depends on σk/Mk\sigma_{k}/M_{k} and the cost per iteration is roughly nn times bigger than that of coordinate descent (with LBFGS matrices). Hence the overall complexity of using coordinate descent is better than that of ISTA if μ(Hk)≪σk/Mk\mu(H_{k})\ll\sigma_{k}/M_{k}. This indeed happens often in practical problems, as is discussed in and other works on coordinate descent.

Optimization Algorithm

In this section we briefly describe the specifics of the general purpose algorithm that we propose within the framework of Algorithms 4, 5 and 3 and that takes advantage of approximate second order information while maintaining low complexity of subproblem optimization steps. The algorithm is designed to solve problems of the form (1.1) with g(x)=λ∥x∥1g(x)=\lambda\|x\|_{1}, but it does not use any special structure of the smooth part of the objective, f(x)f(x).

At iteration kk a step dkd_{k} is obtained, approximately, as follows

with Hk=Gk+12μkIH_{k}=G_{k}+\frac{1}{2\mu_{k}}I - a positive definite matrix and Ak{\cal A}_{k} - a set of coordinates fixed at the current iteration.

The positive definite matrix GkG_{k} is computed by a limited memory BFGS approach. In particular, we use a specific form of Hessian estimate, (see e.g. ),

where QQ, γk\gamma_{k} and RR are defined below,

Note that there is low-rank structure present in GkG_{k}, the matrix given by QQ^Q\hat{Q}, which we can exploit, but GkG_{k} itself by definition is always positive definite. Let mm be a small integer which defines the number of latest BFGS updates that are ”remembered” at any given iteration (we used 10−2010-20). Then SkS_{k} and TkT_{k} are the p×mp\times m matrices with columns defined by vector pairs {si,ti}i=k−mk−1\{s_{i},t_{i}\}_{i=k-m}^{k-1} that satisfy siTti>0,si=xi+1−xis_{i}^{T}t_{i}>0,s_{i}=x^{i+1}-x_{i} and ti=∇f(xi+1)−∇f(xi)t_{i}=\nabla f(x^{i+1})-\nabla f(x^{i}), MkM_{k} and DkD_{k} are the k×kk\times k matrices

The particular choice of γk\gamma_{k} is meant to promote well-scaled quasi-Newton steps, so that less time is spent on line search or updating of prox parameter μk\mu_{k} . In fact instead of updating and maintaining μk\mu_{k}, exactly as described in Algorithm 2 we simply double γk\gamma_{k} in (6.1) at each backtracking step. This can be viewed as choosing μk=∞\mu_{k}=\infty for the first step of backtracking, and μk=1/(2i−1−1)γk\mu_{k}=1/(2^{i-1}-1)\gamma_{k} for the ii-th backtracking step, when i>1i>1. As long as GKG_{K} in (6.1), is positive definite, with smallest eigenvalue bounded by σ>0\sigma>0, our theory applies to this particular backtracking procedure.

An active-set selection strategy maintains a sequence of sets of indices Ak{\cal A}_{k} that iteratively estimates the optimal active set A∗{\cal A}^{*} which contains indices of zero entries in the optimal solution x∗x^{*} of (1.1). We introduce this strategy as a heuristic aiming to improve the efficiency of the implementation and to make it comparable with state-of-the-art methods, which also use active set strategies. A theoretical analysis of the effects of these strategies is a subject of future study. The complement set of Ak{\cal A}_{k} is Ik={i∈P ∣ i∉Ak}{\cal I}_{k}=\{i\in{\cal P}~{}|~{}i\notin{\cal A}_{k}\}. Let (∂F(xk))i(\partial F(x^{k}))_{i} be the ii-th component of a subgradient of F(x)F(x) at xkx^{k}. We define two sets,

As is done in and we select Ik{\cal I}_{k} to include the entire set Ik(2){\cal I}^{(2)}_{k} and the entire set Ik(1){\cal I}^{(1)}_{k}. We also tested a strategy which includes only a small subset of indices from Ik(1){\cal I}^{(1)}_{k} for which the corresponding elements ∣(∂F(xk))i∣|(\partial F(x^{k}))_{i}| are the largest. This strategy resulted in a smaller size of subproblems (6) at the early stages of the algorithm, but did not appear to improve the overall performance of the algorithm.

2 Solving the inner problem via coordinate descent

We apply coordinate descent method to the piecewise quadratic subproblem (6) to obtain the direction dkd_{k} and exploit the special structure of HkH_{k}. Suppose jj-th coordinate in dd is updated, hence d′=d+zejd^{\prime}=d+ze_{j} (eje_{j} is the jj-th vector of the identity). Then zz is obtained by solving the following one-dimensional problem

which has a simple closed-form solution .

The most costly step of an iteration of the coordinate descent method is computing or maintaining vector HkdH_{k}d. Naively, or in the case of general HkH_{k}, this step takes O(n)O(n) flops, since the vector needs to be updated at the end of each iteration, when one of the coordinates of vector dd changes. The special form of GkG_{k} in Hk=Gk+1μI=γkI−QQ^H_{k}=G_{k}+\frac{1}{\mu}I=\gamma_{k}I-Q\hat{Q} gives us an opportunity to accelerate this step, reducing the complexity from problem-dependent O(n)O(n) to O(m)O(m) with mm chosen as a small constant. In particular we only store the diagonal elements of GkG_{k}, (Gk)ii=γk−qiTq^i(G_{k})_{ii}=\gamma_{k}-q_{i}^{T}\hat{q}_{i}, where qiq_{i} is the iith row of the matrix QQ and q^i\hat{q}_{i} is the iith column vector of the matrix Q^\hat{Q}. We compute (Gkd)i(G_{k}d)_{i}, whenever it is needed, by maintaining a 2m2m dimensional vector v:=Q^dv:=\hat{Q}d, which takes O(2m)O(2m) flops, and using (Gkd)i=γkdi−qiTv(G_{k}d)_{i}=\gamma_{k}d_{i}-q_{i}^{T}v. After each coordinate step vv is updated by v←v+ziq^iv\leftarrow v+z_{i}\hat{q}_{i}, which costs O(m)O(m). We also need to use extra memory for caching Q^\hat{Q} and d^\hat{d} which takes O(2mp+2m)O(2mp+2m) space. With the other O(2p+2mn)O(2p+2mn) space for storing the diagonal of GkG_{k}, QQ and dd, altogether we need O(4mp+2n+2m)O(4mp+2n+2m) space, which is essentially O(4mn)O(4mn) when n≫mn\gg m.

Computational experiments

The aim of this section is to provide validation for our general purpose algorithm, but not to conduct extensive comparison of various inexact proximal Newton approaches. In particular, we aim to demonstrate a) that using the exact Hessian is not necessary in these methods, b) that backtracking using prox parameter, based on sufficient decrease condition, which our theory uses, does in fact work well in practice and c) that randomized coordinate descent is at least as effective as the cyclic one, which is standardly used by other methods.

QUIC: the quadratic inverse covariance algorithm for solving SICS described in .

LIBLINEAR: an improved version of GLMNET for solving SLR described in .

Note that both of these packages have been shown to be the state-of-the-art solvers in their respective categories (see e.g. ).

Both QUIC and LIBLINEAR adopt line search to ensure function reduction. We have implemented line search in LHAC as well to see how it compares to the updating of prox parameter proposed in Algorithm 2. In all the experiments presented below use the following notation.

LHAC: Algorithm 4 with backtracking on prox parameter.

LHAC-L: Algorithm 4 with Armijo line search procedure described below in (7.4).

For all of the experiments we choose the initial point x0=0x_{0}=\mathbf{0}, and we report running time results in seconds, plotted against log-scale relative objective function decrease given by

where F∗F^{*} is the optimal function value. Since F∗F^{*} is not available, we compute an approximation by setting a small optimality tolerance, specifically 10−710^{-7}, in QUIC and LIBLINEAR. All the experiments are executed through the MATLAB mex interface. We also modify the source code of LIBLINEAR in both its optimization routine and mex gateway function to obtain the records of function values and the running time. We note that we simply store, in a double array, and pass the function values which the algorithm already computes, so this adds little to nothing to LIBLINEAR’s computational costs. We also adds a function call of clock() at every iteration to all the tested algorithms, except QUIC, which includes a “trace” mode that returns automatically the track of function values and running time, by calling clock() iteratively. For both QUIC and LIBLINEAR we downloaded the latest versions of the publicly available source code from their official websites, compiled and built the software on the machine on which all experiments were executed, and which uses 2.4GHz quad-core Intel Core i7 processor, 16G RAM and Mac OS.

The optimal objective values F∗F^{*} obtained approximately by QUIC and LIBLINEAR are later plugged in LHAC and LHAC-L to terminate the algorithm when the following condition is satisfied

In LHAC we chose μˉ=1,β=1/2\bar{\mu}=1,\beta=1/2 and ρ=0.01\rho=0.01 for sufficient decrease (see Algorithm 5), and for LBFGS we use m=10m=10.

When solving the subproblems, we terminate the RCD procedure whenever the number of coordinate steps exceeds

where ∣Ik∣|{\cal I}_{k}| denotes the number of coordinates in the current working set. Condition (7.3) indicates that we expect to update each coordinate in Ik{\cal I}_{k} only once when k<mk<m, and that when k>mk>m we increase the number of expected passes through Il{\cal I}_{l} by 1 every mm iterations, i.e., after LBFGS receives a full update. The idea is not only to avoid spending too much time on the subproblem especially at the beginning of the algorithm when the Hessian approximations computed by LBFGS are often fairly coarse, but also to solve the subproblem more accurately as the iterate moves closer to the optimality. Note that in practice when ∣Ik∣|{\cal I}_{k}| is large, the value of (7.3) almost always dominates kk, hence it can be lower bounded by l(k)=ak+bl(k)=ak+b with some reasonably large values of aa and bb, which, as we analyzed in Section 5.1, guarantees the sub linear convergence rate. We also find that (7.3) works quite well in practice in preventing from “over-solving” the subproblems, particularly for LBFGS type algorithms. In Figures 2 we plot the data with respect to the number of RCD iterations. In particular Figures 2(a) and 2(c) show the number of RCD steps taken at the kk-th iteration, as a function of kk. Figures 2(b) and 2(d) show convergence of the objective function to its optimal value as a function of the total number of RCD steps taken so far (both values are plotted in logarithmic scale). Note that RCD steps are not the only component of the CPU time of the algorithms, since gradient computation has to be performed at least once per iteration.

In LHAC-L, a line search procedure is employed, as is done in QUIC and LIBLINEAR, for the convergence to follow from the framework by . In particular, the Armijo rule chooses the step size αk\alpha_{k} to be the largest element from {β0,β1,β2,...}\{\beta^{0},\beta^{1},\beta^{2},...\} satisfying

where 0<β<1,0<σ<10<\beta<1,0<\sigma<1, and Δk:=∇fkTdk+λ∥xk+dk∥1−λ∥xk∥1\Delta_{k}:=\nabla f_{k}^{T}d_{k}+\lambda\|x_{k}+d_{k}\|_{1}-\lambda\|x_{k}\|_{1}. In all the experiments we chose β=0.5,σ=0.001\beta=0.5,\sigma=0.001 for LHAC-L.

2 Sparse Inverse Covariance Selection

The sparse inverse covariance selection problem is defined by

For SICS we report results on four real world data sets, denoted as ER_692, Arabidopsis, Leukemia and hereditarybc, which are preprocessed from breast cancer data and gene expression networks. We refer to for detailed information about those data sets.

We set the regularization parameter λ=0.5\lambda=0.5 for all experiments as suggested in . The plots presented in Figure 1 show that LHAC and LHAC-L is almost twice as fast as QUIC, in the two largest data sets Leukemia and hereditarybc (see Figure 1(c) and 1(d)). In the other two smaller data sets the results are less clear-cut, but all of the methods solve the problems very fast and the performance of LHAC is comparable to that of QUIC. The performances of LHAC and LHAC-L are fairly similar in all experiments. Again we should note that with the sufficient decrease condition proposed in Algorithm 2 we are able to establish the global convergence rate, which has not been shown in the case of Armijo line search.

3 Sparse Logistic Regression

The objective function of sparse logistic regression is given by

We report results of SLR on four data sets downloaded from UCI Machine Learning repository , whose statistics are summarized in Table 1. In particular, the first data set is the well-known UCI Adult benchmark set a9a used for income classification, determining whether a person makes over $50K/yr or not, based on census data; the second one we use in the experiments is called epsilon, an artificial data set for PASCAL large scale learning challenge in 2008; the third one, slices, contains features extracted from CT images and is often used for predicting the relative location of CT slices on the human body; and finally we consider gisette, a handwritten digit recognition problem from NIPS 2003 feature selection challenge, with the feature set of size 5000 constructed in order to discriminate between two confusable handwritten digits: the four and the nine.

The results are shown in Figure 3. In most cases LHAC and LHAC-L outperform LIBLINEAR. On data set slice, LIBLINEAR experiences difficulty in convergence which results in LHAC being faster by an order of magnitude. On the largest data set epsilon, LHAC and LHAC-L is faster than LIBLINEAR by about one third and reaches the same precision. Finally we note that the memory usage of LIBLINEAR is more than doubled compared to that of LHAC and LHAC-L, as we observed in all the experiments and is particularly notable on the largest data set epsilon.

Conclusion

In this paper we presented analysis of global convergence rate of inexact proximal quasi-Newton framework, and showed that randomized coordinate descent, among other subproblem methods, can be used effectively to find inexact quasi-Newton directions, which guarantee sub linear convergence rate of the algorithm, in expectation. This is the first global convergence rate result for an algorithm that uses coordinate descent to inexactly optimize subproblems at each iteration. Moreover, we improve upon results for inexact proximal gradient method in in that our requirements on the error in subproblem solution are weaker and the resulting bound on the total number of inner solver iterations is smaller.

Our framework does not rely on or exploit the accuracy of second order information, and hence we do not obtain fast local convergence rates. We also do not assume strong convexity of our objective function, hence a sublinear conference rate is the best global rate we can hope to obtain. In an accelerated scheme related to our framework is studied and an optimal sublinear convergence rate is shown, but the assumptions on the Hessian approximations are a lot stronger in than in our paper, hence the accelerated method is not as widely applicable. The framework studied by us in this paper covers several existing efficient algorithms for large scale sparse optimization. However, to provide convergence rates we had to depart from some standard techniques, such as line-search, replacing it instead by a prox-parameter updating mechanism with a trust-region-like sufficient decrease condition for acceptance of iterates. We also use randomized coordinate descent instead of a cyclic one. We demonstrated that this modified framework is, nevertheless, very effective in practice and is competitive with state-of-the-art specialized methods.

References