Fast Alternating Linearization Methods for Minimizing the Sum of Two Convex Functions
Donald Goldfarb, Shiqian Ma, Katya Scheinberg
Introduction
In this paper, we are interested in the following convex optimization problem:
In particular, we are specially interested in cases where solving (1.2) (or (1.3)) takes roughly the same effort as computing the gradient (or a subgradient) of (or , respectively). Problems of this type arise in many applications of practical interest. The following are some interesting examples.
where , which is of the form of (1.1) with and . In this case, the two problems (1.2) and (1.3) are easy to solve. Specifically, (1.2) reduces to solving a linear system and (1.3) reduces to a vector shrinkage operation which requires operations (see e.g., ). Depending on the size and structure of solving the system of linear equations required by (1.2) may be more expensive, less expensive or comparable to computing the gradient of . In the application we consider in Section 4 these computations are comparable due to the special structure of .
Example 2. Nuclear norm minimization (NNM). The nuclear norm minimization problem, which seeks a low-rank solution of a linear system, can be cast as
Example 3. Robust principal component analysis (RPCA). The RPCA problem seeks to recover a low-rank matrix from a corrupted matrix . This problem has many applications in computer vision, image processing and web data ranking (see e.g., ), and can be formulated as
which is of the form of (1.1). Moreover, the two problems (1.2) and (1.3) corresponding to (1.6) have closed-form solutions given respectively by a matrix shrinkage operation and a vector shrinkage operation. The matrix shrinkage operation requires a singular value decomposition (SVD) and is comparable in cost to computing a subgradient of or the gradient of the smoothed version of this function (see Section 5).
where and (the set of symmetric positive semidefinite matrices) is the sample covariance matrix. Note that by defining and , (1.7) is of the form of (1.1). Moreover, it can be proved that the problem (1.2) has a closed-form solution, which is given by a spectral decomposition - a comparable effort to computing the gradient of , while the solution of problem (1.3) corresponds to a vector shrinkage operation.
Algorithms for solving problem (1.1) have been studied extensively in the literature. For large-scale problems, for which problems (1.2) and (1.3) are relatively easy to solve, the class of alternating direction methods that are based on variable splitting combined with the augmented Lagrangian method are particularly important. In these methods, one splits the variable into two variables, i.e., one introduces a new variable and rewrites Problem (1.1) as
Since Problem (1.8) is an equality constrained problem, the augmented Lagrangian method can be used to solve it. Given a penalty parameter , at the -th iteration, the augmented Lagrangian method minimizes the augmented Lagrangian function
with respect to and , i.e., it solves the subproblem
and then updates the Lagrange multiplier via:
Minimizing with respect to and jointly is often not easy. In fact, it certainly is not any easier than solving the original problem (1.1). However, if one minimizes with respect to and alternatingly, one needs to solve problems of the form (1.2) and (1.3), which as we have already discussed, is often easy to do. Such an alternating direction augmented Lagrangian method (ADAL) for solving (1.8) is given below as Algorithm 1.
Another important and related class of algorithms for solving (1.1) is based on operator-splitting. The aim of these algorithms is to find an such that
where and are maximal monotone operators. This is a more general problem than (1.1) and ADMs for it have been the focus of a substantial amount of research; e.g., see . Since the first-order optimality conditions for (1.1) are:
where denotes the subdifferential of at the point , a solution to Problem (1.1) can be obtained by solving Problem (1.12). For example, see and references therein for more information on this class of algorithms.
While global convergence results for various splitting and alternating direction algorithms have been established under appropriate conditions, our interest here is on iteration complexity bounds for such algorithms. By an iteration complexity bound we mean a bound on the number of iterations needed to obtain an -optimal solution which is defined as follows.
Complexity bounds for first-order methods for solving convex optimization problems have been given by Nesterov and many others. In , Nesterov gave first-order algorithms for solving smooth unconstrained convex minimization problems with an iteration complexity of , where is the Lipschitz constant of the gradient of the objective function, and showed that this is the best complexity that is obtainable when only first-order information is used. These methods can be viewed as accelerated gradient methods where a combination of past iterates are used to compute the next iterate. Similar techniques were then applied to nonsmooth problems and corresponding optimal complexity results were obtained. The ISTA (Iterative Shrinkage/Thresholding Algorithm) and FISTA (Fast Iterative Shrinkage/Thresholding Algorithm) algorithms proposed by Beck and Teboulle in are designed for solving (1.1) when one of the functions (say ) is smooth and the other is not. It is proved in that the number of iterations required by ISTA and FISTA to get an -optimal solution to problem (1.1) are respectively and , under the assumption that is Lipschitz continuous with Lipschitz constant , i.e.,
ISTA computes a sequence via the iteration
while FISTA computes via the iteration
Note that ISTA and FISTA treat the functions and very differently. At each iteration they both linearize the function but never directly minimize it, while they do minimize the function in conjunction with the linearization of and a proximal (penalty) term. These two methods have proved to be efficient for solving the CS problem (1.4) (see e.g., ) and the NNM problem (1.5) (see e.g., ). ISTA and FISTA work well in these areas because is quadratic and is well approximated by linearization. However, for the RPCA problem (1.6) where two complicated functions are involved, ISTA and FISTA do not work well. As we shall show in Sections 2 and 3, our ADMs are very effective in solving RPCA problems. For the SICS problem (1.7), intermediate iterates may not be positive definite, and hence the gradient of may not be well defined at . Therefore, ISTA and FISTA cannot be used to solve the SICS problem (1.7). In , it is shown that SICS problems can be very efficiently solved by our ADM approach.
Our contribution. In this paper, we propose both basic and accelerated (i.e., fast) versions of first-order alternating linearization methods (ALMs) based on an alternating direction augmented Lagrangian approach for solving (1.1) and analyze their iteration complexities. Our basic methods require at most iterations to obtain an -optimal solution, while our fast methods require at most iterations with only a very small increase in the computational effort required at each iteration. Thus, our fast methods are optimal first-order methods in terms of iteration complexity. For both types of methods, we present an algorithm that requires both functions to be continuously differentiable with Lipschitz constants for the gradients denoted by and . In this case . We also present for each type of method, an algorithm that only needs one of the functions, say , to be smooth, in which case . These algorithms are related to the multiple splitting algorithms in a recent paper by Goldfarb and Ma . The algorithms in are Jacobi type methods since they do not use information from the current iteration to solve succeeding subproblems in that iteration, while the algorithms proposed in this paper are Gauss-Seidel type methods since information from the current iteration is used later in the same iteration. These algorithms can also be viewed as extensions of the ISTA and FISTA algorithms in . The complexity bounds we obtain for our algorithms are similar to (and as much as a factor of two better that) those in .
At each iteration, our algorithms alternatively minimize two different approximations to the original objective function, obtained by keeping one function unchanged and linearizing the other one. Our basic algorithm is similar in many ways to the alternating linearization method proposed by Kiwiel et al.. In particular, the approximate functions minimized at each step of Algorithm 3.1 in have the same form as those minimized in our algorithm. However, our basic algorithm differs from the one in in the way that the proximal terms are chosen, and our accelerated algorithms are very different. Moreover, no complexity bounds have been given for the algorithm in . To the best of our knowledge, the complexity results in this paper are the first ones that have been given for a Gauss-Seidel type alternating direction method After completion of an earlier version of the present paper, which is available on http://arxiv.org/abs/0912.4571, Monteiro and Svaiter gave an iteration complexity bound to achieve a desired closeness of the current iterate to the solution for ADMs for solving the more general problem (1.12).. Complexity results for related Jacobi type alternating direction methods are given in .
Organization. The rest of this paper is organized as follows. In Sections 2 and 3 we propose our alternating linearization methods based on alternating direction augmented Lagrangian methods and give convergence/complexity bounds for them. We compare the performance of our ALMs to other competing first-order algorithms using an image deblurring problem in Section 4. In Section 5, we apply our ALMs to solve very large RPCA problems arising from background extraction in surveillance video and matrix completion and report the numerical results. Finally, we make some conclusion in Section 6.
Alternating Linearization Methods
In iteration of the ADAL method, Algorithm 1, the Lagrange multiplier is updated just once, immediately after the augmented Lagrangian is minimized with respect to . Since the alternating direction approach is meant to be symmetric with respect to and , it is natural to also update after solving the subproblem with respect to . By doing this, we get a symmetric version of the ADAL method. This algorithm is given below as Algorithm 2.
This ADAL variant is described and analyzed in . Moreover, it is shown in that Algorithms 1 and 2 are equivalent to the Douglas-Rachford and Peaceman-Rachford methods, respectively applied to the optimality condition (1.13) for problem (1.1). If we assume that both and are differentiable, it follows from the first order optimality conditions for the two subproblems in lines 3 and 5 of Algorithm 2 that
Substituting (2.1) into Algorithm 2, we get the following alternating linearization method (ALM) which is equivalent to the SADAL method (Algorithm 2) when both and are differentiable.
In Algorithm 3, is defined by (1.15) and
In Algorithm 3, we alternatively replace the functions and by their linearizations plus a proximal regularization term to get an approximation to the original function . Thus, our ALM algorithm can also be viewed as a proximal point algorithm.
A drawback of Algorithm 3 is that it requires both and to be continuously differentiable. In many applications, however, one of these functions is nonsmooth, as in the examples given in Section 1. Although Algorithm 2 can be applied when and are nonsmooth, we are unable to provide a comparable complexity bound in this case. However, when only one of the functions of and is nonsmooth (say is nonsmooth), the following variant of Algorithm 3 applies, and for this algorithm, we have a complexity result.
We call Algorithm 4, ALM with skipping steps (ALM-S) because in line 4 of Algorithm 4, if
holds, we let , i.e., we skip the computation of in line 3. An alternative version of Algorithm 4 that has smaller average work per iteration is the following Algorithm 5.
Note that in Algorithm 5, when (2.3) does not hold, we switch to the SADAL algorithm, which updates instead of computing . Algorithm 5 is usually faster than Algorithm 4 when is costly to compute in addition to performing Step 3. Note also that when (2.3) holds, then the steps of the algorithm reduce to those of ISTA.
The following theorem gives conditions under which Algorithms 2, 3, 4 and 5 are equivalent.
(i) If both and are differentiable, and is set to , then Algorithms 2 and 3 are equivalent. (ii) If in addition is Lipschitz continuous with Lipschitz constant , and , then Algorithms 3 and 4 are equivalent. (iii) If is differentiable, then Algorithms 4 and 5 are equivalent.
When both and are differentiable and , (2.1) holds for all , and it follows that and This proves part (i). If is Lipschitz continuous and ,
holds (see e.g., ). This implies that (2.3) does not hold and hence, , and the equivalence of Algorithms 3 and 4 follows. This proves part (ii). The optimality of in line 3 of Algorithm 5 implies that when (2.3) does not hold and hence that . This proves part (iii). ∎
We show in the following that the iteration complexity of Algorithm 4 is for obtaining an -optimal solution for (1.1). First, we need the following generalization of Lemma 2.3 in .
where is any subgradient in the subdifferential of at the point . Let . For any , if
Since and are convex we have
where is a subgradient of and satisfies the first-order optimality conditions for (2.4), i.e.,
Therefore, from (2.9), (2.12) and (2.13) it follows that
Assume is Lipschitz continuous with Lipschitz constant . For , the iterates in Algorithm 4 satisfy
where is an optimal solution of (1.1) and is the number of iterations until the -th for which , i.e., the number of iterations when no skipping step occurs. Thus, the sequence produced by Algorithm 4 converges to . Moreover, if where , the number of iterations needed to obtain an -optimal solution is at most , where .
Let be the set of all iteration indices until -st for which no skipping occurs and let be its complement. Let . It follows that for all , .
For we can apply Lemma 3 to obtain the following inequalities. In (2.6), by letting , , and , we get , and
Similarly, by letting , , and in (2.6) we get , and
Taking the summation of (2.16) and (2.17) we get
For , (2.16) holds. Then since we get
Summing (2.18) and (2.19) over we get
For any , since Lemma 3 holds for any , letting instead of we get from (2.16) that
Thus we get
Similarly, for by letting instead of we get from (2.17) that
On the other hand, for , (2.23) holds trivially because ; thus (2.23) holds for all .
Adding (2.21) and (2.23) and adding (2.22) and (2.23), respectively, yield
The inequalities (2.24) show that the sequences of function values and are non-increasing. Thus we have,
which gives us the desired result (2.15). ∎
Assume and are both Lipschitz continuous with Lipschitz constants and , respectively. For , Algorithm 3 satisfies
where is an optimal solution of (1.1). Thus sequence produced by Algorithm 3 converges to . Moreover, if where , the number of iterations needed to get an -optimal solution is at most , where .
The conclusion follows from Theorems 2 and 4 and . ∎
The complexity bound in Corollary 5 is smaller than the analogous bound for ISTA in by a factor of two. It is easy to see that the bound in Theorem 4 is also an improvement over the bound in as long as holds for at least one value of . It is reasonable then to ask if the per-iteration cost of Algorithms 3 and 4 are comparable to that of ISTA. It is indeed the case when the assumption holds that minimizing has comparable cost (and often involves the same computations) as computing the gradient .
are easily handled by our approach, since one can express (2.30) as
If a convex constraint , where is a convex set is added to problem (1.1), and we impose this constraint in the two subproblems in Algorithms 3 and 4, i.e., we impose in the subproblems with respect to and in the subproblems with respect to , the complexity results in Theorem 4 and Corollary 5 continue to hold. The only changes in the proof are in Lemma 3. If there is a constraint , then (2.6) holds for any and . Also in the proof of Lemma 3, the first equality in (2.14) becomes a “” inequality due to the fact that the optimality conditions (2.12) become
Although Algorithms 3 and 4 assume that the Lipschitz constants are known, and hence that an upper bound for is known, this can be relaxed by using the backtracking technique in to estimate at each iteration.
Fast Alternating Linearization Methods
In this section, we propose a fast alternating linearization method (FALM) which computes an -optimal solution to problem (1.1) in iterations, while keeping the work at each iteration almost the same as that required by ALM.
FALM is an accelerated version of ALM for solving (1.1), or equivalently (1.8), when and are both differentiable, and is given below as Algorithm 6. Clearly, FALM is also a Gauss-Seidel type algorithm. In fact, it is a successive over-relaxation type algorithm since
Algorithm 6 requires both and to be continuously differentiable. To develop an algorithm that can be applied to problems where one of the functions is non-differentiable, we use a skipping technique as in Algorithm 4. FALM with skipping steps (FALM-S), which does not require to be smooth, is given below as Algorithm 7.
The following theorem gives conditions under which Algorithms 6 and 7 are equivalent.
If both and are differentiable and is Lipschitz continuous with Lipschitz constant , and , then Algorithms 6 and 7 are equivalent.
As in Theorem 2, if and are differentiable, . The conclusion then follows from the fact that always holds when and thus there are no skipping steps. ∎
To prove that Algorithm 7 requires iterations to obtain an -optimal solution, we need the following lemmas. We call -th iteration a skipping step if , and a regular step if .
The sequence generated by Algorithm 7 satisfies
where and if iteration is a regular step and if iteration is a skipping step.
There are four cases to consider: (i) both the -th and the -st iterations are regular steps; (ii) the -th iteration is a regular step and the -st iteration is a skipping step; (iii) both the -th and the -st iterations are skipping steps; (iv) the -th iteration is a skipping step and the -st iteration is a regular step. We will prove that the following inequality holds for all the four cases:
The proof of (3.1) and hence, the lemma, then follows from the fact that the right hand side of inequality (3.2) equals
where we have used the fact that
Case (i): Let us first consider the case when both the -th and -st iterations are regular steps. In (2.6), by letting , , and , we get , and
In (2.6), by letting , , , , we get , and
Summing (3.3) and (3.4), and using the fact that , we obtain,
Again, in (2.6), by letting , , , , we get , and
In (2.6), by letting , , , , we get , and
Summing (3.6) and (3.7), and again using the fact that , we obtain,
If we multiply (3.5) by , and (3.8) by , and take the sum of the resulting two inequalities, we get (3.2) by using the fact that .
Case (ii): By letting , , and in (2.6), we get , and
Since the steps taken in the -th and -st iterations are regular and skipping, respectively, we have
Also by letting , , and in (2.6), we get , and
Then multiplying (3.10) by , (3.11) by , summing the resulting two inequalities and using the fact that in this case , we obtain (3.2).
Case (iii): This case reduces to two consecutive FISTA steps and the proof above applies with and inequality (3.10) replaced by
Case (iv): In this case, (3.5) in the proof of case (i) is replaced by
which when multiplied by and combined with (3.8) multiplied by , and the fact that in this case , yields (3.2). ∎
The following lemma gives lower bounds for the sequence of scalars generated by Algorithm 7.
For all the sequence generated by Algorithm 7 satisfies:
where and are the number of steps among the first steps that are regular and skipping steps, respectively, and and .
Consider the case where the first iteration of Algorithm 7 is a skipping step. Clearly, the sequence of iterations follows a pattern of alternating blocks of one or more skipping steps and one or more regular steps. Let the index of the first iteration in the -th block be denoted by . Since it is assumed that the first iteration is a skipping step, iterations are skipping steps () and are regular steps. Note that the statement of the lemma in this case corresponds to
We first note that it follows from the updating rules and formulas for that
Consider . Clearly (3.18) holds for all iterations , since holds trivially for , and for , .
Now assume that (3.18) holds for all . If is even, iterations and are, respectively, regular and skipping iterations. Hence, from (3.22), we have that
Since the remaining iterations before iteration are all regular iterations ( may be zero), we have from (3.22) that, for ,
If is odd, iteration is a skipping iteration. Hence, from (3.22), we have that . Since the remaining iterations before iteration are all skipping iterations (again may be zero), we have from (3.22) that, for , . This concludes the induction.
Since the proof for the case that the first step is a regular step is totally analogous to the above proof, we leave this to the reader. ∎
Now we are ready to give the complexity of Algorithm 7.
Let and be the number of steps among the first steps that are regular steps. Assuming is Lipschitz continuous with Lipschitz constant , if , the sequence generated by Algorithm 7 satisfies:
where if the first step is a skipping step, and if the first step is a regular step.
Hence, the sequence produced by Algorithm 4 converges to . Moreover, if where , the number of iterations required by Algorithm 7 to get an -optimal solution to (1.1) is at most , where .
Using the same notation as in Lemmas 11 and 12, (3.8) and (3.11) imply that
holds whether the first iteration is a skipping step or not. Thus we have
From Lemma 11 we know that the sequence is non-increasing. Therefore, we have
where the equality follows from the facts that and , and the last inequality is from (3.25).
Recall the definition of in Lemma 11 and the bounds of in Lemma 12. We get (i) and (ii) from (3.26). Keeping in mind that has a different expression depending on whether the -th step is a skipping or a regular step, it follows that the sequence generated by Algorithm 7 satisfies:
(i) if the first step is a skipping step, then
(ii) if the first step is a regular step, then
It is easy to check that these bounds are equivalent to (3.24), and that the worst case bound on the number of iterations follows from (3.24). ∎
Assume and are both Lipschitz continuous with Lipschitz constants and , respectively. For , Algorithm 6 satisfies
where is an optimal solution of (1.1). Hence, the sequence produced by Algorithm 6 converges to , and if , where , the number of iterations needed to get an -optimal solution is at most , where .
Note that since , from Theorem 10 we know that Algorithms 6 and 7 are equivalent. That is, every step in Algorithm 7 is a regular step. Therefore, case (ii) in Theorem 13 holds and , which leads to (3.27). ∎
The complexity bound in Corollary 14 is smaller than the analogous bound for FISTA in by a factor of . It is easy to see that the bound in Theorem 13 is also an improvement over the bound in as long as holds for at least one value of . As in the case of Algorithms 3 and 4, the per-iteration cost of Algorithms 6 and 7 are comparable to that of FISTA.
Line 6 in Algorithm 6 and Line 15 in Algorithm 7 can be changed to:
where , and Theorem 13 and Corollary 14 still hold.
Although Algorithms 6 and 7, assume that the Lipschitz constants are known, and hence that an upper bound for is known, this can be relaxed by using the backtracking technique in to estimate at each iteration.
Comparison of ALM, FALM, ISTA, FISTA, SADAL and SALSA
In this section we compare the performance of our basic and fast ALMs, with and without skipping steps, against ISTA, FISTA, SADAL (Algorithm 2) and an alternating direction augmented Lagrangian method SALSA described in on a benchmark wavelet-based image deblurring problem from . In this problem, the original image is the well-known Cameraman image of size and the observed image is obtained after imposing a uniform blur of size (denoted by the operator ) and Gaussian noise (generated by the function randn in MATLAB with a seed of 0 and a standard deviation of ). Since the coefficient of the wavelet transform of the image is sparse in this problem, one can try to reconstruct the image from the observed image by solving the problem:
It is easy to show that the optimal solution of (4.2) is
According to Theorem 1 in , the gradient of is given by and is Lipschitz continuous with Lipschitz constant . After smoothing , we can apply Algorithms 3 and 6 to solve the smoothed problem:
We have the following theorem about the -optimal solutions of problems (4.1) and (4.4).
Let and . If is an -optimal solution to (4.4), then is an -optimal solution to (4.1).
Proof. Let and and be optimal solution to problems (4.1) and (4.4), respectively. Note that
Using the inequalities in (4.5) and the facts that is an -optimal solution to (4.4) and , we have
Thus, to find an -optimal solution to (4.1), we can apply Algorithms 3 and 6 to find an -optimal solution to (4.4) with . The iteration complexity results in Corollaries 5 and 14 hold since the gradient of is Lipschitz continuous. However, the numbers of iterations needed by ALM and FALM to obtain an -optimal solution to (4.1) become and , respectively, due to the fact that the Lipschitz constant .
When Algorithms 4 and 7 are applied to solve (4.1), the subproblems (1.2) and (1.3) are easy to solve. Specifically, (1.2) corresponds to solving a linear system which is particularly easy to do because of the special structures of and (see ); (1.3) corresponds to a vector shrinkage operation. When Algorithms 3 and 6 are applied to solve (4.4), (1.3) with replaced by is also easy to solve; its optimal solution is
Since ALM is equivalent to SADAL when both functions are smooth, we implemented ALM as SADAL when we solved (4.4). We also applied SADAL to the nonsmooth problem (4.1). We also implemented ALM-S as Algorithm 5 since the latter was usually faster. In all algorithms, we set the initial points , and in FALM and FALM-S we set . MATLAB codes for SALSA, FISTA and ISTA (modified from FISTA) were downloaded from http://cascais.lx.it.pt/mafonso/salsa.html and their default inputs were used. Moreover, was set to in algorithms 2, 4, 5 and 7 since and when . Also, whenever was smoothed, we set . was set to in all the algorithms since the Lipschitz constant of the gradient of function was known to be . We set to 1 even for the smoothed problems. Although this violates the requirement in Corollaries 5 and 14, we see from our numerical results reported below that ALM and FALM still work very well. All of the algorithms tested were terminated after 1000 iterations. The (nonsmoothed) objective function values in (4.1) produced by these algorithms at iterations: 10, 50, 100, 200, 500, 800 and 1000 for different choices of are presented in Tables 1 and 2. The CPU times (in seconds) and the number of iterations required to reduce the objective function value to below and are reported respectively in the last columns of Tables 1 and 2.
All of our codes were written in MATLAB and run in MATLAB 7.3.0 on a Dell Precision 670 workstation with an Intel Xeon(TM) 3.4GHZ CPU and 6GB of RAM.
From Tables 1 and 2 we see that in terms of the value of the objective function achieved after a specified number of iterations, the performance of FALM-S and FALM is always slightly better than that of FISTA and is much better than the performance of the other algorithms. On the two test problems, since FALM-S and FALM are always better than ALM-S and ALM, and FISTA is always better than ISTA, we can conclude that the Nesterov-type acceleration technique greatly speeds up the basic algorithms on these problems. Moreover, although sometimes in the early iterations FISTA (ISTA) is better than FALM-S and FALM (ALM-S and ALM), it is always worse than the latter two algorithms when the iteration number is large. We also illustrate our comparisons graphically by plotting in Figure 1 the objective function value versus the number of iterations taken by these algorithms for solving (4.1) with . From Figure 1 we see clearly that for this problem, ALM outperforms ISTA, FALM outperforms FISTA, FALM outperforms ALM and FALM-S outperforms ALM-S.
From the CPU times and the iteration numbers in the last columns of Tables 1 and 2 we see that, the fast versions are always much better than the basic versions of the algorithms. Since iterations of FISTA cost less than those of FALM-S (and FALM as well), we see that although FISTA takes 35% (4%) more iterations than FALM-S in the last column of Table 1 (2) it takes only 7% more time (20% less time).
We note that for the problems with and , (i.e., for the results given in Tables 1 and 2), 891 and 981, respectively, of the first 1000 iterations performed by FALM-S were skipping steps. In contrast, none of the steps performed by ALM-S on either of these problems were skipping steps. While the latter result is somewhat surprising, the fact that FALM-S performs many skipping steps is not, since the Nesterov-like acceleration approach is an over-relaxation approach that generates points that extrapolate beyond the previous point and the one produced by the ALM algorithm.
Applications
In this section, we describe how ALM and FALM can be applied to problems that can be formulated as RPCA problems to illustrate the use of Nesterov-type smoothing when the functions and do not satisfy the smoothness conditions required by the theorems in Sections 2 and 3. Our numerical results show that our methods are able to solve huge problems that arise in practice; e.g., one problem involving roughly 40 million variables and 20 million linear constraints is solved in about three-quarters of an hour. We alse describe application of our methods to the SICS problem.
It is easy to show that the optimal solution of (5.1) is
where is the singular value decomposition (SVD) of According to Theorem 1 in , the gradient of is given by and is Lipschitz continuous with Lipschitz constant . After smoothing and , we can apply Algorithms 3 and 6 to solve the following smoothed problem:
We have the following theorem about -optimal solutions of problems (1.6) and (5.3).
Let and . If is an -optimal solution to (5.3), then is an -optimal solution to (1.6).
Proof. Let , and and be optimal solution to problems (1.6) and (5.3), respectively. Note that
Using the inequalities in (5.4) and (5.5) and the facts that is an -optimal solution to (5.3) and , we have
Thus, according to Theorem 19, to find an -optimal solution to (1.6), we need to find an -optimal solution to (5.3) with . We can either apply Algorithms 3 and 6 to solve (5.3), or apply Algorithms 4 and 7 to solve (5.3) with only one functions (say ) smoothed. The iteration complexity results in Theorems 4 and 13 hold since the gradients of is Lipschitz continuous. However, the numbers of iterations needed by ALM and FALM to obtain an -optimal solution to (1.6) become and , respectively, due to the fact that the Lipschitz constant .
The two subproblems at iteration of Algorithm 3 when applied to (5.3) reduce to
The first-order optimality conditions for (5.6) are:
where and are defined in (5.2) and (4.3). It is easy to check that
satisfies (5.8), where is the SVD of the matrix . Thus, solving the subproblem (5.6) corresponds to an SVD. If we define it is easy to verify that
satisfies the first-order optimality conditions for (5.7): Thus, solving the subproblem (5.7) can be done very cheaply. The two subproblems at the -th iteration of Algorithm 6 can be done in the same way and the main computational effort in each iteration of both ALM and FALM corresponds to an SVD.
2 RPCA with Missing Data
In some applications of RPCA, some of the entries of in (1.6) may be missing (e.g., in low-rank matrix completion problems where the matrix is corrupted by noise). Let be the index set of the entries of that are observable and define the projection operator as: , if and otherwise. It has been shown under some randomness hypotheses that the low rank and sparse can be recovered with high probability by solving (see Theorem 1.2 in ),
To solve (5.11) by ALM or FALM, we need to transform it into the form of (1.6). For this we have
is an optimal solution to (5.11) if
Suppose is an optimal solution to (5.11). We claim that . Otherwise, is feasible to (5.11) and has a strictly smaller objective function value than , which contradicts the optimality of . Thus, . Now suppose that is not optimal to (5.11); then we have
which contradicts the optimality of to (5.12). Therefore, is optimal to (5.11). ∎
The only differences between (1.6) and (5.12) lie in that the matrix is replaced by and is replaced by . A smoothed approximation to is given by
According to Theorem 1 in , is Lipschitz continuous with . Thus the convergence and iteration complexity results in Theorems 4 and 13 apply. The only changes in Algorithms 3 and 4 and Algorithms 6 and 7 are: replacing by and computing using (5.10) with is replaced by .
3 Numerical Results on RPCA Problems
In this section, we report numerical results obtained using the ALM method to solve RPCA problems with both complete and incomplete data matrices . We compare the performance of ALM with the exact ADM (EADM) and the inexact ADM (IADM) methods in . The MATLAB codes of EADM and IADM were downloaded from and their default settings were used. To further accelerate ALM, we adopted the continuation strategy used in EADM and IADM. Specifically, we set , where and in our numerical experiments. Although in some iterations this violates the requirement in Corollaries 5 and 14, we see from our numerical results reported below that ALM and FALM still work very well. We also found that by adopting this updating rule for , there was not much difference between the performance of ALM and that of FALM. So we only compare ALM with EADM and IADM. As in Section 4, since we applied ALM to a smoothed problem, we implemented ALM as SADAL. The initial point in ALM was set to and the initial Lagrange multiplier was set to . We set the smoothness parameter . Solving subproblem (5.6) requires computing an SVD (see (5.9)). However, we do not have to compute the whole SVD, as only the singular values that are larger than the threshold and the corresponding singular vectors are needed. We therefore use PROPACK , which is also used in EADM and IADM, to compute these singular values and corresponding singular vectors. To use PROPACK, one has to specify the number of leading singular values (denoted by ) to be computed at iteration . We here adopt the strategy suggested in for EADM and IADM. This strategy starts with and updates via:
where and is the number of singular values that are larger than the threshold .
In all our experiments was chosen equal to . We stopped ALM, EADM and IADM when the relative infeasibility was less than , i.e., .
Extracting the almost still background from a sequence frames of video is a basic task in video surveillance. This problem is difficult due to the presence of moving foregrounds in the video. Interestingly, as shown in , this problem can be formulated as a RPCA problem (1.6). By stacking the columns of each frame into a long vector, we get a matrix whose columns correspond to the sequence of frames of the video. This matrix can be decomposed into the sum of two matrices . The matrix , which represents the background in the frames, should be of low rank due to the correlation between frames. The matrix , which represents the moving objects in the foreground in the frames, should be sparse since these objects usually occupy a small portion of each frame. We apply ALM to solve (1.6) for two videos introduced in .
3.2 Random Matrix Completion Problems with Grossly Corrupted Data
4 Sparse Inverse Covariance Selection
In ALM method was successfully applied to the Sparse Inverse Covariance Selection problem:
where and .
Note that in our case does not have Lipschitz continuous gradient in general. Moreover, is only defined for positive definite matrices while is defined everywhere. These properties of the objective function make the SICS problem especially challenging for optimization methods. Nevertheless, we can still apply Algorithm 4 and obtain the complexity bound in Theorem 4 as follows. As proved in , the optimal solution of (5.18) satisfies , where (see Proposition 3.1 in ). Therefore, the SICS problem (5.18) can be formulated as:
where . We can apply Algorithm 4 and Theorem 4 as per Remark 8. The difficulty arises, however, when performing minimization in (Step 5 of Algorithm 4) with the constraint . Without this constraint, the minimization is obtained by a matrix shrinkage operation. However, the problem becomes harder to solve with this additional constraint. Minimization in (Step 3 of Algorithm 4) with or without the constraint is accomplished by performing an SVD of the current iterate . Hence the constraint can be easily imposed. Also note that once the SVD is computed both and are readily available (see for details). This implies that either skipping or nonskipping iterations of Algorithm 4 can be performed at the same cost as one ISTA iteration.
Instead of imposing constraint in Step 5 of Algorithm 4 we can obtain feasible solutions by a line search on . We know that the constraint is not tight at the solution. Hence if we start the algorithm with and restrict the step size to be sufficiently small then the iterates of the method will remain in . Similarly, one can apply ISTA with small steps to remain in . Note however, that the bound on the Lipschitz constant of the gradient of is and hence can be very large. It is not practical to restrict in the algorithm to be smaller than , since determines the step size at each iteration. The advantage of ALM methods over ISTA in this case is that as soon as the is relaxed ISTA can no longer be applied, while ALM/SADAL can be applied and indeed works very well. The theory in this case only applies once certain proximity to the optimal solution has been reached. But as shown in , the SADAL method is computationally superior to other state-of-the-art methods for SICS.
We have also applied the FALM method to the SICS problem, but we have not observed any advantage over ALM for this particular application.
Conclusion
In this paper, we proposed both basic and accelerated versions of alternating linearization methods for minimizing the sum of two convex functions. Our basic methods require at most iterations to obtain an -optimal solution, while our accelerated methods require at most iterations with only a small additional amount of computational effort at each iteration. Numerical results on image deblurring, background extraction from surveillance video and matrix completion with grossly corrupted data are reported. These results demonstrate the efficiency and the practical potential of our algorithms.
Acknowledgement
We would like to thank Dr. Zaiwen Wen for insightful discussions on the topic of this paper.