Distributed optimization over time-varying directed graphs

Angelia Nedic, Alex Olshevsky

I Introduction

We consider the problem of distributed convex optimization by a network of nodes when knowledge of the objective function is scattered throughout the network and unavailable at any singe location. There has been much recent interest in multi-agent optimization problems of this type that arise whenever a large collections of nodes - which may be processors, nodes of a sensor network, vehicles, or UAVs - desire to collectively optimize a global objective by means of local actions taken by each node without any centralized coordination.

Specifically, we will study the problem of optimizing a sum of nn convex functions by a network of nn nodes when each function is known to only a single node. This problem frequently arises when control and signal processing protocols need to be implemented in sensor networks. For example, the problems including robust statistical inference , formation control , non-autonomous power control , distributed message routing , and spectrum access coordination , can be reduced to variations of this problem. We will be focusing on the case when communication between nodes is directed and time-varying.

Distributed optimization of a sum of convex functions has received a surge of interest in recent years . There is now a considerable theory justifying the use of distributed subgradient methods in this setting, and their performance limitations and convergence times are well-understood. Moreover, distributed subgradient methods have been used to propose new solutions for a number of problems in distributed control and sensor networks . However, the works cited above assumed communications among nodes are either fixed or undirected.

Our paper is the first to demonstrate a working subgradient protocol in the setting of directed time-varying communications. We develop a broadcast-based protocol, termed the subgradient-push, which steers every node to an optimal value under a standard assumption of subgradient boundedness. The subgradient-push requires each node to know its out-degree at all times, but beyond this it needs no knowledge of the graph sequence of even of the number of agents to implement. Our results show that it converges at a rate of O(ln⁡t/t)O\left(\ln t/\sqrt{t}\right), where the constant depends, among other factors, on the information diffusion speed of the corresponding directed graph sequence and a measure of the influence imbalance among the nodes.

Our work is closest to the recent papers . The papers proposed a distributed subgradient algorithm which is very similar to the one we study here, involving the introduction of subgradients into an information aggregation procedure known as “push-sum.” The convergence of this scheme for directed but fixed topologies was shown in ; implementation of the protocol proposed in these papers appears to require knowledge of the graph or of the number of agents. By contrast, our results work in time-varying networks and are fully distributed, requiring no knowledge of either the graph sequence or the number of agents. The paper shows the convergence of a distributed optimization protocol in continuous time, also for directed but fixed graphs; moreover, an additional assumption is made in that the graph is “balanced.”

All the prior work in distributed optimization, except for , requires time-varying communications with some form of balancedness, often reflected in a requirement of having a sequence of doubly stochastic matrices that are commensurate with the sequence of underlying communication graphs. In contrast, our proposed method removes the need for the doubly stochastic matrices. The proposed distributed optimization model is motivated by applications that are characterized by time-varying directed communications, such as those arising in a mobile sensor network where the links among nodes will come and go as nodes move in and out of line-of-sight or broadcast range of each other. Moreover, if different nodes are capable of broadcasting messages at different power levels, then communication links connecting the nodes will necessarily be unidirectional.

The remainder of this paper is organized as follows. We begin in Section II where we describe the problem of interest, outline the subgradient-push algorithm, and state the main convergence results. Section III is devoted to the proof of a key lemma, namely the convergence rate result for a perturbed version of the so-called push-sum protocol; this lemma is then used in the subsequent proofs of convergence and convergence rate for the subgradient-push in Section IV. Finally, some conclusions are offered in Section VI.

II Problem, Algorithm and Main Results

We consider a network of nn nodes whose goal is to solve distributedly the following minimization problem:

We will assume that, at each time tt, node ii can only send messages to its out-neighbors in some directed graph G(t)G(t). Naturally, the graph G(t)G(t) will have vertex set {1,…,n}\{1,\ldots,n\}, and we will use E(t)E(t) to denote its edge set. Also, naturally, the sequence {G(t)}\{G(t)\} should posses some good long-term connectivity properties. A standard assumption, which we will be making, is that the sequence {G(t)}\{G(t)\} is uniformly strongly connected (or, as it is sometimes called, BB-strongly-connected), namely, that there exists some ineger B>0B>0 (possibly unknown to the nodes) such that the graph with edge set

is strongly connected for every k≥0k\geq 0. This is a typical assumption for many results in multi-agent control: it is considerably weaker than requiring each G(t)G(t) be connected for it allows the edges necessary for connectivity to appear over a long time period and in arbitrary order; however, it is still strong enough to derive bounds on the speed of information propagation from one part of the network to another.

Finally, we introduce the notation Niin(t)N^{\rm in}_{i}(t) and Niout(t)N^{\rm out}_{i}(t) for the in- and out-neighborhoods of node ii, respectively, at time tt. We will require these neighborhoods to include the node ii itselfAlternatively, one may define these neighborhoods in a standard way of the graph theory, but require that each graph in the sequence {G(t)}\{G(t)\} has a self-loop at every node.; formally, we have

and di(t)d_{i}(t) for the out-degree of node ii, i.e.,

Crucially, we will be assuming that every node ii knows its out-degree di(t)d_{i}(t) at every time tt.

Our main contribution is the design of an algorithm which successfully accomplishes the task of distributed minimization of F(z)F({\mathbf{z}}) assumptions we have laid out above. Our scheme is a combination of the subgradient method and the so-called push-sum protocol, recently studied in the papers . We will refer to our protocol as the subgradient-push method. A subgradient method using the push-sum protocol has been considered in for a fixed communication network, whose implementation requires some knowledge of the graph or the number of agents. In contrast, our algorithm can handle time-varying networks and its implementation requires node ii knowing its local out-degree di(t)d_{i}(t) only.

We note that the above equations have simple broadcast-based implementation: each node jj broadcasts the quantities xj(t)/dj(t),yj(t)/dj(t){\mathbf{x}}_{j}(t)/d_{j}(t),y_{j}(t)/d_{j}(t) to all of the nodes ii in its out-neighborhoodWe note that we make use here of the assumption that node ii knows its out-degree di(t)d_{i}(t)., which simply sum all the messages they receive to obtain wi(t+1){\mathbf{w}}_{i}(t+1) and yi(t+1)y_{i}(t+1). The update equations for zi(t+1),xi(t+1){\mathbf{z}}_{i}(t+1),{\mathbf{x}}_{i}(t+1) can be executed without any further communications among nodes during step tt.

Without the subgradient term in the final equation, our protocol would be a version of the push-sum protocol for average computation studied recently in . For intuition on the precise form of these equations, we refer the reader to these three papers; roughly speaking, the somewhat involved form of the updates is intended to ensure that every node receives an equal weighting after all the linear combinations and ratios have been taken. In this case the vectors zi(t+1){\mathbf{z}}_{i}(t+1) converge to some common point, i.e., a consensus is achieved. The inclusion of the subgradient terms in the updates of xi(t+1){\mathbf{x}}_{i}(t+1) is intended to steer the consensus point towards the optimal set Z∗Z^{*}, while the push-sum updates steer the vectors zi(t+1){\mathbf{z}}_{i}(t+1) towards each other. Our main results, which we describe in the next section, demonstrate that this scheme succeeds in steering all vectors zi(t+1){\mathbf{z}}_{i}(t+1) towards the same point in the solution set Z∗Z^{*}.

II-B Our results

Our first theorem demonstrates the correctness of the subgradient-push method for an arbitrary stepsize α(t)\alpha(t) satisfying Eq. (8); this holds under the assumptions we have laid out above, as well as an additional technical assumption on the subgradient boundedness.

The graph sequence {G(t)}\{G(t)\} is uniformly strongly connected.

Then, the distributed subgradient-push method of Eq. (1) with the stepsize satisfying the conditions in Eq. (8) has the following property

Our second theorem makes explicit the rate at which the objective function converges to its optimal value. As standard with subgradient methods, we will make two tweaks in order to get a convergence rate result: (i) we take a stepsize which decays as α(t)=1/t\alpha(t)=1/\sqrt{t} (stepsizes which decay at faster rates usually produce inferior convergence rates), and (ii) each node ii will maintain a convex combination of the values zi(1),zi(2),…{\mathbf{z}}_{i}(1),{\mathbf{z}}_{i}(2),\ldots for which the convergence rate will be obtained. We then demonstrate that the subgradient-push converges at a rate of O(ln⁡t/t)O(\ln t/\sqrt{t}); this is formally stated in the following theorem. The theorem makes use of the matrix A(t)A(t) that captures the weights used in the construction of wi(t+1){\mathbf{w}}_{i}(t+1) and yi(t+1)y_{i}(t+1) in Eq. (1), which are defined by

where S(0)=0S(0)=0 and S(t)=∑s=0t−1α(s+1)S(t)=\sum_{s=0}^{t-1}\alpha(s+1) for t≥1t\geq 1. Then, we have for all t≥1t\geq 1, i=1,…,ni=1,\ldots,n, and any z∗∈Z∗{\mathbf{z}}^{*}\in Z^{*},

The scalars λ\lambda and δ\delta are functions of the graph sequence G(1),G(2),…,G(1),G(2),\ldots, which are given by

If each of the graphs G(t)G(t), t≥1t\geq 1, is regularA directed graph G(t)G(t) is regular if every out-degree and every in-degree of a node in G(t)G(t) equals d(t)d(t) for some d(t)d(t)., then

where A(t)A(t) is defined by Eq. (10) and σ2(A)\sigma_{2}(A) is the second-largest singular value of a matrix AA.

Theorem 2 implies that, along the time-averages z~i(t)\widetilde{\mathbf{z}}_{i}(t) for each node ii, the network objective function F(z)F(z) converges to the optimal objective value F∗F^{*}, i.e.,

However, the theorem does not state anything about the convergence of the sequences {z~i(t)}\{\widetilde{\mathbf{z}}_{i}(t)\} for i=1,…,ni=1,\ldots,n.

Theorem 2 provides the rate at which F(z~i(t))F\left(\widetilde{\mathbf{z}}_{i}(t)\right) converges to F∗F^{*} for any ii, which is expected. Specifically, it is standard for a distributed subgradient method to converge at the rate of O(ln⁡t/t)O(\ln t/\sqrt{t}) with the constant depending on the subgradient-norm upper bounds LiL_{i} and the initial conditions xi(0){\mathbf{x}}_{i}(0) . Moreover, it is also standard for the convergence rate of the distributed methods over networks to depend on some measure of the connectivity of the directed graph sequence G(1),G(2),…G(1),G(2),\ldots. Namely, here, the closeness of λ\lambda to 11 measures the speed at which the (connectivity) graph sequence {G(t)}\{G(t)\} diffuses the information among the nodes over time. Additionally, our rate results also include the parameter δ\delta, which is a measure of the imbalance of influences among the nodes, as we will later see. Time-varying directed regular networks are uniform in influence and will have δ=1\delta=1, so that δ\delta will disappear from the bounds entirely; however, networks which have a row very close to zero, corresponding nodes which are only weakly influenced by all others, will suffer a corresponding blow-up in the convergence time of the subgradient-push algorithm. Consequently, δ\delta may be thought of as a measure of the uniformity of long-term influence among the nodes.

Moreover, while the term 1/(δ(1−λ))1/(\delta(1-\lambda)) appearing in our rate estimate is bounded exponentially by n2nBn^{2nB} in the worst case, the term need not be this large for every graph sequence. Indeed, Theorem 2 shows that for a class of time-varying regular directed graphs, 1/(δ(1−λ))1/(\delta(1-\lambda)) scales polynomially in nn. Our work therefore motivates the search for effective bounds on consensus speed and the influence imbalances for time-varying directed graphs. Finally, we note that previous research has studied the case when the matrices A(t)A(t) in (10) are doubly stochastic, which occurs when the directed graph sequence {G(t)}\{G(t)\} is regular. In this case, our polynomial bounds match the previously known results.

We conclude by briefly summarizing the idea of the proofs as well as the organization of the remainder of this paper. As previously remarked, our protocol is a perturbation of the so-called “push-sum” protocol for averaging studied in . We begin in Section III by showing that as a consequence of well-known facts about consensus protocols, such perturbed push-sum protocols are guaranteed to converge when the perturbations are well behaved (in a sense). In the subsequent Section IV, we interpret the subgradient-push algorithm as a special perturbation of the push-sum protocol and use the convergence results of Section III to show that, after a transient period, our subgradient-push algorithm begins to approximate a centralized subgradient scheme. Finally some simulations are performed in Section V and conclusions are drawn in Section VI.

III Perturbed Push-Sum Protocol

This section is dedicated to the analysis of a perturbed version of the so-called push-sum protocol, originally introduced in the groundbreaking work and recently analyzed in time-varying directed graphs in . The push-sum is a protocol for node interaction which allows nodes to compute averages and other aggregates in the network with directed communication links.

The work in demonstrates the convergence of the push-sum protocol. Here, we generalize this result by showing that the protocol remains convergent even if the state of the nodes is perturbed at each step, as long as the perturbations decay to zero. However, while the iterate sequences (at the nodes) obtained by the push-sum method converge to the average of the initial values of the nodes, the iterate sequences produced by the perturbed push-sum method need not converge to a common point; instead, they converge to each other over time. We will later use this result to prove Theorems 1 and 2. Since the result has a self-contained interpretation and analysis, we sequester it to this section.

We begin with a statement of the perturbed push-sum update rule. Every node ii maintains scalar variables xi(t),yi(t),zi(t),wi(t)x_{i}(t),y_{i}(t),z_{i}(t),w_{i}(t), where yi(0)=1y_{i}(0)=1 for all ii. These variables are updated as follows: for t≥0t\geq 0,

where ϵi(t)\epsilon_{i}(t) is a perturbation at time tt, perhaps adversarially chosen. Recall that Niin(t)N_{i}^{\rm in}(t) is the in-neighborhood of node ii in a directed graph G(t)G(t) and dj(t)d_{j}(t) is the out-degree of node jj, as defined in Section II.

Without the perturbation term ϵi(t)\epsilon_{i}(t), the method in Eq. (11) reduces to the push-sum protocol. Moreover, our subgradient-push method of Eq. (1) is simply a vector-space analog of the perturbed pus-sum method of Eq. (11) with a specific choice of the perturbations.

The intuition behind the push-sum equations of Eq. (11) is somewhat involved. This dynamic has been introduced for the purpose of average computation (in the case when all the perturbations ϵi(t)\epsilon_{i}(t) are zero) and has a simple motivating intuition. The push-sum is a variation of a consensus-like protocol wherein every node updates its values by taking linear combinations of the values of its neighbors. Due to taking linear combinations, some nodes are bound to be more influential than others (meaning that other nodes end up placing larger weights on their information), for example by virtue of being more centrally placed. To cancel out the effect of these influence imbalances of the nodes, the ratios zi(t)=wi(t)/yi(t)z_{i}(t)=w_{i}(t)/y_{i}(t) are used, which ensures that each zi(t)z_{i}(t) converges to (1/n)∑i=1nxi(0).(1/n)\sum_{i=1}^{n}x_{i}(0). We refer the reader to for more details.

Next, we rewrite the perturbed push-sum equations more compactly by using the definition of the matrix A(t)A(t) in Eq. (10). Then, the relations in Eq. (11) assume the following form: for all t≥0t\geq 0,

where ϵ(t)=(ϵ1(t),…,ϵn(t))′\epsilon(t)=(\epsilon_{1}(t),\ldots,\epsilon_{n}(t))^{\prime}. Each of matrices A(t)A(t) is column-stochastic but not necessarily row-stochastic.

We are concerned with demonstrating a convergence result and a convergence rate for the updates given in Eq. (11), or equivalently Eq. (18). Specifically, the bulk of this section is dedicated to proving the following lemma.

Consider the sequences {zi(t)}\{z_{i}(t)\}, i=1,…,n,i=1,\ldots,n, generated by the method in Eq. (11). Assuming that the graph sequence {G(t)}\{G(t)\} is uniformly strongly connected, the following statements hold:

where δ>0\delta>0 and λ∈(0,1)\lambda\in(0,1) satisfy

If each of the matrices A(t)A(t) in Eq. (10) are doubly stochastic, then

If lim⁡t→∞ϵi(t)=0\lim_{t\to\infty}\epsilon_{i}(t)=0 for all i=1,…,ni=1,\ldots,n, then

If {α(t)}\{\alpha(t)\} is a non-increasing positive scalar sequence with ∑t=1∞α(t)∣ϵi(t)∣<∞\sum_{t=1}^{\infty}\alpha(t)|\epsilon_{i}(t)|<\infty for all ii, then

For part (b) of Lemma 1, observe that each of the matrices A(t)A(t) is doubly stochastic if each of the graphs G(t)G(t) is regular. Furthermore, observe that if ϵi(t)=0\epsilon_{i}(t)=0, this lemma implies that the push-sum method converges at a geometric rate. In this case, it is easy to see that 1′x(t)/n=1′x(0)/n{\bf 1}^{\prime}x(t)/n={\bf 1}^{\prime}x(0)/n and, therefore zi(t)→1′x(0)/nz_{i}(t)\rightarrow{\bf 1}^{\prime}x(0)/n, so that the push-sum protocol successfully computes the average of the initial values. When the perturbations are nonzero, Lemma 1 states that if these perturbations decay to zero, then the push-sum method still converges. Of course, it will no longer be true that the convergence is necessarily to the average of the initial values.

We will prove a series of auxiliary lemmas before beginning the proof of Lemma 1. We first remark that the matrices A(t)A(t) have a special structure that allows us to efficiently analyze their products. Specifically, we have the following properties of the matrices A(t)A(t) (see for proofs of this and similar statements).

Suppose that the graph sequence {G(t)}\{G(t)\} is uniformly strongly connected. Then for each integer s≥0s\geq 0, there is a stochastic vector ϕ(s)\phi(s) such that for all i,ji,j and t≥s,t\geq s,

There are known bounds on the parameters C,λC,\lambda in Lemma 2, which characterize how large CC is and how far away λ\lambda is from 11. Moreover, these bounds improve if the sequence {G(t)}\{G(t)\} has some nice properties. The following lemma is a formal statement to this effect.

Let the graph sequence {G(t)}\{G(t)\} be uniformly strongly connected. Then, in the statement of Lemma 2(b) we have

If in addition every graph G(t)G(t) is regular, we have

We remark that this lemma is not novel relative to the previous literature, but rather is an explicit statement of the bounds that have been implicitly used in the previous papers on the subject.

From , under the assumption of the uniform strong connectivity of the graphs and our definition of neighborhoods, we have that: if

The preceding relation implies that for all t>s≥0t>s\geq 0,

This holds for every x(s)x(s). By choosing x(s)x(s) to be each of the nn basis vectors, we see that for every j=1,…,nj=1,\ldots,n,

Since each matrix A′(t)A^{\prime}(t) is row-stochastic, the entry ϕj(s)\phi_{j}(s) is a limit of the convex combinations of the nn numbers [A′(t)⋯A′(s)]ij,i=1,…,n[A^{\prime}(t)\cdots A^{\prime}(s)]_{ij},i=1,\ldots,n, as t→∞t\to\infty. Hence, we have proven the first relation of the lemma for t>st>s. For t=st=s, since the matrix A(s)A(s) is column-stochastic and ϕ(s)\phi(s) is a stochastic vector, we obviously have ∣[A′(s)]ij−ϕj(s)∣≤2|[A^{\prime}(s)]_{ij}-\phi_{j}(s)|\leq 2 for all i,ji,j, showing that the relation also holds for t=st=s.

As for the second statement, when the graphs G(t)G(t) are regular, each of the matrices A(t)A(t) is doubly stochastic. Then, the results of imply that: if

where xˉs\bar{x}_{s} is the average of the entries of x(s)x(s). From the preceding inequality, we can see that for all t>s≥0t>s\geq 0,

Since 1−β/2≤1−β/4\sqrt{1-\beta/2}\leq 1-\beta/4 for all β∈(0,1)\beta\in(0,1), it follows that we may choose C=2C=\sqrt{2} and λ=(1−1/(4n3))1/B\lambda=(1-1/(4n^{3}))^{1/B}. The same line of argument can be used to show that we may choose C=1C=1 and λ=max⁡t≥0σ2(A(t))\lambda=\max_{t\geq 0}{{\sigma_{2}(A(t))}}. ∎

We will end up applying this lemma to a sequence of graphs which is only uniformly strongly connected after throwing out a few graphs at the start. To that end, we have the following corollary whose proof is straightforward.

Suppose that the graph sequence G(t)G(t) has the following property: there exists an integer T>0T>0 such that given any integer s≥0s\geq 0, there is a time 0≤ts≤T0\leq t_{s}\leq T for which the graph sequence G(s+ts),G(s+ts+1),G(s+ts+2),…G(s+t_{s}),G(s+t_{s}+1),G(s+t_{s}+2),\ldots is uniformly strongly connected. Then, for each integer s≥0s\geq 0 there is a stochastic vector ϕ(s)\phi(s) such that for all i,ji,j and t≥st\geq s,

where C,λC,\lambda may be taken as in Lemma 3.

In the proof of Lemma 1, we will make use of a lower bound on the entries of the vectors 1′A(t)⋯A(0){\bf 1}^{\prime}A(t)\cdots A(0). To provide such a bound, we employ the following intermediate result which provides a uniform lower bound on the entries of the vectors 1′A′(t)⋯A′(0){\bf 1}^{\prime}A^{\prime}(t)\cdots A^{\prime}(0).

Given a graph sequence {G(t)}\{G(t)\}, define

If the graph sequence {G(t)}\{G(t)\} is uniformly strongly connected, then δ′≥1nnB.\delta^{\prime}\geq\frac{1}{n^{nB}}. If each G(t)G(t) is regular, then δ′=1\delta^{\prime}=1.

By the definition of matrices A(t)A(t) in Eq. (10), we have [A(t)]ii=1/di(t)[A(t)]_{ii}=1/d_{i}(t). Since di(t)≤nd_{i}(t)\leq n, it follows that [A(t)]ii≥1/n[A(t)]_{ii}{{\geq}}1/n for all tt and ii. Therefore, for all ii,

Thus, we certainly have [1′A′(t)⋯A′(1)]i≥1/nnB[{\bf 1}^{\prime}A^{\prime}(t)\cdots A^{\prime}(1)]_{i}\geq 1/n^{nB} for all ii and all tt in the range 1≤t≤nnB1\leq t\leq n^{nB}. However, it was shown in that for t>(n−1)Bt>(n-1)B, every entry of A′(t)⋯A′(1)A^{\prime}(t)\cdots A^{\prime}(1) is positive and has value at least 1/nnB1/n^{nB}. Since nnB>(n−1)Bn^{nB}>(n-1)B, this proves the bound δ′≥1/nnB\delta^{\prime}\geq 1/n^{nB}. The final claim that δ′=1\delta^{\prime}=1 for a sequence of regular graphs is trivial. ∎

As an immediate consequence of the definition of δ′\delta^{\prime}, we have ϕj(s)≥δ′/n\phi_{j}(s)\geq\delta^{\prime}/n for all jj.

By taking transposes and applying Lemmas 2, 3, 4, we immediately obtain the following result on the products A(t)⋯A(s)A(t)\cdots A(s). For convenience, let us adopt the notation of denoting these products by A(t:s)A(t:s), i.e.,

Let the graph sequence {G(t)}\{G(t)\} be uniformly strongly connected. Then, the following statements are valid:

If in addition each G(t)G(t) is regular, we may choose

whenever sup⁡t≥0σ2(A(t))<1\sup_{t\geq 0}{{\sigma_{2}(A(t))}}<1.

Moreover, if the graphs G(t)G(t) are regular, we have δ=1\delta=1.

The stochastic vectors ϕ(t)\phi(t) satisfy for all j,j,

The results follow by employing Corollary 1, Lemmas 3, 4, and Remark 2, where we take the transposes of the matrices. The only aspect that needs to be verified is that these lemmas can be applied, which is routine, with the exception of the issue of the uniform strong connectivity requiring elaboration.

When we transpose A(t:s)A(t:s) to obtain the product A′(s)⋯A′(t−1)A′(t)A^{\prime}(s)\cdots A^{\prime}(t-1)A^{\prime}(t), we have reversed the order in which the matrices appear. Moreover, by taking the transposes of each matrix, we have effectively reversed the direction of every edge in each graph G(t)G(t). In the case when sup⁡t≥0σ2(A(t))<1\sup_{t\geq 0}\sigma_{2}(A(t))<1, it is easy to see that B=1B=1 and the resulting “reversed” sequence is connected at every step, so the bound of Lemma 3 applies verbatim. In the other cases, the resulting sequence is still strongly connected once we throw out at most BB graphs from the start of the sequence. The bounds of Corollary 1 thus apply with t−st-s replaced by t−s−Bt-s-B, which we take care of by instead doubling the constant CC. ∎

The parameter δ\delta as defined in Lemma 4 may be thought of as a measure of imbalance of the influence among the nodes. Indeed, δ\delta is defined as the best lower bound on the row sums of the matrices A(t:s)A(t:s). In the case when each of the graphs G(t)G(t) is regular, the matrices A(t)A(t) will be doubly stochastic and we will have δ=1\delta=1 as previously remarked (i.e., no imbalance of influence). By contrast, when δ≈0\delta\approx 0, there is a node ii such that the ii’th row in some A(t:s)A(t:s) will have entries which are all nearly zero; in short, it is almost as if node ii has no in-neighbors at all.

We proceed with our sequence of intermediate lemmas for the proof of Lemma 1. We will now need some auxiliary results on the convolution of two scalar sequences, as in the following statement.

( Lemma 3.1) Let {γk}\{\gamma_{k}\} be a scalar sequence.

With these pieces in places, we can now proceed to the proof of Lemma 1. Our argument will rely on Corollary 2 on the products A(t:s)A(t:s) and the just-stated Lemma 5 on the convolution sequences.

(a) By inspecting Eq. (18) it is easy to see that for all t≥0t\geq 0,

Moreover, since each A(t)A(t) is column-stochastic, we have that 1′A(t)=1′{\bf 1}^{\prime}A(t)={\bf 1}^{\prime} and Eq. (25) further implies that

Now, from Eq. (26) and Eq. (27) we obtain for all t≥0t\geq 0,

According to Corollary 2, if we define D(t,s)D(t,s) to be

where the constants C>0C>0 and λ∈(0,1)\lambda\in(0,1) have the properties listed in Corollary 2.

Therefore, from relation (28) it follows for t≥0t\geq 0,

We may derive a similar expression for y(t+1)y(t+1):

which holds for all t≥0t\geq 0. From (32) and (34) we obtain for every t≥1t\geq 1 and all ii,

By bringing the fractions to a common denominator, after the cancellation of some terms, we find that

Observe that the denominator of the above fraction is nn times the ii’th row sum of A(t:0)A(t:0). By definition of δ\delta, this row sum is at least δ\delta, and consequently

Factoring nn out in the last term, and using estimates for ∣[D(t:s)]ij∣|[D(t:s)]_{ij}| as given in (31), we obtain

Now we look at the term 1′x(t){\bf 1}^{\prime}x(t). From Eq. (27), we have

From the preceding two relations it follows that for all ii and t≥1t\geq 1,

Since we were able to choose C≤4C\leq 4 in all the cases considered in Lemma 2, we may choose C=4C=4 to obtain the result in part (a).

(b) By letting t→∞t\to\infty in the preceding relation, since λ∈(0,1)\lambda\in(0,1), we find that for all i,i,

When ϵi(t)→0\epsilon_{i}(t)\to 0 for all ii, then ∥ϵ(t)∥1→0\|\epsilon(t)\|_{1}\to 0 and, by Lemma 5(a), we conclude that

and the result follows from the preceding two relations.

((c) Since {α(t}\{\alpha(t\} is positive and non-increasing sequence, we have α(t+1)≤α(1)\alpha(t+1)\leq\alpha(1) for all t≥0t\geq 0 and α(t+1)≤α(s)\alpha(t+1)\leq\alpha(s) for all t≥s≥0t\geq s\geq 0. Using these relations, we obtain

Lemma 1, which we have just proved, is the central result of this section. It states that each of the sequences zi(t+1)z_{i}(t+1) tracks the average xˉ(t)=1′x(t)/n\bar{x}(t)={\bf 1}^{\prime}x(t)/n increasingly well as time goes on. We will later require a corollary of this lemma showing that a weighted time-average of each zi(t+1)z_{i}(t+1) tracks a weighted time-average of xˉ(t)\bar{x}(t). The next corollary gives a precise statement of this result. In the derivation, we also use the following inequality

and the relation 2(t+2−1)≥t+12\left(\sqrt{t+2}-1\right)\geq\sqrt{t+1} for all t≥1t\geq 1.

Suppose that all the assumptions of Lemma 1 are satisfied. Moreover, let α(t)=1/t\alpha(t)=1/\sqrt{t} for all t≥1t\geq 1 and the perturbations ϵi(t)\epsilon_{i}(t) are bounded as follows:

we have for every i=1,…,ni=1,\ldots,n and t≥1t\geq 1,

where δ∈(0,1]\delta\in(0,1] and λ∈(0,1)\lambda\in(0,1) are as given in Lemma 1.

From Lemma 1(a) we have for all ii and all t≥1t\geq 1,

From the definition of the perturbed push-sum method, we have

where the last equality follows from yi(0)=1y_{i}(0)=1 for all ii. Thus, zi(1)z_{i}(1) is a weighted average of the entries in x(0)x(0), while xˉ(0)\bar{x}(0) is the average of these entries. Hence,

By summing the relations in Eqs. (44) and (46), we obtain the estimate in Eq. (40). The relation in Eq. (42) follows from α(t)=1/t\alpha(t)=1/\sqrt{t} and Eqs. (39)–(40). ∎

We conclude this section by noting that Lemma 1 and Corollary 3 can be extended to the case when xi(t)x_{i}(t) (and, by extension, zi(t)z_{i}(t)) is a dd-dimensional vector, by applying the results to each coordinate component of the space.

IV Convergence Results for Subgradient-Push Method

We turn now to the proofs of our main results, namely Theorems 1 and 2. Our arguments will crucially rely on the convergence results for the perturbed push-sum method we have established in Section III.

We give a brief, informal summary of the main ideas behind our argument. The convergence result for the perturbed push-sum method of Section III implies that, under the appropriate assumptions, the entries of zi(t){\mathbf{z}}_{i}(t) get close to each other over time, and consequently zi(t){\mathbf{z}}_{i}(t) approaches a multiple of the all-ones vector. Thus, every node takes a subgradient of its own function fif_{i} at nearly the same point. Over time, these subgradients are averaged over the nodes by the push-sum-like updates of our method. Consequently, the subgradient-push method approximates the ordinary (centralized) subgradient algorithm applied to the average function 1n∑j=1nfj\frac{1}{n}\sum_{j=1}^{n}f_{j}.

We now begin the formal process of proving Theorems 1 and 2. In what follows, we will use a deterministic counterpart of the well-known (almost) supermartingale convergence result (; see also , Lemma 11, Chapter 2.2). The result is given in the following lemma.

Let {vt}\{v_{t}\} be a non-negative scalar sequence such that

where bt≥0,b_{t}\geq 0, ut≥0u_{t}\geq 0 and ct≥0c_{t}\geq 0 for all t≥0t\geq 0 with ∑t=0∞bt<∞\sum_{t=0}^{\infty}b_{t}<\infty, and ∑t=0∞ct<∞\sum_{t=0}^{\infty}c_{t}<\infty. Then, the sequence {vt}\{v_{t}\} converges to some v≥0v\geq 0 and ∑t=0∞ut<∞\sum_{t=0}^{\infty}u_{t}<\infty.

Our first step is to establish a lemma pertinent to the convergence of a sequence satisfying a subgradient-like recursion. In the proof of this lemma, we make use of Lemma 6.

where bt≥0,b_{t}\geq 0, αt≥0\alpha_{t}\geq 0 and ct≥0c_{t}\geq 0 for all t≥0t\geq 0, with ∑t=0∞bt<∞\sum_{t=0}^{\infty}b_{t}<\infty, ∑t=0∞αt=∞\sum_{t=0}^{\infty}\alpha_{t}=\infty and ∑t=0∞ct<∞\sum_{t=0}^{\infty}c_{t}<\infty. Then, the sequence {xt}\{x_{t}\} converges to some solution x∗∈X∗x^{*}\in X^{*}.

Thus, all the conditions of Lemma 6 are satisfied, and by this lemma we obtain the following statements:

Since ∑t=0∞αt=∞\sum_{t=0}^{\infty}\alpha_{t}=\infty, it follows from (48) that

A key relations in the proofs of Theorems 1 and 2 will be obtained by applying Lemma 7 to the average process

where xi(t){\mathbf{x}}_{i}(t) is the sequence generated by the subgradient-push method. We will need to argue that xˉ(t)\bar{\mathbf{x}}(t) satisfies the assumptions of Lemma 7, for which the following result will be instrumental.

Since the subgradient norms of each fif_{i} are uniformly bounded by LiL_{i}, it further follows that for all t≥0t\geq 0,

We next consider a cross-term gi′(t+1)(xˉ(t)−v){\mathbf{g}}^{\prime}_{i}(t+1)(\bar{\mathbf{x}}(t)-{\mathbf{v}}) in (51). For this term, we write

Using the subgradient boundedness and the Cauchy-Schwarz inequality, we can lower bound the first term gi′(t+1)(xˉ(t)−zi(t+1)){\mathbf{g}}_{i}^{\prime}(t+1)(\bar{\mathbf{x}}(t)-{\mathbf{z}}_{i}(t+1)) as

As for the second term gi′(t+1)(zi(t+1)−v){\mathbf{g}}_{i}^{\prime}(t+1)({\mathbf{z}}_{i}(t+1)-{\mathbf{v}}), we can use the fact that gi′(t+1){\mathbf{g}}_{i}^{\prime}(t+1) is the subgradient of fi(θ)f_{i}(\theta) at θ=zi(t+1)\theta={\mathbf{z}}_{i}(t+1) to obtain:

from which, by adding and subtracting fi(xˉ(t))f_{i}\left(\bar{\mathbf{x}}(t)\right) and using the Lipschitz continuity of fif_{i} (implied by the subgradient boundedness), we further obtain

By substituting the estimates of Eqs. (56)–(58) back in relation (54), and using F(x)=∑i=1nfi(x)F({\mathbf{x}})=\sum_{i=1}^{n}f_{i}({\mathbf{x}}) we obtain

With all the pieces in place, we are finally ready to prove Theorem 1. The proof idea is to show that the averages xˉ(t)\bar{\mathbf{x}}(t), as defined in Lemma 8, converge to some solution x∗∈Z∗x^{*}\in Z^{*} and then show that zi(t+1)−xˉ(t){\mathbf{z}}_{i}(t+1)-\bar{\mathbf{x}}(t) converges to 0 for all ii, as t→∞t\to\infty. The last step will be accomplished by invoking Lemma 1 on the perturbed push-sum protocol.

Therefore, since by assumption ∑t=1∞α(t)2<∞\sum_{t=1}^{\infty}\alpha(t)^{2}<\infty and ∥gi(t)∥≤Li\|{\mathbf{g}}_{i}(t)\|\leq L_{i}, we obtain for all i=1,…,ni=1,\ldots,n,

Now, observe that we can apply Lemma 8 with v=z∗{\mathbf{v}}=z^{*} for any solution z∗∈Z∗z^{*}\in Z^{*} to obtain

where F∗F^{*} is the optimal value (i.e., F∗=F(z∗)F^{*}=F(z^{*}) for any z∗∈Z∗z^{*}\in Z^{*}). In view of Eq. (62), it follows that

Having proven Theorem 1, we now turn to the proof of the convergence rate results of Theorem 2. The first step will be a slight modification of the result we have just proved - whereas the proof of Theorem 1 relies on F(xˉ(t))→F∗F(\bar{\mathbf{x}}(t))\rightarrow F^{*}, in order to obtain a convergence rate we will now need to argue that we can replace F(xˉ(t))F(\bar{\mathbf{x}}(t)) by FF evaluated at a running average of the vectors zi(t){\mathbf{z}}_{i}(t) for any ii. This is stated precisely in the following lemma.

If all the assumptions of Theorem 1 are satisfied and α(t)=1/t\alpha(t)=1/\sqrt{t}, then for all t≥1t\geq 1 and any z∗∈Z∗z^{*}\in Z^{*},

From Lemma 8 we have for any v{\mathbf{v}} and t≥0t\geq 0,

Now setting v=z∗{\mathbf{v}}={\mathbf{z}}^{*} for some z∗∈Z∗{\mathbf{z}}^{*}\in Z^{*} and using the convexity of FF, we obtain

(cf. Eq. (40) of Corollary 3), which after some elementary algebra implies that

Now, using the fact that the Euclidean norm of a vector is not larger that its 11-norm, we substitute Eq. (71) into Eq. (67). Then, using the definition of S(t)S(t) and Eq. (39) we bound the denominator in Eq. (67) as follows

We are now finally in position to prove Theorem 2. At this point, the proof is a simple combination of Lemma 9, which tells us that F(∑k=0tα(k+1)xˉ(k)∑k=0tα(k+1))F\left(\frac{\sum_{k=0}^{t}\alpha(k+1)\bar{\mathbf{x}}(k)}{\sum_{k=0}^{t}\alpha(k+1)}\right) approaches F(z∗)F(z^{*}), along with Corollary 3, which tells us that ∑k=0tα(k+1)xˉ(k)∑k=0tα(k+1)\frac{\sum_{k=0}^{t}\alpha(k+1)\bar{\mathbf{x}}(k)}{\sum_{k=0}^{t}\alpha(k+1)} and ∑k=0tα(k+1)zi(k+1)∑k=0tα(k+1)\frac{\sum_{k=0}^{t}\alpha(k+1){\mathbf{z}}_{i}(k+1)}{\sum_{k=0}^{t}\alpha(k+1)} get close to each other over time for all i=1,…,ni=1,\ldots,n.

It is easy to see by induction that the vectors z~i(t)\widetilde{\mathbf{z}}_{i}(t) defined in the statement of Theorem 2 are weighted time-averages of zi(t){\mathbf{z}}_{i}(t), given by: for all ii,

By the boundedness of subgradients we obtain for all ii and t≥0t\geq 0,

Applying Corollary 3 to each of the coordinates of the vectors zi(k+1){\mathbf{z}}_{i}(k+1) and xˉ(t)\bar{\mathbf{x}}(t), we obtain for all ii and t≥1t\geq 1,

By summing the preceding relation and that of Lemma 9, we have

V Simulations

We report some simulations of the subgradient-push method which experimentally demonstrate that its performance is often quite scalable. We will be optimizing the scalar function F(θ)=∑i=1npi(θ−ui)2F(\theta)=\sum_{i=1}^{n}p_{i}(\theta-u_{i})^{2} where uiu_{i} is a variable that is known only to node ii. This is a canonical problem in distributed estimation: the nodes are attempting to measure a parameter θ^\widehat{\theta}, and node ii measures ui=θ^+wiu_{i}=\widehat{\theta}+w_{i} where wiw_{i} are jointly Gaussian and zero mean. Letting pip_{i} be the inverse of the variance of wiw_{i}, the maximum likelihood estimate is the minimizer θ∗\theta^{*} of F(θ)F(\theta) (θ∗\theta^{*} is unique provided that pi>0p_{i}>0 for at least one ii). We set a half of the pip_{i}’s to zero (corresponding to nodes not taking any measurements) and the other half of the pip_{i}’s to uniformly random values between and 11. The initial points xi(0)x_{i}(0) are independent random variables, each with a standard Gaussian distribution. Figure 1 shows the results for simple random graphs where every node has two out-neighbors, one belonging to a fixed cycle and the other one chosen uniformly at random at each step. The plot to the left shows how ∥z(t)−θ∗1∥\|z(t)-\theta^{*}{\bf 1}\| decays on a graph instance with n=1000n=1000 nodes, while one to the right shows the (average) time until ∥z(t)−θ∗1∥≤0.1\|z(t)-\theta^{*}{\bf 1}\|\leq 0.1 as the size nn of the graph varies from 10 to 90. Figure 2 illustrates the same quantities for the sequence of graphs which alternate between two (undirected) star graphs.

We see that in both cases the initial decay is quite fast and it takes only a small number of iterations to bring all the nodes reasonably close to the optimal value. Nevertheless, the decay is clearly sub-geometric, consistently with the bounds we have proven. However, in both cases, the time to get the error below the threshold of 0.10.1 starting from random initial points appears to scale linearly in the number of nodes.

VI Conclusions

We have introduced the subgradient-push, a broadcast-based distributed protocol for distributed optimization of a sum of convex functions over directed graphs. We have shown that, as long as the communication graph sequence {G(t)}\{G(t)\} is uniformly strongly connected, the subgradient-push succeeds in driving all the nodes to the same point in the set of optimal solutions. Moreover, the objective function converges at a rate of O(ln⁡t/t)O(\ln t/\sqrt{t}), where the constant depends on the initial vectors, bounds on subgradient norms, consensus speed λ\lambda of the graph sequence {G(t)}\{G(t)\}, as well as a measure of the imbalance of influence δ\delta among the nodes.

Our results motivate the open problems associated with understanding how the consensus speed λ\lambda depends on properties of the sequence {G(t)}\{G(t)\}. Similarly, it is also natural to ask how the measure of imbalance of influence δ\delta depends on the combinatorial properties of the graphs G(t)G(t), namely how it depends on the diameters, the size of the smallest cuts, and other pertinent features of the graphs in the sequence {G(t)}\{G(t)\}.

References