On the Efficiency of Random Permutation for ADMM and Coordinate Descent
Ruoyu Sun, Zhi-Quan Luo, Yinyu Ye
Introduction
A simple yet powerful idea for solving large-scale computational problems is to iteratively solve smaller subproblems. The applications of this idea include coordinate descent (CD), POCS (Projection onto Convex Sets), SGD (Stochastic Gradient Descent). They are well suited for large-scale unconstrained optimization problem (see, e.g. Wright , for a recent survey of CD) since it decomposes a large problem into small subproblems. The decomposition idea is crucial for huge problems due to both the cheap per-iteration cost and small memory requirement. Moreover, this idea is “orthogonal” to other large-scale optimization ideas such as first-order methods (using only gradient information) and random projection, and thus can be easily combined with other ideas.
This paper is motivated by a natural question: how should we extend the decomposition idea to solve problems with constraints? We consider a constrained minimization problem with a convex objective function and linear constraints (this is for motivation; our analysis is for a much simpler version):
To apply the decomposition idea to a constrained problem, one possible way is to form the augmented Lagrangian function and perform coordinate descent for the primal problem and a gradient step for the dual problem, i.e. combining BCD with augmented Lagrangian method, to obtain the so-called alternating direction method of multipliers (ADMM). ADMM was originally proposed in Glowinski and Marroco (see also Chan and Glowinski , Gabay and Mercier ) to solve problem (1) when there are only two blocks (i.e. ) and the objective function is separable. It is natural and computationally beneficial to extend the original ADMM directly to solve the general -block problem (1) via the following procedure:
The convergence of the direct extension of ADMM to multi-block case had been an open question, until a counter-example was recently given in Chen et al. . More specifically, Chen et al. showed that even for the simplest scenario where the objective function is and the number of blocks is , ADMM can be divergent for a certain choice of . There are several proposals to overcome the drawback (see, e.g., ), but they either need to restrict the range of original problems being solved, add additional cost in each step of computation, or limit the stepsize in updating the Lagrange multipliers. These solutions typically slow down the performance of ADMM for solving most practical problems. Moreover, it is not clear how to compare the convergence speed of these algorithms as they typically contain different parameters. One may ask whether a “minimal” modification of cyclic multi-block ADMM (2) can lead to convergence, and whether we can provide some convergence speed analysis that is easy to interpret.
One of the simplest modifications of (2) is to add randomness to the update order. Randomness has been very useful in the analysis of block coordinate descent (BCD) methods and stochastic gradient descent (SGD) methods. In particular, a recent work Sun and Ye showed that randomized CD (R-CD) can be up to times faster than cyclic CD (C-CD) for quadratic minimization in the worst case, where is the number of variables Rigorously speaking, these two bounds are not directly comparable since the result for the randomized version only holds with high probability, while the result for the cyclic version always holds; anyhow, this gap is still meaningful if ignoring this difference between deterministic and randomized algorithm.. Another example is the comparison of IAG (Incremental Aggregated Gradient) in Blatt et al. and its randomized version SAG (Stochastic Average Gradient) : it turns out that the introduction of randomness leads to better iteration complexity bounds. There is also some study on randomly permuted version of pure SGD . These examples show that randomization may improve the algorithm in theory and in practice.
It is important to note that the iteration complexity bounds for randomized algorithms are usually established for independent randomization (sampling with replacement), while in practice, random permutation (sampling without replacement) has been reported to exhibit faster convergence (e.g. Shalev et al. , Recht and Re , Sun ). Interestingly, our simulation shows that for solving linear system of equations, randomly permuted ADMM (RP-ADMM) always converges, but independently randomized versions of ADMM can be divergent even for Gaussian data. Therefore, we focus on the analysis of RP-ADMM in this paper.
Random permutation is known to be notoriously difficult to analyze. Even for unconstrained quadratic minimization, the convergence rate of RP-BCD is poorly understood. Many existing works treated cyclic BCD and RP-BCD together , and thus the best known convergence rate of RP-BCD for general convex problems are in fact the same as that of C-BCD . However, in light of a recent study which established an up to gap between cyclic CD and R-CD , it is unlikely that RP-CD has the same convergence rate as C-CD since that would imply RP-CD could be -times slower than R-CD. For the special example that demonstrates the gap between C-CD and R-CD, it was shown recently that RP-CD is faster than R-CD This paper appeared after the first version of the current paper. . However, the general quadratic case seems to be quite difficult, probably due to its close connection to a matrix AM-GM (algebraic mean-geometric mean) inequality , the difficulty of which is essentially to prove an inequality in non-commutative algebra.
We consider two extremes of a general RP-ADMM: i) the objective is zero, i.e., RP-ADMM for solving a linear system; ii) the constraint is zero and the objective is a quadratic function, i.e., RP-BCD for solving quadratic minimization. Due to the lack of understanding of random permutation for quadratic minimization as discussed previously, we restrict to the two cases in this paper.
The first result of this paper is the expected convergence of RP-ADMM for solving linear systems. More specifically, when the objective function is zero and the constraint is a non-singular square linear system of equations, the expected output of randomly permuted ADMM converges to the unique primal-dual optimal solution. A major technical result in this proof is that the eigenvalues of the expected iteration matrix of RP-BCD for quadratic problems lie in , instead of the typical range .
The second result is about the expected convergence rate of RP-ADMM for solving linear systems and RP-BCD for solving quadratic problems. We show that RP-BCD for a convex quadratic minimization problem with equal diagonal entries has expected iteration complexity , where and are the average eigenvalue and the minimum eigenvalue of the coefficient matrix, and one “iteration” here means a cycle of updating all blocks. This improves an existing bound of for RP-BCD by a factor of . Built on this result, we further show that RP-ADMM for solving linear systems achieves the same expected iteration complexity bound .
Technically, we provide a simple and clean proof of the expected convergence, by applying a classical result on the eigenvalues of Jordan product. For proving the expected convergence rate, we propose a new variant of the matrix AM-GM inequality conjecture, and prove a weaker version of this conjecture.
Our result shows that random permutation may be a good answer to the question “how to apply the decomposition idea to solve constrained problems”. As multi-block BCD is widely used for large-scale unconstrained problems, we expect multi-block RP-ADMM to be a good candidate for large-scale linearly constrained problems. Our result provides one of the few direct analyzes of random permutation in optimization algorithms, and offers an explanation of the mysterious gap between RP-ADMM and cyclic ADMM. As reflected by the proof, the intuition is that random permutation provides “3-level symmetrization” that adjusts the spectrum of the update matrix. Based on the analysis for RP-ADMM, we are able to improve the best known complexity of RP-BCD for equally-diagonal quadratic problems by a factor of , when expressing the complexity only in terms of the quantity .
2 Related Works
This paper is a stronger version of a previous technical report Sun et al. which was not published. Another related work is the paper Chen et al. , which modifies the proof of to make it work with a quadratic objective function.
We highlight a few novel contributions of the current paper (neither in the original technical report nor in the paper ).
(i) The current paper provides a much simpler proof for the result of expected convergence.
(ii) The current paper provides the first convergence rate analysis of RP-ADMM. See Theorem 4 and the proof in Section 4.5, Section 7.2 and Section 7.1.
(iii) The current paper provides an improved convergence rate analysis of RP-BCD, See Theorem 3 and the proof in Section 4.3 and Section 7.3.
(iv) The current paper introduces a theory-motivated algorithm Bernoulli-ADMM, which reduces the sampling time yet still achieves the expected convergence. This update order has not appeared before even in other algorithm setups to our knowledge. See Section 2.5 and Proposition 1.
Besides the technical contributions, we want to emphasize that the current paper is not just adding new result to our previous technical report , but actually completes a missing step of the story. From a mathematical point of view, the most striking consequence of our original proof is that the spectral radius of RP-BCD lies in a smaller region . It is natural to think that this fundamental fact should have an impact on the analysis of original RP-BCD. Our current paper fills this gap by showing that this result can help build an gap between the (expected) onvergence rate of RP-BCD and cyclic BCD. A general message is that on one hand, to understand constrained optimization we have to understand unconstrained optimization (analyzing ADMM reduces to analyzing BCD); on the other hand, analyzing constrained optimization helps improve the understanding of unconstrained optimization (the analysis of ADMM leads to progress in BCD). We find this interaction between unconstrained optimization (BCD) and constrained optimization (ADMM) fascinating. The whole story is only revealed in the current paper, but not in the previous technical report or Chen et al. .
Besides the above unique aspects, the current paper inherits some interesting numerical findings from the technical report Sun et al. which do not appear in Chen et al. . We find that cyclic ADMM diverges with probability 1 for many random distributions of data, thus showing that the seemingly surprising divergence behavior reported in is quite common. However, it is easy to miss this finding if one uses the Gaussian distribution to generate data. Another interesting finding is that the independently randomized version of ADMM diverges with probability 1 for Gaussian data but not for the counter-example in , preventing us from analyzing the independently randomized version. Without these findings, the motivation of studying RP-ADMM would be less clear. See Section 2.4 and Section 8.
3 Notation and Organization
Organization. In Section 2, we present three versions of randomized ADMM, with an emphasis on RP-ADMM. In Section 3, we present our main results Theorem 1, Theorem 2 and their proofs. The subsequent sections are devoted to the proofs of the two technical results Lemma 1 and Lemma 2, which are used in the proof of Theorem 2. In particular, the proof of Lemma 1 is given in Section 5, and the proof of Lemma 2 is given in Section 6.
Algorithms
In this section, we will present both randomly permuted and independently randomized versions of ADMM for solving (1), and specialize RP-ADMM for solving a square system of equations. We also present a rather novel algorithm Bernoulli-randomized ADMM (motivated by our proof).
In this subsection, we first propose RP-ADMM for solving the general optimization problem (1), then we present the update equation of RP-ADMM for solving a linear system of equations.
At each round, we draw a permutation of uniformly at random from , and update the primal variables in the order of the permutation, followed by updating the dual variables in a usual way. Obviously, all primal and dual variables are updated exactly once at each round. See Algorithm 1 for the details of RP-ADMM. Note that with a little abuse of notation, the function in this algorithm should be understood as . For example, when and , should be understood as .
Throughout this paper, we assume is non-singular. Then the unique solution to (8) is , and problem (7) has a unique primal-dual optimal solution . The augmented Lagrangian function (3) for the optimization problem (7) becomes
Throughout this paper, we assume ; note that our algorithms and results can be extended to any by simply scaling .
1.2 Example of 333-block ADMM
then the update equation (10) becomes , i.e.
1.3 General Update Equation of RP-ADMM
In general, for the optimization problem (7), the primal update (5) becomes
Replacing by , we can rewrite the above equation as
where denotes the inverse mapping of a permutation , i.e. . Denote the output of Algorithm 1 after round as
The update equations of Algorithm 1 for solving (7), i.e. (15) and (6), can be written in the matrix form as (when the permutation is and )
where are defined by
Another expression of , equivalent to (19), is the following:
A user-friendly rule for writing is described as follows (use as an example). Start from a zero matrix. First, find all reverse pairs of ; here, we say is a reverse pair if appears after in . For the permutation , all the reverse pairs are and . Second, in the positions corresponding to the reverse pairs, write down the corresponding entries of , i.e. and , respectively. At last, write in the diagonal positions. Using this rule, we can write down the expression of as
A user-friendly rule to quickly check the correctness of an expression of is the following (still take as an example). According to the order of the permutation , the nd row, the rd row and the st row should have a strictly decreasing number of zeros ( zeros, zero and no zero). In contrast, the nd column, the rd column and the st column should have a strictly increasing number of zeros.
For the general case that , we can write down the block partitioned in a similar way. For example, when and , we have
2 Randomly Permuted BCD
RP-ADMM is a generalization of RP-BCD. In fact, when the constraint does not exist, RP-ADMM reduces to RP-BCD. In this subsection, we present RP-BCD for solving convex quadratic problems. Note that RP-ADMM for solving linear systems and RP-BCD fo solving quadratic problems are two extremes of general RP-ADMM: in the former case the objective function is zero, and in the latter case the constraint is zero. Interestingly, the two extreme cases are related as the expected iteration matrix of RP-BCD appears as a component of the expected iteration matrix of RP-ADMM. We will show later that their eigenvalues are closely related.
In the augmented Lagrangian function given in (9), if we delete the first term which depends on the dual variable , we obtain the quadratic function . Thus if we eliminate the dual variable in the update equations of RP-ADMM, we will obtain the update equations for RP-BCD. Suppose is the iterate after the k-th epoch (i.e. go through all coordinates once), and is the order used in the -th iteration, then, as a simpler version of (17), we have
where and are defined as in (21) and (20), and is a random permutation.
3 Residual Trick for Efficient Implementation of ADMM and BCD
We note here that when (in this case BCD becomes CD), per-epoch computation time of ADMM and CD (no matter what order) is ; or in other words, per-coordinate-update time is . For instance, updating by (24) in RP-BCD or updating by (17) in RP-ADMM only takes time . As mentioned in Section 3.1 of , the trick is to keep track of the residual. For both efficient practical implementation and calculation of computation complexity, one should use this residual trick, but for the ease of theoretical analysis we use the matrix update forms (17) and (24) in this paper; there is no contradiction as our theory only depends on the value of but not the specific procedure to compute .
For completeness, we briefly explain how this trick works in our settings. Suppose , and we use CD methods to solve (23) with a certain update order (could be any order, such as cyclic, randomized or randomly permuted). Suppose the coordinate is picked, then is updated by by
where contains all columns of except , contains all elements of except and represents the current values, and represents the new value. A straightforward implementation of (25) requires multiplying by which takes operations. With the residual trick (e.g. ), we introduce the residual , and replace (25) by
Now the calculation of and takes time , and thus one epoch of BCD takes time . The same trick can be applied to the primal update of ADMM; with this trick, the dual update (6) can be rewritten as which takes time , and thus one epoch of ADMM takes time .
Finally, when , similar update equations can still be used except a minor difference that should be replaced by . In a special case that and , each iteration of BCD takes time and each epoch takes time . This cost can be reduced if we use BCGD (i.e. not solving the subproblem exactly but updating each block of variables by a gradient step). In order not to make the paper more complicated, we will not discuss the inexact versions of BCD and ADMM in this paper.
4 Two Versions of Independently Randomized ADMM
In this subsection, we present two other versions of randomized ADMM which can be divergent according to simulations. The failure of these versions makes us focus on analyzing RP-ADMM in this paper. These versions can be viewed as natural extensions of R-BCD (randomized BCD) and .
In the first algorithm, called primal-dual randomized ADMM (PD-RADMM), the whole dual variable is viewed as the -th block. In particular, at each iteration, the algorithm draws one index from , then performs the following update: if , update the -th block of the primal variable; if , update the whole dual variable. The details are given in Algorithm 2. We have tested PD-RADMM for the counter-example given in Chen et al. , and found that PD-RADMM always diverges (for random initial points).
A variant of PD-RADMM has been proposed in Hong et al. with two differences: first, instead of minimizing the augmented Lagrangian , that algorithm minimizes a strongly convex upper bound of ; second, that algorithm uses a diminishing dual stepsize. With these two modifications, shows that each limit point of the sequence generated by their algorithm is a primal-dual optimum with probability 1. Note that also proves the same convergence result for the cyclic version of multi-block ADMM with these two modifications, thus it does not show the benefit of randomization.
In the second algorithm, called primal randomized ADMM (P-RADMM), we only perform randomization for the primal variables. In particular, at each round, we first draw independent random variables from the uniform distribution of and update sequentially, then update the dual variable in the usual way. The details are given in Algorithm 3. This algorithm looks quite similar to RP-ADMM as they both update primal blocks at each round; the difference is that RP-ADMM samples without replacement while this algorithm P-RADMM samples with replacement. In other words, RP-ADMM updates each block exactly once at each round, while P-RADMM may update one block more than one times or does not update one block at each round.
We have tested P-RADMM in various settings. For the counter-example given in Chen et al. , we found that P-RADMM does converge. However, if and is a Gaussian random matrix (each entry is drawn i.i.d. from ), then P-RADMM diverges in almost all cases we have tested. This phenomenon is rather strange since for random Gaussian matrices the cyclic ADMM actually converges (according to simulations). An implication is that randomized versions do not always outperform their deterministic counterparts in terms of convergence.
Since both Algorithm 2 and Algorithm 3 can diverge in certain cases, we will not further study them in this paper. In the rest of the paper, we will focus on RP-ADMM (i.e. Algorithm 1).
5 Bernoulli-Randomized ADMM
To implement randomly permuted ADMM, one needs to sample from all blocks without replacement. To save the sampling time, we propose another algorithm which we call Bernoulli-randomized ADMM. This algorithm is motivated by the proof of Theorem 1. This updating scheme can be applied to other algorithms such as SGD and coordinate descent methods.
The new update order combines the well-known double-sweep order and Bernoulli-randomization. The original double-sweep order is , meaning that are updated sequentially in each “cycle”. It combines the normal cyclic order and a reverse order . We propose the following updating scheme: add a check box to each block, and in each cycle we perform the following operations.
Phase I: go through the blocks one by one sequentially as follows: for each block , flip a fair coin and:
if the outcome is “head”, update the block and check the check box;
if the outcome is “tail”, do nothing about and uncheck the check box.
Phase II: go through the blocks in the reverse order, and update if the box is unchecked.
Note that in each cycle we go through each block twice but update each block exactly once so that the number of totally updated blocks remains . For example, when , is a possible update order, as shown in the following diagram.
Similarly, is also a possible update order. But and are not possible. The set of all possible update orders is given by
where is the set of permutations of as defined in (4). In other words, a sequence from is a concatenation of an increasing sequence and a decreasing sequence. Note that the permutation is in since it can be viewed as the concatenation of an increasing sequence and a “decreasing sequence” , and we can let in the above definition to cover this case. Similarly, the permutation is also in as will cover this case.
The algorithm Bernoulli-randomized ADMM (BR-ADMM) is formally described below. We skip the epoch index since otherwise the notation would be cumbersome.
For solving linear systems of equations, the update formula is the same as (17), the update formula of RP-ADMM. The difference is that for RP-ADMM can be an arbitrary permuation, while for BR-ADMM there is some restriction on : it has to be a permuation in .
Main Results
Let denote the permutation used in round of Algorithm 1, which is a uniform random variable drawn from the set of permutations . After round , Algorithm 1 generates a random output , which depends on the observed draw of the random variable
We will show that the expected iterate (the iterate is defined in (16))
Assume the coefficient matrix of the constraint in (7) is a non-singular square matrix. Suppose Algorithm 1 is used to solve problem (7), then the expected output converges to the unique primal-dual optimal solution to (7), i.e.
Since the update matrix does not depend on previous iterates, we claim (and prove in Section 4.1) that Theorem 1 holds if the expected update matrix has a spectral radius less than 1, i.e. if the following Theorem 2 holds.
where the expectation is taken over the uniform random distribution over , the set of permutations of . Then the spectral radius of is smaller than , i.e.
For the counterexample in Chen et al. where , it is easy to verify that for any permutation of . Interestingly, Theorem 2 shows that even if each is “bad” (with spectral radius larger than ), the average of them is always “good” (with spectral radius smaller than ).
Theorem 2 is just a linear algebra result, and can be understood even without knowing the details of the algorithm. However, the proof of Theorem 2 is rather non-trivial. This proof will be provided in Section 4.2, and the technical results used in this proof will be proved in Section 5 and Section 6.
The convergence rate of RP-ADMM for solving linear systems of equations is closely related to the convergence rate of RP-BCD (randomly permuted BCD) for solving quadratic problems. We will discuss their relation and how our results in this paper improve our understanding for RP-BCD.
A similar convergence result holds for BR-ADMM proposed in Section 2.5, as presented below. The proof is a simple modification of the proof of Theorem 1, and can be found in Section 6.4.
Assume the coefficient matrix of the constraint in (7) is a non-singular square matrix. Suppose Algorithm 4 is used to solve problem (7), then the expected output converges to the unique primal-dual optimal solution to (7).
2 Expected Convergence Rate of RP-ADMM and RP-BCD
There is a close relation between RP-ADMM for solving linear systems and RP-CD for solving quadratic problems (see Lemma 2). Thus it is not surprising that we need to understand RP-BCD before understanding RP-ADMM. We will first present an expected convergence rate of RP-BCD (in terms of the expected iterates) for solving quadratic problems, which improves the best existing convergence rate (one type of rates, to be precise) by a factor of Rigorously speaking, this is not a fair comparison as the complexity of C-CD is deterministic complexity.. The result is proved via establishing a weak version of matrix AM-GM inequality. This result also establishes a large gap of between RP-BCD and C-BCD (cyclic BCD). Second, built upon the result for RP-BCD, we establish a convergence rate of RP-ADMM which is similar to RP-BCD and also times better than that of C-BCD.
The first result is about the expected convergence rate of RP-BCD for the case . This assumption is made so that the expression is simple, and the case for general is given in the next result.
(rate of RP-BCD for quadratic functions with identity diagonal blocks) Assume the coefficient matrix is a non-singular square matrix, and Suppose RP-BCD is used to solve problem (23), where denotes the variable after epochs (each epoch represents one cycle of updating all coordinates). Denote the unique optimal solution as . Then
To put this convergence rate result in the context, we consider the simple case that each , i.e., each block consists of a single coordinate. In this case, every diagonal entry of is , thus the average eigenvalue of is . Throughout the paper, we consider the total computation complexity The computation complexity equals the iteration complexity times the per-iteration cost. We do not present iteration complexity since there may be confusion about whether “one iteration” means coordinate updates or coordinate update. Presenting iteration complexity is better if one considers a general convex problem, but then one needs to discuss the per-iteration cost. We are considering quadratic problems throughout the paper, so we feel it is more clear to stick to computation complexity.; note that we assume the residual trick as described in 2.3 is always used for all methods.
Our Theorem 3 provides an expected computational complexity upper bound for RP-CD, since each epoch takes time and it requires epochs to achieve error according to (33). It is known that the computational complexity of R-CD (randomized coordinate descent) to achieve relative accuracy Here, the relative accuracy means or . is , where is the ratio of the average eigenvalue over the minimum eigenvalue. It was recently shown that in terms of and only, the worst-case complexity of C-CD (cyclic CD) is , which is times worse than R-CD and times worse than GD. This shows a large gap between C-CD and R-CD in the worst case.
It was widely conjectured that RP-CD is at least as fast as R-CD, but this conjecture is considered to be rather difficult to prove. For a special class of matrices, recent works validated the conjecture. However, to our knowledge, even for a general quadratic function with equal diagonal entries , the previously best known convergence rate of RP-CD is almost the same as C-CD (see ), which can be times worse than that of R-CD. Our Theorem 3 provides an expected computational complexity upper bound for RP-CD, which is times faster than C-CD and times slower than R-CD. This improves the best existing rate by a factor of Note that this “improvement” is valid when the convergence rate is characterized by only and . It is common to use other parameters such as the maximum eigenvalue to characterize the convergence rate (see for a detailed discussion), and our result here does not provide improvement for other kinds of convergence rate.. We summarize the comparison of the complexity for C-CD, R-CD and RP-CD in Table 1.
The following proposition generalizes Theorem 3 to the non-identity-diagonal case, i.e., does not need to be an identity matrix.
(rate of RP-BCD for quadratic functions, with non-identity blocks) Assume the coefficient matrix is a non-singular square matrix. Suppose RP-BCD is used to solve problem (23). Denote as a block-diagonal matrix, and the norm . Then
The proof of Proposition 2 is given in Section 4.4. One can easily transform the quantity to certain quantity that only depends on the eigenvalues of and . However, as noted in , it is far from clear how tight the transformation is, thus we skip the transformation here. In fact, it is related to some open question on the so-called Jacobi-preconditioning. We refer the interested readers to for a detailed discussion of the subtle issues in the non-identity-diagonal case.
At last, we present a result on the expected convergence rate of RP-ADMM for solving linear systems, under the assumption that . Very similar to Proposition 2, we can also generalize this result to non-identity-diagonal case, i.e., , but to save space we skip the generalization here. The proof of Theorem 4 is given in Section 4.5.
(Expected convergence rate of RP-ADMM for linear systems) Assume the coefficient matrix of the constraint in (7) is a non-singular square matrix and . Suppose Algorithm 1 is used to solve problem (7). Denote as the unique primal-dual optimal solution to the problem (7), then
This result implies that similar to RP-CD for solving quadratic problems, the complexity of RP-ADMM in terms of the expected iterates for solving linear systems is also at most
In light of the fact that C-CD has been shown to only achieve a rate , the rate of RP-ADMM we obtain is already quite good. Nevertheless, we conjecture that this complexity upper bound can be improved to , the same as the conjectured complexity for RP-CD. But an improved rate of RP-ADMM leads to an improved rate of RP-BCD (this should be clear via the comparison of (50) and (57)), thus proving this conjecture is an even more difficult problem than the long-standing open question on RP-CD.
3 Matrix AM-GM Inequality
The original version is more general: the number of matrices does not need to be the same as the dimension of the matrix. For simplicity, we just present a simpler version here.
The matrix AM-GM inequality is a generalization of the well-known AM-GM inequality: for non-negative numbers , the geometric mean is no more than the algebraic mean . When extending this inequality to matrix domain, the non-commutative nature of matrix multiplication makes the problem rather difficult to prove.
We observe that we only need to prove a matrix AM-GM inequality for projection matrices. We conjecture that the following matrix AM-GM inequality holds.
Compared with (36), our conjecture makes a stronger claim on the relation, but it only applies to projection matrices. We have found examples to show that (37) does not hold for general positive semi-definite matrices, but it holds for projection matrices in all of our experiments.
We are not able to prove the new conjecture – that would solve the open question of the best convergence rate of RP-CD for quadratic problem. Nevertheless, inspired by the new conjecture, we prove a weaker version (see Lemma 3), which can lead to an improved convergence rate estimate for RP-CD.
Proof of Main Results
Denote as the permutation used in round , and define as in (28). Rewrite the update equation (17) below (replacing by ):
We first prove (30) for the case . By (18) we have , then (38) is simplified to . Taking the expectation of both sides of this equation in (see its definition in (28)), and note that is independent of , we get
Since the spectral radius of is less than 1 by Theorem 2, we have that , i.e. (30).
We then prove (30) for general . Let denote the optimal solution. Then it is easy to verify that
for all (i.e. the optimal solution is the fixed point of the update equation for any order). Compute the difference between this equation and (38) and letting , we get . According to the proof for the case , we have , which implies .
2 Proof of Theorem 2
The difficulty of proving Theorem 2 (bounding the spectral radius of defined in (31)) is two-fold. First, is a non-symmetric matrix, and there are very few tools to bound the spectral radius of a non-symmetric matrix. In fact, spectral radius is neither subadditive nor submultiplicative (see, e.g. Kittaneh ). Note that the spectral norm of can be much larger than (there are examples that ), thus we cannot bound the spectral radius simply by the spectral norm. Second, although it is possible to explicitly write each entry of as a function of the entries of , these functions are very complicated (-th order polynomials) and it is not clear how to utilize this explicit expression.
The proof outline of Theorem 2 and the main techniques are described below. In Step 0, we provide an expression of the expected update matrix . In Step 1, we establish the relationship between the eigenvalues of and the eigenvalues of a simple symmetric matrix , where is defined in (39). As a consequence, the spectral radius of is smaller than one iff the eigenvalues of lie in the region . This step partially resolves the first difficulty, i.e. how to deal with the spectral radius of a non-symmetric matrix. In Step 2, we show that the eigenvalues of do lie in using mathematical induction. The induction analysis circumvents the second difficulty, i.e. how to utilize the relation between and .
Step 0: compute the expression of the expected update matrix . Define
It is easy to prove that defined by (39) is symmetric. In fact, note that , where is a reverse permutation of satisfying , thus where the last step is because the sum of all is the same as the sum of all .
Substituting the expression of into the above relation, and replacing by , we obtain
Since is linear in , we have
Step 1: relate to a simple symmetric matrix. The main result of Step 1 is given below, and the proof of this result is relegated to Section 5.
Furthermore, when is symmetric, we have
Remark: For our problem, the matrix as defined by (39) is symmetric (see the argument after equation (39)), thus the relation (45) indeed holds according to Lemma 1. For a general non-symmetric , (45) does not need to hold, but the first conclusion (44) still holds.
Step 2: Bound the eigenvalues of . The main result of Step 2 is summarized in the following Lemma 2. The proof of Lemma 2 is given in Section 6.
in which is defined by (21) and is defined by (4). Then all eigenvalues of lie in , i.e.
Remark: The upper bound in (47) is probably tight, since we have found numerical examples with . Now the expected convergence of RP-ADMM seems to be a pleasant coincidence: Lemma 1 shows that to prove the expected convergence we need to prove , a quantity that can be defined without knowing ADMM, is bounded by ; Lemma 2 and numerical experiments show that this quantity happens to be exactly so that RP-ADMM can converge (in expectation).
Theorem 2 follows immediately from Lemma 1 and Lemma 2.
3 Proof of Theorem 3
We first describe the outline of the proof. The expected update matrix of RP-BCD is , and the eigenvalues of this matrix lie in . The expected convergence speed of RP-BCD depends on the distance between the eigenvalues and the two extremes and . Lemma 2 shows that the distance to is at least , which is a constant. We will show that the distance to is at least , by proving a weaker version of matrix AM-GM inequality. Combining the two results, we obtain the expected convergence speed of RP-BCD.
According to (24), we have , where is the randomly picked permutation at the -th epoch. Therefore, the expected update formula of RP-BCD for solving the least squares problem is
Suppose the eigenvalues of are , then according to Lemma 2,
thus the spectral radius of is
An interesting phenomenon occurs here. The spectral radius is either or . In the latter case, , implying that , or equivalently, the relative error achieves in epochs. We do not even need to compute since it will only affect the convergence speed when the speed is already very fast. From a theoretical perspective, the improvement from to is just an improvment in the constant. Therefore, it is reasonable to ignore and focus on the estimate of .
To estimate the maximum eigenvalue of (or equivalently, that of ), we first provide a useful identity that connects and projection matrices .
Suppose is a non-singular square matrix, and For a permutation , is defined as in (21), and . Denote , . Then we have
The proof of Claim 4.1 is given at the end of this subsection. Claim 4.1 states that is exactly equal to , thus we only need to estimate the maximal eigenvalue of the latter expression. This is achieved by the following lemma (the proof is given in Section 7.3).
The above Lemma 3 and Claim 4.1 immediately lead to the following corollary.
Suppose is a non-singular square matrix, and Suppose is defined as in (21), and . Then
Note that , thus (53) implies
Substituting this relation into (49), we obatain
Remark: There is a coefficient in front of in (54), and this is why the complexity of RP-CD we establish is times worse than the conjectured one in Table 1. If Conjecture 3.1 holds, then this factor of would be removed and the conjectured (expected) complexity of RP-CD in Table 1 would hold.
We prove (51a) by induction on . Without loss of generality, we can assume , then In this case, (51a) becomes
The expression obviously holds for . Suppose the expression holds for , i.e., for , we have
where is a permutation of elements and is the counterpart of for blocks defined as
The two matrices and are related by
where in the last step we use the induction hypothesis (55). Thus we have proved (51a). Summing up (51a) for all possible permutations and divide by , we obtain (51b).
4 Proof of Proposition 2
According to (48), the (expected) update equation of RP-BCD is given by , where .
5 Proof of Theorem 4
Now we consider the expected convergence rate of RP-ADMM. The difference with the analysis for RP-BCD is that here we need to consider the distance between the eigenvalues of with while for RP-BCD what matters is the distance between the eigenvalues of and which is at least and thus can be ignored.
Suppose the minimum and maximum eigenvalues of are . Then
where . Furthermore, we have
The proof of Claim 4.2 is given in Section 7.1. The next lemma provides a universal estimate of the maximum eigenvalules of .
The maximum eigenvalues of is at most , i.e.,
The proof of Lemma 4 is given in Section 7.2
According to (54), which is established in the proof of the expected convergence rate of RP-BCD, we have
Substituting the bounds (58) and (59) into (57), we obtain
Since , , this bound can be simplified to
Remark: The eigenvalues of lie in the region , which guarantees the expected convergence of RP-ADMM. To obtain the expected convergence rate, we need to know the distance of the spectrum to the two extremes and . We conjecture that the bound can be improved to . This requires more effort than the conjecture of RP-CD: besides showing we also need to show . This is left as future work.
Proof of Lemma 1
The proof of Lemma 1 relies on two simple techniques. The first technique, as elaborated in the Step 1 below, is to factorize and rearrange the factors. The second technique, as elaborated in the Step 2 below, is to reduce the dimension by eliminating a variable from the eigenvalue equation.
Step 1: Factorizing and rearranging the order of multiplication. The following observation is crucial: the matrix defined by (43) can be factorized as
Switching the order of the products by moving the first component to the last, we get a new matrix
Note that for any two square matrices, thus
Step 2: Relate the eigenvalues of to the eigenvalues of , i.e. prove (62). This step is simple as we only use the definition of eigenvalues. However, note that, without Step 1, just applying the definition of eigenvalues of the original matrix may not lead to a simple relationship as (62).
We claim that (63) holds when . In fact, in this case we must have (otherwise cannot be an eigenvector). By (64b) we have , thus . By (64a) we have , which implies , therefore (63) holds in this case.
The equation (64b) implies . Multiplying both sides of (64a) by and invoking this equation, we get
We must have ; otherwise, the above relation implies , which contradicts (65). Then (66) becomes
Therefore, is an eigenvalue of , with the corresponding eigenvector , which finishes the proof of (63).
The other direction For the purpose of proving Theorem 2, we do not need to prove this direction. Here we present the proof since it is quite straightforward and makes the result more comprehensive.
is easy to prove. Suppose . We consider two cases.
Case 2: , then . Let be the eigenvector corresponding to (i.e. pick that satisfies (67)), and define . It is easy to verify that satisfies , which implies .
Step 3: When is symmetric, prove (45) by simple algebraic computation.
Note that when , the expression denotes a complex number , where is the imaginary unit. To prove (45), we only need to prove
Case 1: . Then . In this case,
Case 2: . Then , and (69) can be rewritten as
which implies .
Case 3: . Then . According to (69), it is easy to verify and
Combining the conclusions of the three cases immediately leads to (70).
Proof of Lemma 2
This section is devoted to the proof of Lemma 2. We first give a proof overview in Section 6.1. The formal proof of Lemma 2 is given in Section 6.2. The proofs of the technical results involved in the proof are given in the subsequent subsections.
Without loss of generality, we can assume
In the proof overview, we discuss a few issues one may encounter when proving the result, and how we resolve these issues.
The simulations show that , thus we cannot relax to the product of and , and have to treat as a single subject. However, each entry of is a complicated function (in fact, a high order polynomial) of the entries of . In other words, is like a black box. To open the “black box”, we use a simple expression of proved in Claim 4.1, i.e., where is directly related to . The problem becomes how to connect the eigenvalues of with those of .
Although this is a clear linear algebra problem, it is not easy to obtain a lower bound of . In fact, even though we know the eigenvalues of are lower bounded by because RP-CD converges, it is not clear how to prove this lower bound directly from a linear algebra perspective.
In our solution, we apply two tricks. The first trick is to view as an induction formula that connects it and its lower dimensional analogs. This is based on a simple observation that any permutation can be written as the concatenation of and , thus the expression of can be decomposed accordingly. We then reduce the problem to bounding the eigenvalues of a Jordan product , where is a projection matrix and is the lower dimensional analog of . The second trick is to apply a formula on the eigenvalues of Jordan product developed by Strang in 1962 . Somewhat surprisingly, his formula exactly leads to the desired lower bound of .
2 Proof of Lemma 2
The proof can be divided into three steps: first provide an alternative expression of , then prove an induction formula, and finally apply Strang’s formula to perform mathematical induction. This subsection contains the major part of the proof, and the intermediate technical results will be proved in later subsections.
Step 0: Expression of . As proved in Claim 4.1, we have a simple expression of the update matrix
Define as the -th block-column of excluding the block , i.e.
Based on the expression of presented before, we build a connection between the update matrix and its lower dimensional analogs. The proof of Proposition 3 is given in Section 6.3.
where is defined as in (39), , and is defined in (73), and . Then we have
Step 2: Applying Strang’s result on Jordan product to perform mathematical induction.
It is obvious that the product of two symmetric matrices is not necessarily symmetric, so it is common to encounter the symmetrized product , which is called Jordan product of two matrices and . Our induction formula basically states that is the average of the Jordan product of the lower dimensional analog and .
The eigenvalues of the Jordan product of two matrices have been studied before. The following result is proved in Strang .
([44, Theorem 1]; eigenvalues of Jordan product) Suppose two symmetric positive-semidefinite matrices and satisfy
then the maximal (resp. minimal) eigenvalue of the Jordan product are the largest (resp. smallest) of the set
Let us come back to the proof of Lemma 2. We use mathematical induction to prove Lemma 2. For the basis of the induction (), Lemma 2 holds since . Assume Lemma 2 holds for , we will prove Lemma 2 for .
Consider one term of (75) . Note that is a projection matrix, since we have assumed . Combining with the induction hypothesis, we have
Let , then the set (76) becomes (keep the repeated values)
Note that since by the induction hypothesis the eigenvalues of cannot achieve the extreme values of region , the eigenvalues of also cannot A more detailed argument is as follows. Since , we can let for a sufficiently small positive number , while keeping . The set (76) now becomes Both and are strictly larger than , thus the extreme value cannot be achieved. By a similar argument the other extreme value also cannot be achieved. . So we have
Remark: Where does the magical number come from? It is actually the strange and complicated term in Strang’s result (76), which occurs due to the special structure of the Jordan product.
3 Proof of Proposition 3 (the induction formula)
It is easy to build an induction formula from the expression (51b). For example, when , the matrix can be decomposed as the sum of and two other similar terms (changing the outside part to and the inside part correspondingly). The inside part only involves two matrices, thus is a lower-dimensional analog. To make this even easier to see, denote then
A rigorous argument based on the above intuition is given as follows. Applying the formula (51b) to the matrix , and by the definition and the definition of in (73), we have
4 Proof of Proposition 1
We provide the proof of the expected convergence of BR-ADMM here, as this proof is a slightly smaller subset of the proof of Theorem 1. We will just describe the necessary modifications.
We only need to prove a similar version of Theorem 2, i.e., the spectral radius of the expected update matrix of BR-ADMM is less than 1. Throughout the proof, we need to change the matrix to another one defined as
where denotes the set of all possible permutations according to the Bernoulli randomization rule. It is easy to see that . Other matrices such as should be changed accordingly.
The proof of Theorem 2 mainly consists of Lemma 1 and Lemma 2. Since Lemma 1 has nothing to do with the specific expression of , so we only need to prove Lemma 2 for BR-ADMM, i.e., the matrix has all eigenvalues in the region . Following the proof of Lemma 2, we divide the proof into three steps.
Step 0: Expression of . In Claim 4.1, we have prove the expression (51a) that for any permutation , which implies
Step 1: Induction formula. Notice that a characteristic of the Bernoulli randomization rule is: the first block is either updated first or updated last. For instance, when , is a feasible permutation in and is also a feasible permutation, but is not feasible. After removing the first block, the rest blocks form a permutation in where is the set of all permutation of according to the Bernoulli randomization rule. In other words, we have . Thus we have an induction formula
where is the lower dimensional analog of for the rest blocks (after removing the first block).
Step 2: Applying mathematical induction. This step is almost the same as Step 2 of the proof of Lemma 2. More specifically, combining the induction hypothesis that Strang’s result Lemma 5 and (78), we obtain the desired result This finishes the proof.
Proof of Technical Results for Expected Convergence Rates
Suppose all the distinct eigenvalues of are , where . Denote According to Lemma 1, the expected update matrix of RP-ADMM has distinct eigenvalues given by
Suppose the integer satisfies . When , every ; when , every .
For , i.e., , we have , thus the two corresponding eigenvalues of are
which implies . Thus if such exists; when such does not exist, i.e., we denote which equals . In summary, we have .
For , i.e., , we have . It is easy to verify and
Denote , then if such exists; when such does not exist, i.e., , we denote which equals .
Combining the two scenarios, we have
In fact, when , we have , thus When , clearly . Thus For the second relation, if then ; if then Thus holds for any .
Substituting (79) into the expression of , we obtain the desired inequality
2 Proof of Lemma 4
This is one of the two main lemmas of proving the expected convergence rate of RP-ADMM (the other is the expected convergence rate of RP-CD).
The proof outline of Lemma 4 and the main techniques are described below. The previous proof for the expected convergence of RP-ADMM in Section 6 is not strong enough to prove a convergence rate. We have to obtain a more refined estimate of the spectral radius of . To do so, we transform the induction formula in Proposition 3 to a “dual” form: instead of , we consider a similar matrix . We then apply the two simple techniques used in the proof of Lemma 1: factorize and rearrange, and reduce the dimension by eliminating a variable from the eigenvalue equation. We obtain a somewhat complicated inequality relating and its lower-dimensional analog . Finally, we perform a detailed analysis of the inequality to prove the desired bound.
Define a sequence such that
It is easy to verify that for all . The following claim provides a bound of (the proof will be given in Section 7.2.4).
Suppose the sequence satisfies (80), then
According to this claim, to prove the desired result , we only need to prove the following result:
We prove this result by mathematical induction. When , since , we have .
Suppose the result holds for , i.e., for a problem with blocks, the eigenvalues of the corresponding matrix lie in the region .
Next, we build the induction formula, which is the dual form of the one we derived before. According to (75), we have
where in the last step we use the definitions
Sum up (85) for and applying (82), we have
To prove , we only need to prove for any ,
where is defined in (80). Define
Then .
The proof of Proposition 4 will be divided into two parts, and given in Section 7.2.2 and Section 7.2.3.
We claim that (89) follows from the induction hypothesis (90) and the expressions of and in (86). In fact, the above proposition directly proves (89) for . If we replace by respectively in the following proposition, we will obtain (89) for any . Finally, as mentioned earlier, the desired result in Lemma 2 follows immediately from (89) and (88).
In this subsection, we provide a proof of a weaker result under the conditions of Prop. 4; the proof of the desired result will be provided in the next subsection.
For simplicity, throughout this proof, we denote
According to the assumption of Prop. 4, we have
Since and is non-singular, thus . Then we have , which proves the first relation of (94). By the definition we have
where the last equality is due to the assumption , and the last inequality is due to the assumption (91). By (95) we have , thus (94) is proved.
We apply a trick that we have previously used: factorize and change the order of multiplication. To be specific, defined in (92) can be factorized as
where , in the upper left block denotes the -dimensional identity matrix, in the lower right block denotes the -dim identity matrix, and
In fact, we only need to prove . According to (96), we only need to prove This follows from and the fact Thus (98) is proved.
We simplify the expression of as follows:
Suppose is the maximal eigenvalue of . According to (101) that , we also have . To prove (99), we only need to prove
If is singular, i.e. is an eigenvalue of , then by (94) we have , which implies , thus (104) holds. In the following, we assume
since otherwise (105b) implies , which combined with (106) leads to and thus , a contradiction.
Here we have used the definition . Since is a symmetric matrix, is also a symmetric matrix.
It is well-known that if is invertible, then has an eigenvalue iff has an eigevalue , and the corresponding eigen-vectors are the same. Similarly, since we already assumed is invertible, is an eigenvalue of iff has an eigenvalue . Recall that satisfies , thus any eigenvalue satisfies . Therefore
Since , without loss of generality, we can assume . We have
Case 1: In this case, , where the first inequality is due to (111), and the second inequality is due to the induction hypothesis. Thus in Case 1 (104) holds.
Case 2: Then there exists some such that . Note that can also be expressed as , thus
If , then (104) already holds; so we can assume . Thus (112) implies , which leads to . Thus in Case 2 (104) also holds. This finishes the proof of (104).
Remark: The proof of this subsection can lead to an alternative proof of Lemma 2. In particular, the induction step (Step 2) of Section 6.2 can be replaced by the proof here. The proof presented here is more complicated and less intuitive than the one in Section 6.2 (which is just a straightforward application of Strang’s result Lemma 5, but the benefit is that it can help establish a stronger bound of , as done in the next subsection.
2.3 Step 3: More Precise Bound of λ𝜆\lambda
We will continue the proof in Section 7.2.2, to further prove
If , then we are done since . Assume from now on.
We first analyze the function . Taking the derivative of , we get
Since and , the term in the first bracket in the numerator is positive. Define
where the inequality holds due to Then we have
Therefore, is increasing in and decreasing in . This implies
According to , we have Together with (115) we obtain . Substituting into (114), we obtain
We will derive an inequality on and from the above relation as below. Substituting the expression of into the relation, we obtain
It is easy to verify that is increasing in ; in fact, for . According to (93), we have . Applying the monotonicity of , we have
which combined with (117) leads to (113). This finishes the proof of Proposition 4.
2.4 Proof of Claim 7.1
Define another sequence as . Then and , We then derive the recurrence equation of . According to (80), we have
It is easy to see that , thus
Furthermore, thus
The lower bound and upper bound on imply upper and lower bounds on :
As a side comment, this implies that For our purpose, we need a universal lower bound on . When , we have , thus , which further implies
Combining with the bound (118), we obtain
Notice that and , we have for any . This finishes the proof of the claim.
3 Proof of Lemma 3
We first prove the case , and , then prove the general case and separately.
When , (119) reduces to . Notice that since is a projection matrix, we have .
When , (119) reduces to . Note that , thus
Summing up the above inequality for all possible triples , we get
We then need to bound the left-hand-side of the above inequality. Since , we have , which implies Summing up this inequality for all pairs , we obtain . Combining with (120), we obtain the desired inequality .
The proof for illustrates partially the gist of a general proof, so we present this proof. When , (119) reduces to . Similar to (120) in the case, we first prove
To prove this inequality, we need the following two basic inequalities:
Summing up this inequality for all possible that are distinct, we obtain (121). Similar to the proof of case, we have , thus combining with (121) we obtain the desired result.
We next prove the case , where is a positive integer. We will prove that
where is the set of -permutations of (here, a -permutation is a permutation of distinct numbers chosen from ), and and denote the expectation over a uniform distribution on and respectively.
To prove (122), we need the following fact: for any , we have
This relation holds because for any positive-semidefinite matrix and any symmetric matrix , we have . Applying this fact times leads to (123).
The expression of in (123) involves terms in the form of . To prove (122), only two terms are of interest to us. The strategy is to pick ’s properly so that summing up a bunch of relations of the form (123) will eliminate all but the two desired terms. We elaborate this strategy below.
For example, when , , and the complement . As a well-known fact,
This matrix can be expressed as the sum of terms, and each term is of the form , where . For the fixed permutation , define a set
For most of the proof, we will use the abbreviation For any , define an indicator vector of as where each is determined by
In the expression of , half of the terms have coefficient and the other half have coefficient . To understand which terms have coefficient and which have coefficient , consider a special , i.e., and all other . A term with coefficient has the form or , i.e., with an indicator vector whose first element , and a term with coefficient has the form or , i.e., with an indicator vector whose first element . We can see that the coefficient is in fact . For general and , the coefficient of in is , where is defined as in (125). We can then write the expression of as
Summing up this relation for all in , we have
Note that in this expression, depend on .
For any , we have thus
We will prove: for any
We prove (130) by induction on . When , , we have:
Now consider . Since , there must exist some such that ; without loss of generality, we assume
If contains an odd number of and the last element (or ), then the first elements contain an odd (or even) number of . Thus
Split into two parts where
Denote . We already assume and , so we know
But it is possible that . Consider two cases.
Case 1: , i.e., .
Case 2: . Together with (135), we have
which enables us to apply the induction hypothesis (131) and its corollary (132). In fact,
Thus .
In both cases, we have proved , which finishes the induction step. Therefore (130) holds for any .
Next, we analyze the sum According to (127), we have
where (i) is due to (126) and (ii) is due to (129), (130). According to (123), any , thus the above relation implies the following important relation
Note that this relation holds for a fixed permutation and the corresponding set and . Each corresponds to a -permutation of determined by and each corresponds to a permutation of . We rewrite (136) as
and summing up this relation for all possible permutations leads to
In fact, for any positive-semidefinite matrix and any symmetric matrix , we have . Applying this fact times leads to (137).
Combining (122) and (137), we immediately obtain the desired result (119) for the case .
The case that is an odd number is almost the same, except that the key quantity is now defined as
In words, we pair with for and leave alone (following the same rule it would have been paired with itself). The rest of the proof is almost the same as the even case, so we skip it. Q.E.D.
Numerical Experiments
In the numerical experiments, we set , thus the unique optimal solution is . The coefficient matrix will be generated according to one of the random distributions below:
Gauss: independent Gaussian entries .
Log-normal: independent log-normal entries .
Uniform: each entry is drawn independently from a uniform distribution on $$.
Circulant Hankel: circulant Hankel matrix with independent standard Gaussian entries. More specifically, generate and let (define if ). Note that the entries of the circulant Hankel matrix are not independent since one can appear in multiple positions.
For the two ADMM algorithms, we only consider the -coordinate versions, i.e. each block consists of only one coordinate. We let the three tested algorithms start from the same random initial point (GD will start from ). To measure the performance, we define the epoch complexity to be the minimum so that the relative error
where is a desired accuracy (we consider and For high accuracy such as , it takes too many epochs for the algorithms to converge when as most matrices we generated are highly ill-conditioned, so we do not report the results. Based on the limited experiments for high accuracy, similar gaps between RP-ADMM and GD are observed. ). For the two ADMM algorithms, one epoch refers to one round of primal and dual steps; for GD, one epoch refers to one gradient step. The total computation time should be proportional to the epoch complexity since GD and the two ADMM variants have similar per-epoch costIn matlab simulations each epoch of GD takes much less time than a round of ADMM because matlab implements matrix operations much faster than a “for” loop. For a more fair CPU time comparison, one should use other programming languages such as C. : a gradient descent step contains two matrix-vector multiplications and thus takes time , and an ADMM round also takes time (the primal update step of ADMM takes time and the dual update step of ADMM takes time ). We test 1000 random instances for and random instances for , and record the geometric mean of the number of epochs. In the table, “Diverg. Ratio” represents the percentage of tested instances for which cyclic ADMM diverges and “CycADMM” represents “cyclic ADMM” (note that RP-ADMM converges in all instances we tested, so its divergence ratio is 0). Note that for cyclic ADMM we only report the epoch complexity when it converges, while for RPADMM and GD we report the epoch complexity in all tested instances. If restricting to the successful instances of cyclic ADMM, we find that the epoch complexity of RPADMM does not change too much, while the epoch complexity of GD will be reduced (significantly in some settings).
The simulation results are summarized in Table 2. The main observations from the simulation are:
For all random distributions of we tested, cyclic ADMM does not always converge even when is fixed to be . For and many random distributions, cyclic ADMM diverges with probability . This means that the divergence of cyclic ADMM is not merely a “worst-case” phenomenon, but actually quite common. When the dimension increases, the divergence ratio will increase.
For standard Gaussian entries, cyclic ADMM converges with high probability. When cyclic ADMM converges, it converges faster than RP-ADMM and sometimes much faster.
RPADMM typically converges faster than the basic gradient descent method and sometimes more than times faster.
We have also tested BR-ADMM for solving the same problems, though the simulation results are not listed in the above table. As expected, BR-ADMM also always converges for solving these linear systems. The convergence speed is usually slower than RP-ADMM. Nevertheless, BR-ADMM can save some sampling time compared to RP-ADMM, and may be more favorable if random permutation is not available due to system architecture constraint. The detailed comparison of BR-ADMM and RP-ADMM, and the design of other randomized schemes or even deterministic schemes that outperform RP schemes are left as future work.
Concluding Remarks
In this paper, we prove the expected convergence of randomly permuted ADMM (RP-ADMM) for solving a non-singular square system of equations (extension to non-square systems is straightforward). We also prove a bound on the expected convergence rate of RP-ADMM for solving linear systems and the expected convergence rate of RP-BCD for solving quadratic problems. The motivation is to resolve the divergence issue of cyclic multi-block ADMM. Our result shows that RP-ADMM may serve as a simple remedy, and we expect RP-ADMM to be one of the important solvers in large-scale optimization. One interesting finding along the path is that the update matrix of RP-BCD has spectrum lying in instead of the commonly seen .
Randomly permutation is widely known to be empirically better than independently randomized versions, but little was known about its theoretical properties in general. Note that most existing analyses of BCD (e.g. ) are applicable to both the cyclic update rule and the random permutation update rule. However, in light of a recent study which established an up to gap between cyclic CD and R-CD , it is unlikely that RP-CD will have the same rate as cyclic CD. Our result in this paper established, for the first time, an gap between RP-CD and cyclic-CD for general quadratic problems, making some progress towards the conjecture that RP-CD is faster than R-CD.
We emphasize that the convergence speed analysis of large-scale optimization has mostly been limited to independently randomized update order in the past decade. Going beyond independent randomized order is an important topic for enlarging the scope of large-scale optimization. Not only the analysis of random permutation is quite challenging, even the analysis of the most classical cyclic order is highly nontrivial . There are quite a few open questions regarding the convergence rate of non-independent-randomized order. Regarding the random permutation order, a very interesting open question is the worst-case convergence rate of RP-BCD for quadratic problems. Due to the close relation with matrix AM-GM inequality, this problem seems to be a quite fundamental problem. Moving to ADMM, the similar questions about the convergence rate of various variants of ADMM, including RP-ADMM and BR-ADMM, are also open.
Acknowledgment
We thank an anonymous reviewer for many helpful comments on the manuscript, which enabled us to improve the presentation of the paper.