Distributed Subgradient Methods and Quantization Effects
Angelia Nedić, Alex Olshevsky, Asuman Ozdaglar, John N. Tsitsiklis
I Introduction
There has been much interest in developing distributed methods for optimization in networked-systems consisting of multiple agents with local information structures. Such problems arise in a variety of environments including resource allocation among heterogeneous agents in large-scale networks, and information processing and estimation in sensor networks. Optimization algorithms deployed in such networks should be completely distributed, relying only on local observations and information, and robust against changes in network topology due to mobility or node failures.
Recent work has proposed a subgradient method for optimizing the sum of convex objective functions corresponding to agents connected over a time-varying topology (see also the short paper ). The goal of the agents is to cooperatively solve the unconstrained optimization problem
In this paper, we consider the distributed subgradient method discussed in , and provide improved convergence rate results. In particular, we use our recent results on the convergence time of averaging algorithms and establish new upper bounds on the difference between the objective function value of the estimates of each agent and the optimal value of problem (3). These bounds have a polynomial dependence on the number of agents (in contrast with the error bounds in , which involve exponential dependence on ). Furthermore, we study a variation of the distributed subgradient method in which the agents have access to quantized information, and provide bounds on the convergence time that contain additional error terms due to quantization.
In addition to the papers cited above, our work is related to the literature on reaching consensus on a particular scalar value or on computing exact averages of the initial values of the agents, a subject motivated by natural models of cooperative behavior in networked-systems (see, e.g., , , , , , and ). Closely related is also the work in and , which study the effects of quantization on the performance of averaging algorithms. Our work is also related to the utility maximization framework for resource allocation in networks (see , , ). In contrast to this literature, however, we allow the local objective functions to depend on the entire resource allocation vector.
The rest of this paper is organized as follows. In Section II, we describe the distributed subgradient method and present an improved convergence rate estimate using our recently established bounds on the convergence time of our averaging algorithms . In Section III, we consider a version of the method under the additional constraint that the agents can only exchange quantized information. We provide convergence and rate of convergence results as a function of the number of quantization levels. Section IV contains our concluding remarks.
Notation and Basic Notions. We view all vectors as columns. We use to denote the vector with th entry equal to 1 and all other entries equal to 0. We use to denote a vector with all entries equal to 1. For a matrix , we use or to denote the matrix entry in the th row and th column. We write and to denote respectively the th row and the th column of a matrix . A vector is said to be a stochastic vector when its components are nonnegative and . A square matrix is said to be stochastic when each row of is a stochastic vector, and it is said to be doubly stochastic when both and its transpose are stochastic matrices.
We use the notation . We denote the optimal value of problem (3) by and the set of optimal solutions by .
II Distributed Subgradient Method
where the scalars are nonnegative weights and the scalar is a stepsize. The vector is a subgradient of the agent cost function at . We use the notation to denote the weight matrix .
The evolution of the estimates generated by Eq. (4) can be equivalently represented using transition matrices. In particular, we define a transition matrix for any and with , as follows:
Using these transition matrices, we relate the estimate to the estimates for any . In particular, for the iterates generated by Eq. (4), we have for any , and any and with ,
(for more details, see ). As seen from the preceding relation, to study the asymptotic behavior of the estimates , we need to understand the behavior of the transition matrices . We do this under some assumptions on the agent interactions that translate into some properties of transition matrices.
Our first assumption imposes some conditions on the weights in Eq. (4).
For all , the weight matrix is doubly stochastic with positive diagonal. Additionally, there is a scalar such that if , then .
The doubly stochasticity assumption on the weight matrix will guarantee that the subgradient of the objective function of every agent will receive the same weight in the long run. The second part of the assumption states that each agent gives significant weight to its own values and to the values of its neighbors.
At each time , the agents’ connectivity can be represented by a directed graph , where is the set of directed edges , including self-edges , such that . Our next assumption ensures that the agents are connected frequently enough to persistently influence each other.
There exists an integer such that the directed graph
Here, we provide some results that we use later in our convergence analysis of method (4). These results hold under Assumptions 1 and 2.
Consider a related update rule of the form
where is the average of the entries of the vector . Under the doubly stochasticity of , the initial average is preserved by the update rule (8), i.e., for all . Hence, the function measures the “disagreement” in agent values.
In the next lemma, we give a bound on the decrease of the agent disagreement , which is linear in and quadratic in . This bound is an immediate consequence of Lemma 5 in .
Let Assumptions 1 and 2 hold. Then, is nonincreasing in . Furthermore,
Using Lemma 1 we obtain the following result for the transition matrices of Eq. (7).
Let Assumptions 1 and 2 hold. Then, for all and all with , we have
Let and be arbitrary with , and let
with . Hence, by the nonincreasing property of , we have
Note that implying that , where we used the fact that both sides of the inequality are integers. Therefore , and we have for all and with ,
By Eq. (8), we have , and therefore for all . Letting we obtain . Using the inequalities (9) and , we obtain
The matrix is doubly stochastic, because it is the product of doubly stochastic matrices. Thus, the average entry of is implying that for all and ,
From the preceding relation and , we obtain
II-B Convergence time
where is the set of all subgradients of at .
We define the time-averaged vectors of the iterates generated by Eq. (4), i.e.,
The use of these vectors allows us to bound the objective function improvement at every iteration; see . Under the subgradient boundedness assumption, we have the following resultThe assumption in this theorem is not essential. We use this assumption mainly to present a more compact expression for the bound on the convergence time. A bound that explicitly depends on can be obtained by following a similar line of analysis.
Let Assumptions 1 and 2 hold, and assume that the set of optimal solutions of problem (3) is nonempty. Let the sets of subgradients be bounded as in Eq. (10). Also, let the initial vectors in Eq. (4) be such that . Then, the averages of the iterates obtained by the method (4) satisfy
The proof is identical to that of Proposition 3 in and relies on the use of our improved convergence rate bound in Corollary 1. Q.E.D.
The convergence rate result in the preceding theorem improves that of Proposition 3 in , where an analogous estimate is shown with a worse value for the constant . In particular, there the constant in is given by , and increases exponentially with . As seen from Eq. (12), our new constant increases only polynomially with , indicating a much more favorable scaling as the network size increases.
III Quantization effects
We next study the effects of quantization on the convergence properties of the subgradient method. In particular, we assume that each agent receives and sends only quantized estimates, i.e., vectors whose entries are integer multiples of . At time , an agent receives quantized estimates from some of its neighbors and updates according to the following rule:
To analyze the proposed method, we find it useful to rewrite Eq. (13) as follows:
where the error vector is given by
Thus, the method can be viewed as a subgradient method with external (possibly persistent) noise, represented by . Due to the rounding down to the nearest multiple of , the error vector satisfies
where the inequalities above hold componentwise.
Using the transition matrices , we can rewrite the update equation (14) as
Using the result of Corollary 1, we can show that the stopped process converges as . In particular, we have the following result.
Furthermore, for the limit sequence , we have:
where and is the dimension of the vectors .
Using the relations in Eqs. (20) and (25), and the subgradient boundedness, we obtain for all ,
By using Corollary 1, we have for all and , and any ,
Since [cf. Eq. (16)], we have
From the preceding two relations, and the inequality , we obtain for all and ,
By using , and
According to part (a) of Lemma 2, the vectors can be viewed as the iterates produced by the “fictitious” centralized algorithm:
Let Assumptions 1 and 2 hold, and assume that the set of optimal solutions of problem (3) is nonempty. Let the sequence be defined by Eq. (26), and the sequences for be generated by the quantized subgradient method (13). Also, assume that the subgradients are uniformly bounded as in Eq. (10), and that . Then, the average vectors defined as in Eq. (11), satisfy for all ,
and .
Using the same line of analysis as in the proof of Lemma 5 in , we can show that for all ,
where is a subgradient of at . By using the subgradient boundedness, we further obtain
By using Lemma 2(b), we have
By adding these inequalities for different values of , and by using the convexity of , we obtain the desired inequality. Q.E.D.
Assuming that the agents can store real values (infinitely many bits), we consider the time-average of the iterates , defined by
Using Lemma 3, we have the following result.
Under the same assumptions as in Lemma 3, the averages of the iterates obtained by the method (13) satisfy, for all ,
By the convexity of the functions , we have, for any and ,
where is a subgradient of at . Then, by using the boundedness of the subgradients and Lemma 2(b), we obtain for all and ,
with . Thus, for the error term of Theorem 2, we have
where and . Hence, in the limit as , the error terms in the estimate of Theorem 2 reduce to the error terms in the estimate of Theorem 1.
IV Conclusions
We studied distributed subgradient methods for convex optimization problems that arise in networks of agents connected through a time-varying topology. We first considered an algorithm for the case where agents can exchange and store continuous values, and proved a bound on the convergence rate. We next studied the algorithm under the additional constraint that agents can only send and receive quantized values. We showed that our algorithm guarantees convergence of the agent values to the optimal objective value within some error. Our bound on the error highlights the dependence on the number of quantization levels, and the polynomial dependence on the number of agents. Future work includes investigation of the effects of other quantization schemes and of noise in the agents’ estimates on the performance of the algorithm.