Efficient random coordinate descent algorithms for large-scale structured nonconvex optimization

A. Patrascu, I. Necoara

Introduction

Coordinate descent methods are among the first algorithms used for solving general minimization problems and are some of the most successful in the large-scale optimization field Ber:99. Roughly speaking, coordinate descent methods are based on the strategy of updating one (block) coordinate of the vector of variables per iteration using some index selection procedure (e.g. cyclic, greedy, random). This often reduces drastically the complexity per iteration and memory requirements, making these methods simple and scalable. There exist numerous papers dealing with the convergence analysis of this type of methods Aus:76; LinLuc:09; Nec:13; NecPat:12; Pow:73; TseYun:09, which confirm the difficulties encountered in proving the convergence for nonconvex and nonsmooth objective functions. For instance, regarding coordinate minimization of nonconvex functions, Powell Pow:73 provided some examples of differentiable functions whose properties lead the algorithm to a closed loop. Also, proving convergence of coordinate descent methods for minimization of nondifferentiable objective functions is challenging Aus:76; FerRic:13. However, for nonconvex and nonsmooth objective functions with certain structure (e.g. composite objective functions) there are available convergence results for coordinate descent methods based on greedy index selection Bec:12; LinLuc:09; TseYun:09 or random index selection LuXia:13. Recently, Nesterov Nes:10 derived complexity results for random coordinate gradient descent methods for solving smooth and convex optimization problems. In RicTac:11 the authors generalized Nesterov’s results to convex problems with composite objective functions. An extensive complexity analysis of coordinate gradient descent methods for solving linearly constrained optimization problems with convex (composite) objective function can be found in Bec:12; Nec:13; NecPat:12; NecNes:12.

In this paper we also consider large-scale nonconvex optimization problems with the objective function consisting of a sum of two terms: one is nonconvex, smooth and given by a black-box oracle, and another is convex but simple and its structure is known. Further, we analyze unconstrained but also singly linearly constrained nonconvex problems. We also assume that the dimension of the problem is so large that traditional optimization methods cannot be directly employed since basic operations, such as the updating of the gradient, are too computationally expensive. These types of problems arise in many fields such as data analysis (classification, text mining) Bon:11; ChaSin:08, systems and control theory (optimal control, pole assignment by static output feedback) FaiMar:12; JudRay:08; NecCli:13; Par:97, machine learning ChaSin:08; NecPat:12; RicTac:13; RicTac:13_2; ShaZha:13; Vap:95 and truss topology design KocOut:06; RicTac:12. The goal of this paper is to analyze several new random coordinate gradient descent methods suited for large-scale nonconvex problems with composite objective function. Recently, after our paper came under review, a variant of random coordinate descent method for solving composite nonconvex problems was also proposed in LuXia:13. For our coordinate descent algorithm, which is designed to minimize unconstrained composite nonconvex objective functions, we prove asymptotic convergence of the generated sequence to stationary points and sublinear rate of convergence in expectation for some optimality measure. We also provide convergence analysis for a coordinate descent method designed for solving singly linearly constrained nonconvex problems and obtain similar results as in the unconstrained case. Note that our analysis is very different from the convex case Nec:13; NecPat:12; NecNes:12; Nes:10; RicTac:11 and is based on the notion of optimality measure and a supermartingale convergence theorem. Furthermore, unlike to other coordinate descent methods for nonconvex problems, our algorithms offer some important advantages, e.g. due to the randomization our algorithms are simpler and are adequate for modern computational architectures. We also present the results of preliminary computational experiments, which confirm the superiority of our methods compared with other algorithms for large-scale nonconvex optimization.

Contribution. The contribution of the paper can be summarized as follows:

For unconstrained problems we propose a 1-random coordinate descent method (1-RCD), that involves at each iteration the solution of an optimization subproblem with respect to only one (block) variable while keeping all others fixed. We show that this solution can be usually computed in closed form (Section 2.2).

For the linearly constrained case we propose a 2-random coordinate descent method (2-RCD), that involves at each iteration the solution of a subproblem depending on two (block) variables while keeping all other variables fixed. We show that in most cases this solution can be found in linear time (Section 3.1).

For each of the algorithms we introduce some optimality measure and devise a convergence analysis using this framework. In particular, for both algorithms, (1-RCD) and (2-RCD), we establish asymptotic convergence of the generated sequences to stationary points (Theorems 2.1 and 3.1) and sublinear rate of convergence for the expected values of the corresponding optimality measures (Theorems 2.2 and 3.2).

Content. The structure of the paper is as follows. In Section 2 we introduce a 1-random coordinate descent algorithm for unconstrained minimization of nonconvex composite functions. Further, we analyze the convergence properties of the algorithm under standard assumptions. In Section 3 we derive a 2-random coordinate descent method for solving singly linearly constrained nonconvex problems and analyze its convergence. In Section 4 we report numerical results on large-scale eigenvalue complementarity problems, which is an important application in control theory.

Unconstrained minimization of composite objective functions

In this section we analyze a variant of random block coordinate gradient descent method, which we call the 1-random coordinate descent method (1-RCD), for solving large-scale unconstrained nonconvex problems with composite objective function. The method involves at each iteration the solution of an optimization subproblem only with respect to one (block) variable while keeping all other variables fixed. After discussing several necessary mathematical preliminaries, we introduce an optimality measure, which will be the basis for the construction and analysis of Algorithm (1-RCD). We establish asymptotic convergence of the sequence generated by Algorithm (1-RCD) to a stationary point and then we show sublinear rate of convergence in expectation for the corresponding optimality measure. For some well-known particular cases of nonconvex objective functions arising frequently in applications, the complexity per iteration of our Algorithm (1-RCD) is of order O(max⁡ini)\mathcal{O}(\max\limits_{i}n_{i}).

The problem of interest in this section is the unconstrained nonconvex minimization problem with composite objective function:

where the function ff is smooth and hh is a convex, separable, nonsmooth function. Since hh is nonsmooth, then for any x∈dom(h)x\in dom(h) we denote by ∂h(x)\partial h(x) the subdifferential (set of subgradients) of hh at xx. The smooth and nonsmooth components in the objective function of (1) satisfy the following assumptions:

The function ff has block coordinate Lipschitz continuous gradient, i.e. there are constants Li>0L_{i}>0 such that:

The function hh is proper, convex, continuous and block separable:

These assumptions are typical for the coordinate descent framework and the reader can find similar variants in Nec:13; NecPat:12; Nes:10; LuXia:13; TseYun:09. An immediate consequence of Assumption 1 (i) is the following well-known inequality Nes:04:

Based on this quadratic approximation of function ff we get the inequality:

Any vector x∗x^{*} satisfying this relation is called a stationary point for nonconvex problem (1).

2 A 1-random coordinate descent algorithm

We analyze a variant of random coordinate descent method suitable for solving large-scale nonconvex problems of the form (1). Let i∈{1,…,N}i\in\{1,\dots,N\} be a random variable and pik=Pr(i=ik)p_{i_{k}}=\text{Pr}(i=i_{k}) be its probability distribution. Given a point xx, one block is chosen randomly with respect to the probability distribution pip_{i} and the quadratic model (3) derived from the composite objective function is minimized with respect to this block of coordinates (see also Nes:10; RicTac:11). Our method has the following iteration: given an initial point x0x_{0}, then for all k≥0k\geq 0

where the direction dikd_{i_{k}} is computed as follows:

Note that the direction dikd_{i_{k}} is a minimizer of the quadratic approximation model given in (3). Further, from Assumption 1 (ii) we see that h(xk+Uiksik)=hik(xikk+sik)+∑i≠ikhi(xik)h(x^{k}+U_{i_{k}}s_{i_{k}})=h_{i_{k}}(x_{i_{k}}^{k}+s_{i_{k}})+\sum_{i\not=i_{k}}h_{i}(x_{i}^{k}) and thus for computing dikd_{i_{k}} we only need to know the function hik(⋅)h_{i_{k}}(\cdot). An important property of our algorithm is that for certain particular cases of function hh, the complexity per iteration of Algorithm (1-RCD) is very low. In particular, for certain simple functions hh, very often met in many applications from signal processing, machine learning and optimal control, the direction dikd_{i_{k}} can be computed in closed form, e.g.:

In this case the direction dikd_{i_{k}} has the explicit expression:

where [x][l, u][x]_{[l,\ u]} is the orthogonal projection of vector xx on box set [l, u][l,\ u].

In this case, considering n=Nn=N, the direction dikd_{i_{k}} has the explicit expression:

where tik=xik−1Lik∇ikf(xk)t_{i_{k}}=x_{i_{k}}-\frac{1}{L_{i_{k}}}\nabla_{i_{k}}f(x^{k}).

In these examples the arithmetic complexity of computing the next iterate xk+1x^{k+1}, once ∇ikf(xk)\nabla_{i_{k}}f(x^{k}) is known, is of order O(nik)\mathcal{O}(n_{i_{k}}). The reader can find other favorable examples of nonsmooth functions hh which preserve the low iteration complexity of Algorithm (1-RCD) (see also NecPat:12; TseYun:09 for other examples). Note that most of the (coordinate descent) methods designed for solving nonconvex problems usually have complexity per iteration at least of order O(n)\mathcal{O}(n) (see e.g. TseYun:09, where the authors analyze a greedy coordinate descent method). Coordinate descent methods that have similar complexity per iteration as our random method can be found e.g. in TseYun:09_2, where the index selection is made cyclically (Gauss-Seidel rule). But Algorithm (1-RCD) also offers other important advantages, e.g. due to the randomization the algorithm is adequate for modern computational architectures (e.g distributed and parallel architectures) NecCli:13; RicTac:13.

We assume that the sequence of random variables i0,…,iki_{0},\dots,i_{k} are i.i.d. In the sequel, we use the notation ξk\xi^{k} for the entire history of random index selection

Based on this map, we now introduce an optimality measure which will be the basis for the analysis of Algorithm (1-RCD):

The map M1(x,L)M_{1}(x,L) is an optimality measure for optimization problem (1) in the sense that it is positive for all nonstationary points and zero for stationary points (see Lemma 1 below):

Note that ψL(s;x)\psi_{L}(s;x) is an 11-strongly convex function in the variable ss w.r.t. norm ∥⋅∥L\lVert\cdot\rVert_{L} and thus dL(x)d_{L}(x) is unique and the following inequality holds:

3 Convergence of Algorithm (1-RCD)

In this section, we analyze the convergence properties of Algorithm (1-RCD). Firstly, we prove the asymptotic convergence of the sequence generated by Algorithm (1-RCD) to stationary points. For proving the asymptotic convergence we use the following supermartingale convergence result of Robbins and Siegmund (see (Pol:87, Lemma 11 on page 50)):

Let vk,ukv_{k},u_{k} and αk\alpha_{k} be three sequences of nonnegative random variables such that

where Fk{\cal F}_{k} denotes the collections v0,…,vk,u0,…,ukv_{0},\dots,v_{k},u_{0},\dots,u_{k}, α0,…,αk\alpha_{0},\dots,\alpha_{k}. Then, we have lim⁡k→∞vk=v\lim_{k\to\infty}v_{k}=v for a random variable v≥0v\geq 0 a.s. and ∑k=0∞uk<∞\sum_{k=0}^{\infty}u_{k}<\infty a.s.

In the next lemma we prove that Algorithm (1-RCD) is a descent method, i.e. the objective function is nonincreasing along its iterations:

Let xkx^{k} be the sequence generated by Algorithm (1-RCD) under Assumption 1. Then, the following relation holds:

: From the optimality conditions of subproblem (4) we have that there exists a subgradient g(xikk+dik)∈∂hik(xikk+dik)g(x^{k}_{i_{k}}+d_{i_{k}})\in\partial h_{i_{k}}(x^{k}_{i_{k}}+d_{i_{k}}) such that:

On the other hand, since the function hikh_{i_{k}} is convex, according to Assumption 1 (ii), the following inequality holds:

Applying the previous two relations in (3) and using the separability of the function hh, then under Assumption 1 (ii) we have that

Using Lemma 3, we state the following result regarding the asymptotic convergence of Algorithm (1-RCD).

If Assumption 1 holds for the composite objective function FF of problem (1) and the sequence xkx^{k} is generated by Algorithm (1-RCD) using the uniform distribution, then the following statements are valid:

The sequence of random variables M1(xk,L)M_{1}(x^{k},L) converges to 0 a.s. and the sequence F(xk)F(x^{k}) converges to a random variable Fˉ\bar{F} a.s.

Any accumulation point of the sequence xkx^{k} is a stationary point for optimization problem (1).

We now take the expectation conditioned on ξk−1\xi^{k-1} and note that iki_{k} is independent on the past ξk−1\xi^{k-1}, while xkx^{k} is fully determined by ξk−1\xi^{k-1}. We thus obtain:

Using the supermartingale convergence theorem given in Lemma 2 in the previous inequality, we can ensure that

for a random variable θ≥0\theta\geq 0 and thus Fˉ=θ+F∗\bar{F}=\theta+F^{*}. Further, due to almost sure convergence of sequence F(xk)F(x^{k}), it can be easily seen that lim⁡k→∞F(xk)−F(xk+1)=0\lim\limits_{k\to\infty}F(x^{k})-F(x^{k+1})=0 a.s. From xk+1−xk=Uikdikx^{k+1}-x^{k}=U_{i_{k}}d_{i_{k}} and Lemma 3 we have:

As ∥dik∥→0\lVert d_{i_{k}}\rVert\to 0 a.s., we can conclude that the random variable E[∥dik∥∣ξk−1]→0E[\lVert d_{i_{k}}\rVert|\xi^{k-1}]\to 0 a.s. or equivalently M1(xk,L)→0M_{1}(x^{k},L)\to 0 a.s.

(ii) For brevity we assume that the entire sequence xkx^{k} generated by Algorithm (1-RCD) is convergent. Let xˉ\bar{x} be the limit point of the sequence xkx^{k}. In the first part of the theorem we proved that the sequence of random variables dL(xk)d_{L}(x^{k}) converges to 00 a.s. Using the definition of dL(xk)d_{L}(x^{k}) we have:

and taking the limit k→∞k\to\infty and using Assumption 1 (ii) we get:

This shows that dL(xˉ)=0d_{L}(\bar{x})=0 is the minimum in subproblem (7) for x=xˉx=\bar{x} and thus M1(xˉ,L)=0M_{1}(\bar{x},L)=0. From Lemma 1 we conclude that xˉ\bar{x} is a stationary point for optimization problem (1). ∎

The next theorem proves the convergence rate of the optimality measure M1(xk,L)M_{1}(x^{k},L) towards 00 in expectation.

Let FF satisfy Assumption 1. Then, the Algorithm (1-RCD) based on the uniform distribution generates a sequence xkx^{k} satisfying the following convergence rate for the expected values of the optimality measure:

: For simplicity of the exposition we use the following notation: given the current iterate xx, denote the next iterate x+=x+Uidix^{+}=x+U_{i}d_{i}, where direction did_{i} is given by (4) for some random chosen index ii w.r.t. uniform distribution. For brevity, we also adapt the notation of expectation upon the entire history, i.e. (ϕ,ϕ+,ξ)(\phi,\phi^{+},\xi) instead of (ϕk,ϕk+1,ξk−1)(\phi^{k},\phi^{k+1},\xi^{k-1}). From Assumption 1 and inequality (3) we have:

We now take the expectation conditioned on ξ\xi:

After rearranging the above expression we get:

Now, by taking the expectation in (10) w.r.t. ξ\xi we obtain:

and then using the 1−1-strong convexity property of ψL\psi_{L} we get:

Now coming back to the notation dependent on kk and summing w.r.t. the entire history we have:

which leads to the statement of the theorem. ∎

It is important to note that the convergence rate for the Algorithm (1-RCD) given in Theorem 2.2 is typical for the class of first order methods designed for solving nonconvex and nonsmooth optimization problems (see e.g. Nes:07 for more details). Recently, after our paper came under review, a variant of 1-random coordinate descent method for solving composite nonconvex problems was also proposed in LuXia:13. However, the authors in LuXia:13 do not provide complexity results for their algorithm, but only asymptotic convergence in expectation. Note also that our convergence results are different from the convex case Nes:10; RicTac:11, since here we introduce another optimality measure and we use the supermartingale convergence theorem in the analysis.

Furthermore, when the objective function FF is smooth and nonconvex, i.e. h=0h=0, the first order necessary conditions of optimality become ∇f(x∗)=0\nabla f(x^{*})=0. Also, note that in this case, the optimality measure M1(x,L)M_{1}(x,L) is given by: M1(x,L)=∥∇f(x)∥L∗M_{1}(x,L)=\lVert\nabla f(x)\rVert^{*}_{L}. An immediate consequence of Theorem 2.2 in this case is the following result:

Let h=0h=0 and ff satisfy Assumption 1 (i). Then, in this case, the Algorithm (1-RCD) based on the uniform distribution generates a sequence xkx^{k} satisfying the following convergence rate for the expected values of the norm of the gradients:

Constrained minimization of composite objective functions

In this section we present a variant of random block coordinate gradient descent method for solving large-scale nonconvex optimization problems with composite objective function and a single linear equality constraint:

The function ff has 2-block coordinate Lipschitz continuous gradient, i.e. there are constants Lij>0L_{ij}>0 such that:

The function hh is proper, convex, continuous and coordinatewise separable:

Note that these assumptions are frequently used in the area of coordinate descent methods for convex minimization, e.g. Bec:12; Nec:13; NecPat:12; NecNes:12; TseYun:09. Based on this assumption the first order necessary optimality conditions become: if x∗x^{*} is a local minimum of (13), then there exists a scalar λ∗\lambda^{*} such that:

and then we can bound the function FF with the following quadratic expression:

Let (i,j)(i,j) be a two dimensional random variable, where i,j∈{1,…,N}i,j\in\{1,\dots,N\} with i≠ji\neq j and pikjk=Pr((i,j)=(ik,jk))p_{i_{k}j_{k}}=\text{Pr}((i,j)=(i_{k},j_{k})) be its probability distribution. Given a feasible xx, two blocks are chosen randomly with respect to a given probability distribution pijp_{ij} and the quadratic model (15) is minimized with respect to these coordinates. Our method has the following iteration: given a feasible initial point x0x^{0}, that is aTx0=ba^{T}x^{0}=b, then for all k≥0k\geq 0

where directions dikjk=[dikT  djkT]Td_{i_{k}j_{k}}=[d_{i_{k}}^{T}\;d_{j_{k}}^{T}]^{T} minimize the quadratic model (15):

In order to analyze the convergence of Algorithm (2-RCD), we introduce an optimality measure:

2 Convergence of Algorithm (2-RCD)

We introduce the notion of elementary vectors for the linear subspace S=Null(aT)S=Null(a^{T}).

An elementary vector dd of SS is a vector d∈Sd\in S for which there is no nonzero d′∈Sd^{\prime}\in S conformal to dd and supp(d′)≠supp(d)\text{supp}(d^{\prime})\neq\text{supp}(d).

We now present some results for elementary vectors and conformal realization, whose proofs can be found in Roc:69; Roc:84; TseYun:09. A particular case of Exercise 10.6 in Roc:84 and an interesting result in Roc:69 provide us the following lemma:

Roc:69; Roc:84 Given d∈Sd\in S, if dd is an elementary vector, then ∣supp(d)∣≤2\lvert\text{supp}(d)\rvert\leq 2. Otherwise, dd has a conformal realization d=d1+⋯+dsd=d^{1}+\dots+d^{s}, where s≥2s\geq 2 and dt∈Sd^{t}\in S are elementary vectors conformal to dd for all t=1,…,st=1,\dots,s.

An important property of convex and separable functions is given by the following lemma:

where dt∈Sd^{t}\in S are elementary vectors conformal to dd for all t=1,…,st=1,\dots,s.

If Assumption 2 holds and sequence xkx^{k} is generated by Algorithm (2-RCD) using the uniform distribution, then the following inequality is valid:

: As in the previous sections, for a simple exposition we drop kk from our derivations: e.g. the current point is denoted xx, next iterate x+=x+Uidi+Ujdjx^{+}=x+U_{i}d_{i}+U_{j}d_{j}, where direction dijd_{ij} is given by Algorithm (2-RCD) for some random selection of pair (i,j)(i,j) and ξ\xi instead of ξk−1\xi^{k-1}. From the relation (17) and the property of minimizer dijd_{ij} we have:

Taking expectation in both sides w.r.t. random variable (i,j)(i,j) conditioned on ξ\xi and recalling that pij=2N(N−1)p_{ij}=\frac{2}{N(N-1)}, we get:

for all sij∈Sijs_{ij}\in S_{ij}. We can apply Lemma 6 for coordinatewise separable functions ∥⋅∥2\lVert\cdot\rVert^{2} and h(⋅)h(\cdot) and we obtain:

for all sij∈Sijs_{ij}\in S_{ij}. From Lemma 5 it follows that any s∈Ss\in S has a conformal realization defined by s=∑tsts=\sum_{t}s^{t}, where the vectors st∈Ss^{t}\in S are elementary vectors conformal to ss. Therefore, observing that every elementary vector sts^{t} has at most two nonzero blocks, then any vector s∈Ss\in S can be generated by s=∑i,jsijs=\sum_{i,j}s_{ij}, where sij∈Ss_{ij}\in S are conformal to ss and have at most two nonzero blocks, i.e. sij∈Sijs_{ij}\in S_{ij} for some pair (i,j)(i,j). Due to conformal property of the vectors sijs_{ij}, the expression ∥∑i,jLijsij∥2\lVert\sum_{i,j}\sqrt{L_{ij}}s_{ij}\rVert^{2} is nondecreasing in the weights LijL_{ij} and taking in account that Lij≤min⁡{NΓi,NΓj}L_{ij}\leq\min\{N\Gamma_{i},N\Gamma_{j}\}, the previous inequality leads to:

for all s∈Ss\in S. As the last inequality holds for any vector s∈Ss\in S, it also holds for the particular vector dNΓ(x)∈Sd_{N\Gamma}(x)\in S:

The main convergence properties of Algorithm (2-RCD) are given in the following theorem:

If Assumption 2 holds for the composite objective function F of problem (13) and the sequence xkx^{k} is generated by Algorithm (2-RCD) using the uniform distribution, then the following statements are valid:

The sequence of random variables M2(xk,Γ)M_{2}(x^{k},\Gamma) converges to 0 a.s. and the sequence F(xk)F(x^{k}) converges to a random variable Fˉ\bar{F} a.s.

Any accumulation point of the sequence xkx^{k} is a stationary point for optimization problem (13).

: (i) Using a similar reasoning as in Lemma 3 but for the inequality (15) we can show the following decrease in the objective function for Algorithm (2-RCD) (i.e. Algorithm (2-RCD) is also a descent method):

Further, subtracting F∗F^{*} from both sides, applying expectation conditioned on ξk−1\xi^{k-1} and then using supermartingale convergence theorem given in Lemma 2 we obtain that F(xk)F(x^{k}) converges to a random variable Fˉ\bar{F} a.s. for k→∞k\to\infty. Due to almost sure convergence of sequence F(xk)F(x^{k}), it can be easily seen that lim⁡k→∞F(xk)−F(xk+1)=0\lim\limits_{k\to\infty}F(x^{k})-F(x^{k+1})=0 a.s. Moreover, from (19) we have:

As in the previous section, for a simple exposition we drop kk from our derivations: e.g. the current point is denoted xx, next iterate x+=x+Uidi+Ujdjx^{+}=x+U_{i}d_{i}+U_{j}d_{j}, where direction dijd_{ij} is given by Algorithm (2-RCD) for some random selection of pair (i,j)(i,j) and ξ\xi stands for ξk−1\xi^{k-1}. From Lemma 7, we obtain a sequence which bounds from below ψNΓ(dNΓ(x);x)\psi_{N\Gamma}(d_{N\Gamma}(x);x) as follows:

On the other hand, from Lemma 5 it follows that any s∈Ss\in S has a conformal realization defined by s=∑i,jsijs=\sum_{i,j}s_{ij}, where sij∈Ss_{ij}\in S are conformal to ss and have at most two nonzero blocks, i.e. sij∈Sijs_{ij}\in S_{ij} for some pair (i,j)(i,j). Using now Jensen inequality we derive another sequence which bounds ψNΓ(dNΓ(x);x)\psi_{N\Gamma}(d_{N\Gamma}(x);x) from above:

Note that ψNΓ(0;xk)=F(xk)\psi_{N\Gamma}(0;x^{k})=F(x^{k}) and since both sequences ψNΓ(0;xk)\psi_{N\Gamma}(0;x^{k}) and ψNΓ(dNΓ(xk);xk)\psi_{N\Gamma}(d_{N\Gamma}(x^{k});x^{k}) converge to Fˉ\bar{F} a.s. for k→∞k\to\infty, from the above strong convexity relation it follows that the sequence M2(xk;Γ)=∥dNΓ(xk)∥ΓM_{2}(x^{k};\Gamma)=\lVert d_{N\Gamma}(x^{k})\rVert_{\Gamma} converges to 00 a.s. for k→∞k\to\infty.

(ii) The proof follows the same ideas as in the proof of Theorem 1 (ii). ∎

We now present the convergence rate for Algorithm (2-RCD).

Let FF satisfy Assumption 2. Then, the Algorithm (2-RCD) based on the uniform distribution generates a sequence xkx^{k} satisfying the following convergence rate for the expected values of the optimality measure:

: Given the current feasible point xx, denote x+=x+Uidi+Ujdjx^{+}=x+U_{i}d_{i}+U_{j}d_{j} as the next iterate, where direction (di,dj)(d_{i},d_{j}) is given by Algorithm (2-RCD) for some random chosen pair (i,j)(i,j) and we use the notation (ϕ,ϕ+,ξ)(\phi,\phi^{+},\xi) instead of (ϕk,ϕk+1,ξk−1)(\phi^{k},\phi^{k+1},\xi^{k-1}). Based on Lipschitz inequality (15) we derive:

Taking expectation conditioned on ξ\xi in both sides and using Lemma 7 we get:

Taking now expectation w.r.t. ξ\xi, we can derive:

where we used the strong convexity property of function ψNΓ(s;x)\psi_{N\Gamma}(s;x). Now, considering iteration kk and summing up with respect to entire history we get:

This inequality leads us to the above result. ∎

3 Constrained minimization of smooth objective functions

where ∇f(x)⊥\nabla f(x)_{\perp} is the projection of the gradient vector ∇f(x)\nabla f(x) onto the subspace SS orthogonal to the vector aa. Since ∇f(x)⊥=∇f(x)+λa\nabla f(x)_{\perp}=\nabla f(x)+\lambda a, we defined a particular optimality measure:

It is straightforward to see that QijQ_{ij} is positive semidefinite (notation Qij⪰0Q_{ij}\succeq 0) and Qija=0Q_{ij}a=0 for all pairs (i,j)(i,j) with i≠ji\neq j. Given a probability distribution pijp_{ij}, let us define the matrix:

that is also symmetric and positive semidefinite, since Lij,pij>0L_{ij},p_{ij}>0 for all (i,j)(i,j). Furthermore, since we consider all possible pairs (i,j)(i,j), with i≠j∈{1,…,N}i\not=j\in\{1,\dots,N\}, it can be shown that the matrix QQ has an eigenvalue ν1(Q)=0\nu_{1}(Q)=0 (which is a simple eigenvalue) with the associated eigenvector aa. It follows that ν2(Q)\nu_{2}(Q) (the second smallest eigenvalue of QQ) is positive. Since h=0h=0, we have F=fF=f. Using the same reasoning as in the previous sections we can easily show that the sequence f(xk)f(x^{k}) satisfies the following decrease:

We now give the convergence rate of Algorithm (2-RCD) for this particular case:

Let h=0h=0 and ff satisfy Assumption 2 (i). Then, Algorithm (2-RCD) based on a general probability distribution pijp_{ij} generates a sequence xkx^{k} satisfying the following convergence rate for the expected values of the norm of the projected gradients onto subspace SS:

As in the previous section, for a simple exposition we drop kk from our derivations: e.g. the current point is denoted xx, and x+=x+Uidi+Ujdjx^{+}=x+U_{i}d_{i}+U_{j}d_{j}, where direction dijd_{ij} is given by Algorithm (2-RCD) for some random selection of pair (i,j)(i,j). Since h=0h=0, we have F=fF=f. From (21) we have the following decrease: f(x+)≤f(x)−12Lij∇f(x)TQij∇f(x)f(x^{+})\leq f(x)-\frac{1}{2L_{ij}}\nabla f(x)^{T}Q_{ij}\nabla f(x). Taking now expectation conditioned in ξ\xi in this inequality we have:

From the above decomposition of the gradient ∇f(x)=∇f(x)⊥−λa\nabla f(x)=\nabla f(x)_{\perp}-\lambda a and the observation that Qa=0Qa=0, we conclude that the previous inequality does not change if we replace ∇f(x)\nabla f(x) with ∇f(x)⊥\nabla f(x)_{\perp}:

Note that ∇f(x)⊥\nabla f(x)_{\perp} is included in the orthogonal complement of the span of vector aa, so that the above inequality can be relaxed to:

Coming back to the notation dependent on kk and taking expectation in both sides of inequality (22) w.r.t. ξk−1\xi^{k-1}, we have:

Summing w.r.t. the entire history, we obtain the above result. ∎

Note that our convergence proofs given in this section (Theorems 4, 5 and 6) are different from the convex case Nec:13; NecPat:12; NecNes:12, since here we introduce another optimality measure and we use supermartingale convergence theorem in the analysis. It is important to see that the convergence rates for the Algorithm (2-RCD) given in Theorems 3.2 and 3.3 are typical for the class of first order methods designed for solving nonconvex and nonsmotth optimization problems, e.g. in Bec:12; Nes:07 similar results are obtained for other gradient based methods designed to solve nonconvex problems.

Numerical Experiments

In this section we analyze the practical performance of the random coordinate descent methods derived in this paper and compare our algorithms with some recently developed state-of-the-art algorithms from the literature. Coordinate descent methods are one of the most efficient classes of algorithms for large-scale optimization problems. Therefore, we present extensive numerical simulation for large-scale nonconvex problems with dimension ranging from n=103n=10^{3} to n=107n=10^{7}. For numerical experiments, we implemented all the algorithms in C code and we performed our tests on a PC with Intel Xeon E5410 CPU and 8 Gb RAM memory.

If matrices A and B are symmetric, then we have symmetric (EiCP). It has been shown in ThiMoe:10 that symmetric (EiCP) is equivalent with finding a stationary point of a generalized Rayleigh quotient on the simplex:

where an upper bound on Lipschitz constant LijAL_{ij}^{A} is given by

: The Hessian of the function gA(x)g_{A}(x) is given by

Note that ∇ij2gA(x)=2AijxTAx−4(Ax)ij(Ax)ijT(xTAx)2\nabla^{2}_{ij}g_{A}(x)=\frac{2A_{ij}}{x^{T}Ax}-\frac{4(Ax)_{ij}(Ax)_{ij}^{T}}{(x^{T}Ax)^{2}}. With the same arguments as in ThiMoe:10 we have that: ∥∇ij2gA(x)∥≤∥2AijxTAx∥\lVert\nabla^{2}_{ij}g_{A}(x)\rVert\leq\lVert\frac{2A_{ij}}{x^{T}Ax}\rVert. From the mean value theorem we obtain:

for any x,x+sij∈Δnx,x+s_{ij}\in\Delta_{n}. Taking norm in both sides of the equality results in:

Note that min⁡x∈ΔnxTAx>0\min\limits_{x\in\Delta_{n}}x^{T}Ax>0 since we have:

and the above result can be easily derived. ∎

Based on the previous notation, the objective function of the logarithmic formulation (23) is given by:

Therefore, the local Lipschitz constants LijL_{ij} of function ff are estimated very easily and numerically cheap as:

where μ\mu is a parameter chosen in a preliminary stage of the algorithm such that the function x↦12μ∥x∥2+ln⁡(xTAx)x\mapsto\frac{1}{2}\mu\lVert x\rVert^{2}+\ln(x^{T}Ax) is convex. In both algorithms we use the following stopping criterion: ∣f(xk)−f(xk+1)∣≤ϵ|f(x^{k})-f(x^{k+1})|\leq\epsilon, where ϵ\epsilon is some chosen accuracy. Note that Algorithm (DC) is based on full gradient information and in the application (EiCP) the most computations consists of matrix vector multiplication and a projection onto simplex. When at least one matrix AA and BB is dense, the computation of the sequence yky^{k} is involved, typically O(n2)\mathcal{O}(n^{2}) operations. However, when these matrices are sparse the computation can be reduced to O(pn)\mathcal{O}(pn) operations, where pp is the average number of nonzeros in each row of the matrix AA and BB. Further, there are efficient algorithms for computing the projection onto simplex, e.g. block pivotal principal pivoting algorithm described in JudRay:08, whose arithmetic complexity is of order O(n)\mathcal{O}(n). As it appears in practice, the value of parameter μ\mu is crucial in the rate of convergence of Algorithm (DC). The authors in ThiMoe:10 provide an approximation of μ\mu that can be computed easily when the matrix AA from (23) is positive definite. However, for general copositive matrices (as the case of nonnegative irreducible matrices considered in this paper) one requires the solution of certain NP-hard problem to obtain a good approximation of parameter μ\mu. On the other hand, for our Algorithm (2-RCD) the computation of the Lipschitz constants LijL_{ij} is very simple and numerically cheap (see previous lemma). Further, for the scalar case (i.e. n=Nn=N) the complexity per iteration of our method applied to (EiCP) problem is O(p)\mathcal{O}(p) in the sparse case.

In Table 1 we compare the two algorithms: (2-CRD) and (DC). We generated random sparse symmetric nonnegative and irreducible matrices of dimension ranging from n=103n=10^{3} to n=107n=10^{7} using the uniform distribution. Each row of the matrices has only p=10p=10 nonzero entries. In both algorithms we start from random initial points. In the table we present for each algorithm the final objective function value (F∗F^{*}), the number of iterations (iter) and the necessary CPU time (in seconds) for our computer to execute all the iterations. As Algorithm (DC) uses the whole gradient information to obtain the next iterate, we also report for Algorithm (2-RCD) the equivalent number of full-iterations which means the total number of iterations divided by n/2n/2 (i.e. the number of iterations groups x0,xn/2,...,xkn/2x^{0},x^{n/2},...,x^{kn/2}). Since computing μ\mu is very difficult for this type of matrices, we try to tune μ\mu in Algorithm (DC). We have tried four values for μ\mu ranging from 0.01n0.01n to 50n50n. We have noticed that if μ\mu is not carefully tuned Algorithm (DC) cannot find the optimal value f∗f^{*} in a reasonable time. Then, after extensive simulations we find an appropriate value for μ\mu such that Algorithm (DC) produces an accurate approximation of the optimal value. From the table we see that our Algorithm (2-RCD) provides better performance in terms of objective function values and CPU time (in seconds) than Algorithm (DC). We also observe that our algorithm is not sensitive w.r.t. the Lipschitz constants LijL_{ij} and also w.r.t. the initial point, while Algorithm (DC) is very sensitive to the choice of μ\mu and the initial point.

Further, in Fig. 1 we plot the evolution of the objective function w.r.t. time for Algorithms (2-RCD) and (DC), in logarithmic scale, on a random (EiCP) problem with dimension n=5⋅105n=5\cdot 10^{5} (Algorithm (DC) with parameter left: μ=1.42⋅n\mu=1.42\cdot n; right: μ=50⋅n\mu=50\cdot n). For a good choice of μ\mu we see that in the initial phase of Algorithm (DC) the reduction in the objective function is very fast, but while approaching the optimum it slows down. On the other hand, due to the sparsity and randomization our proposed algorithm is faster in numerical implementation than the (DC) scheme.

In Fig. 2 we plot the evolution of CPU time, in logarithmic scale, required for solving the problem w.r.t. the average number of nonzeros entries pp in each row of the matrix AA. We see that for very sparse matrices (i.e. for matrices with relatively small number of nonzeros per row p≪np\ll n), our Algorithm (2-RCD) performs faster in terms of CPU time than (DC) method. The main reason is that our method has a simple implementation, does not require the use of other algorithms at each iteration and the arithmetic complexity of an iteration is of order O(p)\mathcal{O}(p). On the other hand, Algorithm (DC) is using the block pivotal principal pivoting algorithm described in JudRay:08 at each iteration for projection on simplex and the arithmetic complexity of an iteration is of order O(pn)\mathcal{O}(pn).

We conclude from the theoretical rate of convergence and the previous numerical results that Algorithms (1-RCD) and (2-RCD) are easier to be implemented and analyzed due to the randomization and the typically very simple iteration. Furthermore, on certain classes of problems with sparsity structure, that appear frequently in many large-scale real applications, the practical complexity of our methods is better than that of some well-known methods from the literature. All these arguments make our algorithms to be competitive in the large-scale nonconvex optimization framework. Moreover, our methods are suited for recently developed computational architectures (e.g., distributed or parallel architectures NecCli:13; RicTac:13).

References