Analysis and Design of First-Order Distributed Optimization Algorithms over Time-Varying Graphs
Akhil Sundararajan, Bryan Van Scoy, Laurent Lessard

TL;DR
This paper provides a unified analysis framework for first-order distributed optimization algorithms over time-varying graphs, introducing a new algorithm called SVL with improved convergence.
Contribution
It offers a computationally efficient analysis method and proposes the SVL algorithm that outperforms existing methods in convergence speed.
Findings
Unified analysis yields worst-case linear convergence rate
Analysis framework involves a small fixed-size semidefinite program
SVL algorithm achieves faster convergence than existing algorithms
Abstract
This work concerns the analysis and design of distributed first-order optimization algorithms over time-varying graphs. The goal of such algorithms is to optimize a global function that is the average of local functions using only local computations and communications. Several different algorithms have been proposed that achieve linear convergence to the global optimum when the local functions are strongly convex. We provide a unified analysis that yields the worst-case linear convergence rate as a function of the condition number of the local functions, the spectral gap of the graph, and the parameters of the algorithm. The framework requires solving a small semidefinite program whose size is fixed; it does not depend on the number of local functions or the dimension of their domain. The result is a computationally efficient method for distributed algorithm analysis that enables the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\xpatchcmd
Analysis and Design of First-Order Distributed Optimization Algorithms over Time-Varying Graphs
Akhil Sundararajan1,2
Bryan Van Scoy1
Laurent Lessard1,2
Abstract
This work concerns the analysis and design of distributed first-order optimization algorithms over time-varying graphs. The goal of such algorithms is to optimize a global function that is the average of local functions using only local computations and communications. Several different algorithms have been proposed that achieve linear convergence to the global optimum when the local functions are strongly convex. We provide a unified analysis that yields the worst-case linear convergence rate as a function of the condition number of the local functions, the spectral gap of the graph, and the parameters of the algorithm. The framework requires solving a small semidefinite program whose size is fixed; it does not depend on the number of local functions or the dimension of their domain. The result is a computationally efficient method for distributed algorithm analysis that enables the rapid comparison, selection, and tuning of algorithms. Finally, we propose a new algorithm, which we call SVL, that is easily implementable and achieves a faster worst-case convergence rate than all other known algorithms.
1 Introduction
In distributed optimization, a network of agents, such as computing nodes, robots, or mobile sensors, work collaboratively to optimize a global objective. Specifically, each agent has access to a local function and must minimize the average of all agents’ local functions
[TABLE]
by querying its local gradient , exchanging information with neighboring agents, and performing local computations.
This work aims to study the reliability of distributed optimization algorithms in the presence of a time-varying communication graph. Such a scenario could occur if communication links fail due to interference, mobile agents move out of range, or an adversary is jamming communications.
Distributed optimization is relevant in many application areas. For example, in large-scale machine learning [7, 9], could represent the number of computing units available for training a large data set. Each then denotes the loss function corresponding to the training examples assigned to unit . Another example is sensor networks [20], where each sensor may have a limited power budget, communication bandwidth, or sensing capability. The goal is to aggregate all local data without having a single point of failure. Other applications include distributed spectrum sensing [2] and resource allocation across geographic regions [21].
Distributed optimization generalizes both average consensus and centralized optimization, as we now explain.
Consensus
If each agent uses the initial value and local objective , distributed optimization reduces to average consensus [27, 29]. The unique optimizer of (1) is then the average of all initial states: . Using a gossip update of the form where is carefully chosen, such methods converge exponentially: with that depends on [30]. This is called a linear rate in the optimization community.
Optimization
If or if all are identical, we recover the standard centralized optimization setup. Linear convergence can be guaranteed in certain cases. For example, the gradient descent method achieves linear convergence if is continuously differentiable, smooth, and strongly convex (formally stated in Assumption 1) [16].
A linear convergence rate for the general case was first achieved by the exact first-order algorithm (EXTRA) [23]. This algorithm requires storing the previous state in memory:
[TABLE]
where and are gossip matrices that satisfy certain technical conditions and is sufficiently small. Several additional linear-rate algorithms have since been proposed, including: AugDGM [34], DIGing [15, 19], Exact Diffusion [35, 36], NIDS [13], and a unified method [8]. Each of these methods have updates similar to (2) in that they require agents to store previous iterates or gradients.
Although linear convergence rates were obtained for the algorithms above, each algorithm differs in the nature and strength of its convergence analysis guarantees. For example, some works show (non-constructively) the existence of a linear rate [32] whereas others provide specific tuning recommendations with associated analytic rate bounds (which may be conservative) [23, 13]. Numerical simulations are also frequently used [31], but can be misleading because algorithm performance depends on the graph topology, choice of functions, algorithm initialization, and algorithm tuning.
The present work makes an effort to systematize the analysis and design of distributed optimization algorithms. We now summarize our main contributions.
Analysis framework. We present a universal analysis framework that provides an upper bound on the worst-case linear convergence rate of a wide range of distributed algorithms as a function of the parameters (local function conditioning) and (network connectedness). Our main result, Theorem 10, is a semidefinite program (SDP) parameterized by whose solution yields an upper bound on . The SDP has a small fixed size that does not depend on the number of agents or the dimension of the function domains and is efficiently solvable. Our SDP yields robust performance guarantees when the graph is allowed to vary (even adversarially) at each iteration. Fig. 2 compares the worst-case linear rate for 8 different algorithms.
Algorithm design. We present a new distributed algorithm, which we name SVL (the authors’ initials). SVL is derived by optimizing the SDP from our analysis framework and provides the fastest known convergence rate to date for this time-varying graph setting. The rate depends explicitly on and , so no tuning is required if these parameters are known or estimated in advance. When the graph is well-connected, SVL recovers the performance of gradient descent, which is optimal in this time-varying graph setting.
Worst-case examples. Although our analysis technique only provides upper bounds on the worst-case convergence rate for distributed algorithms, we outline a computationally tractable optimization procedure that finds numerically matching lower bounds by constructing worst-case trajectories, suggesting the bounds found via our analysis technique are tight.
Remark 1** (Accelerated rates).**
Distributed algorithms that achieve accelerated[18, 31, 33] or optimal [22] linear rates have also been proposed. It turns out such methods are not guaranteed to achieve acceleration when the graph is time-varying. We discuss this phenomenon in Section 2.5, where we derive lower bounds for the time-varying setting.
The paper is organized as follows. We describe notation and assumptions in Section 2. We state and prove our main result for certifying worst-case rate bounds in Section 3. We present our SVL algorithm and discuss interpretations in Section 4. Finally, we demonstrate the tightness of our bounds by generating worst-case trajectories in Section 5.
2 Preliminaries
2.1 Notation
Let be the identity matrix in . The symbol denotes the column vector of all ones in . is the projection matrix onto . We will sometimes omit subscripts when dimensions are clear from context. Unless otherwise indicated, Greek letters denote scalar parameters, lower-case letters denote column vectors, and upper-case letters denote matrices. Exceptions include the scalars and , which we use in Assumption 1 to conform with convention. The symbol denotes the Kronecker matrix product. denotes the standard Euclidean norm of a vector , and is the spectral norm of a matrix . Unless otherwise indicated, subscripts refer to individual agents while superscripts refer to iteration count. For brevity, we write the symmetric quadratic form as .
Define the graph where is the set of agents and is the set of pairs of agents that are connected. is a Laplacian matrix associated with if and if . The spectral gap of is defined as the second-smallest eigenvalue magnitude of . Since we consider time-varying graphs, we let denote a Laplacian matrix associated with . We denote a symbol on agent at iteration by along with its associated fixed point . For all such symbols, we denote their aggregation over all agents as
[TABLE]
We denote the associated local and global error coordinates as and , respectively.
2.2 Function and Graph Assumptions
We assume that the local function gradients satisfy the following sector bound.
Assumption 1**.**
Given , the the local objective functions are continuously differentiable and each satisfy
[TABLE]
for all , where satisfies .
Remark 2**.**
One way to satisfy Assumption 1 is if the local functions are -Lipschitz continuous and -strongly convex, though in general, Assumption 1 is much weaker.
We define the condition ratio as . This quantity captures how much the curvature of the objective function varies. If is twice differentiable, is an upper bound on the condition number of the Hessian . In general, as , the functions become poorly conditioned and more difficult to optimize using first-order methods.
The graph associated with the network of agents can change at each step of the algorithm, so we assume the following about the sequence of graph Laplacian matrices .
Assumption 2**.**
The following properties hold at each step of the algorithm.
The graph is connected: there always exists a path between any two nodes in . This implies that the zero eigenvalue of has a multiplicity of one for all . 2. 2.
The graph is balanced: every node has equal in-degree and out-degree. This means that for all . 3. 3.
The spectral gap of the time-varying graph is uniformly bounded. In particular, we assume there exists such that for all . Since the spectral radius of a matrix is always upper-bounded by its spectral norm, this implies that is a uniform bound on the spectral gap of each Laplacian matrix in .
Remark 3**.**
The assumption that must be connected for all is a strong assumption. Works that consider directed or time varying graphs typically make weaker assumptions, such as a joint spectrum property or -connectedness [15]. Nevertheless, our setting (which is equivalent to -connectedness with ) is still weaker than assuming a constant graph. Indeed, NIDS [13] converges for any when the graph is constant, but in Section 5.2, we construct a sequence of graphs that drives NIDS to instability.
2.3 Algorithm Form
In this paper, we consider the broad class of distributed optimization algorithms that satisfy the algebraic equations
[TABLE]
Equation (3a) describes how agent ’s state evolves with iteration . The local gradient is evaluated at and the quantity is transmitted to neighboring agents in (3b). Finally, we allow for linear state-input invariants to be enforced in (3c). Such invariants typically arise from requiring a particular initialization for the algorithm.
The matrices , , and are square, and the other matrices have compatible dimensions. The dimension of is the number of local states on each agent, the dimension of is one, and the dimension of is the number of variables that each agent transmits with neighbors at each iteration.
Remark 4** (Dimension reduction).**
To simplify notation, we assume the objective function is one-dimensional (). We can recover the general case by replacing each scalar symbol with a row vector (e.g., ) and interpreting each local gradient as a map from to .
Remark 5** (Implementation).**
Not all instances of (3) are efficiently implementable. For example, if , then depends on , which then depends on . Such circular dependencies arise naturally in proximal algorithms, where an inner optimization problem must be solved at each iteration. For instance, given a convex differentiable and parameter , the proximal algorithm
[TABLE]
satisfies the optimality condition and can therefore be expressed in the form of (3) as follows:
[TABLE]
In the forthcoming analysis, we treat implementability and analysis separately. That is, we derive convergence rate bounds for general algorithms of the form (3), regardless of whether they can be efficiently implemented. However, we note that a sufficient condition for avoiding circular dependencies is if the feedthrough term satisfies
[TABLE]
Putting a distributed optimization algorithm into the form of (3) is a straightforward algebraic exercise, which we now demonstrate for two recently proposed algorithms. These algorithms are parameterized by a stepsize and a gossip matrix . To relate the gossip matrix to the Laplacian matrix, we set for some scalar . This provides an additional tuning parameter, and is akin to the method of successive overrelaxation used in the numerical solutions of linear systems of equations [17].
EXTRA.
The EXTRA algorithm (2) has a state that depends on two previous timesteps. Using the authors’ recommendation of together with , the equations become
[TABLE]
Define the state . The outputs are now functions of the state: and . Finally, summing across agents (left-multiplying by ) and using , we find that is independent of , and identically zero thanks to how is initialized. The parameters that characterize EXTRA are shown below and in Table 1.
[TABLE]
DIGing.
The DIGing algorithm [15, 19], is an example of a gradient tracking algorithm. It begins with an arbitrary and has two update equations:
[TABLE]
Using the authors’ recommendation of , defining as before, and defining the state as , we find that the output is , two quantities must be communicated between agents, , and the invariant is . The parameters that characterize DIGing are shown in Table 1.
A similar derivation can be applied to a variety of algorithms. Table 1 summarizes the parameterizations for 8 recently proposed algorithms.
2.4 Existence of a Fixed Point
Not all instances of algorithm (3) solve the distributed optimization problem (1). For an algorithm to be valid, (i) there must exist a fixed point corresponding to the optimal solution, and (ii) the iterates must converge to the fixed point. We address convergence to a fixed point in our main result of Section 3. In this section, however, we provide simple conditions for verifying the existence of such a fixed point.
A distributed algorithm of the form (3) has a fixed point corresponding to the optimal solution of (1) for all functions satisfying Assumption 1 and all graphs satisfying Assumption 2 if the following conditions hold.
[TABLE]
- •
Consensus and Optimality: All agents must achieve consensus on the point at which the gradient is evaluated, and the point must be a stationary (first-order optimal) point of . This means that the fixed point must satisfy and , or in vector form,
[TABLE]
- •
Robustness to Graph: The fixed point must not depend on the sequence of graphs , so and , or in vector form,
[TABLE]
- •
Robustness to Functions: The fixed point must satisfy and , where is the optimizer of (1). For these to hold for any objective function , we need
[TABLE]
The following proposition characterizes algorithms with such a fixed point, which we prove in Appendix A.1.
Proposition 6** (Existence of fixed point).**
An algorithm of the form (3) has a fixed point that satisfies the conditions in (5) if and only if
[TABLE]
Here, “null”, “col”, and “row” denote the nullspace, column space, and row space, respectively. Both EXTRA and DIGing as derived above satisfy the conditions in (6) and therefore have a fixed point corresponding to the optimal solution of (1).
Remark 7**.**
Proposition 6 guarantees that any instance of algorithm (3) satisfying (5) has a desirable fixed point in the presence of a time-varying graph; all agents agree on a common stationary point of (1). However, Proposition 6 does not ensure that the algorithm necessarily converges to this fixed point, nor does it characterize the rate of convergence. These questions will be explored in Section 3.
2.5 Lower Bounds on Worst-Case Convergence Rates
We now construct simple lower bounds on the worst-case asymptotic convergence rate of the iterates for any valid algorithm of the form (3). We do so by separately considering the two specific instances discussed in Section 1
Consensus
Consider the scalar local quadratic functions . Then Assumption 1 holds with and .
Optimization
Consider the case . For the graph to satisfy Assumption 2, the Laplacian matrix must be , which has spectral gap .
In both cases above, the algorithm reduces to a linear system in feedback with sector-bounded nonlinearity: in the sector for consensus and for optimization. Further, the linear part of the system is strictly proper (since the algorithm is implementable) and must contain an integrator (due to the fixed-point conditions). Then using the lower bound for such systems in [12], we obtain the following.
Proposition 8**.**
There does not exist an algorithm of the form (3) that satisfies the implementability conditions (4) and fixed-point conditions (6) and such that, for all objective functions and Laplacian matrices satisfying Assumptions 1 and 2, there exists a constant such that the bound holds for all agents and all iterations , where \rho_{\text{lb}}=\max\bigl{\{}\tfrac{\kappa-1}{\kappa+1},\,\sigma\bigr{\}}.
Remark 9** (Accelerated rates).**
These lower bounds, which are achieved by ordinary gradient descent, imply that accelerated algorithms such as the recently proposed SSDA [22] or distributed versions of heavy-ball [33] or Nesterov acceleration [18, 31] do not in fact achieve accelerated rates in the worst case in our time-varying setting.
3 Main Result
Our main theorem, Theorem 10, consists of a small convex semidefinite program (SDP) whose feasibility guarantees the linear convergence of a distributed algorithm in the form of (3). The algorithm parameters, problem data , and candidate linear rate all appear as parameters in the SDP. Furthermore, the SDP has a fixed size that does not depend on (the number of agents) or (the dimension of the domain of ) and can thus be efficiently solved using a variety of established solvers.
Theorem 10** (Analysis result).**
Consider the distributed optimization problem (1) solved using algorithm (3). Suppose Assumptions 1 and 2 hold and further assume the algorithm satisfies the fixed point conditions (6). Define the matrices
[TABLE]
Let be a matrix whose columns form a basis for the nullspace of . If there exist , , and of appropriate sizes such that
[TABLE]
then there exists a constant independent of and such that for all agents and all iterations ,
[TABLE]
for some fixed point that satisfies (5).
For fixed algorithm parameters , , function parameters and , graph parameter , and candidate rate , the SDP (7) is a linear matrix inequality (LMI) in the variables , and therefore convex. Indeed, (7l) and (7ac) are decoupled and their feasibility may be checked separately. To find the best (smallest) upper bound, we observe that feasibility of (7) for some implies feasibility for all . A bisection search on is then guaranteed to find the minimal , even though (7) is not jointly convex in . While our result is only a sufficient condition for convergence, we provide empirical evidence in Section 5.2 that suggests that it is in fact tight.
Remark 11**.**
Our main theorem provides conditions under which the state converges to a fixed point linearly with rate . However, when the algorithm also satisfies the conditions in (4) for being efficiently implementable, then under the conditions of Theorem 10, there exist constants , , , and such that for all agents and all iterations ,
[TABLE]
for some fixed point that satisfies (5). In particular, the output sequence of each agent converges to the optimizer of (1) linearly with rate .
The core idea behind Theorem 10 is to posit a quadratic Lyapunov candidate of the form
[TABLE]
for some appropriate choice of . Feasibility of (7) can be shown to imply , which ensures linear convergence of the distributed optimization algorithm when . A preliminary (and less concise) version of Theorem 10 appeared in [25]. The proof of Theorem 10 is given in Appendix A.2.
4 Algorithm Design
We now use Theorem 10 to design a distributed optimization algorithm, which we name SVL. Our guiding principle is to seek the fastest possible rate bound guarantee while keeping the algorithm as simple as possible. Therefore, we seek an algorithm with two states that only requires one state to be communicated at every timestep. Inspired by our previous work in which we developed a canonical form for distributed algorithms over time-invariant graphs [26], we restrict our search to algorithms of the form (3) with
[TABLE]
As long as , this algorithm satisfies the fixed point conditions of Proposition 6. Moreover, the update equations satisfy (4) and therefore do not contain circular dependencies, so we can implement the algorithm in a straightforward fashion as in Algorithm 1. To motivate the structure of our algorithm, we show how it corresponds to an inexact version of the alternating direction method of multipliers (ADMM), as well as how it reduces to well-known consensus and optimization algorithms in special cases. But first, we show how to use the SDP (7) to choose the algorithm parameters.
4.1 Choosing the Algorithm Parameters
The problem of minimizing the worst-case convergence rate over the algorithm parameters and SDP solution subject to the SDP being feasible is difficult due to the nonlinear matrix inequalities (7). Instead, we show that for a particular choice of , the remaining parameters can be chosen such that the SDP is feasible, where the matrix in (7ac) is rank one. We have performed extensive numerical optimizations of the SDP, suggesting that the optimal parameters do in fact have this structure. We now state our main design result, which describes the convergence rate of the SVL algorithm. We prove the result in Appendix A.3.
Theorem 12** (SVL).**
Consider applying Algorithm 1 to the distributed optimization problem (1), and suppose Assumptions 1 and 2 hold with and . Define and choose the parameters
[TABLE]
where and \rho\in\bigl{[}\tfrac{L-m}{L+m},1\bigr{)} satisfy the constraints
[TABLE]
Then there exists a constant independent of and such that for all agents and all iterations , where is the optimizer of (1).
Theorem 12 provides conditions on parameters of Algorithm 1 such that the algorithm converges with rate at least . The theorem, however, does not address the problem of optimizing the convergence rate since and must only be chosen to satisfy the constraints (21). This is because the optimal parameters do not admit a closed-form solution for the convergence rate as a function of the spectral gap and function parameters and . However, we now provide a systematic method for computing the optimal parameters.
The parameters must satisfy (21b), but this equation does not have a closed-form solution for . Instead, we consider fixing the rate and maximizing the corresponding spectral gap. We can then choose to maximize in (21b). Setting the derivative equal to zero, we find that the value of which maximizes for a fixed convergence rate satisfies
[TABLE]
where the coefficients are given by
[TABLE]
Solving the first factor for , we find that it does not satisfy the inequality (21a) and is therefore not a valid solution. The optimal must then make the second factor zero. Therefore, we can do a bisection search over , where at each iteration of the bisection search we solve the cubic equation
[TABLE]
to find the unique real solution that satisfies (21a). Substituting this value for into (21b) we can solve for . If this value is less than , we increase ; otherwise, we decrease . We then repeat this procedure until is sufficiently close to the spectral gap. We summarize this procedure for finding the parameters and that optimize the worst-case convergence rate in Algorithm 2; we refer to Algorithm 1 using these parameters along with those in (20) as SVL.
Using this procedure for computing the worst-case convergence rate of SVL, Fig. 1 displays as a function of the spectral gap and the centralized gradient rate . One of the remarkable aspects of the SVL algorithm is that it actually achieves the same worst-case convergence rate as centralized gradient descent if the spectral gap is sufficiently small. In this case, there is sufficient mixing among the agents so that the convergence rate is limited by the difficulty of the optimization problem and not the problem of having agents agree on the solution (i.e., consensus). This corresponds to the horizontal lines for small values of in the top panel of Fig. 1. Viewed another way, the convergence rate is limited by the difficulty of the optimization problem when the problem is ill-conditioned (i.e., is large), which corresponds to the curves approaching the straight line at in the bottom panel of Fig. 1.
Remark 13** (Optimality).**
We conjecture that the SVL parameters produce the fastest worst-case convergence rate over all algorithms in the form of Algorithm 1 that is certifiable using Theorem 10. However, we make no formal claims of optimality of the SVL algorithm in this paper.
4.2 Interpretation of SVL as Inexact ADMM
To motivate the structure of SVL, we show how SVL can be interpreted as an inexact version of the alternating direction method of multipliers (ADMM). Using the formulation in [4, Section 7.1], the problem (1) can be solved using ADMM:
[TABLE]
where are the variables associated with agent at time , and is the ADMM parameter. To implement this algorithm, however, each agent must solve the local optimization problem (23a) exactly as well as compute the exact average (23b) at each iteration. Instead, we consider a variant where the computations and communications are inexact. Specifically, we replace the exact minimization (23a) with a single gradient step with initial condition and stepsize , and we replace the exact averaging step (23b) with a single gossip step using the Laplacian matrix . This gives the following inexact version of ADMM:
[TABLE]
Defining the state , this algorithm is equivalent to Algorithm 1 with and . In other words, SVL corresponds to an inexact version of ADMM, where is the stepsize of the gradient step and is the ADMM parameter. See [24, 5] for other distributed ADMM variants.
4.3 Special Cases
We now show how the SVL algorithm reduces to well-known consensus and optimization algorithms in special cases.
:
With only one agent, the distributed optimization problem (1) is equivalent to centralized optimization. In this case, the Laplacian matrix is simply the scalar , so for all . Algorithm 1 then simplifies to
[TABLE]
which is ordinary gradient descent with stepsize . The fastest possible gradient rate of is achieved when .
:
When the condition ratio is unity (i.e., ), the distributed optimization problem (1) is equivalent to average consensus. In this case, the parameters of SVL are simply , , , and . Also, the objective functions are quadratic, so we may assume without loss of generality that they have the form , where is a parameter on agent at iteration . The SVL algorithm then simplifies to
[TABLE]
which is a dynamic average consensus algorithm since the reference signals are continually injected into the dynamics [10]. When the objective functions are constant, the terms cancel from the iterations and only affect the initial conditions. This case is referred to as static average consensus [27], and the worst-case rate of convergence is [29].
5 Numerical Results
In this section, we compare the worst-case performance of SVL with that of other first-order distributed algorithms.
5.1 Algorithm Comparison (Upper Bounds)
Theorem 10 provides an upper bound on the worst-case convergence rate. We used this result to compare all algorithms in Table 1, including SVL. The results are shown in Fig. 2. For each algorithm, we used a bisection search to find the smallest rate that yielded a feasible solution to the SDP (7). We implemented the SDP in Julia [3] with the JuMP [6] modeling package and the Mosek interior point solver [1]. In an outer loop, we performed a parameter search for each algorithm to find the step size and overrelaxation parameter that yielded the smallest possible . Specifically, we used Brent’s method and the Nelder–Mead method, respectively, as implemented in the Optim package [14] as ranged from 0 to 1.
As shown in Fig. 2, optimizing over further improves worst-case performance. Our proposed SVL algorithm outperforms all methods we tested. Also shown in Fig. 2 is the lower bound described in Section 2.5, namely , which holds for any distributed algorithm.
5.2 Approximate Worst-Case Examples (Lower Bounds)
In an effort to show that the upper bounds for each algorithm in Fig 2 were likely tight, we searched for signals that satisfied (3) for some choice of and satsifying Assumptions 1 and 2, respectively.
We first solved a relaxed version of the problem, where we replaced Assumptions 1 and 2 by the weaker conditions (26) and (27), respectively. We used the following greedy heuristic. For a given algorithm and rate , we solved (7) to obtain . At each time step , we then maximized the Lyapunov increment , where is defined in (9). We solved the following optimization problem for .
[TABLE]
For , we also included as an optimization variable and the normalization . For , we solved (24) using the found at the previous iteration and warm-starting . We used the Ipopt [28] local solver with default settings since (24) is a nonconvex quadratically constrained quadratic program. Note that we must choose parameters and .
Our relaxed heuristic using was successful in constructing trajectories that matched the worst-case bounds from (7). To illustrate, we simulated EXTRA, NIDS, DIGing, and SVL with and a few values of in Fig. 3. For each trajectory, we plotted together with the corresponding upper bound found from Theorem 10. We obtained similar results for the other algorithms from Table 1.
Since we used the relaxation (27) to construct and , there is no guarantee that there will exist a linear Laplacian such that . However, finding whether such an exists amounts to solving a convex optimization problem:
[TABLE]
If (25) is feasible and its optimal value is less than or equal to , then the associated is a valid Laplacian matrix at timestep . While there is no guarantee that (25) will even be feasible, we reasoned that since there are variables and linear constraints, where and are the number of rows of and , respectively, we could increase our chances of finding feasible with large and and small.
In Figure 4, we show a successful construction for the NIDS algorithm, which has . We solved (24) with and , and solved (25) at each timestep. An optimal cost for (25) of was always achieved. This result indicates that the upper bound for NIDS in Fig. 2 is likely tight, and that NIDS is not robustly stable in the time-varying setting. In other words, the network-independent rate bound enjoyed by NIDS in the constant-graph setting [13, Thm. 2] does not carry over to the time-varying setting.
Remark 14**.**
There may be other approaches to finding a worst-case that perform better. For example, one might try alternating convex optimizations or including directly as an optimization variable in a nonlinear program.
6 Conclusion
We presented a universal analysis framework for a broad class of first-order distributed optimization algorithms over time-varying graphs. The framework provides worst-case certificates of linear convergence via semidefinite programming, and we show empirically that our rate bounds are likely tight. Optimizing the SDP from our analysis framework, we designed a novel distributed algorithm, SVL, which outperforms all known algorithms in this time-varying setting.
Appendix A Appendix
A.1 Proof of Proposition 6
Suppose (6) holds, and denote the optimizer of (1) by . Then there exist vectors and such that
[TABLE]
For all , use these vectors to define the points
[TABLE]
This is a fixed point of algorithm (3), and the fixed point satisfies the conditions in (5) since is the optimizer of (1).
Now suppose is a fixed point of (3) satisfying (5). Let . Since , , and is unconstrained, we have from (3a) and (3c) that is in the set (6a). Now let be any nonzero vector such that . Then from (3a), we have that
[TABLE]
Since this must hold for arbitrary , this implies (6b).
A.2 Proof of Theorem 10
Assumptions 1 and 2 lead to quadratic inequalities that will be useful in proving our main result. These are stated in the following propositions.
Proposition 15**.**
Suppose Assumption 1 holds for the local objective functions . Let satisfy (3b), and let be a fixed point that satisfies (5). Then
[TABLE]
Proof. Using the definition of , the quadratic form is
[TABLE]
Since the fixed point satisfies (5), Assumption 1 implies that this is nonnegative with .
Proposition 16**.**
Suppose Assumption 2 holds for the graph at each iteration. Let satisfy (3b), and let be a fixed point that satisfies (5). Then for all ,
[TABLE]
Proof. From the definition of the matrix norm and Assumption 2, we have that
[TABLE]
Without loss of generality, , where and are arbitrary. By orthogonality, . Substituting the decomposition of into the above inequality,
[TABLE]
where the last two steps follow because the maximum is attained with , and . Squaring both sides and rewriting as a quadratic form yields
[TABLE]
for all . Now let denote the dimension of . Then since , it has the decomposition
[TABLE]
where and . Then using that , the quadratic form is
[TABLE]
which is nonnegative from (28) with .
Let denote a trajectory of algorithm (3). Since the algorithm satisfies the fixed point conditions (6) (by assumption), we have from Proposition 6 that there exists a fixed point satisfying (5). The global optimizer is unique from Assumption 1, so the fixed point conditions (5a) imply that with the optimizer of (1).
Since the trajectory satisfies the invariant (3c) and the columns of form a basis for the nullspace of , there exists a vector such that
[TABLE]
Multiplying the matrix in (7l) on the right and left by and its transpose, respectively, we obtain the consensus inequality
[TABLE]
where we used that form an orthonormal basis for . Summing the inequalities in (29), we obtain
[TABLE]
where is defined in (9). The quadratic forms in the last two terms are nonnegative from Propositions 15 and 16, which implies . We then apply this inequality iteratively to obtain for all . Now define
[TABLE]
and note that since and are positive definite. Then letting denote the condition number of , we have the bound
[TABLE]
Therefore, the bound (8) holds with .
A.3 Proof of Theorem 12
Substituting the template (19) into the LMI (7l) reduces to
[TABLE]
which is satisfied with and . Note that this LMI is known to describe the convergence rate of centralized gradient descent; see [11, Section 4.4].
Now consider the potential solution to (7ac) given by
[TABLE]
Using these values along with the value for in (21b), the matrix in (7ac) is equal to the rank-one matrix , where
[TABLE]
In order for this to be a valid solution, we must have and (so that ), (so that ), and (so that (7ac) holds). All of these inequalities hold if and only if (21a) holds. Therefore, the SDP has a rank-one solution using the parameters in (20) if and satisfy (21). The convergence bound then follows from Theorem 10 and Remark 11.
11footnotetext: Wisconsin Institute for Discovery, WI 53715, USA.22footnotetext: Department of Electrical and Computer Engineering, University of Wisconsin–Madison, WI 53706, USA. Emails: {asundararaja,vanscoy,laurent.lessard}@wisc.edu
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] APS Mosek. The MOSEK optimization software, 2010. Online at http://www.mosek.com .
- 2[2] J. A. Bazerque and G. B. Giannakis. Distributed spectrum sensing for cognitive radio networks by exploiting sparsity. IEEE Transactions on Signal Processing , 58(3):1847–1862, 2009.
- 3[3] J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah. Julia: A fresh approach to numerical computing. SIAM review , 59(1):65–98, 2017.
- 4[4] S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein. Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers , volume 3. Foundations and Trends in Machine Learning, 2010.
- 5[5] T. Chang, M. Hong, and X. Wang. Multi-agent distributed optimization via inexact consensus admm. IEEE Transactions on Signal Processing , 63(2):482–497, 2015.
- 6[6] I. Dunning, J. Huchette, and M. Lubin. Ju MP: A modeling language for mathematical optimization. SIAM Review , 59(2):295–320, 2017.
- 7[7] P. A. Forero, A. Cano, and G. B. Giannakis. Consensus-based distributed support vector machines. Journal of Machine Learning Research , 11:1663–1707, 2010.
- 8[8] D. Jakovetić. A unification and generalization of exact distributed first-order methods. IEEE Transactions on Signal and Information Processing over Networks , 5(1):31–46, 2018.
