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 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 , where 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 . Dual averaging methods using dynamic stepsizes also have sublinear rates, e.g., 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 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 for some 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 and are optimization variables, and are convex functions, and is a linear constraint of and . The ADMM solves a sequence of subproblems involving and 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 is the gradient of at point if is differentiable, or is a subgradient if is non-differentiable.
Next we show that if the initial values of and are properly chosen the ADMM updates in (5) can be simplified (see also the derivation in ). Multiplying the two sides of the -update by and adding it to the -update, we have . Further, multiplying the two sides of the -update by and adding it to the -update we have . Therefore (5) can be equivalently expressed as
To summarize, with initialization and , (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 lies in the column space of (e.g., ) such that also lies in the column space of ; the reason will be given in Section III.
Indeed, (7) also leads to a simple decentralized algorithm that involves only an -update and a new multiplier update. To see this, substituting into the first two equations of (7) we have
where denotes the set of neighbors of agent . The algorithm is fully decentralized since the updates of and 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 is strongly convex or is full row-rank in (4). However, the decentralized consensus optimization problem does not satisfy these conditions. The function is not strongly convex, and the matrix is row-rank deficient.
Next we will analyze the convergence rate of the ADMM iteration (7). The analysis requires an extra initialization condition that lies in the column space of such that also lies in the column space of , which is necessary in the analysis. Note that there is a unique optimal multiplier lying in the column space of . To see so, consider the KKT conditions of (4)
Our main theoretical result considers the convergence of a vector that concatenating the primal variable and the dual variable , which is common in the convergence rate analysis of the ADMM . Let us introduce
We will show that is Q-linearly convergent to its optimal with respect to the -norm. Further, the Q-linear convergence of to implies that is R-linearly convergent to its optimal .
Consider the ADMM iteration (7) that solves (4). The primal variables and have their unique optimal values and , respectively; the dual variable has its unique optimal value that lies in the column space of . Recall the definition of and defined in (12). If the local objective functions satisfy Assumption 1 and the dual variable is initialized such that lies in the column space of , then for any , is Q-linearly convergent to its optimal with respect to the -norm
Further, is R-linearly convergent to following from
In Theorem 1, (14) shows that is no greater than and hence converges to Q-linearly at a rate
A larger guarantees faster convergence. On the other hand, is a theoretical upper bound of the convergence rate, probably not tight. The Q-linear convergence of to translates to the R-linear convergence of to as shown in (15).
III-B Accelerating the Convergence
Now we consider tuning the free parameter and the algorithm parameter to maximize and thus accelerate the convergence (i.e., through minimizing 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 as
If the algorithm parameter in (14) is chosen as
maximizes the value of 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 . It is easy to check that the value of in (16), no matter how is chosen, maximizes as
Inside the minimization operator in (19), the first and second terms are monotonically increasing and decreasing with regard to , respectively. To maximize , we choose a value of such that the two terms are equal. Simple calculations show that the value of in (17), which is larger than 1, satisfies this condition. The resulting maximum value of 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 agents and possessing at most edges. If the network is randomly generated, we define , the connectivity ratio of the network, as its actual number of edges divided by . Such a random network is generated with 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 in which the part of agent is denoted by . The algorithm is stopped once reaches or the number of iterations reaches , whichever is earlier.
In the numerical experiments, we choose to record the primal error instead of as the latter incurs significant extra computation when the number of agents is large. But note that is not necessarily monotonic in . Let the transient convergence rate be . As fluctuates, we report the running geometric-average rate of convergence given by
which follows from (13) and (15). While , , , and influence , observing
we see that their influence diminishes and the steady state is upper bounded by as is. Throughout the numerical experiments, we report and .
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 , the DGD shows sublinear convergence that is slow even for a complete graph (i.e., ).
IV-C Algorithm Parameter
IV-D Condition Number of the Objective Function
IV-E Network Topology
IV-E2 Network Diameter
The network diameter is defined as the longest distance between any pair of agents in the network. In decentralized consensus optimization, 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 connected networks with agents and connectivity ratios uniformly distributed on . 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 , and are , and , 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 and as the largest and smallest degrees of the agents in the network, respectively. The geometric average degree reflects the agents’ number of neighbors in a geometric average sense. Its value reaches maximum at if the topology is complete; and reaches minimum when the topology is a line.
Again, we randomly generated connected networks with agents and connectivity ratios uniformly distributed on . We also generate the networks of the line, cycle, star, complete, and grid topologies. Out of the randomly generated networks, have , have , and have . From Fig. 10, we observe that a larger 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 (see Fig. 9).
IV-E4 Imbalance of Bipartite Networks
Let denote the class of bipartite networks with agents in one group and agents in another group. Agents within either group cannot directly communicate with each other. For a bipartite network consisting of agents, its imbalance is defined as , which can vary between and .
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 we use as an intermediate. Based on Assumption 1, is strongly convex with a constant 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 and obtain
Recall the definition of and defined in (12). It is obvious that the right-hand side of (28) can be written as a compact form . Using the equality , (28) is equivalent to
Having (30) at hand, to prove (13) we only need to show
The idea of proof is to show that and are upper bounded by two non-overlapping parts of the left-hand side of (32), respectively.
The upper bound of follows from (25) that shows . Hence we have
where is the largest singular value of . To find the upper bound of , we use two inequalities and ; the latter holds since has Lipschitz continuous gradients with a constant . Therefore, given the positive algorithm parameter and any it holds
Recall that from (23) is the summation of and . Hence we can apply the basic inequality , which holds for any , 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 to , we observe that (30) implies , which proves (15).