On the Linear Convergence of the ADMM in Decentralized Consensus Optimization

Wei Shi, Qing Ling, Kun Yuan, Gang Wu, Wotao Yin

I Introduction

Recent advances in signal processing and control of networked multi-agent systems have led to much research interests in decentralized optimization . Decentralized optimization problems arising in networked multi-agent systems include coordination of aircraft or vehicle networks , data processing of wireless sensor networks , spectrum sensing of cognitive radio networks , state estimation and operation optimization of smart grids , etc. In these scenarios, the data is collected and/or stored in a distributed manner; a fusion center is either disallowed or not economical. Consequently, any computing tasks must be accomplished in a decentralized and collaborative manner by the agents. This approach can be powerful and efficient, as the computing tasks are distributed over all the agents and information exchange occurs only between the agents with direct communication links. There is no risk of central computation overload or network congestion.

In this paper, we focus on decentralized consensus optimization, an important class of decentralized optimization in which a network of LL agents cooperatively solve

There exist several methods for decentralized consensus optimization, including distributed subgradient descent algorithms , dual averaging methods , and the alternating direction method of multipliers (ADMM) . Among these algorithms, the ADMM demonstrates fast convergence in many applications, e.g., . However, how fast it converges and what factors affect the rate are both unknown. This paper addresses these issues.

Firstly, we establish the linear convergence rate of the ADMM that is applied to decentralized consensus optimization with strongly convex local objective functions. This theoretical result gives a performance guarantee for the ADMM and validates the observation in prior literature.

Secondly, we study how the network topology, the properties of local objective functions, and the algorithm parameter affect the convergence rate. The analysis provide guidelines for networking strategies, objective-function splitting strategies, and algorithm parameter settings to achieve faster convergence.

I-B Related Work

Besides the ADMM, existing decentralized approaches for solving (1) include belief propagation , incremental optimization , subgradient descent , dual averaging , etc. Belief propagation and incremental optimization require one to predefine a tree or loop structure in the network, whereas the advantage of the ADMM, subgradient descent, and dual averaging is that they do not rely on any predefined structures. Subgradient descent and dual averaging work well for asynchronous networks but suffer from slow convergence. Indeed, for subgradient descent algorithms and establish the convergence rate of O(1/k)O(1/k), where kk is the number of iterations, to a neighborhood of the optimal solution when the local subgradients are bounded and the stepsize is fixed. Further assuming that the local objective functions are strongly convex, choosing a dynamic stepsize leads to a rate of O(log⁡(k)/k)O(\log(k)/k) . Dual averaging methods using dynamic stepsizes also have sublinear rates, e.g., O(log⁡(k)/k)O(\log(k)/\sqrt{k}) as proved in and .

The decentralized ADMM approaches use synchronous steps by all the agents but have much faster empirical convergence, as demonstrated in many applications . However, existing convergence rate analysis of the ADMM is restricted to the classic, centralized computation. The centralized ADMM has a sublinear convergence rate O(1/k)O(1/k) for general convex optimization problems . In an ADMM with restricted stepsizes is proposed and proved to be linearly convergent for certain types of non-strongly convex objective functions. A recent paper shows a linear convergence rate O(1/ak)O(1/a^{k}) for some a>1a>1 under a strongly convex assumption, and our paper extends the analysis tools therein to the decentralized regime.

I-C Paper Organization and Notation

This paper is organized as follows. Section II reformulates the decentralized consensus optimization problem and develops an algorithm based on the ADMM. Section III analyzes the linear convergence rate of the ADMM and shows how to accelerate the convergence through tuning the algorithm parameter. Section IV provides extensive numerical experiments to validate the theoretical analysis in Section III. Section V concludes the paper.

II The ADMM for Decentralized Consensus Optimization

In this section, we first reformulate the decentralized consensus optimization problem (1) such that it can be solved by the ADMM (see Section II-A). Then we develop the decentralized ADMM approach and provide a simplified decentralized algorithm (see Section II-B).

Generally speaking, the ADMM applies to the convex optimization problem in the form of

where y1y_{1} and y2y_{2} are optimization variables, g1g_{1} and g2g_{2} are convex functions, and C1y1+C2y2=bC_{1}y_{1}+C_{2}y_{2}=b is a linear constraint of y1y_{1} and y2y_{2}. The ADMM solves a sequence of subproblems involving g1g_{1} and g2g_{2} one at a time and iterates to converge as long as a saddle point exists.

To solve (1) with the ADMM in a decentralized manner, we reformulate it as

II-B Algorithm Development

Now we apply the ADMM to solve (4). The augmented Lagrangian of (4) is

where ∇f(xk+1)\nabla f(x^{k+1}) is the gradient of f(x)f(x) at point x=xk+1x=x^{k+1} if ff is differentiable, or is a subgradient if ff is non-differentiable.

Next we show that if the initial values of zz and λ\lambda are properly chosen the ADMM updates in (5) can be simplified (see also the derivation in ). Multiplying the two sides of the λ\lambda-update by ATA^{T} and adding it to the xx-update, we have ∇f(xk+1)+ATλk+1+cATB(zk−zk+1)=0\nabla f(x^{k+1})+A^{T}\lambda^{k+1}+cA^{T}B(z^{k}-z^{k+1})=0. Further, multiplying the two sides of the λ\lambda-update by BTB^{T} and adding it to the zz-update we have BTλk+1=0B^{T}\lambda^{k+1}=0. Therefore (5) can be equivalently expressed as

To summarize, with initialization β0=−γ0\beta^{0}=-\gamma^{0} and z0=12M+Tx0z^{0}=\frac{1}{2}M_{+}^{T}x^{0}, (6) reduces to

In Section III we will analyze the convergence rate of the ADMM updates (7). The analysis requires an extra initialization condition that β0\beta^{0} lies in the column space of M−TM_{-}^{T} (e.g., β0=0\beta^{0}=0) such that βk+1\beta^{k+1} also lies in the column space of M−TM_{-}^{T}; the reason will be given in Section III.

Indeed, (7) also leads to a simple decentralized algorithm that involves only an xx-update and a new multiplier update. To see this, substituting 12M+Txk−zk=0\frac{1}{2}M_{+}^{T}x^{k}-z^{k}=0 into the first two equations of (7) we have

where Ni\mathcal{N}_{i} denotes the set of neighbors of agent ii. The algorithm is fully decentralized since the updates of xix_{i} and αi\alpha_{i} only rely on local and neighboring information. The decentralized consensus optimization algorithm based on the ADMM is outlined in Table I.

III Convergence Rate Analysis

This section first establishes the linear convergence rate of the ADMM in decentralized consensus optimization with strongly convex local objective functions (see Section III-A); the detailed proof of the main theoretical result is placed in Appendix. We then discuss how to tune the parameter and accelerate the convergence (see Section III-B).

Throughout this paper, we make the following assumption that the local objective functions are strongly convex and have Lipschitz continuous gradients; note that the latter implies differentiability.

Although the convergence of Algorithm 1 to the optimal solution of (4) can be shown based on the convergence property of the ADMM (see e.g., ), establishing its linear convergence is nontrivial. In the linear convergence of the centralized ADMM is proved given that either g(z)g(z) is strongly convex or BB is full row-rank in (4). However, the decentralized consensus optimization problem does not satisfy these conditions. The function g(z)=0g(z)=0 is not strongly convex, and the matrix B=[−I2EN;−I2EN]B=[-I_{2EN};-I_{2EN}] is row-rank deficient.

Next we will analyze the convergence rate of the ADMM iteration (7). The analysis requires an extra initialization condition that β0\beta^{0} lies in the column space of M−TM_{-}^{T} such that βk+1\beta^{k+1} also lies in the column space of M−TM_{-}^{T}, which is necessary in the analysis. Note that there is a unique optimal multiplier β∗\beta^{*} lying in the column space of M−TM_{-}^{T}. To see so, consider the KKT conditions of (4)

Our main theoretical result considers the convergence of a vector that concatenating the primal variable zz and the dual variable β\beta, which is common in the convergence rate analysis of the ADMM . Let us introduce

We will show that uk=[zk;βk]u^{k}=[z^{k};\beta^{k}] is Q-linearly convergent to its optimal u∗=[z∗;β∗]u^{*}=[z^{*};\beta^{*}] with respect to the GG-norm. Further, the Q-linear convergence of uk=[zk;βk]u^{k}=[z^{k};\beta^{k}] to u∗=[z∗;β∗]u^{*}=[z^{*};\beta^{*}] implies that xkx^{k} is R-linearly convergent to its optimal x∗x^{*}.

Consider the ADMM iteration (7) that solves (4). The primal variables xx and zz have their unique optimal values x∗x^{*} and z∗z^{*}, respectively; the dual variable β\beta has its unique optimal value β∗\beta^{*} that lies in the column space of M−TM_{-}^{T}. Recall the definition of uu and GG defined in (12). If the local objective functions satisfy Assumption 1 and the dual variable β\beta is initialized such that β0\beta^{0} lies in the column space of M−TM_{-}^{T}, then for any μ>1\mu>1, uk=[zk;βk]u^{k}=[z^{k};\beta^{k}] is Q-linearly convergent to its optimal u∗=[z∗;β∗]u^{*}=[z^{*};\beta^{*}] with respect to the GG-norm

Further, xkx^{k} is R-linearly convergent to x∗x^{*} following from

In Theorem 1, (14) shows that ∥uk+1−u∗∥G2\|u^{k+1}-u^{*}\|_{G}^{2} is no greater than 11+δ∥uk−u∗∥G2\frac{1}{1+\delta}\|u^{k}-u^{*}\|_{G}^{2} and hence uku^{k} converges to u∗u^{*} Q-linearly at a rate

A larger δ\delta guarantees faster convergence. On the other hand, 11+δ\frac{1}{1+\delta} is a theoretical upper bound of the convergence rate, probably not tight. The Q-linear convergence of uku^{k} to u∗u^{*} translates to the R-linear convergence of xx to x∗x^{*} as shown in (15).

III-B Accelerating the Convergence

Now we consider tuning the free parameter μ\mu and the algorithm parameter cc to maximize δ\delta and thus accelerate the convergence (i.e., through minimizing 11+δ\frac{1}{1+\delta} that is indeed an upper bound). From the analysis we will see more clearly how the convergence rate is influenced by the network topology and the local objective functions. For convenience, we define the condition number of ff as

If the algorithm parameter cc in (14) is chosen as

maximizes the value of δ\delta in (14) and ensures that (15) holds.

Observing the two values inside the minimization operator in (14), we find that only the second term is relevant with cc. It is easy to check that the value of cc in (16), no matter how μ\mu is chosen, maximizes δ\delta as

Inside the minimization operator in (19), the first and second terms are monotonically increasing and decreasing with regard to μ>1\mu>1, respectively. To maximize δ\delta, we choose a value of μ\mu such that the two terms are equal. Simple calculations show that the value of μ\mu in (17), which is larger than 1, satisfies this condition. The resulting maximum value of δ\delta is the one in (18).

IV Numerical Experiments

In this section, we provide extensive numerical experiments and supplement to validate our theoretical analysis. We introduce experimental settings in Section IV-A and then study the influence of different factors on the convergence rate in Sections IV-B through IV-E.

We generate a network consisting of LL agents and possessing at most L(L−1)2\frac{L(L-1)}{2} edges. If the network is randomly generated, we define pp, the connectivity ratio of the network, as its actual number of edges divided by L(L−1)2\frac{L(L-1)}{2}. Such a random network is generated with L(L−1)2p\frac{L(L-1)}{2}p edges that are uniformly randomly chosen, while ensuring the network connected.

We apply the ADMM to a decentralized consensus least squares problem

The solution to (20) is denoted by x∗x^{*} in which the part of agent ii is denoted by xi∗x_{i}^{*}. The algorithm is stopped once ∥xk−x∗∥2\|x^{k}-x^{*}\|_{2} reaches 10−1510^{-15} or the number of iterations kk reaches 40004000, whichever is earlier.

In the numerical experiments, we choose to record the primal error ∥xk−x∗∥2\|x^{k}-x^{*}\|_{2} instead of ∥uk−u∗∥G\|u^{k}-u^{*}\|_{G} as the latter incurs significant extra computation when the number of agents LL is large. But note that ∥xk−x∗∥2\|x^{k}-x^{*}\|_{2} is not necessarily monotonic in kk. Let the transient convergence rate be ρk=∥xk−x∗∥2∥xk−1−x∗∥2\rho_{k}=\frac{\|x^{k}-x^{*}\|_{2}}{\|x^{k-1}-x^{*}\|_{2}}. As ρk\rho_{k} fluctuates, we report the running geometric-average rate of convergence ρˉk\bar{\rho}_{k} given by

which follows from (13) and (15). While u0u^{0}, u∗u^{*}, x0x^{0} x∗x^{*}, and mfm_{f} influence ρˉk\bar{\rho}_{k}, observing

we see that their influence diminishes and the steady state ρˉ\bar{\rho} is upper bounded by 11+δ\sqrt{\frac{1}{1+\delta}} as ρ\rho is. Throughout the numerical experiments, we report ρˉk\bar{\rho}_{k} and ρˉ\bar{\rho}.

IV-B Linear Convergence

As a comparison, we also demonstrate the convergence of the distributed gradient descent (DGD) method in Fig. 1 and Fig. 2. Using a diminishing stepsize 1/k1/31/k^{1/3} , the DGD shows sublinear convergence that is slow even for a complete graph (i.e., p=1p=1).

IV-C Algorithm Parameter

IV-D Condition Number of the Objective Function

IV-E Network Topology

IV-E2 Network Diameter

The network diameter DD is defined as the longest distance between any pair of agents in the network. In decentralized consensus optimization, DD is related to how many iterations the information from one agent will reach all the other agents.

To discuss the effect of the network diameter on the convergence rate, we randomly generated 40004000 connected networks with L=200L=200 agents and connectivity ratios uniformly distributed on [2L,1][\frac{2}{L},1]. We also generate the networks of the line, cycle, star, complete, and grid topologies. Most randomly generated networks possess small diameters. In this experiment, the numbers of those with D=2D=2, 3≤D≤43\leq D\leq 4 and 5≤D≤1985\leq D\leq 198 are 31413141, 717717 and 142142, respectively. From Fig. 9, we conclude that in general a larger diameter tends to cause a worse condition number of the network and thus slower convergence, though this relationship is interfered by network properties.

IV-E3 Geometric Average Degree

Define dmin⁡d_{\min} and dmax⁡d_{\max} as the largest and smallest degrees of the agents in the network, respectively. The geometric average degree ds=dmin⁡dmax⁡d_{s}=\sqrt{d_{\min}d_{\max}} reflects the agents’ number of neighbors in a geometric average sense. Its value reaches maximum at L−1L-1 if the topology is complete; and reaches minimum 2\sqrt{2} when the topology is a line.

Again, we randomly generated 40004000 connected networks with L=200L=200 agents and connectivity ratios uniformly distributed on [2L,1][\frac{2}{L},1]. We also generate the networks of the line, cycle, star, complete, and grid topologies. Out of the randomly generated networks, 417417 have 2≤ds≤202\leq d_{s}\leq 20, 15761576 have 21≤ds≤10021\leq d_{s}\leq 100, and 19561956 have 101≤ds≤198101\leq d_{s}\leq 198. From Fig. 10, we observe that a larger dsd_{s} generally implies better connectedness and thus a smaller condition number of the network as well as faster convergence. This conclusion is similar to the one on the network diameter DD (see Fig. 9).

IV-E4 Imbalance of Bipartite Networks

Let B(LA,LB)\mathcal{B}(\mathcal{L}_{A},\mathcal{L}_{B}) denote the class of bipartite networks with ∣LA∣|\mathcal{L}_{A}| agents in one group and ∣LB∣|\mathcal{L}_{B}| agents in another group. Agents within either group cannot directly communicate with each other. For a bipartite network consisting of L=∣LA∣+∣LB∣L=|\mathcal{L}_{A}|+|\mathcal{L}_{B}| agents, its imbalance is defined as Ld=∣LA∣−∣LB∣L_{d}=|\mathcal{L}_{A}|-|\mathcal{L}_{B}|, which can vary between and L−2L-2.

V Conclusions

We apply the ADMM to a reformulation of a general decentralized consensus optimization problem. We show that if the objective function is strongly convex, the decentralized ADMM converges at a globally linear rate, which can be given explicitly. It is revealed that several factors affect the convergence rate that include the topology-related properties of the network, the condition number of the objective function, and the algorithm parameter. Numerical experiments corroborate and supplement our theoretical findings. Our analysis sheds light on how to construct a network and tune the algorithm parameter for fast convergence.

Consider the ADMM updates (7) and the KKT conditions (11). Subtracting the three equations in (11) from the corresponding equations in (7) yields

To prove the Q-linear convergence of ∥uk+1−u∗∥G2\|u^{k+1}-u^{*}\|_{G}^{2} we use mf∥xk+1−x∗∥22m_{f}\|x^{k+1}-x^{*}\|_{2}^{2} as an intermediate. Based on Assumption 1, f(x)f(x) is strongly convex with a constant mfm_{f} such that

Using (23), we can split the right-hand side of (26) to two terms

Substituting (24) and (25) to (27) we can eliminate the term xk+1−x∗x^{k+1}-x^{*} and obtain

Recall the definition of uu and GG defined in (12). It is obvious that the right-hand side of (28) can be written as a compact form 2(uk−uk+1)TG(uk+1−u∗)2(u^{k}-u^{k+1})^{T}G(u^{k+1}-u^{*}). Using the equality 2(uk−uk+1)TG(uk+1−u∗)=∥uk−u∗∥G2−∥uk+1−u∗∥G2−∥uk−uk+1∥G22(u^{k}-u^{k+1})^{T}G(u^{k+1}-u^{*})=\|u^{k}-u^{*}\|_{G}^{2}-\|u^{k+1}-u^{*}\|_{G}^{2}-\|u^{k}-u^{k+1}\|_{G}^{2}, (28) is equivalent to

Having (30) at hand, to prove (13) we only need to show

The idea of proof is to show that δc∥zk+1−z∗∥22\delta c\|z^{k+1}-z^{*}\|_{2}^{2} and δc∥βk+1−β∗∥22\frac{\delta}{c}\|\beta^{k+1}-\beta^{*}\|_{2}^{2} are upper bounded by two non-overlapping parts of the left-hand side of (32), respectively.

The upper bound of ∥zk+1−z∗∥22\|z^{k+1}-z^{*}\|_{2}^{2} follows from (25) that shows 12M+T(xk+1−x∗)=zk+1−z∗\frac{1}{2}M_{+}^{T}(x^{k+1}-x^{*})=z^{k+1}-z^{*}. Hence we have

where σmax⁡(M+)\sigma_{\max}(M_{+}) is the largest singular value of M+M_{+}. To find the upper bound of ∥βk+1−β∗∥22\|\beta^{k+1}-\beta^{*}\|_{2}^{2}, we use two inequalities σmax⁡2(M+)∥zk+1−zk∥22≥∥M+T(zk−zk+1)∥22\sigma_{\max}^{2}(M_{+})\|z^{k+1}-z^{k}\|_{2}^{2}\geq\|M_{+}^{T}(z^{k}-z^{k+1})\|_{2}^{2} and Mf2∥xk+1−x∗∥22≥∥∇f(xk+1)−∇f(x∗)∥22M_{f}^{2}\|x^{k+1}-x^{*}\|_{2}^{2}\geq\|\nabla f(x^{k+1})-\nabla f(x^{*})\|_{2}^{2}; the latter holds since f(x)f(x) has Lipschitz continuous gradients with a constant MfM_{f}. Therefore, given the positive algorithm parameter cc and any μ>1\mu>1 it holds

Recall that from (23) cM+(zk−zk+1)cM_{+}(z^{k}-z^{k+1}) is the summation of ∇f(xk+1)−∇f(x∗)\nabla f(x^{k+1})-\nabla f(x^{*}) and M−(βk+1−β∗)M_{-}(\beta^{k+1}-\beta^{*}). Hence we can apply the basic inequality ∥a+b∥22+(μ−1)∥a∥22≥(1−1μ)∥b∥22\|a+b\|_{2}^{2}+(\mu-1)\|a\|_{2}^{2}\geq(1-\frac{1}{\mu})\|b\|_{2}^{2}, which holds for any μ>0\mu>0, to (34) and obtain

Combining (33) and (36), we prove (32). From (33) we have

and consequently (32), which proves (13).

To prove the R-linear convergence of xkx^{k} to x∗x^{*}, we observe that (30) implies mf∥xk+1−x∗∥22≤∥uk−u∗∥G2m_{f}\|x^{k+1}-x^{*}\|_{2}^{2}\leq\|u^{k}-u^{*}\|_{G}^{2}, which proves (15).

References