How is Distributed ADMM Affected by Network Topology?
Guilherme França, José Bento
I Introduction
Optimization methods are at the core of statistics and machine learning. In this current age of ever-larger datasets, traditional in-memory methods do not scale, so distributed algorithms play a fundamental role. The Alternating Direction Method of Multipliers (ADMM) is one such excellent example since it is extremely robust, for instance does not assume differentiability of the objective function, it is often easy to implement, and easily distributed Boyd . Moreover, ADMM attains global linear convergence for separable and convex functions Hong2017 , and is guaranteed to converge even for several non-convex problems Wang , and empirically for many others Bento1 ; Bento2 ; Tom . Nevertheless, its convergence rate is still, in general, not fully understood. Most existing results only provide upper bounds on its asymptotic convergence rate without tightness guarantees. For more precise results, strong-convexity is usually assumed, even in centralized settings FrancaBento ; Jordan ; giselsson2017linear ; Deng2016 . Among practitioners ADMM also has a fame of being hard to tune.
In this paper we analyze how the exact and optimally tuned asymptotic convergence rate of a distributed implementation of over-relaxed ADMM depends on the topology of an underlying network. Through this network, several agents solving local problems share messages to one another with the common goal of solving a large optimization problem. One of our motivations is to understand, in a quantitative way, if ADMM is more or less sensitive to the network topology than distributed Gradient Descent (GD). We focus on a non-strongly-convex quadratic consensus problem not previously analyzed under ADMM.
Our goal is to provide a precise answer on how the convergence rate of ADMM when solving problem (1) depends on properties of . We also want to compare the convergence rate of ADMM with the convergence rate of GD when solving the same consensus problem.
The optimization problem (1) is deceptively simple, having the trivial solution if and belong to the same connected component of . However, it is not immediately obvious to which of these infinitely many possible solutions a given distributed algorithm will converge to. Different agents of the distributed implementation have to communicate to agree on the final solution, and the speed at which they reach consensus is a non-trivial problem. For instance, if we solve (1) through ADMM we have one agent per term of the objective function, and each agent has local copies of all the variables involved. The final solution is a vector where each component equals the average of the initial values of these local variables. Therefore, unsuspectingly, we have solved a distributed-average consensus problem, although in different form than typically studied, see e.g. erseghe2011fast ; Ghadimi2014averaging . Moreover, the objective function (1) naturally appears in several interesting problems. A classical example is the graph interpolation problem zhu2003semi , where one solves (1) subject to for where and is a fixed constant. The final solution has values on each node of such that the nodes in have the pre-assigned values, and the remaining nodes in have values close to the values of their neighboring nodes depending on the topology of . Our analysis of ADMM to (1) may provide insights into other problems such as graph interpolation. Furthermore, it can give insights on how one can optimally split a decomposable objective function for a given optimization problem.
Let us formalize our problem. Define the asymptotic convergence rate, , of an algorithm by
where is the iteration time, and is a minimizer of (1) that the iterate converges to. Denote and be the convergence rates of ADMM and GD, respectively. We want to obtain the dependence and , and also be able to compare the optimal rates, and , when the parameters of both algorithms are optimally chosen.
The present work is motivated by an interesting idea recently proposed in FrancaBentoMarkov , which relates distributed ADMM to lifted Markov chains. It was shown that (i) ADMM is related to a quasi-Markov chain , (ii) GD is related to a Markov chain , and (iii) is a lifting of . In general, a lifted Markov chain is obtained from the base Markov chain by expanding its state space in such a way that it is possible to collapse into and into , where and are the respective stationary distributions (see chen1999lifting for details). The hope is that if is slow mixing one can sample from by collapsing samples from , where mixes faster than . A measure of the time required for to reach stationarity is given by the mixing time, denoted by . For many useful cases, the mixing time of the lifted chain, , is smaller than . However, the achievable speedup is limited. For example, if is irreducible then for some constant , and there are several cases that actually achieve the lower bound, . The gain can be marginal if both and are reversible, where one has . Furthermore, for some graphs, for example graphs with low conductance, lifting never produces a significant speedup.
In FrancaBentoMarkov the quantity plays the role of , while plays the role of . Based on the lifting relations between ADMM and GD, and the many cases where , it was conjectured that
for some constant . Above, denotes the optimal convergence rate, attained under optimal parameter selection. It is important that both algorithms are optimally tuned since a poorly tuned ADMM can be slower than a well-tuned GD. The inequality (3) was supported by empirical evidence but its proof remains lacking. As pointed out FrancaBentoMarkov , the inequality (3) is much stronger than the analogous relation in lifted Markov chains theory. The claim is that it holds for any graph , even the ones whose Markov chains do not accelerate via lifting.
The rest of the paper is organized as follows. In Section II we mention related work and point out the differences and novelty in our approach. In Section III we introduce important notation and concepts by explicitly writing distributed over-relaxed ADMM as a message passing algorithm. We then present our main contributions, which in short are: (i) in Section IV, we prove a relation between the spectrum of a nonsymmetric matrix related to the evolution of ADMM and the spectrum of the transition matrix of a random walk on . This relates ADMM to random walks on , capturing the topology of the graph. (ii) We also prove explicit formulas for optimal parameter selection, yielding interesting relations to the second largest eigenvalue of the transition matrix of the graph and the spectral gap. (iii) In Section V, we resolve the conjectured inequality (3), and moreover, provide an upper bound. The proofs of our main results are in the Appendix.
II Related Work
Although problem (1) is simple our results cannot be directly derived from any of the many existing results on the convergence of ADMM. First of all, we compute the exact asymptotic convergence rate when distributed ADMM is optimally tuned, while the majority of previous works only compute non-optimal upper bounds for the global convergence rate. Second, our convergence rate is linear, and most works able to prove tight linear convergence assume strong convexity of at least some of the functions in the objective; see for instance shi2014linear ; giselsson2014diagonal ; giselsson2017linear ; Deng2016 . It is unclear if we can cast our non-strongly-convex problem in their form and recover our results from their bounds, given especially that most of these results are not simple or explicit enough for our purposes. These bounds often have a complex dependency on problem’s parameters, but can be numerically optimized as suggested by giselsson2014diagonal ; giselsson2017linear . It is also unknown if these numerical procedures lead to optimal rates of convergence. Linear convergence rates were proven without strong convexity Hong2017 , but these bounds are too general and not tight enough for our purposes. Moreover, many results not requiring strong convexity focus on the convergence rate of the objective function, as opposed to this paper which studies the convergence rate of the variables; see for example davis2014convergence ; davis2017faster .
In erseghe2011fast ; Ghadimi2014averaging ADMM is applied to the consensus problem , subject to if , where are constants. This problem, which is related to several optimization-based distributed averaging algorithms, is strongly-convex and not equivalent to (1). Several papers consider with ADMM updates that are insensitive to whether or not depends on a subset of the components of ; see wei2012distributed ; ling2015dlm ; makhdoumi2014broadcast ; makhdoumi2017convergence ; ling2016communication and references therein. In our setting, distributed ADMM is a message-passing algorithm where the messages between agents and are related only to the variables shared by functions and . Thus, our implementation is fully local, and not only the processing but also the data is distributed. These papers solve over a communication network by recasting the problem as subject to if are edges in the network. Slight variations of this transformation and the definition of the communication network exist. Several of these works try to understand how topology of the network affects convergence, for instance ling2015dlm ; makhdoumi2014broadcast ; makhdoumi2017convergence ; ling2016communication . The results of makhdoumi2014broadcast ; makhdoumi2017convergence are applicable to non-strongly-convex objectives but linear convergence rates are not proven. An interesting adaptive ADMM for a general convex consensus problem was recently proposed TomConsensus , with a sublinear convergence guarantee. However, no dependence on the underlying graph was considered. It is important to note that, even for GD, the dependency of the convergence rate on for variants of problem (1) have only being studied in the past decade olfati2004consensus ; tron2008distributed ; tron2013riemannian .
For quadratic problems there are explicit results on convergence rate and optimal parameters teixeira2013optimal ; ghadimi2015optimal ; iutzeler2014linear ; iutzeler2016explicit . However, the required assumptions do not hold for the distributed consensus problem considered in this paper. Moreover, there are very few results comparing the optimal convergence rate of ADMM as a function of the optimal convergence rate of GD. An explicit comparison is provided in FrancaBento , but assumes strong convexity and considers a centralized setting. The authors in mokhtari2015decentralized study a variant of the ADMM where the iterations deal with the second order expansion of the objective, and strong-convexity is assumed. In raghunathan2014optimal ; raghunathan2014admm bounds on the convergence rate were proven, which are subsequently tuned for ADMM applied to a quadratic program of the kind subject to , and also assume strong convexity. The work boley2013local focuses on quadratic programs that are not necessarily strongly-convex. To the best of our knowledge, this is the only work that, just like we do here, analyzes ADMM for quadratic problems in a setting where the important eigenvalues of the transition matrix might be complex numbers. However, no optimal bounds explicitly dependent on are provided. The authors of han2013local also study ADMM for quadratic programs that might not be strongly-convex. They define their error rate in a different way compared to us, and it is not clear if they are comparable. Also, their bounds are generic and are not optimally tuned.
The problem of determining optimal rates of convergence is related to optimal parameter selection. Apart from the tuning rules mentioned above, several adaptive schemes exist, and some of these come with convergence guarantees he2000alternating ; Boyd ; xu2016adaptive ; xu2017adaptive . However, these are designed for very general problems and do not recover our results. We consider ADMM’s parameters fixed across iterations.
Our work makes connections between ADMM, GD, and Markov chains. In particular, lifted Markov chains were previously employed to speedup convergence of distributed averaging and gossip algorithms jung2007fast ; li2010location ; jung2010distributed , but these algorithms are not related to ADMM. Finally, the present work is highly motivated by FrancaBentoMarkov where a close relation between ADMM and lifted Markov chains was proposed. The main outcome was conjecture (3), which is inspired by the speedup on the mixing time of several lifted Markov chains. This inequality will be proven in this paper as a consequence of our main analysis.
III Distributed ADMM as a Message Passing Algorithm
Let us start by introducing the factor graph associated to the base graph of problem (1). The factor graph is a bipartite and undirected graph, where the edges in can only connect vertices in to vertices in . The th vertex in is the th term in the objective (1). In other words, we have a function vertex for every edge in . Vertices in are called function nodes. The th vertex in is the th component of . We have a variable vertex per dimension of . Vertices in are called variable nodes. The edges in are of the form . The crucial point in defining is that the edge is present in if and only if depends on the component of . To simplify the notation, sometimes we interchangeably refer to vertices and edges only by their labels, thus we might write with and . Therefore, and . We refer to Fig. 1 for an illustration.
where is a block diagonal matrix with blocks in the form , and adding the constraint
The idea is that the ADMM can exploit this decoupled objective function and solve problem (1) in a distributed manner, by coordinating local messages that are computed only based on each .
Above, is the over-relaxed parameter, is the penalty parameter, and is the iteration time. One can check that (7) is consistent with the standard non-distributed over-relaxed ADMM updates Boyd . We can see the above updates as a message passing algorithm as illustrated in Fig. 1b. The only messages shared through the network are and , and every node keeps and updates a copy of the components of corresponding to edges incident on itself. All the updates only require local information. This scheme is on the same lines as the one proposed in Bento1 ; Bento2 .
Replacing the decoupled objective (5) explicitly into the updates (7), and introducing the variable , the above scheme can be written in the following matrix form:
where is defined in (4) and we have introduced the operators
Note that is symmetric and moreover , thus it is an orthogonal projection operator. Its orthogonal complement is denoted by , satisfying .
Although the updates (8) have a total of dimensions, a result from FrancaBentoMarkov shows that these can be reduced to the following linear system in only dimensions:
where all the other variables in (8) depend only on .
We are interested in computing the convergence rate defined in (2). A straightforward adaptation of standard results from Markov chain theory gives us the following.
Consider the linear system , and let be a fixed point. If the spectral radius is and it is attained by the eigenvalue with multiplicity one, then converges to and satisfies , where is the second largest eigenvalue of in absolute value (the largest is ).
Since in (10) is nonsymmetric, its eigenvalues can be complex. We thus order them by magnitude:
When the order of a particular eigenvalue is not important, we drop the index and simply write .
Notice that the optimization problem (1) is convex and has solution for any constant , which spans a linear space of dimension one. It is straightforward to check that is unique (with eigenvector being the all-ones vector) and every other eigenvalue satisfies , for . Due to Theorem 1, the asymptotic convergence rate of ADMM is thus determined by the second largest eigenvalue .
IV Computing the Spectrum of ADMM
As explained above, our problem boils down to finding the spectrum of . First, we write this operator in a more convenient form (the proof can be found in Appendix A).
The matrix defined in (10) can be written as
with , , and . In particular, is orthogonal, i.e. , and the other symmetric matrices satisfy and .
Notice that the spectrum of can be easily determined once we know the spectrum of . In particular, if then is orthogonal and its eigenvalues lie on the unit circle in the complex plane. Thus, we may expect that for sufficiently small, the eigenvalues of lie in a perturbation of this circle. It turns out that, in general, the eigenvalues of either lie on a circle in the complex plane, with center at and radius , or on the real line. Furthermore, by exploring properties of the matrices of Lemma 2 we can calculate the spectrum of exactly for any in terms of the spectrum of the original graph . This is one of our main results, whose proof is in Appendix B.
Let be the probability transition matrix of a random walk on the graph , where is the degree matrix and the adjacency matrix. For each eigenvalue , the matrix in (12) has a pair of eigenvalues given by
Conversely, any eigenvalue is of the form (13) for some .
In general, the eigenvalues of are complex. However, always has the largest eigenvalue , which can also be obtained from (13) if we replace and pick the negative sign in (13). Another important real eigenvalue is the following (see Appendix C).
The matrix has eigenvalue if and only if the graph has a cycle of even length.
In the results to follow we assume that has the eigenvalue since this encloses the most interesting cases. We can still carry out the analysis when this is not the case, however we omit these results for conciseness and simplicity.
Henceforth, we always assume that has at least one cycle of even length. Observe that, for many families of randomly generated graphs, this occurs with overwhelming probability. Consider sampling from an Erdös-Rényi model with vertices and edge probability . There are ways of choosing vertices, and the probability that each set of nodes forms a cycle is at least . Therefore, the probability that there will be no -cycle in is upper bounded by which is extremely small.
A few observations about are in order. It is known that the eigenvalues of are in the range . The second largest eigenvalue of , denoted by , and the corresponding eigenvalue of from formula (13), play an important role in computing the optimal convergence rate . Moreover, the second largest eigenvalue is related to the mixing time of the Markov chain associated to , and also to the conductance of the graph by the Cheeger bound Cheeger :
The conductance tells us whether or not has bottlenecks, and higher implies a fast mixing chain lovasz1999faster . The conductance of is defined by
where is the degree of node and is cut-value induced by , i.e. the number of edges that cross from to .
In the context of FrancaBentoMarkov , which motivated this paper, the most interesting cases are Markov chains that have low conductance and are known to not speedup via lifting. Therefore, we will present our results for graphs where the second largest eigenvalue of the transition matrix lies in the range , which is implied by .
We now discuss the behaviour of the eigenvalues of . From the formula (13) we just need to analyse the complex eigenvalues of the operator , defined in (12), which are given by . Therefore, lies on a circle of radius , and each eigenvalue becomes real when . All eigenvalues become real when . When the circle has unit radius, and as increases the radius of the circle shrinks. Note that only the imaginary part of changes with , so every complex conjugate pair of eigenvalues move vertically downwards until they fall on the real line, one moving to the left and the other to the right. We illustrate this behaviour in Fig. 2 where we show the corresponding eigenvalues of . The eigenvalues marked in red move on the vertical dashed line as we increase . Notice also from (13) that as all eigenvalues tend to either or .
To tune ADMM we need to minimize the second largest, in absolute value, eigenvalue of . The minimum will come from either the conjugate pairs in (13) with , marked in red in Fig. 2, or from the real eigenvalue of Lemma 4, marked in green in Fig. 2. We can keep increasing to make the radius of the circle the smallest possible, which happens when these complex eigenvalues have vanishing imaginary part. This determines the best parameter . Now we can fix by making the same size as the norm of the previous complex conjugate eigenvalues. Using these ideas we obtain our next result, whose proof is contained in Appendix C.
Assume that the graph has at least one cycle of even length, and conductance . Let be the transition matrix of a random walk on , and denote its second largest eigenvalue by . Let be the second largest, in absolute value, eigenvalue of . The best possible convergence rate of ADMM is thus given by
The above theorem provides optimal parameter selection for over-relaxed ADMM in terms of the second largest eigenvalue of the transition matrix, which captures the topology of . Recall that is also related to the well-known spectral gap.
We can still solve the analogous of Theorem 5 when the graph does not have even length cycles, or has high conductance. However, this does not introduces new insights and slightly complicates the analysis. To be concrete, we just state one of such cases below.
Consider a case where does not have a cycle of even length, for example when is a tree, thus does not exist. The most interesting case is for slow mixing chains, , and analogously to Theorem 5 we obtain the following result.
Assume that the graph has no cycles of even length, and has conductance . Let be the transition matrix of a random walk on . Denote the second largest eigenvalue of the transition matrix by , and its smallest eigenvalue different than . Assume that . Let be the second largest, in absolute value, eigenvalue of . The best possible convergence rate of ADMM is given by
Notice that if we replace in the above formulas we recover the results from Theorem 5. Furthermore, a straightforward calculation shows that the rate (16) is always an upper bound for the rate (18). In fact, we can show that (16) is always an upper bound for regardless of the topology of . We omit these results for simplicity, as well as a proof of Theorem 6 since it is analogous to the proof of Theorem 5.
IV.2 Numerical examples
We provide some numerical experiments illustrating our theoretical results by considering the graphs shown in Table 1. The second largest eigenvalue of the transition matrix, , is determined by the graph. The conductance is computed by direct inspection of and (15). The other quantities are computed from our theoretical predictions, e.g. Theorem 5 and Theorem 6. For each graph, in Fig. 3 we show the corresponding convergence rates from a numerical computation of the second largest eigenvalue of , denoted by . We fix several values of and plot versus . The solid blue lines in the plots correspond to our theoretical prediction for the optimal convergence rate , whose values are in Table 1. The red lines show the convergence rate as function of for optimal from a numerical computation. Both curves touch under optimal parameter tuning, confirming our theoretical predictions. The remaining curves show suboptimal rates.
For the graphs in (a) and (b) of Table 1 the assumptions of Theorem 5 hold, thus we can find optimal parameters through the formulas (16) and (17), whose values are indicated. In Fig. 3a and Fig. 3b we can see that the optimal numerical rates (red lines) match the prediction of formula (16) (blue lines). We also included two other curves using the values and to show that the rates becomes suboptimal if .
For the graph in (c) the assumptions of Theorem 5 do not hold since the conductance . A similar analysis as of Theorem 5 shows that, for all graphs with even cycles and high conductance we have , and , which are the values indicated in Table 1. We omit this proof for simplicity of presentation. In Fig. 3c we show that a numerical calculation matches this prediction (blue and red lines). The curves with and give suboptimal rates. A misapplication of Theorem 5 gives , and , which still gives an upper bound on the optimal . Using the value of to numerically compute yields the curve shown in dashed line.
Theorem 6 holds to the case of the graph in item (d), whose predictions are shown in Table 1. These agree with the numerical results shown in Fig. 3d. A misapplication of Theorem 5 yields , and , which still upper bounds . Using to compute yields the suboptimal rate shown in dashed line.
V Comparison with Gradient Descent
We now compare the optimal convergence rates of distributed ADMM and GD, denoted by and , respectively. Let us first recall that the convergence rate of GD is related to eigenvalues of the graph Laplacian. We can write the objective function (1) explicitly as
where is the neighboring set of node , and is its degree. Using the component form of GD update, , and noticing that the last term of (20) does not contribute since , we obtain z_{k}^{t+1}=z_{k}^{t}-\alpha\big{(}d_{k}z_{k}^{t}-\sum_{j\in N_{k}}z_{j}^{t}\big{)}. Notice also that , where is the adjacency matrix of . Therefore, writing this result in matrix form we have
where is the Laplacian of . Since the eigenvalues of are real, we assume the following ordering:
To relate this result with the transition matrix , note that , where is the normalized Laplacian of . Thus, both operators have the same eigenvalues, which are all real. We now use the following bounds (zumstein2005comparison, , Lemmas 2.12 and 2.21):
Assume that the graph has an even length cycle and , such that Theorem 5 holds. Then, there is C=1-\mathcal{O}\big{(}\sqrt{\delta}\big{)} such that
where is the ratio of the maximum to the minimum degree of . Here is the spectral gap.
The lower bound in (24) provides a proof of conjecture (3), proposed in FrancaBentoMarkov . Notice that the upper bound in (24) implies that ADMM cannot improve much more than this square root factor. However, this upper bound becomes more loose for very irregular graphs, which have , compared to regular graphs, which have . Moreover, as briefly mentioned before, since Theorem 5 provides an upper bound on regardless of the topology of , the lower bound in (24) still remains valid for any graph. Numerical results illustrating the lower bound in (24) were already provided in FrancaBentoMarkov .
VI Final Remarks
We provided a thorough analysis of distributed over-relaxed ADMM when solving the non-strongly-convex consensus problem (1) in terms of spectral properties of the underlying graph ; see Theorem 3. The exact asymptotic convergence rate of ADMM depends on the second largest eigenvalue of the transition matrix of . This result directly relates distributed ADMM to a Markov chain. We also provided explicit formulas for optimal parameter selection; see Theorem 5 and Theorem 6. Comparing the optimal convergence rates of distributed ADMM and GD, we were able to prove a recent conjecture based on a close analogy with lifted Markov chains FrancaBentoMarkov . We showed that, for problem (1) over any graph , when both algorithms are optimally tuned, distributed ADMM always provides a speedup given by a square root factor compared to GD; see Theorem 7.
We believe that our results and methods may shed a new light into distributed optimization, in particular for ADMM. For instance, it provides the first steps towards a better understanding of how distributed ADMM behaves when splitting a decomposable objective function. It would be certainly desirable, and interesting, to extend our analysis to more general settings. We hope the results presented here motivate future research in this direction.
Appendix A Proof of Lemma 2
We repeat, then prove, the statement of Lemma 2 in the main text below.
The matrix defined in (10) can be written as
with , , and . In particular, is orthogonal, i.e. , and the other symmetric matrices satisfy and .
Due to the block diagonal structure of , the matrix in (9) can be written as
Write , where is block diagonal with each block in the form for . We therefore have
Replacing this expression into (10) it is possible to reorganize the terms in the form (12). ∎
Appendix B Proof of Theorem 3
We first present several intermediate results that will be necessary to establish Theorem 3 from the main text.
Let be a nonsingular matrix, and let for some constant . If is an eigenvalue of , then has at least one of the following eigenvalues:
Conversely, every eigenvalue of has the form (28) for either , or both, for some eigenvalue of .
We have if and only if is an eigenvalue of . From the definition of we can this write as
Since by assumption, at least one of the other determinants must vanish, showing that either or (or both) are eigenvalues of .
For the second part, consider the eigenvalue equation . It follows that , thus for every eigenvalue we have that is an eigenvalue of , or equivalently, satisfy the quadratic equation for some eigenvalue of . The roots of this equation are given by (28), thus must be equal to at least one of these roots. ∎
where is orthogonal, , and the symmetric operators and both satisfy and . The inverse of is given by
We also have the following relation for the symmetric part of :
This can be checked by direct substitution. ∎
The eigenvalues of are in the range $$.
This follows trivially from (32) and orthogonality of . The eigenvalues of have the form for . Since , we have . ∎
From Lemma 9 and Lemma 10 we immediately know that all eigenvalues of (30) have the form (28) with and , for either or . Now if we exclude the extremes of the interval where lie, according to Lemma 11, we have a stronger version of this result.
If is an eigenvalue of , then the operator (30) has a pair of eigenvalues given by
Lemma 9 already implies that have eigenvalues (33) for at least one of the choices . It remains to show that both occur if . First, consider the case where . We have , and since , both are a complex conjugate pair. Since is real, its complex eigenvalues always occur in conjugate pairs, thus both are eigenvalues of .
For small enough the eigenvalues in (33) are also complex, so both must be eigenvalues of . Therefore, for small enough , the characteristic polynomial of has a factor of the form
Now is a polynomial in both and , and since a polynomial is uniquely determined by its coefficients, the same factors in (34) will be present in the characteristic polynomial of for any , implying that both are eigenvalues of for any . ∎
We will show that, if we restrict ourselves to the interval , the eigenvalues of are the same as the eigenvalues of the transition matrix of the original graph . This establishes the connection with the graph topology. However, we first need several intermediate results. We recall that and are defined by
where is a row stochastic matrix defined in (4), and the blocks of have the form . Also, is the degree matrix of . Moreover, and .
If is an eigenvalue of the transition matrix , then is also an eigenvalue of the operator . Conversely, if is an eigenvalue of , then is also an eigenvalue of .
The matrix defined in (4) has independent columns, therefore its left pseudo-inverse is , where is the degree matrix of . Note that , and also that the adjacency matrix of is given by . Hence , and we obtain the identity
Consider the eigenvalue equation , where . Acting with (36) on we have . Since the columns of are independent we have that , therefore is also an eigenvalue of .
Consider the eigenvalue equation , where and . Since is invertible, . Now is a projection onto the columns of , thus we also have . Multiplying (36) by on the left we conclude that , and is also an eigenvalue of . ∎
We have that is an eigenvalue of if and only if it is an eigenvalue of .
We claim, and later prove, the following two facts:
is an eigenvalue of if and only if it is an eigenvalue of .
is an eigenvalue of if and only if it is an eigenvalue of .
We first prove that if is an eigenvalue of , then is also an eigenvalue of . From (32), and recalling that and , we can write
where and are projectors onto orthogonal subspaces. From (37) and using the identity , the eigenvalue equation (where ) is equivalent to
Since , either or (or both). Thus, if is an eigenvalue of , then is an eigenvalue of or an eigenvalue of (or both). Assuming , by the fact 2 above the operators and have the same eigenvalues. Therefore, if is an eigenvalue of , then it is also an eigenvalue of , and by fact 1 it is also an eigenvalue of .
Now we prove the reverse. If is an eigenvalue of , then by fact 1 it is also an eigenvalue of , i.e. for some . Acting on this equality with on both sides we conclude that . Hence, using (37) and we obtain , i.e. is an eigenvalue of .
The above two paragraphs proves the claim, now we finally finally show that the above two facts hold.
Let be such that for some . Dividing this expression by we conclude that is in the range of . Since is an orthogonal projection, . The same argument holds if is an eigenvalue of . Therefore, , as claimed.
Proof of Fact 2.
We first argue that if is an eigenvalue of , then is an eigenvalue of . The argument for the other direction is the same with and switched. Let for some . Since , we have that . Let . We show that is an eigenvector of with eigenvalue . We have . In addition, . The eigenvalues of are , thus is non singular and it follows that . ∎
The transition matrix is singular if and only if the operator is singular.
From the proof of Lemma 13 we know that . Suppose is singular, i.e. there is such that . Since the columns of are independent and is invertible, , and therefore . Using (32) we can write , and noticing that and , we obtain , implying that is also singular.
Suppose is singular, i.e. there is such that . From (37) and noticing that and project onto orthogonal subspaces we have
Consider two separate cases. First, if then , and from equation (39) we have , or where . Therefore, showing that is singular, where we have used and if and only if . Second, suppose , and let . From the first equation in (39) we have , but since has independent columns we must have , which shows that is singular. ∎
We have that is an eigenvalue of the transition matrix if and only if it is an eigenvalue of the symmetric operator .
Combining Lemma 13 and Lemma 14 it follows that is an eigenvalue of if and only if it is an eigenvalue of . By Lemma 15 we can extend this to . Finally, and always have an eigenvalue with eigenvector being the all-ones vector. ∎
Finally, we are ready to show one of our main results, which relates the spectrum of ADMM to the spectrum of random walks on . We first repeat the statement of Theorem 3 in the main text for convenience.
Let be the probability transition matrix of a random walk on the graph , where is the degree matrix and the adjacency matrix. For each eigenvalue the matrix in (12) has a pair of eigenvalues given by
Conversely, any eigenvalue is of the form (40) for some .
The first part is an immediate consequence of Corollary 12 and Lemma 16. The second part is a consequence of Lemma 9. ∎
Appendix C Proof of Theorem 5
To establish Theorem 5, which involves graphs with even length cycles and low conductance, several intermediate results will be needed.
The operator , defined in (30), and also the symmetric operator are diagonalizable. Moreover, and commute and have a common eigenbasis.
It is obvious that is diagonalizable since it is symmetric and real. Let be a decomposition in terms of a Jordan canonical form , where is the Jordan block associated to eigenvalue . From Lemma 10 we have . For every Jordan block there is a corresponding Jordan block of the same dimension in with corresponding eigenvalue . Therefore, we can decompose , where is in Jordan form and has the same set of Jordan-block-dimensions as , except that the diagonal values are different. To mention an example, consider
Thus, we can write . The Jordan form of a matrix is unique, and is diagonalizable, therefore, all blocks in must have dimension , and so does , which means that is diagonalizable.
It is obvious that and commute due to (32). Two diagonalizable matrices that commute can be simultaneous diagonalizable, thus they share a common eigenbasis. ∎
If is an eigenvalue of with corresponding eigenvector , then
if , then is also an eigenvector of and of with eigenvalue , i.e. and .
if , then is also an eigenvector of with eigenvalue and of with eigenvalue , i.e. and .
Let where and . From (37) we have
Assuming we have , which shows that is an eigenvector of with eigenvalue . Taking the norm on each side of this equation and using implies
Since is a projection operator, if is not in the span of then we must have , where the last inequality follows by using . However, this contradicts (42). Therefore, must be in the span of and as a consequence , where we used the first equation in (41). This shows that is an eigenvector of with eigenvalue and completes the proof of the first claim.
The proof of the second claim is analogous. Assuming we obtain , where in the last passage we used the second equation in (41). This shows that is an eigenvector of with eigenvalue . Taking the norm of this last equality yields
Assuming that is not in the span of we conclude that , which contradicts (43). Therefore, we must have , where we used (41). This shows that is an eigenvector of with eigenvalue . ∎
If is an eigenvector of with eigenvalue , then the graph does not have odd-length cycles. If is an eigenvector of with eigenvalue , then the graph has cycles.
Let us consider the first statement. From the eigenvalues and eigenvectors of , for every pair of edges incident on a given function node we have
for some constant . Now , thus for every set of edges incident on a variable node we have
where is a constant. Since the graph , and consequently its corresponding factor graph , is connected, we must have
Now assume that has an odd cycle. This cycle must traverses an odd number of variable nodes , but each pair of edges incident on must have the same absolute value and opposite signs due to (44), while each pair of edges incident on a variable node must have equal signs due to (45). This implies that and for some , whose solution is . From (45) this implies that for all we have , which in turn by (46) implies that for all incident upon these edges , , and so forth. This yields , which contradicts our assumption. Therefore, cannot have odd-length cycles. See Fig. 4a for an example.
Now we consider the second statement. Assume that has no cycles, since and are connected, both must be trees. Notice that implies that for every pair of edges incident on we have
On the other hand , which requires that for every set of edges incident on we have
The tree must have leaf nodes which are variable nodes because all function nodes have degree and thus cannot be leaves. Consider a leaf node which must have only one incident edge for some . Due to (48), we must have . Denote the other edge incident on by for some . By (47) we also have . This implies that the components of incident on will also vanish. Since the graph is connected, and propagating this argument for all nodes of the graph, we get , which contradicts the assumption. Therefore, must have a cycle. See Fig. 4b for an example. ∎
for some normalized eigenvector of with corresponding eigenvalue . Here denotes the conjugate transpose of .
Since by assumption and are differentiable at , they are well defined in a neighborhood of , and therefore the following right- and left-eigenvalue equations hold in such a neighborhood:
where is some normalized eigenvector, i.e. , and
where is some normalized eigenvector, i.e. . Note that for each these equations might hold for infinitely many and . We do not commit to any particular choice yet, but later we will make a specific choice for certain values of .
Define , , and . From (50) we have
Multiplying this equation on the left by and using (51) we obtain
Let be a sequence that converges to . For each fix a vector for the corresponding out of the potential infinitely many that might satisfy (50). From we know that is bounded. Therefore, there is a subsequence such that converges to some limit vector , which is also normalized. At this point we define . From (50) and the continuity of and at , we know that satisfies , i.e. is an eigenvector of with eigenvalue . Since is orthonormal, its left and right eigenvectors are equal. Therefore, we also choose .
Dividing (53) by we can write
Taking the limit as and using differentiability of and at the origin, and also the fact that , we finally obtain (49). ∎
If the graph does not have even length cycles, either , defined in (32), does not have eigenvalue , or is not an eigenvalue of , defined in (30).
From Lemmas 9 and 10 we know that all eigenvalues of must have the form (33) for one of the sign choices and some eigenvalue of . Since, by Lemma 11, we have , the only way to obtain the eigenvalue from (33) is with and a plus sign, which we denote by . From Lemma 18 we also know that and are both diagonalizable and commute, therefore, using a common eigenbasis, any eigenvector of with eigenvalue must also be an eigenvector of with eigenvalue .
Henceforth, assume that does not have even length cycles. Moreover, assume that the following two eigenvalue equations hold:
where is any normalized common eigenvector of and , with respective eigenvalues and , and it does not depend on . We will show that these assumptions lead to a contradiction, which proves the claim.
If (55) holds, then , and by Lemma 21 we must have for some normalized eigenvector of with eigenvalue . Now (55) is valid for , i.e. for any eigenvector with eigenvalue , therefore it is also valid for the vector . Thus, let us choose . Using we have
Note that , since and . Here is the Euclidean norm for complex vectors. Moreover, is a symmetric (and thus Hermitian) positive semidefinite matrix, which means that is real and non-negative for any non-zero complex vector . We thus have , and analogously . From these facts and (56) we conclude that , which is equivalent to . Furthermore, this immediately gives . Now, from the second item in Lemma 19 we have that , and upon using Lemma 20 we conclude that must have cycles.
To summarize, by assuming (55) we concluded that for we have
and that , and thus also , has cycles. The first eigenvalue equation in (57) requires that pairs of edges incident in every function node obey
while the second equation in (57) requires that all edges incident on variable nodes add up to zero,
We now construct a path while obeying equations (57). This obviously induces a path on the associated factor graph . The edges of assume the values of the components of , and we require that all edges in are nonzero. First, note that (58) imply that incoming and outgoing edges of a function node must have the same value, thus if one edge is nonzero it assures that the other edge is also nonzero. This means that cannot end on a function node. Therefore, we can remove function nodes altogether from the picture and just think about edges and variable nodes from the base graph . In this case, the only difference compared to is that every edge in will be duplicated in . Let us construct demanding that it has only nonzero and non-repeating edges, and when we encounter a node which has an incident nonzero edge we must move through this node. Furthermore, all the other edges which are not part of are set to zero. Since there exists at least one component over some edge . We start on and move to . Because of (59) the node cannot be a leaf node, since this would require . Therefore, there exist another edge with value . We thus move from to , which again requires that over we have , and so on. See Fig. 5 for an illustration. Following this procedure, every edge in has a nonzero value, thus cannot end on any node, which implies that it must be a cycle. Since all the edges in have the same value but alternating signs, , there must be an even number of nodes in , otherwise we would have . Therefore, we conclude that must be an even length cycle, which contradicts our original assumption. This means that if does not have even length cycles, both equations (55) cannot simultaneously hold. ∎
If the graph has an even length cycle, then the operator has eigenvalue , and correspondingly is an eigenvalue of .
We explicitly constructed such that and . This last equation immediately implies that . From (37) we have , therefore . From (30) we have , hence , as claimed. ∎
We are now ready to prove Lemma 4 from the main text, which is restated for convenience.
The matrix has eigenvalue if and only if the graph has a cycle of even length.
We know from Lemma 8 that has eigenvalue if and only if has eigenvalue . In addition, from Lemma 9, for to have eigenvalue it must be that has eigenvalue . With this in mind the remainder of the proof follows directly from Lemma 22 and Lemma 23. ∎
Finally, we show another important result from the main text, Theorem 5, which provides optimal parameter tuning for ADMM when the graph has even length cycles and low conductance. The formulas for the parameters depend explicitly on the second largest eigenvalue of the transition matrix . We first restate the theorem for convenience.
Assume that the graph has at least one cycle of even length, and conductance . Let be the transition matrix of a random walk on , and denote its second largest eigenvalue by . Let be the second largest, in absolute value, eigenvalue of . The best possible convergence rate of ADMM is thus given by
First we need to determine the second largest eigenvalue of in absolute value, denoted by . From Theorem 17 all the complex eigenvalues are centered at . The real eigenvalue is a distance apart from the center, and so does , and we know these are points on the extremes of the interval where all real eigenvalues can lie. Since we are not interested in , the eigenvalue can potentially be the second largest since . However, it does not depend on so we can control its magnitude by choosing appropriately.
Thus let us focus on the remaining eigenvalues. Every real eigenvalue of is at a smaller distance than from the center. The second largest real eigenvalue of is obtained from which is at a distance
from the center of the circle. On the other hand, recall that any complex eigenvalue is at a distance
from the center, which is larger than (62). Therefore, besides that can be controlled, must come from a complex conjugate pair for some in (40). We have
The first and third terms in (64) do not depend on and are the same for any eigenvalue. Thus, we must choose the second largest eigenvalue , since we already excluded . Thus
Notice that has smallest absolute value when its imaginary part vanishes. Thus we can set
Now we can make the remaining eigenvalue match (67). Writing and solving for yields
Finally, with parameters given by (66) and (68). ∎
Appendix D Proof of Theorem 7
Our last result is Theorem 7 from the main text which proves conjecture (3), proposed based on an analogy with lifted Markov chains FrancaBentoMarkov . Let us first restate the theorem.
Assume that the graph has an even length cycle and conductance , such that Theorem 25 holds. Then, there is C=1-\mathcal{O}\big{(}\sqrt{\delta}\big{)} such that
where is the ratio of the maximum to the minimum degree of . Here is the spectral gap.
where we used . Analogously, we also have the following upper bound:
where we defined .
Let us consider the leading order behaviour of . Writing in terms of the spectral gap , from (61) and (60) we have
Using this into (73) we obtain the lower bound
which is conjecture (3). Analogously, from (71) obtain