Achieving Geometric Convergence for Distributed Optimization over Time-Varying Graphs
Angelia Nedich, Alex Olshevsky, Wei Shi
Introduction
This paper focuses on the following distributed convex optimization problem:
We assume that the functions in problem (1) are convex and continuously differentiable. For such a problem, we propose a class of distributed algorithms that solve the problem over time-varying connectivity graphs for two different cases, namely, the case when the graphs are undirected and the case when they are directed. The algorithms employ consensus ideas for estimating the gradient of the global objective function in (1). When at least one of the objective functions is strongly convex, we show that the algorithms achieve R-linear convergence rates Suppose that a sequence converges to in some norm . We say that the convergence is: (i) Q-linear if there exists such that for all ; (ii) R-linear if there exists and some positive constant such that for all . Both of these rates are geometric, and they are often referred to as global rates to be distinguished from the case when the given relations are valid for some sufficiently large indices . The difference between these two types of geometric rate is in that Q-linear rate implies monotonic decrease of , while R-linear rate does not..
The research on distributed optimization dates back to 1980s . Since then, due to the emergence of large-scale networks, the development of distributed algorithms for solving problem in (1) has received significant attention recently. Besides the decentralized and distributed approaches we are going to discuss below, many efforts have been made to solve (1) in a master-slave structured isotropic network. The distributed algorithms designed over such special structure are usually fast in practice and mostly used in machine learning to handle big-data in a cluster of computers . Such scheme is “centralized” due to the use of a “master”. In this paper, we focus on solving (1) in a decentralized fashion motivated by the applications mentioned above.
Some earlier methods include distributed incremental (sub)gradient methods and incremental proximal methods , while a more recent work includes incremental aggregated gradient methods and its proximal gradient variants . All of the incremental methods require a special ring networks due to the nature of these methods. To handle a more general (possibly time-varying) networks, distributed subgradient algorithm was proposed in , while its stochastic variant was studied in and its asynchronous variant in with provable convergence rates. These algorithms are intuitive and simple but usually slow due to the fact that even if the objective functions are differentiable and strongly convex, these methods still need to use diminishing step-size to converge to a consensual solution. Other works on distributed algorithms that also require the use of diminishing step-sizes include . With a fixed step-size, these distributed methods can be fast, but they only converge to a neighborhood of the solution set. This phenomenon creates an exactness-speed dilemma. A different class of distributed approaches that bypasses this dilemma is based on introducing Lagrangian dual variables and working with the Lagrangian function. The resulting algorithms include distributed dual decomposition and decentralized alternating direction method of multipliers (ADMM) . Specifically, the decentralized ADMM can employ a fixed step-size and it has nice provable rates . Under the strong convexity assumption, the decentralized ADMM has been shown to have linear convergence for time-invariant undirected graphs . Building on (augmented) Lagrangian, a few improvements have been made via proximal-gradient , stochastic gradient , and second-order approximation . In particular, ADMM over a random undirected network has been shown to have rate for convex functions . However, de-synchronization and extensions of these methods to time-varying undirected graphs are more involved , while their extensions to directed graphs are non-existent in the current literature.
Some distributed methods exist that do not (explicitly) use dual variables but can still converge to an exact consensual solution while using fixed step-sizes. In particular, work in employs multi-consensus inner loop and Nesterov’s acceleration method, which gives a proximal-gradient algorithm with a rate at least . By utilizing multi-consensus inner loop, adapt-then-combine (ATC) strategy, and Nesterov’s acceleration, the algorithm proposed in is shown to have rate under the assumption of bounded and Lipschitz gradients. For least squares, the general diffusion strategy (a generalization of ATC) can converge to the global minimizer‘. Although it is unknown to the literature, the above algorithms that do not use dual variable but use fixed step-size are not likely to reach linear convergence even under the strong convexity assumption. References use a difference structure to cancel the steady state error in decentralized gradient descent , thereby developing the algorithm EXTRA and its proximal-gradient variant. EXTRA converges at an rate when the objective function in (1) is convex, and it has a Q-linear rate when the objective function is strongly convex.
Aside from the diminishing step-size issue, another topic of interest is distributed optimization over time-varying directed graphs. The distributed algorithms over time-varying graphs require the use of doubly stochastic weight matrices, which are not easily constructed in a distributed fashion when the graphs are directed. To overcome this issue, reference is the first to propose a different distributed approach, namely a subgradient-push algorithm that combines the distributed subgradient method with the push-sum protocol . While the subgradient-push eliminates the requirement of graph balancing , it suffers from a slow sublinearWhen an algorithm has convergence rate of , we say that the rate is sublinear if for any constant . A typical sublinear rates include with . convergence rate even for strongly convex smooth functions due to its employment of diminishing step-size . On the other hand, noticing that EXTRA has satisfactory convergence rates for undirected graphs, references combine EXTRA with the push-sum protocol to produce DEXTRA (ExtraPush) algorithm in hope of making it work over directed graph. It turns out that for a time-invariant strongly connected directed graph, DEXTRA converges at an R-linear rate under strong convexity assumption but the step-size has to be carefully chosen in some interval. However, the feasible set of step-sizes for DEXTRA can even be empty in some situations . Finally, the paper proposed an algorithm with diminishing step-size for nonconvex optimization over directed graphs based on the push-sum method and showed convergence to a stationary point.
The algorithm we will study in this paper crucially relies on tracking differences of gradients and is a minor variation of algorithms that have appeared in and . To be specific, references utilize an Adapt-then-Combine variation of the dynamic average consensus approach , and thereby develop an Aug-DGM algorithm which is capable of employing uncoordinated step-sizes for multi-agent optimization. Independently, a scheme based on difference of gradients was proposed for the more general class of non-convex functions in where a large class of distributed algorithms is developed. Finally, we note that reference , appearing simultaneously with this work, also proposed a method for distributed optimization based on gradient differences. However, none of the papers mentioned in this paragraph provide a theoretical analysis for strongly convex optimization problems over time-varying graphs, which is the goal of this paper.
2 Summary of Contributions
Prior to this work, an open question was how to construct a linearly convergent method for distributed optimization over time-varying (undirected or directed) graphs.
The present paper resolves the issue. Specifically, we construct distributed methods which are linearly convergent over graphs which are time-varying and directed. Furthermore, we show that when the graphs are time-varying and undirected, a particular (distributed) choice of weights results in a polynomial iteration complexity (meaning that the number of iterations until the protocol reaches any fixed accuracy is polynomial in the total number of nodes).
Our protocols work for all step-sizes small enough. To set the step-size to achieve the convergence rate guaranteed by our theorems, nodes need to know (i) an upper bound on the total number of agents and (ii) an upper bound on the number of time steps needed to achieve long-term connectivity. This compares favorably to some of the existing literature, e.g., , which require detailed spectral information about the network for step-size selection.
Moreover the technical tools we use are of independent interest. Although linearly convergent distributed optimization methods over fixed graphs were first developed in , extending the proof of to time-varying graphs does not appear to be possible. The current paper develops a new approach to the problem based on the small-gain theorem, a standard tool for proving stability of interconnected dynamical systems in control theory. In fact, to our knowledge, our work is the first to use a small-gain based analysis to show convergence (and to bound convergence time) of an optimization protocol.
3 Paper Organization
The rest of this paper is organized as follows. To facilitate the description of the technical ideas, the algorithms, and the analysis, we first introduce the notation in Subsection 1.4. In Section 2 we consider the case of undirected time-varying graphs, and we introduce a distributed consensus-based algorithm in Section 2.1. The algorithm uses “distributed inexact gradients” and, also, employs a “gradient tracking” technique, thus we term the algorithm as DIGing to account for its main design features. In Section 3 we establish that the DIGing algorithm converges at an R-linear rate under standard assumptions including uniform joint strong connectivity of the graphs, the strong convexity of the objective function, and the Lipschitz continuity of the gradients. Moreover, we show that the convergence rate of DIGing scales polynomially in the total number of agents in the network. After this, we consider the case of time-varying directed graphs, and we propose a push-sum consensus-based variant of DIGing in Section 4. We establish its R-linear rate in Section 5. Finally, some numerical simulations are given in Section 6, and the paper concludes with some final remarks in Section 7.
4 Notation
respectively. Each row of and is associated with agent . We say that is consensual if all of its rows are identical, i.e., . The analysis and results of this paper hold for all . The reader can assume for convenience (so and become vectors) without loss of generality. The notation is not standard but it enables us to present our algorithm and analysis in a compact form.
Distributed Optimization over Undirected Graphs
In this section, we consider the case when the agents want to jointly solve the problem (1) while interacting over time-varying undirected graphs. We describe our algorithm, provide an interpretation of its steps and discuss its connection to some of the existing approaches.
We introduce the algorithm and provide some insights into its iterations. In what follows we will make use of the following proposition, which provides the optimality conditions for problem (1).
To illustrate the idea of the DIGing algorithm, let us focus on the case of a static graph for the moment. Consider the distributed gradient descent (DGD), given as follows:
where is a doubly stochastic mixing matrix and is a fixed step-size. The mixing part “” is necessary for reaching consensus while DGD exhibits undesirable behavior due to its use of the gradient direction, “”. To see this, let us break the update into steps per agent: for every agent , we have , where is the set of the neighbors of agent in the given graph. Thus, each agent is updating using only the gradient of its local objective function . Suppose now that the values have reached consensus and that for all and some solution of the problem (1). Then, the mixing part gives for all . However, the gradient-based term gives for all , which need not be zero in general, thus resulting in that will move away from the solution (recall that a solution to the problem (1) is at a point where and not necessarily a point where ).
Conceptually, one (non-distributed) scheme that bypasses this limitation is the update
which can be implemented if every agent has access to the average of all the gradients , (evaluated at each agent’s local copy). One can verify that if (2) converges, its limit point satisfies the optimality conditions as given in Proposition 2.1. However, the update in (2) is not distributed among the agents as it requires a central entity to provide the average of the gradients.
Nevertheless, one may approximate the update in (2) through a surrogate direction that tracks the gradient average. To track the average of the gradients, namely, , we introduce a variable that is updated as follows:
which is exactly what we need in view of (2). Replacing in (2) by its dynamic approximation is exactly what we use to construct the DIGing algorithm. Furthermore, to accommodate time-varying graphs, the static weight matrix is replaced by a time varying matrix , thus resulting in the DIGing algorithm, as given below.
where is the set of all neighbors of agent at time . At every iteration , each agent sends its current solution estimate and average gradient estimate to all of its neighbors while receiving all of its neighbors’ solution estimates and average gradient estimates , . Then, each agent updates its vector by mixing its own and the neighbors’ copies for , with specific weights, and adjusting along the direction of . Also, each agent updates its direction by mixing its own and the neighbors’ directions , for with specific weights, and by taking into account only the new information contained in the most recent gradient evaluation, as captured in the gradient-difference term .
2 Relation of DIGing to some of the existing approaches
This section explains how the introduced DIGing algorithm is related to some of the other distributed algorithms.
When (time-invariant case) and is symmetric, the DIGing algorithm shares some similarity with EXTRA. If we eliminate the variables in the recursion of DIGing, we will obtain
In this form, and will be the two mixing matrices in EXTRA. As long as we have
the convergence properties of DIGing will follow from the results in . It can be seen that, when , the convergence of DIGing follows from the convergence of EXTRA immediately. In this paper, we conduct the convergence analysis with more general choices of time-varying .
2.2 Connection with primal-dual approaches
DIGing has a primal-dual interpretation when the mixing matrices are static and symmetric. Indeed, suppose that where is a symmetric doubly stochastic matrix, and consider the augmented Lagrangian function
If we apply the basic gradient method with a step-size in Gauss-Seidel-like order for computing the saddle point of the augmented Lagrangian function (4), we will have
By eliminating the dual variable , we will obtain the same updates as in the DIGing algorithm (where the variable is eliminated). The same will happen if, alternatively, we consider the augmented Lagrangian function
and apply the basic gradient method with a step-size in Jacobi-like order for seeking the saddle point of the augmented Lagrangian function (5). Similar connections between the EXTRA algorithm and a general primal-dual have been made in a few recent references, , , and .
The above discussion assumes a time-invariant matrix which is symmetric. Even in the time-invariant graph case, but for asymmetric , it appears to be difficult to adapt the classical primal-dual analysis for the recursion of DIGing. Our arguments in this paper are from a pure primal perspective and do not assume any symmetry property of . This suggests the possibility of its extension to the case of directed graphs, which will be addressed in Section 4.
2.3 Connection with Aug-DGM [74]
A very recent reference that comes to our attention is that proposes a distributed consensus optimization algorithm, Aug-DGM, which is applicable to general time-invariant graphs and is quite similar to DIGing. The proposed algorithm is based on the combination of Adapt-then-Combine (ATC) strategy of and the dynamic average consensus for gradient tracking of. It differs from DIGing only in the dynamic average gradient-consensus update, which uses an ATC variant. The updates of Aug-DGM are given by
where is a doubly stochastic matrix and is a diagonal step-size matrix. When is chosen as , it turns into an ATC variant of DIGing. With a general (positive) diagonal matrix , Aug-DGM allows different agents to use different step-sizes and it still drives all the agent to reach a consensus on a global minimizer. The convergence of Aug-DGM is provided under general convexity and Lipschitz gradient assumptions.
Convergence Analysis for DIGing over Undirected Graphs
In the sequel, we use the following notation:
with the convention that for any needed and for any .
Next, we give the basic assumption that we impose on the weight matrices.
(Decentralized property) If and the edge , then ;
(Double stochasticity) , ;
(Joint spectrum property) There exists a positive integer such that
In Assumption 1, item (i) is due to the physical restriction of the network. Properties (ii) and (iii) are commonly used in the analysis of the rate of consensus algorithms. Several different mixing rules exist that yield the matrix sequences which have property (iii) (see subsection 2.4 of reference ).
In particular, the following two assumptions taken together imply Assumption 1 .
(Double stochasticity) , ;
(Positive diagonal) For all , ;
(Edge utilization) If , then ; otherwise ;
(Non-vanishing weights) There exists some such that if , then ;
Assumption 3 is strong but typical for multi-agent coordination and optimization. For undirected graph it can be fulfilled, for example, by using Metropolis weights:
where is the degree of agent at time . In this case, Assumption 3 will be satisfied with the choice of .
in the context wherever Assumption 2 is used.
The following lemma provides an important relation for later use.
Under Assumption 1, for any , and any matrix with appropriate dimensions, if , then we have , where is as given in Assumption 1(iii).
We do not claim any originality of this lemma. This lemma is fairly standard in consensus theory and it is a direct consequence of Assumption 1 due to the fact that is doubly stochastic:
To make our arguments more concise, we will use in our analysis of the algorithm. An explicit expression of in terms of can be found in if the more specific Assumption 3 is made.
We also need the following two assumptions on the objective functions, which are standard for deriving linear (geometric) rate of gradient algorithms for minimizing strongly convex smooth functions.
When Assumption 4 holds, we will also say that each is -Lipschitz (continuous). In the forthcoming analysis, we will use , which is the Lipschitz constant of , and which is the Lipschitz constant of .
where and at least one is nonzero.
When , we will say that is -strongly convex. In the analysis we will use and . Assumption 5 implies the -strong convexity of . Under this assumption, the optimal solution to problem (1) is guaranteed to exist and to be unique since . We note that all the convergence results in our analysis are achieved under Assumption 5. We will also use .
To establish the R-linear rate of the algorithm, one of our technical innovations will be to resort to a somewhat unusual version of small gain theorem under a well-chosen metric, whose original version has received an extensive research and been widely applied in control theory . We will give an intuition of the whole analytical approach shortly, after stating the small gain theorem at first.
Suppose that are sequences such that for all positive integers and for each , we have an arrow , that is
where the constants (gains) are nonnegative and satisfy . Then
By iterating inequality (7) for from down to , we obtain
Since (8) holds for all and its right-hand side does not depend on , taking implies the desired relation.
2 Sketch of the Main Idea
Before summarizing our main proof idea, let us define some quantities which we will use frequently in our analysis. We define where is the optimal solution of problem (1). Also, define
which is the optimality residual of the iterates (at the -th iteration). Moreover, let us adopt the notation
and with the convention that .
where, recall, is the difference between local copies and the global optimizer, is the successive difference of gradients, is the consensus violation of the estimation of gradient average across agents, and is the consensus violation of local copies (see Subsection 1.4 for the definition of operator “”).
Intuitively: as long is small, the successive difference of the gradients is small since the gradients are close to zero in the neighborhood of the optimal point; as long as the successive difference of the gradients is small, the structure of DIGing implies that is close to consensual; as long as is close to consensual, then by the structure of DIGing so is ; and, finally, as long as is close to consensual, DIGing is very similar to gradient descent and drives the distance to the optimal point to zero and thus completes the cycle.
Note that to apply the small gain theorem, we would need to have gains () that multiply to less than one. This is achieved by choosing an appropriate step-size . Indeed, by looking at the algorithm, we can see that the step-size appears only in one place – the third arrow (i.e., the arrow ), and the dependence of the corresponding gain in that arrow is linear in . Thus we should be able to apply the small gain theorem after choosing small enough .
3 The Establishment of Each Arrow
We now discuss the establishment of each arrow/relation in the sketch above [cf. (9)].
The first arrow demonstrated in Lemma 3.6 is a simple consequence of Assumption 4 (namely, it is a consequence of the fact that the gradient of is -Lipschitz).
Under Assumption 4, we have that for all and any ,
By Assumption 4, is -Lipschitz and we have
By the definition of and , it follows from (10) that
Taking on both sides of (11) gives
Next we provide the lemmata for the second and third arrows in the cycle (9). They are proved by an almost identical analysis based on Lemma 3.1: indeed, a glance at the structure of DIGing implies that some (semi)-norm of can be bounded in terms of some (semi)-norm of , while some (semi)-norm of can be bounded in terms of some (semi)-norm of . This is a fairly straightforward application of Lemma 3.1, which shows how multiplication by shrinks the distance toward the consensus subspace.
Let Assumption 1 hold, and let , where is as given in Assumption 1(iii). Also, let be such that . Then, we have for all ,
The equivalent relation in DIGing involving and is
From (13), using Lemma 3.1, for all , it follows that
for . Taking the maximum over on both sides of (16) and the maximum over in (15), and then by combining the obtained relations, we obtain
Let Assumption 1 hold, and let , where is as given in Assumption 1(iii). Furthermore, let be such that . Then, we have for all ,
The relation in DIGing involving and is given by
Noticing the similarity between (17) and (13), we omit the proof of Lemma 3.10 since it is almost identical to that of Lemma 3.8.
With all the above lemmata in place, the last arrow of our proof sketch remains to be addressed. For this, we need an interlude on gradient descent with errors in the gradient. Since this part is relatively independent from the preceding development, we provide it in the next subsection.
4 The Inexact Gradient Descent on a Sum of Strongly Convex Functions
In this subsection, we consider the basic (centralized) first-order method for problem (1) under inexact first-order oracle. To distinguish from the notation used for our distributed optimization problem/algorithm/analysis, let us make some definitions that are only used in this subsection. Problem (1) is restated as follows with different notation,
where all ’s satisfy Assumptions 4 and 5 with being replaced by . Let us consider the inexact gradient descent (IGD) on the function :
where is the step-size. Note that since this subsection has nothing to do with time-varying setup, to avoid heavy notation, we use the upper right corner instead of to denote the value of at iteration . In particular, we use instead of to denote the -th power of when it may cause confusion. Let be the global minimum of , and define
The main lemma of this subsection is stated next; it is basically obtained by following the ideas in .
where and . Then under Assumptions 4 and 5 with ’s replaced by ’s, the tuple sequence generated by the inexact gradient method (18) obeys
By assumptions, for each and , we have
Averaging (21) over through to gives
On the other hand, we also have that for any vector ,
where is some tunable parameter, and therefore
Averaging (23) over through to gives
Next, in (25), we substitute (22) for the second term, and we substitute (24) with for the third term. Thus, we obtain that
Let us look into the last two terms of (27). Noticing that is a strong convexity constant of , there are two possibilities that could happen at time . Possibility A is that
while possibility B is the opposite, namely that
Considering both possibilities A and B, it follows that
Recursively using the inequality (28) we can see that
Taking square root on both sides of (29) gives us
Choose that satisfies (19) so to have , then from (30) we get
and combining it with (31), it follows that
Taking on both sides of (32) gives
5 The Last Arrow
Now we prove the last arrow of our proof sketch [cf. (9)] in the following lemma. Its establishment will use the error bound on the IGD of Lemma 3.11, as a key ingredient.
Let Assumptions 1, 4, and 5 hold. In addition, assume that the stepsize and the parameter are such that
where and are some tunable parameters. Then, we have
First, let us consider the evolution of . Noticing that
Applying Lemma 3.11 to the recursion relation of , namely (34), we obtain
6 Linear Convergence of DIGing
We now state our main results on the convergence rates of DIGing. Our first theorem gives an explicit convergence rate for DIGing in terms of the network parameters (, , and ), objective parameters ( and ), and the algorithmic step-size ().
Suppose that Assumptions 1, 4, and 5 hold. Let
Then, for any step-size , the sequence generated by DIGing algorithm converges to the matrix , where is the unique optimal solution of problem (1) at a global R-linear (geometric) rate , where the parameter is given by
Let us collect all the relations/arrows at hand [cf. Lemmata 3.6, 3.8, 3.10, and 3.13]:
along with other restrictions on parameters that appear in Lemmata 3.8, 3.10, and 3.13:
We next use relations (37)–(41) with a specific values for the parameters and the stepsize , which yields the desired result. Specifically, let and in relation (38). By further using and , (37) and (41) together yield
On the other hand, since , relation (40) implies that
Using (42) and (43), it remains to show that there exists [cf. (39)] such that
where . We consider a smaller interval by enlarging the left-bound of the interval in (44), i.e., we will prove that
When varies from to , the left-bound of the interval in (45) is monotonically decreasing from to , while its right-bound is monotonically increasing from to . In particular, the relation (45) is valid when (as small as the current choice of all parameters can give) is given by
we can set , while for
we can use . The rest of the statements follow from Theorem 3.2 and Lemma 3.4.
Other possible choices of , , , and exist and may give tighter bounds but here we only aim to give an explicit estimation on the rate.
To see how the geometric rate scales with the number of agents, we further have the following corollary.
Under Assumptions 2, 3, 4, and 5, if the agents choose the step-size to be
where is the smallest nonzero positive element of the nonnegative matrices for all [cf. Assumption 3]. Then, the sequence generated by DIGing converges to the unique optimal solution at a global R-linear (geometric) rate of where
Define , then requiring that the interval in (45) be nonempty is equivalent to showing that the following inequality has a solution:
Therefore, we can show that an achievable is
By Assumption 3, from Lemma 9 of reference , we have that . Substituting into (47) gives us
Thus the final rate is , and a step-size to reach this rate is .
Corollary 3.17 explicitly shows how the linear convergence rate of the DIGing algorithm depends on the condition number , time-varying graph connectivity constant , and the network size . To reach -accuracy, the iteration complexity under conditions of Corollary 3.17 is which is polynomial in the number of agents . Beyond the more general form of it, the advantage of Theorem 3.15 is that it explicitly depends on the parameter which measures the convergence speed of consensus. Indeed, Corollary 3.17 uses the bound from , which may be very conservative since it applies to a rather general class of graphs. Moreover, any further advances in “consensus theory” deriving improved convergence bounds on consensus would immediately translate into improvements via Corollary 3.17 [cf. (47)], where better bounds would immediately arise with smaller values of .
Suppose Assumptions 2, 4, and 5 hold. Also assume that the graphs are time-invariant, undirected and connected (i.e., ). Let each be a lazy Metropolis matrix, that is,
Then, with the agents choosing the step-size [cf. (46) with and ], the sequence generated by DIGing converges to the unique optimal solution at a global R-linear (geometric) rate of , where . In particular, the number of iterations needed to reach -accuracy is .
We omit the proof for Corollary 3.19 since it is essentially the same as the proof for Corollary 3.17 in addition to which we further used from Lemma 2.2 of reference .
In certain cases, the bound can be conservative. In the most dramatic case, for the (fixed) complete graph this bound tells us that is bounded below by , whereas it is not too hard to see that for the complete graph is actually bounded away from zero by a constant.
In general, however, this bound cannot be improved, in the sense that there are graphs for which it is essentially tight. For example, on the (fixed) line or ring graph, the bound gives that is lower bounded by , which is the correct scaling up to a constant, as can be seen by observing that it can take two random walks at least steps to intersect on these graphs, and thus the spectral gap has to be at least that much (for more details on making such arguments rigorous, we refer the reader to the introductory chapter of ).
In general, it is not possible to give a nonconservative bound on in terms of combinatorial features of the underlying graphs as well as the number of nodes, even for fixed matrices. Such bounds have been explored at great length within Markov chain literature, see e.g., the seminal paper or the monograph , resulting in many different techniques, each giving accurate bounds on some graphs, and others.
Nevertheless, for many sequences when the graph is fixed, the quantity can be bounded accurately. The key tool is a connection between and the average hitting time (Theorem 11.11 of ) which in turn can be bounded in terms of graph resistance (see ). Using this connection, the following scalings may be obtained; we omit the details.
On the complete graph, .
On the line and ring graphs, we have .
On the 2D grid and on the complete binary tree, .
On any regular graph, as a consequence of the hitting time bounds of .
On the star graph and on the two-star graph (defined to be two stars on nodes with a connection between the centers), .
Our analytical framework also applies to Aug-DGM of when its step-size matrix is set to (see Subsection 2.2.3). We also find that when the graph is well connected, the ATC strategy employed in Aug-DGM can improve the linear rate. But due to space limit, we omit any detailed discussion on this aspect. In the following design of a variant of DIGing for directed graphs, we also partially employed the ATC strategy to accelerate the convergence. Numerical experiments demonstrating the faster convergence of the ATC variant of DIGing (abbreviated as DIGing-ATC) are also provided in Section 6.
Allowing the agents to use uncoordinated (different) step-sizes (all satisfying an upper bound) is possible; see our very recent subsequent work as well as the related papers . To keep the analysis in this paper concise, we do assume all agents use the same step-size .
The step size selection, as instructed by the theorems and corollaries in this paper, requires the agents to agree on a few parameters through preprocessing. It suffices for agents to know a common upper bound on the number of nodes in the network and on the connectivity constant . The other parameters used in step-size selection are (the lower bound of) and (the upper bound of) . Since minima (and maxima) can be easily computed in a time-varying -connected network in rounds by an algorithm wherein each node repeatedly takes minima (or maxima) of in-neighbors, the amount of pre-processing in computing is essentially negligible compared to the worst-case running time of the protocol.
It is possible to improve on this and obtain a geometric rate in with probability one. We sketch how this can be done next. The constant should be chosen so that the graph obtained by taking all the edges that appear over steps is connected with probability at least . This allows us to choose to be a constant independent of and . We then apply the arguments of this paper to the quantities and use the small gain theorem to obtain that all of these quantities converge to zero at a geometric rate. Markov’s inequality followed by the Borel-Cantelli lemma then yields that asymptotically converges to at a geometric rate with probability one .
Distributed Optimization over Directed Graphs
We now focus our attention to directed graphs. For such graphs we want to design a distributed algorithm that can work with mixing matrices that need not be doubly stochastic. To do so, we employ the idea of push-sum protocol which relaxes the requirement of doubly stochastic mixing matrices to column stochastic matrices to achieve average consensus. We then introduce our algorithm that uses push-sum protocol for tracking the gradient average in time. The resulting algorithm is termed Push-DIGing (Algorithm 2), which we analyze later on in Section 5.
Instead, if every agent knows its out-degree, it is possible for the agents to construct a column stochastic matrix and perform the following recursions with initialization and to achieve the average (push-sum protocol ):
Intuitively, noticing that ( is sum preserving), rows of are heading towards scaled averages with uneven scaling ratios across the vertices caused by the non-double stochasticity of (the ratios are actually the elements of a right eigenvector of corresponding to the eigenvalue ), while is recording the ratios. By applying the recorded ratio inverse on , the algorithm recovers the unscaled average of the rows in .
2 The Push-DIGing Algorithm
Next we formally state Push-DIGing in Algorithm 2.
Convergence Analysis for Push-DIGing
We make the following two assumptions for the setup of time-varying directed graphs.
Assumption 6 has been used in distributed optimization over time-varying directed graphs . Similar to the case of undirected graphs, we may have other options for the weights . In the existing literature on push-sum consensus protocol, the best understood are the matrices relying on the out-degree information (as in Assumption 7), which we use in establishing the bound on convergence rate of push-sum (see Lemma 5.1 and its proof). Generalizations of Assumption 7 may be of their own interest for the push-sum consensus algorithm, but that is beyond the scope of this paper.
A little algebra shows that the recursion relation of Push-DIGing is equivalent to
where and . We note here that, under Assumptions 6 and 7, it can be seen that each matrix is invertible, and that
where is the graph connectivity constant defined in Assumption 6. The preceding relation follows from Corollary 2(b) of (here we borrow the notation for the special norm defined in (6)). Also, we note that is actually a row stochastic matrix, i.e., every row of sums to (see Lemma 4 of).
In what follows, we will use following notation
for any and with the convention that for any needed and for any . The same notation rule applies to . In the sequel, we will give an upper bound on a norm of , as provided in the next lemma. This lemma comes from the properties of push-sum protocol and can be obtained from references .
Under Assumptions 6 and 7, let be an integer satisfying and such that
Then, for any and any matrix with appropriate dimensions, if , i.e., , we have .
The convergence analysis of Push-DIGing will be based on analogous recursions illustrated in (48). Similar to the proof in Section 3, we will follow the proof sketch of the small gain theorem around the cycle:
In consensus-based algorithms for optimization over directed graphs, it is difficult to construct monotonically decreasing Lyapunov functions for convergence analysis due to the presence of asymmetric operators in the iterations (arising from the asymmetric weight matrices). Also, to deal with time-varying graphs, one has to resort to time-varying or ergodic metrics which are not easy to construct when the consensus protocol is combined with an optimization algorithm. In this situation, conventional approaches that heavily rely on every step contraction for proving Q-linear convergence are usually inapplicable. However, by defining a special metric and utilizing the small gain theorem, we manage to conveniently analyze the introduced algorithms and establish their linear convergence rates, but without relying on the monotonic decay of any Lyapunov function associated with the recursion.
Noticing that that Lemma 3.6 is a simple consequence of Assumption 4, so it also holds for Push-DIGing. For the sake of reference convenience, we restate it as follows without proof.
Under Assumption 4, we have that for all and any ,
The next two lemmata are provided by doing almost identical arguments as those for Lemmata 3.8 and 3.10: indeed, by noticing the similarity between the equivalent recursion of Push-DIGing (48) and the recursion of DIGing (see Algorithm 1), similar bounds to those in Lemmata 3.8 and 3.10 should be obtained by an application of Lemma 5.1, which shows how multiplication by a row stochastic matrix shrinks the distance to the consensus subspace.
Let Assumptions 6 and 7 hold, and let be such that , where is the constant provided in Lemma 5.1. Then, we have
where and are the constants defined by (50) and (49), respectively.
The equivalent recursion of Push-DIGing involving and is
From (54), using Lemma 5.1, for all , it follows that
where and are the constants defined in (50) and (49), respectively.
Noticing the similarity between (55) and (14), by the same argument as we have applied in the proof of Lemma 3.8 starting from (15), we can obtain (53).
Let Assumptions 6 and 7 hold, and let be such that , where is the constant provided in Lemma 5.1. Then, we have
for all , where is the constant as introduced in Lemma 5.5 (see (50)).
The equivalent recursions of Push-DIGing involving and is
Noticing the similarity between (57) and (54), with almost identical argument as that illustrated in the proof of Lemma 5.5, we can get (56).
Similar to the proof of Lemma 3.13, Lemma 3.11 also serves as a key ingredient in establishing the last arrow of the proof sketch for Push-DIGing. We state it in the form of a lemma as follows.
Let Assumptions 4, 5, and 7 hold. Also, assume that
where and are some tunable parameters. Then, we have that for all ,
First, by the same argument as in the proof of Lemma 3.13, we have
Applying Lemma 3.11 to the recursion relation of , namely (59), we obtain
Let us look into the summation in the last term of (60). Since , it follows that
Finally, we can bound the last term in (62) as follows
2 Linear Convergence of Push-DIGing
Next, we provide a convergence rate estimate for the Push-DIGing algorithm.
Suppose Assumptions 4, 5, 6, and 7 hold. Let be a large enough integer constant such that
Also define the constant as follows:
Then, for any step-size , the sequence generated by Push-DIGing converges to the unique optimal solution at a global R-linear (geometric) rate , where is given by
The proof is similar to that of Theorem 3.15. Specifically, we collect all the gains as follows:
To apply the small gain theorem (Theorem 3.2), we need , that is,
The other restrictions on , , and are the same as those in (38), (39), (40), and (41). Choosing and , and further using and , relations (5.11) and (41) together imply that
Next, similar to the proof of Lemma 3.4 [cf. (45)], it remains to show that there exists some such that
where . Noticing the similarity between (65) and (45), by the same argument as in the proof of Theorem 3.15 (starting from (45)), we can obtain the statement of the theorem.
Numerical Experiments
We plot push-gradient method , DIGing, DIGing-ATC (Aug-DGM with step-size matrix ), and Push-DIGing in Fig. 1 and Fig. 2. In the experiments, we observe that DIGing and its variants all have R-linear rates while push-gradient method only has sublinear rate even if the objective is smooth and strongly convex. Since our analyses in the above theorems and corollaries have all been worst-case analyses, the bounds on step-sizes we have given are often conservative. We therefore choose to use hand-optimized step-sizes for the numerical experiments.
We first discuss simulation performed over an undirected communication graph. In this case, we have also tested the EXTRA algorithm from reference . Interestingly, we find the convergence curve of the EXTRA algorithm almost identicalSince the two curves are almost identical, EXTRA is not plotted in the figure. to that of the DIGing algorithm when the same step size is chosen for both algorithms. As commented in Remark 3.21, we have also conducted the numerical experiments for DIGing-ATC and indeed find it faster, in terms of number of iterations, than DIGing (see the left sub-figure of Fig. 2). However, note that the per-iteration communication cost of DIGing-ATC is higher.
For an undirected graph, Push-DIGing reduces to DIGing with partial ATC strategy which only needs one round of communication per iteration. We also plot Push-DIGing for undirected graphs in the left of Fig. 2 and find that Push-DIGing can be as fast as DIGing-ATC in terms of number of iteration but at actually at a half communication cost per iteration. We speculate that this might be because after using the ATC strategy once (in Push-DIGing), the bound of step size/convergence rate has reached the limit of centralized gradient descent and no more improvement can be obtained with ATC structure.
Although DIGing and DIGing-ATC are designed for undirected graphs, we also test them over directed graphs using an asymmetric doubly stochastic matrix. The results are shown in the right sub-figure of Fig. 1. Note that constructing an asymmetric doubly stochastic matrix over a directed graph will require a graph balancing algorithm with considerable overhead. We note that the convergence curve of the DEXTRA/ExtraPush algorithm from reference is not plotted in Fig. 1 since we did not find a stable step size for the algorithm in this case. This might be because the individual functions are not strongly convex.
Finally, for time-varying directed graphs, only Push-DIGing is plotted in the right sub-figure of Fig. 2 as this is the only algorithm over time-varying directed graphs with geometric convergence. We do not plot DIGing/DIGing-ATC since they need real time graph balancing which is not practically implementable when the graph varies.
Conclusion
In this paper, we considered a class of protocols for distributed optimization based on the idea of “distributed inexact gradient” and “gradient tracking”. Under strong convexity, we studied the convergence rates of the algorithms over time-varying directed/undirected graphs. Using the small gain theorem, we showed that our protocols converge at some global R-linear rates for strongly convex functions, and were able to obtain explicit bounds on the rates.
An open question is to obtain improved estimates on the convergence rates of our method, especially as far as scaling with the number of agents, , goes. Furthermore, extensions to more complex optimization models containing local constraints, couplings among agents in the objectives would be of considerable interest.
Acknowledgement
We thank César A. Uribe and Thinh T. Doan for their helpful discussions.