Accelerated Stochastic Algorithms for Nonconvex Finite-sum and Multi-block Optimization

Guanghui Lan, Yu Yang

Introduction

Nonconvex optimization plays a fundamental role in modern statistics and machine learning, e.g., for empirical risk minimization with either nonconvex loss () or regularization (), as well as the training of deep neural networks (). In this paper, we consider two classes of nonconvex optimization problems that are widely used in statistical learning. The first class of problems intends to minimize the summation of many terms:

Moreover, we assume that there exists 0<μ≤L0<\mu\leq L such that (s.t.)

Clearly, (1.2) implies (1.3) (with μ=L\mu=L). While in the classical nonlinear programming setting one only assumes (1.2), by using both conditions (1.2) and (1.3) we can explore more structural information for the design of solution methods of problem (1.1). In particular, we intend to develop more efficient algorithms to solve problems where the condition number L/μL/\mu associated with problem (1.1) is large. As an example, consider the nonconvex composite problem arising from variable selection in statistics : f(x)=1m∑i=1mhi(x)+ρp(x),f(x)=\textstyle{\tfrac{1}{m}\sum_{i=1}^{m}}h_{i}(x)+\rho p(x), where hih_{i}’s are smooth convex functions, pp is a nonconvex function, and ρ>0\rho>0 is a relatively small penalty parameter. Note that some examples of the nonconvex penalties are given by minimax concave penalty (MCP) or smoothly clipped absolute deviation (SCAD) (see ). It can be shown that the condition number for these problems is usually larger than mm (see Section 4 for more details).

In addition to (1.1), we consider an important class of nonconvex multi-block optimization problems with linearly coupled constraints, i.e.,

A different line of research aims to incorporate Nesterov’s acceleration (momentum) into nonconvex optimization. Ghaidmi and Lan first established the convergence of the accelerated gradient method for nonconvex optimization and show that it can improve the complexity of GD if the problem has a large condition number (i.e., L/μL/\mu is large). Their results were further improved in , , and . Currently the best complexity result, in terms of total gradient computations, for these methods is given by O(mLμ/ϵ)\mathcal{O}\left(m\sqrt{L\mu}/\epsilon\right) for unconstrained problems . However, it remains unknown if the complexity of such accelerated algorithms can be further improved in terms of the dependence on mm, especially when one needs to maintain the O(1/ϵ){\cal O}(1/\epsilon) complexity bound on gradient computations. Note that some nonconvex stochastic accelerated gradient methods have been discussed in but they all exhibit a worse O(Lσ2/ϵ2){\cal O}(L\sigma^{2}/\epsilon^{2}) complexity bounds.

While stochastic and randomized methods are being intensively explored for solving problem (1.1), most existing studies for the nonconvex multi-block problem in (1) have been mainly focused on deterministic batch methods only. Many of these studies aim at the generalization of the alternating direction method of multipliers (ADMM) method for nonconvex optimization. For example, In , Hong et al. established the complexity for a variant of ADMM for nonconvex multi-block problems, see also and for some previous work on the asymptotic analysis of ADMM for nonconvex optimization. In , Melo and Monteiro presented a linearized proximal multiblock ADMM with complexity O(1/ϵ)\mathcal{O}\left(1/\epsilon\right) to attain a nearly feasible ϵ\epsilon-stationary solution, but all the blocks have to be updated in each iteration. Later, they proposed a Jacobi-type ADMM in with similar complexity bound, which shows benefits if parallel computing is available. While the idea of randomly selecting blocks in nonconvex ADMM has been explored recently, these studies focus on the asymptotical convergence of these schemes (e.g., in ). To the best of our knowledge, there does not exist any complexity analysis regarding randomized methods for solving the nonconvex multi-block problem in (1) in the literature and as a consequence, it remains unclear whether stochastic or randomized methods are more advantageous over batch ones or not.

Our contribution in this paper mainly exists in the following several aspects. Firstly, we develop a new randomized algorithm, namely the randomized accelerated proximal gradient (RapGrad) method for solving problem (1.1) and show that it can significantly improve the complexity of existing algorithms especially for problems with a large condition number. More specifically, we show that RapGrad requires totally O(μ(m+mL/μ)/ϵ)\mathcal{O}(\mu(m+\sqrt{mL/\mu})/\epsilon) gradient computations in order to find a stochastic ϵ\epsilon-stationary point. For problems with L/μ≥mL/\mu\geq m, this bound reduces to O(mLμ/ϵ)\mathcal{O}(\sqrt{mL\mu}/\epsilon), which dominates the best-known batch accelerated gradient methods by a factor of m\sqrt{m} , and outperforms those variance-reduced stochastic algorithms by a factor of m16L12/μ12m^{\frac{1}{6}}L^{\frac{1}{2}}/\mu^{\frac{1}{2}} (at least m23m^{\frac{2}{3}}). In fact, our complexity bound will be better than the latter algorithms as long as L/μlog⁡(L/μ)>m13L/\mu\log(L/\mu)>m^{\frac{1}{3}}. Therefore, we provide some affirmative answers regarding whether the complexity bounds of variance reduced algorithms and accelerated gradient methods for nonconvex optimization can be further improved, especially in terms of their dependence on mm. To the best of our knowledge, all these complexity results seem to be new in the literature for nonconvex finite-sum optimization. It is worth noting that some improvement over variance-reduced stochastic algorithms under the region m≥L/μm\geq L/\mu (i.e., L/μL/\mu is small) has been presented recently in . RapGrad is a proximal-point type method which iteratively transforms the original nonconvex problem into a series of convex subproblems. In RapGrad, we incorporate a modified optimal randomized incremental gradient method, namely the randomized primal-dual gradient (see ) to solve these convex subproblems, and as a consequence, each iteration of RapGrad requires gradient computation for only one randomly selected component function. In comparison with existing nonconvex proximal-point type methods, the design and analysis of RapGrad appear to be more complicated. In particular, RapGrad does not require the computation of full gradients throughout its entire procedure by properly initializing a few intertwined search points and gradients using information obtained from the previous subproblems. This comes with the price of requiring additional storage (memory) for maintaining O(m)\mathcal{O}(m) variables (e.g., x‾t\underline{x}^{t}). Moreover, the analysis of RapGrad requires us to show the convergence for some auxiliary sequences where the gradients are computed, which has not been established for the original randomized primal-dual gradient method.

primal block updates, where Aˉ=max⁡i∈[m−1]∥Ai∥\bar{A}=\max_{i\in[m-1]}\|A_{i}\|, ∥A∥2=∑i=1m−1∥Ai∥2\|\mathbf{A}\|^{2}=\sum_{i=1}^{m-1}\|A_{i}\|^{2}, and D0:=∑i=1m[fi(xˉi0)−fi(xi∗)]\mathcal{D}^{0}:=\sum_{i=1}^{m}[f_{i}(\bar{x}_{i}^{0})-f_{i}(x_{i}^{*})]. Moreover, we demonstrate that the total number primal block updates that RapGrad requires can be much smaller, up to a factor of O(m){\cal O}(\sqrt{m}), than its batch counterpart. To the best of our knowledge, this is the first time that the complexity of randomized methods for solving this special class of nonconvex multi-block optimization has been established and their possible advantages over batch methods are quantified in the literature.

Thirdly, we perform some numerical experiments on both RapGrad and RapDual for solving nonconvex finite-sum and multi-block problems in (1.1) and (1) and demonstrate their potential advantages over some existing algorithms.

This paper is organized as follows. In Section 2, we present our algorithm RapGrad, and its convergence properties for solvinwg the nonconvex finite-sum problem in (1.1). RapDual for nonconvex finite-sum optimization with linear constraints (1) and its convergence analysis are included in Section 3. Section 4 is devoted to some numerical experiments of our algorithms for the above two types of problems. Finally some concluding remarks are made in Section 5.

Nonconvex finite-sum optimization

In this section, we develop a randomized accelerated proximal gradient (RapGrad) method for solving the nonconvex finite-sum optimization problem in (1.1) and demonstrate that it can significantly improve the existing rates of convergence for solving these problems, especially when their objective functions have large condition numbers. We will describe this algorithm and establish its convergence in Subsections 2.1 and 2.2, respectively.

Before establishing the convergence of the RapGrad method, we first need to define an approximate stationary point for problem (1.1). A point x∈Xx\in X is called an approximate stationary point if it sits within a small neighborhood of a point x^∈X\hat{x}\in X which approximately satisfies the first-order optimality condition.

A point x∈Xx\in X is called an (ϵ,δ)(\epsilon,\delta)-solution of (1.1) if there exists some x^∈X\hat{x}\in X such that

A stochastic (ϵ,δ)(\epsilon,\delta)-solution of (1.1) is one such that

Moreover, if XX is a compact set and x∈Xx\in X is an (ϵ,δ)(\epsilon,\delta)-solution, we can bound strong gap as follows:

where DX:=max⁡x1,x2∈X∥x1−x2∥D_{X}:=\max_{x_{1},x_{2}\in X}\|x_{1}-x_{2}\|. In comparison with the two well-known criterions in (2.18) and (2.19), the criterion given in Definition 1 seems to be applicable to a wider class of problems and is particularly suitable for proximal-point type methods (see for a related notion).

We are now ready to state the main convergence properties for RapGrad.

In view of Theorem 2, we can bound the total number of gradient evaluations required by RapGrad to yield a stochastic (ϵ,δ)(\epsilon,\delta)-solution of (1.1). Indeed, observe that the full gradient is computed only once in the first outer loop, and that for each subproblem (1.1), we only need to compute ss gradients with

Hence, the total number of gradient evaluations performed by RapGrad can be bounded by

where D0:=f(xˉ0)−f(x∗)D^{0}:=f(\bar{x}^{0})-f(x^{*}). As a comparison, the batch version of this algorithm, obtained by viewing 1m∑i=1mfi(x)\textstyle{\tfrac{1}{m}\sum_{i=1}^{m}}f_{i}(x) as a single component, would update all the x‾it\underline{x}_{i}^{t} and yity_{i}^{t} for i=1,…,mi=1,\ldots,m, in (2.12) and (2.15) at each iteration, and hence would require

gradient evaluations to compute an (ϵ,δ)(\epsilon,\delta)-solution of (1.1).

It is worth noting that both complexity bounds N(ϵ,δ)N(\epsilon,\delta) and N^(ϵ,δ)\hat{N}(\epsilon,\delta) will go to +∞+\infty as μ\mu tends to . This indicates that the proximal-point method should not be applied to the situation when μ\mu is too small, no matter whether the randomized or batch version is used. However, if μ\mu is indeed small, say μ<ϵ\mu<\epsilon, we can see that the assumption in (1.3) also holds for μ=ϵ\mu=\epsilon. Therefore, we can assume that μ≥ϵ\mu\geq\epsilon when applying RapGrad. A closer examination to this issue reveals that the algorithm (i.e., RaGrad) that we used to solve the strongly convex subproblems is not optimal if the strongly convex modulus μ\mu is too small. Hence, a different remedy would be to apply an optimal randomized incremental gradient method which can yield the best possible complexity bound even if μ\mu is small. Using this latter approach, we possibly do not need to fix ϵ\epsilon a priori as in the former one. However, this type of optimal randomized incremental gradient method has not been developed until recently (see ), about one year later after our paper was initially released.

Theorem 2 only shows the convergence of RapGrad in expectation. Similarly to the nonconvex SGD methods in , we can establish and then further improve the convergence of RapGrad with overwhelming probability by using a two-phase procedure, where one computes a short list of candidate solutions in the optimization phase by either taking a few independent runs of RapGrad or randomly selecting a few solutions from the trajectory of RapGrad, and then chooses the best solution, e.g., in terms of either (2.18) and (2.19), in the post-optimization phase.

2 Convergence analysis for RapGrad

In this section, we will first develop the convergence results for Algorithm 2 applied to the convex finite-sum subproblem (2.8), and then using them to establish the convergence of RapGrad. Observe that the component functions ψi\psi_{i} and φ\varphi in (2.8) satisfy:

μ2∥x−y∥2≤ψi(x)−ψi(y)−⟨∇ψi(y),x−y⟩≤L^2∥x−y∥2,  ∀x,y∈X,i=1,…,m,\tfrac{\mu}{2}\|x-y\|^{2}\leq\psi_{i}(x)-\psi_{i}(y)-\langle\nabla\psi_{i}(y),x-y\rangle\leq\tfrac{\hat{L}}{2}\|x-y\|^{2},\ \ \forall x,y\in X,\quad i=1,\ldots,m,

φ(x)−φ(y)−⟨∇φ(y),x−y⟩≥μ2∥x−y∥2,  ∀x,y∈X,\varphi(x)-\varphi(y)-\langle\nabla\varphi(y),x-y\rangle\geq\tfrac{\mu}{2}\|x-y\|^{2},\ \ \forall x,y\in X,

We first state some simple relations about the iterations generated by Algorithm 2.

Lemma 4 below describes an important result about Algorithm 2, which improves Lemma 7 of by showing the convergence of x‾is{\underline{x}}^{s}_{i}. The proof of this result is more involved and will be deferred in Appendix A.

Let the iterates xtx^{t} and yty^{t}, for t=1,…,st=1,\ldots,s, be generated by Algorithm 2 and x∗x^{*} be an optimal solution of (2.8). If the parameters in Algorithm 2 satisfy for all t=1,…,s−1t=1,\ldots,s-1,

With the help of Lemma 4, we now establish the main convergence properties of Algorithm 2.

Let x∗x^{*} be an optimal solution of (2.8), and suppose that the parameters {αt}\{\alpha_{t}\}, {τt}\{\tau_{t}\}, {ηt}\{\eta_{t}\} and {γt}\{\gamma_{t}\} are set as in (2.20) and (2.21). If φ(x)=μ2∥x−z∥2\varphi(x)=\tfrac{\mu}{2}\|x-z\|^{2}, for some z∈Xz\in X, then, for any s≥1s\geq 1, we have

It is easy to check that (2.20) and (2.21) satisfy conditions (2.24), (2.25), (2.26) (2.27), (2.28), and (2.29). Then by Lemma 4, we have

Since φ(x)=μ2∥x−z∥2\varphi(x)=\tfrac{\mu}{2}\|x-z\|^{2}, we have Vφ(x∗,xs)=μ2∥x∗−xs∥2V_{\varphi}(x^{*},x^{s})=\tfrac{\mu}{2}\|x^{*}-x^{s}\|^{2}, and Vφ(x0,xs)=μ2∥x∗−x0∥2V_{\varphi}(x^{0},x^{s})=\tfrac{\mu}{2}\|x^{*}-x^{0}\|^{2}. Plugging into (2.30), we obtain the following two relations:

In view of the above two relations, we have

In view of Theorem 5, Algorithm 2 applied to subproblem (2.8) exhibits a fast linear rate of convergence. Actually, as shown below we do not need to solve the subproblem too accurately, and a constant number of iteration of Algorithm 2 for each subproblem is enough to guarantee the convergence of Algorithm 1.

By induction on (2.32) and noting x‾ˉi0=xˉ0\bar{\underline{x}}^{0}_{i}=\bar{x}^{0}, i=1,…,mi=1,\ldots,m, we have

Using (2.2), (2.2) and the condition on ss, we have

Now we are ready to prove Theorem 2 using all the previous results we have developed.

From the optimality condition of (2.17), we obtain

Using the above relation and Lemma 6, we have

Nonconvex multi-block optimization with linear constraints

In this section, we present a randomized accelerated proximal dual (RapDual) algorithm for solving the nonconvex multi-block optimization problem in (1) and show the potential advantages in terms of the total number of block updates.

As mentioned in Section 1, we assume the inverse of the last block of the constraint matrix is easily computable. Hence, denoting Ai=Am−1Ai\mathbf{A}_{i}=A_{m}^{-1}A_{i}, i=1,…,m−1i=1,\ldots,m-1 and b=Am−1\mathbf{b}=A_{m}^{-1}, we can reformulate problem (1) as

where f(x):=∑i=1m−1fi(xi)f({\textbf{x}}):=\sum_{i=1}^{m-1}f_{i}(x_{i}), X=X1×…×Xm−1X=X_{1}\times\ldots\times X_{m-1}, A=[A1,…,Am−1]\mathbf{A}=[\mathbf{A}_{1},\ldots,\mathbf{A}_{m-1}], and x=(x1,…,xm−1){\textbf{x}}=(x_{1},\ldots,x_{m-1}). It should be noted that except for some special cases, the computation of Am−1A_{m}^{-1} requires up to O(n3){\cal O}(n^{3}) arithmetic operations, which will be a one-time computational cost added on top of the overall computational cost of our algorithm (see Remark 9 below for more discussions).

One may also reformulate problem (3) in the form of (1.1) and directly apply Algorithm 1 to solve it. More specifically, substituting xmx_{m} with b−Ax\mathbf{b}-\mathbf{A}{\textbf{x}} in the objective function of (3), we obtain

where Bi=(0,…,I,…,0)B_{i}=(\textbf{0},\ldots,I,\ldots,\textbf{0}) with the ii-th block given a di×did_{i}\times d_{i} identity matrix and hence xi=Bixx_{i}=B_{i}{\textbf{x}}. However, this method will be inefficient since we enlarge the dimension of each fif_{i} from did_{i} to ∑i=1m−1di\sum_{i=1}^{m-1}d_{i} and as a result, every block has to be updated in each iteration. One may also try to apply a nonconvex randomized block coordinate descent method to solve the above reformulation. However, such methods do not apply to the case when fif_{i} are both nonconex and nonsmooth. This motivates us to design the new RapDual method which requires to update only a single block at a time, applies to the case when fif_{i} is nonsmooth and achieves an accelerated rate of convergence when fif_{i} is smooth.

RaDual (c.f. Algorithm 4) can be viewed as a randomized primal-dual type method. Indeed, by the method of multipliers and Fenchel conjugate duality, we have

Each iteration of Algorithm 4 updates only a randomly selected block iti_{t} in (3.49), making it especially favorable when the number of blocks mm is large. However, similar difficulty as mentioned in Section 2.1 also appears when we integrate this algorithm with proximal-point type method to yield the final RapDual method in Algorithm 3. Firstly, Algorithm 4 also keeps a few intertwined primal and dual sequences, thus we need to carefully decide the input and output of Algorithm 4 so that information from previous iterations of RapDual is fully used. Secondly, the number of iterations performed by Algorithm 4 to solve each subproblem plays a vital role in the convergence rate of RapDual, which should be carefully predetermined.

We first define an approximate stationary point for problem (1) before establishing the convergence of RapDual.

A stochastic counterpart is one that satisfies

Let D0:=f(xˉ0)+fm(xˉm0)−[f(x∗)+fm(xm∗)]\mathcal{D}^{0}:=f(\bar{\textbf{x}}^{0})+f_{m}(\bar{x}_{m}^{0})-[f({\textbf{x}}^{*})+f_{m}(x_{m}^{*})]. It can be seen that the total number of primal block updates required to obtain a stochastic (ϵ,δ,σ)(\epsilon,\delta,\sigma)-solution can be bounded by

As a comparison, the batch version of this algorithm would update all the xitx_{i}^{t} for i=1,…,mi=1,\ldots,m, in (3.49), and thus would require

primal block updates to obtain an (ϵ,δ,σ)(\epsilon,\delta,\sigma)-solution of (1). Therefore, the benefit of randomization comes from the difference between ∥A∥\|\mathbf{A}\| and Aˉ\bar{A}. Obviously we always have ∥A∥>Aˉ\|\mathbf{A}\|>\bar{A}, and the relative gap between ∥A∥\|\mathbf{A}\| and Aˉ\bar{A} can be large when all the matrix blocks have close norms. In the case when all the blocks are identical, i.e. A1=A2=…=Am−1\mathbf{A}_{1}=\mathbf{A}_{2}=\ldots=\mathbf{A}_{m-1}, we immediately have ∥A∥=m−1Aˉ\|\mathbf{A}\|=\sqrt{m-1}\bar{A}, which means that RapDual can potentially save the number of primal block updates by a factor of O(m){\cal O}(\sqrt{m}) than its batch counterpart.

In this paper, we assume that Am−1A_{m}^{-1} is easily computable. One natural question is whether we can avoid the computation of Am−1A_{m}^{-1} by directly solving (1) instead of its reformulation (3). To do so, we can iteratively solve the following saddle-point subproblems in place of the ones in (3.1):

2 Convergence analysis for RapDual

In this section, we first show the convergence of Algorithm 4 for solving the convex multi-block subproblem (5) with

ψi(x)−ψi(y)−⟨∇ψi(y),x−y⟩≥μ2∥x−y∥2,  ∀x,y∈Xi,i=1,…,m−1,\psi_{i}(x)-\psi_{i}(y)-\langle\nabla\psi_{i}(y),x-y\rangle\geq\tfrac{\mu}{2}\|x-y\|^{2},\ \ \forall x,y\in X_{i},\quad i=1,\ldots,m-1,

Some simple relations about the iterations generated by the Algorithm 4 are characterized in the following lemma, and the proof follows directly from the definition of x^\hat{\textbf{x}} in (3.54), thus has been omitted.

Let x^0=x0\hat{\emph{{x}}}^{0}=\emph{{x}}^{0} and x^t\hat{\emph{{x}}}^{t} for t=1,…,st=1,\ldots,s be defined as follows:

where xt\emph{{x}}^{t} and yty^{t} are obtained from (3.46)-(3.49), then we have

The following lemma 11 builds some connections between the input and output of Algorithm 4 in terms of both primal and dual variables, and the proof can be found in Appendix B.

Let the iterates xt\emph{{x}}^{t} and yty^{t} for t=1,…,st=1,\ldots,s be generated by Algorithm 4 and (x∗,y∗)(\emph{{x}}^{*},y^{*}) be a saddle point of (3.1). Assume that the parameters in Algorithm 4 satisfy for all t=1,…,s−1t=1,\ldots,s-1

where Aˉ=max⁡i∈[m−1]∥Ai∥\bar{A}=\max_{i\in[m-1]}\|\mathbf{A}_{i}\|. Then we have

Now we present the main convergence result of Algorithm 4 in Theorem 12, which eliminates the dependence on dual variables and relates directly the successive searching points of RapDual.

It is easy to check that (3.50) and (3.51) satisfy conditions (3.57), (3.58), (3.59) (3.60), and (3.61) when μ,μˉ>0\mu,\bar{\mu}>0. Then we have

Therefore, by plugging in those values in (3.50) and (3.51), we have

Since h(y)h(y) has 1/μ1/\mu-Lipschitz continuous gradients and is 1/L1/L-strongly convex, we obtain

Combining (3.63), (3.64) and (3.65), we have

The above theorem shows that subproblem (5) can be solved efficiently by Algorithm 4 with a linear rate of convergence. In fact, we need not solve it too accurately. With a fixed and relatively small number of iterations ss Algorithm 4 can still converge, as shown by the following lemma.

Combining (3.66) and (3.2) and noticing that (x∗0,xm∗0)({\textbf{x}}^{0}_{*},x_{m^{*}}^{0}) = (xˉ0,xˉm0)(\bar{\textbf{x}}^{0},\bar{x}_{m}^{0}), we have

Now we are ready to prove the results in Theorem 8 with all the results proved above.

Similarly, due to (3.71) and Lemma 13, we have

Numerical experiments

In this section, we report some preliminary numerical results for both RapGrad and RapDual and demonstrate their potential advantages in Subsection 4.1 and 4.2, respectively.

We consider the least square problem with the smoothly clipped absolute deviation (SCAD) penalty as a testing problem. SCAD has been proved in to be efficient in variable selection. While the original SCAD pλ,γp_{\lambda,\gamma} defined below does not have smooth gradient at x=0x=0, we can bypass this potential problem by using a small positive number ϵ\epsilon to obtain a smooth approximation pλ,γ,ϵp_{\lambda,\gamma,\epsilon}:

where γ>2\gamma>2, λ>0\lambda>0, and ϵ>0\epsilon>0 are given. Using pλ,γ,ϵp_{\lambda,\gamma,\epsilon}, our problem of interest is given by

which can be viewed as a special case of problem (1.1) with fi(x)=12(ai⊤x−bi)2+ρ2∑i=1npλ,γ,ϵ(xi)f_{i}(x)=\tfrac{1}{2}(a_{i}^{\top}x-b_{i})^{2}+\tfrac{\rho}{2}\sum_{i=1}^{n}p_{\lambda,\gamma,\epsilon}(x_{i}). Here aia_{i} denotes the ii-th row of AA. It is easy to see that assumptions (1.2) and (1.3) are satisfied with μ=ρ/[2(γ−1)]\mu=\rho/[2(\gamma-1)] and L=ρλϵ−1/2/2+max⁡1≤i≤m∥ai∥2L=\rho\lambda\epsilon^{-1/2}/2+\max_{1\leq i\leq m}\|a_{i}\|^{2}. Thus the condition number L/μL/\mu usually dominates mm.

We test Algorithm 1 (RapGrad), both randomized and deterministic batch versions, on some randomly generated data sets with dimension m=1000m=1000, n=100n=100. Note all entries of matrix AA and 2020 uniformly chosen components of x^\hat{x} are i.i.d from N(0,1). The remaining variables of x^\hat{x} are set to and bb is computed by b=Ax^b=A\hat{x}. The parameters used in pλ,γ,ϵp_{\lambda,\gamma,\epsilon} are ϵ=\epsilon={10}^{-3}$,,\lambda=2,,\gamma=4andthepenaltyand the penalty\rhoissettois set to0.01.Noticethatthe. Notice that thex−axisrepresentsthenumberofgradientevaluationsdividedby-axis represents the number of gradient evaluations divided bym,whichiscountedasnumberofpassestothedataset,i.e.,eachiterationofrandomizedgradientcomputationis, which is counted as number of passes to the dataset, i.e., each iteration of randomized gradient computation is1/mpassandthefull−gradientcomputationofcountsaspass and the full-gradient computation of counts as1$ pass. As is shown by Figure 1, randomized version can reduce both objective value and norm of gradient faster than its batch counterpart in terms of number of gradient evaluations. We also observe that there are some zig-zag pattern for the batch algorithm in Figure 1.b), which might have been related some numerical stability issue.

We also compare our RapGrad with the full SVRG in non-convex setting (Algorithm 2 in ) and Accelerated Gradient method (AG) in . Notice that, both RapGrad and SVRG are randomized algorithms, while AG is a deterministic batch method. For the sake of fairness in comparison, all the parameters in the three algorithms mentioned above are set to their theoretical values without any tuning in our experiments. Figure 2 shows our Algorithm 1 not only reduces the function value as well as gradient norm faster than both SVRG and AG.

In fact, our estimate on s=⌈−log⁡(6M/5)/log⁡α⌉s=\left\lceil-\log(6M/5)/\log\alpha\right\rceil seems to be too pessimistic, and the subproblems are solved to unnecessarily high accuracy. As a result, some spikes show in Figure 1, which correspond to the occasions when an inner loop for solving the subproblem completes and a new search point is obtained to update the subproblem. Early termination of the inner loops may help to remove those spikes. Reducing the number of inner iterations may not guarantee above mentioned convergence rate theoretically, but may improve the practical performance of RapGrad for this problems in our experiments. From Figure 3 and Figure 4, we can conclude that, by using smaller ss, our randomized algorithm is able to reduce ff and ∥∇f∥2\|\nabla f\|^{2} much faster, whereas the batch version converges faster in terms of the gradient norm.

Inspired by the above experiments, we have an efficient way to tune RapGrad to yield better performance. We first run RapGrad with several different numbers of inner iterations s′s^{\prime}, for instance s′=ss^{\prime}=s, s′=s/10s^{\prime}=s/10, s′=s/100s^{\prime}=s/100 , for a fixed number, say 100100, of passes through the dataset, then we use the best s′s^{\prime} corresponding to the smallest norm of gradient as the actual ss for the tuned RapGrad. In the following table, we compare the RapGrad without tuning, tuned RapGrad, SVRG as well as AG on testing problems of different sizes, with stoping criteria ∥∇f∥2<\|\nabla f\|^{2}<{10}^{-10}$andmaximalpassand maximal pass3\text{\times}{10}^{4}.Thetableshowsthatthissimpletuningtechniqueisabletobringhugeperformanceimprovement.AninterestingobservationisthatRapGradwithouttuningismorelikelytooutperformSVRGwhen. The table shows that this simple tuning technique is able to bring huge performance improvement. An interesting observation is that RapGrad without tuning is more likely to outperform SVRG whennislargerelativetois large relative tom$.

2 Nonconvex multi-block optimization

We consider the following compressed sensing problem to test the performance of RapDual:

The numerical experiments is performed on some randomly generated data sets of size m=1001m=1001, n=100n=100. The first 10001000 coefficient matrices AiA_{i} , 1≤i≤10001\leq i\leq 1000, are of size 100×1100\times 1 and the last block A1001A_{1001} is an 100×100100\times 100 identity matrix. AiA_{i}, 1≤i≤10001\leq i\leq 1000 are sparse matrices with sparsity level 0.10.1, and all nonzero elements of AiA_{i} and 200200 uniformly chosen components of x^\hat{x} are i.i.d from N(0,1)N(0,1). The remaining variables of x^\hat{x} are set to and b=∑i=1mAix^ib=\sum_{i=1}^{m}A_{i}\hat{x}_{i}. The parameters used in pλ,γ,ϵp_{\lambda,\gamma,\epsilon} are exactly the same as the first problem, i.e., ϵ=\epsilon={10}^{-3}$,,\lambda=2,,\gamma=4.FromFigure5,wecanconcludethattherandomizedversionconvergesfasterthanitsbatchcounterpart,intermsofthenumberofprimalblockupdatesrequiredtoreducetheobjectivevalueandinfeasibility.WealsocompareourrandomizedalgorithmwithAlgorithm4in,with. From Figure 5, we can conclude that the randomized version converges faster than its batch counterpart, in terms of the number of primal block updates required to reduce the objective value and infeasibility. We also compare our randomized algorithm with Algorithm 4 in , with\rho=L^{2},L^{2}/10,L^{2}/20.Note. Note\rho=L^{2}onlyguaranteesasymptoticconvergence.TheresultsinFigure6showthatouralgorithmcanreducetheobjectivevaluefasterthanADMM.Asforthefeasibility,bothalgorithmsyieldsolutionsthathavequitetinyconstraintviolation.ItisworthnotingthattheconvergeofADMMcanverymuchdependontheupdateorderandalsothatRapDualrequiresthecomputationofonly guarantees asymptotic convergence. The results in Figure 6 show that our algorithm can reduce the objective value faster than ADMM. As for the feasibility, both algorithms yield solutions that have quite tiny constraint violation. It is worth noting that the converge of ADMM can very much depend on the update order and also that RapDual requires the computation ofA_{m}^{-1}initscurrentform.SimilartoRapGrad,ifwereducethenumberofinneriterationsin its current form. Similar to RapGrad, if we reduce the number of inner iterationsspersubproblembyafactorofper subproblem by a factor of10oror20$, we obtain results in Figure 7 and Figure 8. As we can see, the total number of primal block updates needed to yield a good solution, in terms of both objective value and feasibility, can be much smaller when inner loops are terminated early.

Concluding remarks

In this paper, we propose a new randomized accelerated proximal-gradient (RapGrad) method for solving nonconvex finite-sum problems (1.1) and a new randomized primal-dual gradient (RapGrad) method for nonconvex multi-block problems (1), respectively. We demonstrate that for problem (1.1) with large condition number, our RapGrad has much better convergence rate, in terms of dependence on the large number mm, than the state-of-art nonconvex SVRG or SAGA, as well as accelerated gradient method for nonconvex optimization. Moreover, we show that our RapDual method incorporated with randomization techniques can significantly save the number of primal block updates up to a factor of m\sqrt{m} than the deterministic batch methods for solving problems (1). The potential advantages of RapGrad and RapDual are also demonstrated through our preliminary numerical experiments.

We observe that the main ideas of this RapDual, i.e., using proximal point method to tranform the nonconvex multi-block problem into a series of convex subproblems, and using randomized dual method to them, can be applied for solving much more general multi-block optimization problems for which there does not exist an invertible block. In this more general case, the saddle-point subproblems will only be strongly convex in the primal space, but not in the dual space. Therefore, the complexity of solving the subproblem will only be sublinear, and as a consequence, the overall complexity will be much worse than O(1/ϵ)\mathcal{O}(1/\epsilon). It will be interesting to study how much benefit one can obtain by using randomized algorithms in this more general case. We leave this as an interesting topic for future research. It is also worth noting that the proposed RapGrad and RapDual implicitly assume that the parameter μ\mu is known, or a (tight) upper bound of it can be obtained. While the values of μ\mu for the problems considered in our numerical experiments can be tightly estimated, it will be interesting to see if we can adaptively estimate the value of μ\mu in these algorithms applied to solve more general problems.

References

Appendix A Proof of Lemma 4

By convexity of ψ\psi and optimality of x∗x^{*}, we have

For notation convenience, let Ψ(x,z):=ψ(x)−ψ(z)−⟨∇ψ(z),x−z⟩\Psi(x,z):=\psi(x)-\psi(z)-\langle\nabla\psi(z),x-z\rangle,

Multiplying each QtQ_{t} by a non-negative γt\gamma_{t} and summing them up, we obtain

the first inequality follows from (A.73), (A.74), (2.38), (A) and Lemma 3, and the second inequality is implied by (2.25) and (2.26).

From the relation (2.28) and the fact x−1=x0x^{-1}=x^{0}, we have

Now we are ready to bound the last term in (A) as follows:

where (a) follows from the definition δt\delta_{t} in (A), (b) follows relations (A) and (A) and (c) follows from the fact that Vφ(xt,xt−1)≥r2∥xt−xt−1∥2V_{\varphi}(x^{t},x^{t-1})\geq\tfrac{r}{2}\|x^{t}-x^{t-1}\|^{2}, Ψ(x‾itt−1,x‾itt)≥12L^∥∇ψit(x‾itt−1)−∇ψit(x‾itt)∥2\Psi({\underline{x}}^{t-1}_{i_{t}},{\underline{x}}^{t}_{i_{t}})\geq\tfrac{1}{2\hat{L}}\|\nabla\psi_{i_{t}}({\underline{x}}^{t-1}_{i_{t}})-\nabla\psi_{i_{t}}({\underline{x}}^{t}_{i_{t}})\|^{2}.

By properly regrouping the terms on the right hand side of (LABEL:break), we have

where (a) follows from the simple relation that b⟨u,v⟩−a∥v∥2/2≤b2∥u∥2/(2a)b\langle u,v\rangle-a\|v\|^{2}/2\leq b^{2}\|u\|^{2}/(2a), ∀a>0\forall a>0 and (b) follows from (2.24), (2.27) and (2.28). By using the above inequality, (A) and (A), we obtain

where (a) follows from Ψ(x‾i0,x∗)≥12L^∥∇ψit(x‾i0)−∇ψit(x∗)∥2\Psi({\underline{x}}^{0}_{i},x^{*})\geq\tfrac{1}{2\hat{L}}\|\nabla\psi_{i_{t}}({\underline{x}}^{0}_{i})-\nabla\psi_{i_{t}}(x^{*})\|^{2}; (b) follows from the simple relation that b⟨u,v⟩−a∥v∥2/2≤b2∥u∥2/(2a)b\langle u,v\rangle-a\|v\|^{2}/2\leq b^{2}\|u\|^{2}/(2a), ∀a>0\forall a>0 and (c) follows from (2.29), strong convexity of ψi\psi_{i} and Lipschitz continuity of ∇ψi\nabla\psi_{i}. This completes the proof. ∎

Appendix B Proof of Lemma 11

For any t≥1t\geq 1, since (x∗,y∗)({\textbf{x}}^{*},y^{*}) is a saddle point of (3.1), we have

For nonnegative γt\gamma_{t}, we further obtain

According to optimality conditions of (3.54) and (3.46) respectively, and strongly convexity of ψ\psi and hh we obtain

Combining the above two inequalities with relation (B.82), we have

Applying this and the results (3.55), (3.56) in Lemma 10, we further have

and the second inequality follows from (3.59) and (3.60).

where the second equality follows from (3.58) and the fact that x0=x−1x^{0}=x^{-1}.

Since ⟨A(xt−1−xt−2),yt−1−yt⟩=⟨At−1(xit−1t−1−xit−1t−2),yt−1−yt⟩≤∥Ait−1∥∥xit−1t−1−xit−1t−2∥∥yt−yt−1∥\langle\mathbf{A}({\textbf{x}}^{t-1}-{\textbf{x}}^{t-2}),y^{t-1}-y^{t}\rangle=\langle\mathbf{A}_{t-1}(x_{i_{t-1}}^{t-1}-x_{i_{t-1}}^{t-2}),y^{t-1}-y^{t}\rangle\leq\|\mathbf{A}_{i_{t-1}}\|\|x_{i_{t-1}}^{t-1}-x_{i_{t-1}}^{t-2}\|\|y^{t}-y^{t-1}\| and Vh(yt,yt−1)≥μˉ2∥yt−yt−1∥2V_{h}(y^{t},y^{t-1})\geq\tfrac{\bar{\mu}}{2}\|y^{t}-y^{t-1}\|^{2}, from (B.84) we have

where (a) follows from regrouping the terms; (b) follows from the definition Aˉ=max⁡i∈[m−1]∥Ai∥\bar{A}=\max_{i\in[m-1]}\|\mathbf{A}_{i}\| and the simple relation that b⟨u,v⟩−a∥v∥2/2≤b2∥u∥2/(2a)b\langle u,v\rangle-a\|v\|^{2}/2\leq b^{2}\|u\|^{2}/(2a), ∀a>0\forall a>0; and (c) follows from (3.58) and (3.61).

By combining the relation above with (B), we obtain

In view of (B) and (B.86), we complete the proof. ∎