Fast Distributed Gradient Methods
Dusan Jakovetic, Joao Xavier, Jose M. F. Moura
I Introduction
To solve this and related problems, the literature proposes several distributed gradient like methods, including: (see also ); (see also ); (see also ); and . When the nodes lack global knowledge of the network parameters, reference establishes, for the distributed dual averaging algorithm therein, rate , where is the number of communicated -dimensional vectors per node, which also equals the number of iterations (gradient evaluations per node,) and is the second largest singular value of the underlying doubly stochastic weight matrix . Further, when is known to the nodes, and after optimizing the step-size, shows the convergence rate to be .
Setup. The class of functions usually considered in the references above are more general than we consider here, namely, they assume that the ’s are (possibly) non-differentiable and convex, and:
In contrast, we assume the class of convex ’s that have Lipschitz continuous and bounded gradients.
It is well established in centralized optimization, , that one expects faster convergence rates on classes of more structured functions; e.g., for convex, non-smooth functions, the best achievable rate for centralized (sub)gradient methods is , while, for convex functions with Lipschitz continuous gradient, the best rate is , achieved, e.g., by the Nesterov gradient method . Here is the number of iterations, i.e., the number of gradient evaluations.
Contributions. Building from the centralized Nesterov gradient method, we develop for the class two distributed gradient methods and prove their convergence rates, in terms of the number of per-node communications , the per-node gradient evaluations , and the network topology. Our first method, the Distributed Nesterov Gradient (D–NG), uses one communication per (it has ) and achieves convergence rate , where and is an arbitrarily small quantity, when the nodes have no global knowledge of the parameters underlying the optimization problem and the network: and the ’s gradient’s Lispchitz constant and the gradient bound, respectively, the second largest singular value of , and a bound on the distance to a solution. When and are known by all, D–NG with optimized step-size achieves the same rate with reduced to .
Our second method, Distributed Nesterov gradient with Consensus iterations (D–NC), assumes global knowledge on and and achieves rates and . Further, we establish that, for the class , both our methods (achieving at least ) are strictly better than the distributed (sub)gradient method and the distributed dual averaging in , even when these algorithms are restricted to functions in . We show analytically that cannot be better than and (see Subsection VII-A for details), and by simulation examples that and perform similarly.
Distributed versus centralized Nesterov gradient methods. The centralized Nesterov gradient method does not require bounded gradients – an assumption that we make for our distributed methods. We prove here that if we drop the bounded gradients assumption, the convergence rates that we establish do not hold for either of our algorithms. (It may be possible to replace the bounded gradients assumption with a weaker requirement.) In fact, the worst case convergence rates of D–NG and D–NC become arbitrarily slow. (See Subsection VII-B for details.) This important result illustrates a distinction between the allowed function classes by the centralized and distributed methods. The result is not specific to our accelerated methods; it can be shown that the standard distributed gradient method in is also arbitrarily slow when the assumption of bounded gradients is dropped (while convexity and Lipschitz continuous gradient hold) .
Remark. We comment on references and (see also Subsection VII-A and ). They develop accelerated proximal methods for time varying networks that resemble D–NC. The methods in and use only one consensus algorithm per outer iteration , while we use two with D–NC. Adapting the results in to our framework, it can be shown that the optimality gap bounds in expressed in terms of and have the same or worse (depending on the variant of their methods) dependence on and than the one we show for D–NC, and a worse dependence on . (See Subsection VII-A and .)
In addition to distributed gradient methods, literature also proposes distributed augmented Lagrangian dual or ordinary dual methods . These are based on the augmented Lagrangian (or ordinary) dual of the original problem. They in general have significantly more complex iterations than the gradient type methods that we consider in this paper, due to solving local optimization problems at each node, at each iteration, but may have a lower total communication cost. Reference uses the Nesterov gradient method to propose an augmented Lagrangian dual algorithm but does not analyze its convergence rate. In contrast, ours are primal gradient algorithms, with no notion of Lagrangian dual variables, and we establish the convergence rates of our algorithms. References study both the resource allocation and the problems that we consider (see (1)). For (1), apply certain accelerated gradient methods on the dual problem, in contrast with our primal gradient methods. Finally, uses the Nesterov gradient algorithm to propose a decomposition method based on a smoothing technique, for a problem formulation different than ours and on the Lagrangian dual problem.
Paper organization. The next paragraph introduces notation. Section II describes the network and optimization models that we assume. Section III presents our algorithms, the distributed Nesterov gradient and the distributed Nesterov gradient with consensus iterations, D–NG and D–NC for short. Section IV explains the framework of the (centralized) inexact Nesterov gradient method; we use this framework to establish the convergence rate results for D–NG and D–NC. Sections V and VI prove convergence rate results for the algorithms D–NG and D–NC, respectively. Section VII compares our algorithms D–NG and D–NC with existing distributed gradient type methods, discusses the algorithms’ implementation, and discusses the need for our Assumptions. Section VIII provides simulation examples. Finally, we conclude in Section IX. Proofs of certain lengthy arguments are relegated to Appendix.
II Problem model
This section introduces the network and optimization models that we assume.
Network model. We consider a (sparse) network of nodes (sensors, processors, agents,) each communicating only locally, i.e., with a subset of the remaining nodes. The communication pattern is captured by the graph where is the set of links. The graph is connected, undirected and simple (no self/multiple links.)
Weight matrix. We associate to the graph a symmetric, doubly stochastic (rows and columns sum to one and all the entries are non-negative), weight matrix , with, for , if and only if, and Denote by where is the ideal consensus matrix. We let , where is the diagonal matrix with , and is the matrix of the eigenvectors of . With D–NC, we impose Assumption 1 (a) below; with D–NG, we require both Assumptions 1 (a) and (b).
We assume that (a) ; and (b) where is an arbitrarily small positive quantity.
Note that Assumption 1 (a) can be fulfilled only by a connected network. Assumption 1 (a) is standard and is also needed with the existing algorithms in . For a connected network, nodes can assign the weights and fulfill Assumption 1 (a), e.g., through the Metropolis weights ; to set the Metropolis weights, each node needs to know its own degree and its neighbors’ degrees. Assumption 1 (b) required by D–NG is not common in the literature. We discuss the impact of Assumption 1 (b) in Subsection VII-A.
Distributed optimization model. The nodes solve the unconstrained problem:
III Distributed Nesterov based algorithms
We now consider our two proposed algorithms. Subsection III-A presents algorithm D–NG, while subsection III-B presents algorithm D–NC.
Here, are the averaging weights (the entries of ), and is the neighborhood set of node (including ). The step-size and the sequence are:
With algorithm (2)–(3), each node , at each iteration , performs the following: 1) broadcasts its variable to all its neighbors ; 2) receives from all its neighbors ; 3) updates by weight-averaging its own and its neighbors variables , and performs a negative gradient step with respect to ; and 4) updates via the inexpensive update in (3). To avoid notation explosion in the analysis further ahead, we assume throughout the paper, with both D–NG and D–NC, equal initial estimates for all e.g., nodes can set them to zero.
We adopt the sequence as in the centralized fast gradient method by Nesterov ; see also . With the centralized Nesterov gradient, is constant along the iterations. However, under a constant step-size, algorithm (2)–(3) does not converge to the exact solution, but only to a solution neighborhood. More precisely, in general, does not converge to (See for details.) We force to converge to with (2)–(3) by adopting a diminishing step-size , as in (4). The constant in (4) can be arbitrary (See also ahead Theorem 5.)
where the identity matrix is of size – the dimension of the optimization variable in (1).
III-B Algorithm D–NC
Algorithm D–NC uses a constant step-size and operates in two time scales. In the outer (slow time scale) iterations , each node updates its solution estimate , and updates an auxiliary variable (as with the D–NG); in the inner iterations , nodes perform two rounds of consensus with the number of inner iterations given in (7) and (13) below, respectively. D–NC is Summarized in Algorithm 1.
The number of inner consensus iterations in (7) increases as and depends on the underlying network through . Note an important difference between D–NC and D–NG. D–NC uses explicitly a number of consensus steps at each . In contrast, D–NG does not explicitly use multi-step consensus at each ; consensus occurs implicitly, similarly to .
Vector form. Using the same compact notation for , , and as with D–NG, D–NC in vector form is:
The power in (9) corresponds to the first consensus in (7), and the power in (10) corresponds to the second consensus in (13). The connection between D–NC and the (centralized) Nesterov gradient method becomes clearer in Subsection IV-B. The matrix powers (9)–(10) are implemented in a distributed way through multiple iterative steps – they require respectively and iterative (distributed) consensus steps. This is clear from the representation in Algorithm 1.
IV Intermediate results: Inexact Nesterov gradient method
We will analyze the convergence rates of D–NG and D–NC by considering the evolution of the global averages and . We will show that, with both distributed methods, the evolution of and can be studied through the framework of the inexact (centralized) Nesterov gradient method, essentially like the one in . Subsection IV-A introduces this framework and gives the relation for the progress in one iteration. Subsection IV-B then demonstrates that we can cast our algorithms D–NG and D–NC in this framework.
We next introduce the definition of a (pointwise) inexact first order oracle.
Remark. The prefix pointwise in Definition 1 emphasizes that we are concerned with finding that satisfy (11) with at a fixed point . This differs from the conventional definition (Definition 1) in . Throughout, we always refer to the inexact oracle in the sense of Definition 1 here and drop the prefix pointwise.
Consider the update rule (12) for some Then:
Lemma 2 is similar to [, Theorem 5], although considers a different accelerated Nesterov method. It is intuitive: the progress per iteration is the same as with the exact Nesterov gradient algorithm, except that it is deteriorated by the “gradient direction inexactness” (). The proof follows the arguments of and and is in .
IV-B Algorithms D–NG and D–NC in the inexact oracle framework
We now cast algorithms D–NG and D–NC in the inexact oracle framework.
Algorithm D–NG. Recall the global averages and , and define:
Multiplying (5)–(6) from the left by , using , letting , and using in (14), we obtain that , evolve according to:
The following Lemma shows how we can analyze convergence of (15) in the inexact oracle framework. Define and Define analogously and . We refer to and as the disagreement vectors, as they indicate how mutually apart the estimates of different nodes are.
Let Assumption 2 hold. Then, in (14) is a inexact oracle of at point with constants and
Lemma 3 implies that, if , i.e., if , then the progress per iteration in Lemma 2 holds for (15) with . If , Lemma 2 applies for all iterations ; otherwise, it holds for all .
For notation simplicity, we re-write and as and , and as . In view of Definition 1, we need to show inequalities (11). We first show the left one. By convexity of : summing over , using , and expressing :
We now prove the right inequality in (11). As is convex and has Lipschitz continuous derivative with constant , we have: which, after summation over , expressing , and using the inequality , gives:
and so satisfy the right inequality in (11) with and ∎
Algorithm D–NC. Consider algorithm D–NC in (9)–(10). To avoid notational clutter, use the same notation as with D–NG for the global averages: , and , re-define for D–NC as in (14), and let . Multiplying (9)–(10) from the left by , and using , we get that satisfy (15). As , we have , and so, by Lemma 3, the progress per iteration in Lemma 2 applies to of D–NC for all , with .
In summary, the analysis of convergence rates of both D–NG and D–NC boils down to finding the disagreements and then applying Lemma 2.
V Algorithm D–NG: Convergence analysis
This Section studies the convergence of D–NG. Subsection V-A bounds the disagreements and with D–NG; Subsection V-B combines these bounds with Lemma 2 to derive the convergence rate of D–NG and its dependence on the underlying network.
This subsection shows that and are , hence establishing asymptotic consensus – the differences of the nodes’ estimates (and ) converge to zero. Recall the step-size constant in (4) and the gradient bound in Assumption 3.
For D–NG in (2)–(4) under Assumptions 1 and 3:
with
For notational simplicity, we prove Theorem 4 for , but the proof extends to a generic We model the dynamics of the augmented state as a linear time varying system with inputs . We present here the linear system and solve it in the Appendix. Substitute the expression for in (5); multiply the resulting equation from the left by ; use ; and set by assumption. We obtain:
for all , where , for , is in (4), and . We emphasize that system (V-A) is more complex than the corresponding systems in, e.g., , which involve only a single state ; the upper bound on from (V-A) is an important technical contribution of this paper; see Theorem 4 and Appendix A.
V-B Convergence rate and network scaling
Theorem 5 (a) states the convergence rate result for D–NG when the step-size constant ; Theorem 5 (b) (proved in ) demonstrates that the convergence rate still holds if , with a deterioration in the convergence constant. Part (b) assumes , , to avoid notational clutter.
Consider D–NG under Assumptions 1–3. Let , . Then:
If , we have, , :
We prove here Theorem 5 (a); for part (b), see .
The proof consists of two parts. In the Step 1 of the proof, we estimate the optimality gap at the point using Lemma 2 and the inexact oracle machinery. In the Step 2, we estimate the optimality gap at any node using convexity of the ’s and the bound on from Theorem 4.
Step 1. Optimality gap . Recall that, for in (14) is a inexact oracle of at point with and . Note that is also a inexact oracle of at point with , because , and so . Now, we apply Lemma 2 to (15), with , and the Lipschitz constant Recall that We get:
Because , and , we have:
By unwinding the above recursion, and using , gives: Applying Theorem 4 to the last equation, and using , and the assumption , leads to, as desired:
Step 2. Optimality gap . Fix an arbitrary node ; then, by convexity of , : and so: Summing the inequalities for , using , subtracting from both sides, from Theorem 4:
which, with (29) where the summation variable is replaced by , completes the proof. ∎
Network Scaling. Using Theorem 5, Theorem 6 studies the dependence of the convergence rate on the underlying network – and , when: 1) nodes do not know and before the algorithm run, and they set the step-size constant to a constant independent of , e.g., ; and 2) nodes know , and they set See for dependence of on for commonly used models, e.g., expanders or geometric graphs.
Consider the algorithm D–NG in (2)–(4) under Assumptions 1–3. Then, is:
where depends only on . Consider there exists such that: , Thus:
for all . From the above equation, and using , , we have . The latter, applied to (17), yields (31), with
A scaling result , , readily follows by substitution of (31) in Theorem 5 (a) and (b), respectively. To prove Theorem 6, we modify the argument of (30). We first prove claim (b). Namely, at any node , using Lipschitz continuity of (with constant ), , and thus:
We now apply (31) to (33). Claim (b) is proved after setting . The proof for claim (a) is completely analogous; the argument only replaces the term in (29) with , see also , and sets . ∎
VI Algorithm D–NC: Convergence Analysis
We now consider the D–NC algorithm. Subsection VI-A provides the disagreement estimate, while Subsection VI-A gives the convergence rate and network scaling.
We estimate the disagreements , and with D–NC.
Let Assumptions 1 (a) and 3 hold, and consider the algorithm D–NC. Then, for : , and
For notational simplicity, we perform the proof for , but it extends to a generic . Denote by , and fix . We want to upper bound . Multiplying (9)–(10) by from the left, using :
We upper bound and from (34), (35). Recall ; from (7) and (13), we have and From (34), using the sub-additive and sub-multiplicative properties of norms, and using , , , :
Clearly, from (36) and (37): Next, using , unwind the latter recursion for , to obtain, respectively: and , and so the bound in Theorem 7 holds for Further, for unwinding the same recursion for :
where we use , ∎
VI-B Convergence rate and network scaling
We are now ready to state the Theorem on the convergence rate of D–NC.
Consider the algorithm D–NC under Assumptions 1 (a), 2, and 3. Let , . Then, after communication rounds, i.e., after outer iterations, at any node :
The proof is very similar to the proof of Theorem 5 (a) (for details see , second version v2); first upper bound , and then . To upper bound , recall that the evolution (15) with for is the inexact Nesterov gradient with the inexact oracle in (14), and . Then, apply Lemma 2 with and , and use Theorem 7, to obtain:
Finally, find the bound on analogously to the proof of Theorem 5 (a). ∎
Network scaling. We now give the network scaling for algorithm D–NC in Theorem 9. We assume that nodes know and before the algorithm run.
Consider D–NC under Assumptions 1 (a), 2, and 3 with step-size . Then, after outer iterations and communication rounds, at any node , is and
Fix , and let be the number of elapsed communication rounds after outer iterations. There exists , such that, The latter, combined with , , and the upper bound bound on in Theorem 8, gives: . Plugging the latter in the optimality gap bound in Theorem 8 gives a scaling result and . To prove Theorem 9, we proceed analogously to the proof of Theorem 6. From Theorem 8 and , . Consider (32). Subtracting , dividing by , and using and (39), we obtain . Finally, substitute in the last bound. ∎
VII Comparisons with the literature and Discussion of the Assumptions
Subsection VII-A compares D–NG, D–NC, and the distributed (sub)gradient algorithms in , from the aspects of implementation and convergence rate; Subsection VII-B gives a detailed discussion on Assumptions 1–3.
We first set up the comparisons by explaining how to account for Assumption 1 (b) and by adapting the results in to our framework.
Assumption 1 (b). To be fair, we account for Assumption 1 (b) with D–NG as follows. Suppose that the nodes are given arbitrary symmetric, doubly stochastic weights with – the matrix required by D–NC and . (For example, the Metropolis weights .) As the nodes may not be allowed to check whether the given obeys Assumption 1 (b) or not, they modify the weights to , where can be taken arbitrarily small. The matrix obeys Assumption 1 (b), whether obeys it or not. The modification is done without any required knowledge of the system parameters nor inter-node communication; node sets: 1) , for , ; 2) , for , ; and 3) . To be fair, when we compare D–NG with other methods (either theoretically as we do here or numerically as done in Section VIII), we set its weights to . For theoretical comparisons, from Theorem 5, the convergence rate of D–NG depends on through the inverse spectral gap It can be shown that i.e., the spectral gaps of and differ only by a constant factor and the weight modification does not affect the convergence rate (up to a numerical constant); henceforth, we express the theoretical rate for D–NG in terms of .
References develop and analyze non-accelerated and accelerated distributed gradient and proximal gradient methods for time-varying networks and convex ’s that have a differentiable component with Lipschitz continuous and bounded gradient and a non-differentiable component with bounded gradient. To compare with , we adapt it to our framework of static networks and differentiable ’s. (We set the non-differentiable components of the ’s to zero.) References assume deterministic time-varying networks. To adapt their results to our static network setup in a fair way, we replace the parameter in (see equation (7) in ) with . The references propose two variants of the accelerated algorithm: the first (see (6a)–(6d) in ) has inner consensus iterations at the outer iteration , while the second one has (See Subsection III-C in .) The bounds established in for the second variant give its rate: 1) , when nodes know and . The first variant has a slower rate .
Algorithm implementation and convergence rate. Table 1 compares D–NG, D–NC, the algorithm in and the second algorithm in with respect to implementation and the number of communications to achieve -accuracy. Here is the smallest number of communication rounds after which , Regarding implementation, we discuss the knowledge required a priori by all nodes for: 1) convergence (row 1); and 2) both stopping and optimizing the step-size (row 2). By stopping, we mean determining a priori the (outer) iteration such that , , . Optimizing the step size here means finding the step-size that minimizes the established upper bound (in the reference of interest) on the optimality gap (e.g., the bound for D–NG in Theorem 5 (a).) We assume, with all methods, that is already given (e.g., Metropolis.) Regarding , we neglect the logarithmic and -small factors and distinguish two cases: 1) the nodes have no global knowledge (row 3); and 2) the nodes know We can see from Table 1 that, without global knowledge (row 3), D–NG has better dependence on than and worse dependence on . Under global knowledge (row 4), D–NC has better complexity than and has better dependence on than and a worse dependence on . Further, while D–NG and require no knowledge of any global parameters for convergence (row 1), D–NC and the second algorithm in need and . The first variant in requires only Also, Table 1 for holds for a wider class of functions, and in row 4, only is needed .
Consider now D–NC when nodes do not have available their local gradient Lipschitz constants . Nodes can take a diminishing step size , , and still guarantee convergence, with a deteriorated rate In alternative, it may be possible to employ a “distributed line search,” similarly to . Namely, in the absence of knowledge of the gradient’s Lipschitz constant , the centralized Nesterov gradient method with a backtracking line search achieves the same rate , with an additional computational cost per iteration ; see . It is an interesting research direction to develop a variant of distributed line search for D–NC type methods and explore the amount of incurred additional communications/computations per outer iteration ; due to lack of space, this is left for future work.
The lower bound on the worst-case optimality gap for . We focus on the dependence on and only (assuming a finite, fixed .) We demonstrate that D–NG has a strictly better worst-case convergence rate in (and ) than , when applied to the ’s defined by Assumptions 2 and 3. Thus, D–NC also has a better rate.
is the worst-case optimality gap when the step-size is used. We perform the proof by constructing a “hard” example of the functions and a “hard” initial condition to upper bound ; for any fixed , we set: , , where:
; and The proof of (40) is in the Appendix. We convey here the underlying intuition. When is -smaller (away) from one, we show:
The first summand is the “optimization term,” for which a counterpart exists in the centralized gradient method also. The second, “distributed problem” term, arises because the gradients of the individual nodes functions are non-zero at the solution Note the two opposing effects with respect to : (the smaller , the better) and (the larger , the better.) To balance the opposing effects of the two summands, one needs to take a diminishing step-size; strikes the needed balance to give the bound.
VII-B Discussion on Assumptions
We now discuss what may occur if we drop each of the Assumptions made in our main results–Theorems 4 and 5 for D–NG, and Theorems 7 and 8 for D–NC.
Assumption 1 (a). Consider Theorems 4 and 7. If Assumption 1 (a) is relaxed, then with both methods may not converge to zero. Similarly, consider Theorems 5 and 8. Without Assumption 1 (a), may not converge to at any node; e.g., take , , and , in the next paragraph.
Note that the above means , , That is, no matter how large the (outer) iteration number is, the worst case optimality gap is still arbitrarily large.
Similarly to D–NC, with D–NG we show in that (42) also holds for the -node connected network, the symmetric with (this obeys Assumption 1), , and . The candidate functions are in (43), where, for fixed , ,
Finally, we consider what occurs if we drop Assumption 3 with Theorems 4 and 7. We show with D–NG and the above “hard” examples that , Hence, is arbitrarily large by choosing large enough. (see .) Similarly, with D–NC: , (see Appendix C and .)
VIII Simulations
We compare the proposed D–NG and D–NC algorithms with on the logistic loss. Simulations confirm the increased convergence rates of D–NG and D–NC with respect to and show a comparable performance with respect to . More precisely, D–NG achieves an accuracy faster than for all , while D–NC is faster than at least for . With respect to , D–NG is faster for lower accuracies ( in the range to ), while becomes faster for high accuracies ( and finer); D–NC performs slower than .
Results. Figure 1 (top) compares D–NG, D–NC (with step-sizes and ), , (both 1st and 2nd variant with .) We can see that D–NG converges faster than other methods for accuracies in the range to . For example, for , D–NG requires about transmissions; (2nd variant) ; D–NC () , and D–NC with ; and (1st variant), , and – at least . For high accuracies, and finer, (2nd variant) becomes faster than D–NG. Finally, (2nd) converges faster than D–NC, while (1st) is slower than D–NC.
We give an intuition on the observed behavior. Consider an “easy” problem with very similar local costs (small ). In such scenario, D–NC over outer iterations behaves very similarly to the exact centralized Nesterov gradient method with a constant step-size . However, during each , D–NC uses per-node communications which, for the “easy” problem, are unnecessary and “waste” resources. (These communications are necessary for “difficult” problems.) Hence, D–NC behaves here as the centralized Nesterov gradient method slowed (re-scaled) through (unnecessary) multiple consensus rounds. From the above, it may seem intuitive that the relative performance of D–NC over D–NG is poorer for “easy” problems due to “wastes” in communications; but this does not occur in simulations. To explain why, consider now D–NG for the same “easy” problem. It behaves over similarly to the exact centralized Nesterov gradient method with a diminishing step-size . Hence, not only D–NC behaves as a suboptimal centralized gradient method (due to multiple consensus rounds), but also D–NG does, with the source of sub-optimality being the diminishing step-size . An intuitive comparison of these two suboptimal methods on “easy” problems is the following. For a given network (given ), it is natural to expect that D–NC converges at a faster rate (steeper slope) than D–NG, but with the curve “shifted” upwards due to the effect of . We indeed observe such behavior in Figure 1, bottom, case . On the other hand, for “difficult” problems (large ), the dynamics of disagreements play a significant role and cannot be neglected. Hence, it is much harder to intuitively understand the behavior. As our simulation example indicates, for more “difficult” problems (larger ), the performance of D–NC relative to D–NG actually deteriorates. We also performed a simulation with a deteriorated , while all other parameters are the same as in the above simulation. We increase by setting, with both D–NG and D–NC, , where is the Metropolis matrix. The relative behavior of D–NC with respect to D–NG still deteriorates with the increase of . (Figure omitted due to lack of space.)
IX Conclusion
We propose fast distributed gradient algorithms when the nodes in a network minimize the sum of their individual cost functions. Existing literature has presented distributed gradient based algorithms to solve this problem and has studied their convergence rates, for a class of convex, non-differentiable costs, with bounded gradients. We asked whether faster convergence rates than the rates established in the literature can be achieved for more structured costs – convex, with Lipschitz continuous gradient (with constant ) and bounded gradient. Building from the centralized Nesterov gradient method, we answer affirmatively this question by proposing two distributed gradient algorithms. Our algorithm D–NG achieves the rates and . Our algorithm D–NC operates only if and are available and achieves rates and . We also found convergence constants in terms of the network parameters. Simulations illustrate the performance of the proposed methods.
Acknowledgment
We thank an anonymous reviewer whose instructive comments led us to develop algorithm D–NC. We also thank the anonymous reviewers and the associate editor for several useful suggestions regarding the presentation and organization of the paper. We thank as well João F. C. Mota for pointing us to relevant references and for useful discussions.
Appendix
For notational simplicity, we let , but the proof extends to We outline the main steps in the proof. First, we unwind the recursion (V-A) and calculate the underlying time varying system matrices. Second, we upper bound the norms of the time varying system matrices. Finally, we use these bounds and a summation argument to complete the proof of the Theorem.
Define the system matrices:
and Unwinding (V-A), the solution to (V-A) is:
We now show the interesting structure of the matrix in (44) by decomposing it into the product of an orthonormal matrix , a block-diagonal matrix, and . While is independent of and , the block diagonal matrix depends on and , and has diagonal blocks. Consider the matrix in (V-A) with , for a generic Using :
where is the permutation matrix ( here is the –th column of the identity matrix) and is a matrix with , , and Using (49), and the fact that is orthonormal: , we can express in (44) as:
IX-A2 Bounding the norm of Φ(k,t)\Phi(k,t)
As is orthonormal, has the same singular values as , and so these two matrices also share the same spectral norm (maximal singular value.) Further, the matrix is block diagonal (with blocks ), and so: We proceed by calculating . We distinguish two cases: , and
Case . As , for all , is a constant matrix, with and the entries , and of are zero. Note that , and , . Thus, as long as , the product , and so:
Case . To simplify notation, let , and recall is: , where: 1) , , and and 2) , and ; is diagonalizable, with , and:
(Note that the matrices and are complex.) Denote by Then, By the sub-multiplicative property of norms, and using , :
It remains to upper bound , for all We will show that
Denote by , and . After some algebra, the entries of are: , which gives: , and Next, very interestingly: for any , which is the case here because , , and Thus, as for a Hermitean matrix : Applying the last equation and (55) to (54), we get, for : Combine the latter with (51), and use , Assumption 1 (b) and , to obtain:
IX-A3 Summation
We apply (56) to (45). Using the sub-multiplicative and sub-additive properties of norms, expression , and the inequalities , :
We now denote by . To complete the proof of the Lemma, we upper bound the sum by splitting it into two sums. With the first sum, runs from zero to , while with the second sum, runs from to
IX-B Proof of the lower bound in (40) on the worst-case optimality gap for [8]
Consider the ’s in (41), the initialization , and , as we set in Subsection VII-A. We divide the proof in four steps. First, we prove certain properties of (1) and the ’s in (41); second, we solve for the state with the algorithm in ; third, we upper bound ; finally, we use the latter bound to derive the worst-case optimality gap.
Consider the ’s in (41) for a fixed . The solution to (1), with , is , and the corresponding optimal value is Further, the ’s belong to the class (Proof is in .)
Step 2: Solving for x(k)x(k) with the algorithm in [8]
Now, consider the algorithm in , and consider –the solution estimate at node and time . Denote by –the vector with the -th coordinate of the estimate of both nodes, ; and , . Then, the update rule of is, for the in (41):
for all , for both nodes (proof in .) Note that is the region where the in (41) is quadratic. Thus, evaluating ’s in the quadratic region:
Consider the eigenvalue decomposition , where , , , and is diagonal with the eigenvalues , The matrix decomposes as ; likewise, . Then, , and . Using these decompositions, and the orthogonality: , and :
Step 3: Upper bounding ‖x(k)‖\|x(k)\|
Step 4: Upper bounding the optimality gap from (68)
, We further upper bound the right hand side in (69) by taking the infimum of over ; we split the interval into ; and so that
It is easy to prove that: 1) ; 2) using , , that ; and 3) . (see .) Combining the latter bounds with (70) completes the proof of (40).
IX-C Relaxing bounded gradients: Proof of (42) for D–NC
We prove (42) for D–NC while the proof of D–NG is similar and is in . Fix arbitrary and take the ’s in (43). From (9)–(10), evaluating the ’s:
for We take the initialization at the solution Consider the eigenvalue decomposition , with , , , and is diagonal with , Define and . Multiplying (71) from the left by , and using :
, and Next, note that
Further, from (72) for the first coordinate , recalling that :
Note that (74) is analogous to (36)–(37) with the identification , , ; hence, analogously to the proof of Theorem 7, from (74): Using the latter, (72), and (see (7)): Thus, from (73) and the latter inequality, , which is, for , greater or equal for