Optimal Algorithms for Distributed Optimization

César A. Uribe, Soomin Lee, Alexander Gasnikov, Angelia Nedić

Introduction

The study of distributed algorithms can be traced back to classic papers from the 70s and 80s . The adoption of distributed optimization algorithms on several fronts of applied and theoretical machine learning, robotics, and resource allocation has increased the attention on such methods in recent years . The particular flexibilities induced by the distributed setup make them suitable for large-scale problems involving large quantities of data .

Initial algorithms for distributed optimization such as distributed subgradient methods were shown successful for solving optimization problems in a distributed manner over networks . Nevertheless, these algorithms are particularly slow compared with their centralized counterparts. Moreover, from the optimization perspective, proposing and analyzing algorithms with equivalent performance to their centralized counterparts have always been a priority. In a recent stream of literature, new distributed methods that achieve linear rates for strongly convex and smooth problems have been proposed in .

One can identify three main approaches to the study of distributed algorithms. In , the focus is achieving linear convergence rate for strongly convex and smooth problems. These results require some minimal information about the topology of the network and provide explicit statements about the dependency of the convergence rate on the problem parameters. Specifically, polynomial scalability is shown with the network parameter for particular choices of small enough step-sizes and even uncoordinated step-sizes are allowed . One particular advantage of this approach is that can handle time-varying and directed graphs. Nevertheless, optimal dependencies on the problem parameters and tight convergence rate bounds are far less understood for such algorithms. More recently, in new methods were proposed where it was shown that O((m2+L/μm)log⁡ε−1)O((m^{2}+\sqrt{L/\mu}m)\log\varepsilon^{-1}) iterations are required to find an ε\varepsilon solution to the optimization problem when the function is μ\mu-strongly convex and LL-smooth, where mm is the number of nodes in the fixed undirected network. Recently in , a unified approach has been proposed for analysis of the convergence rate of distributed optimization algorithms via a semidefinite programming characterization. There, too, the focus on strongly convex and smooth functions. This approach provides an innovative procedure to numerically certify worst-case rates of a plethora of distributed algorithms, which can be useful to fine-tune parameters in existing algorithms based on feasibility conditions of a semidefinite program. Nevertheless, the questions on the specific dependency on the problem parameters and optimality certifications of the algorithms remain open. Similarly, in , another unifying approach has been proposed, that encompasses several existing algorithms such as those in . This newly proposed general method is able to recover existing rates and achieves an ε\varepsilon precision in O(L/(μλ2)log⁡ε−1)O(\sqrt{L/(\mu\lambda_{2})}\log\varepsilon^{-1}) iterations, where λ2\lambda_{2} is the second largest eigenvalue of the interaction matrix. Finally, a third approach was recently introduced in , where the first optimal algorithm for distributed optimization problems was proposed. This new method achieves an ε\varepsilon precision in O(L/μ(1+τ/γ)log⁡ε−1)O(\sqrt{L/\mu}(1+\tau/\sqrt{\gamma})\log\varepsilon^{-1}) iterations for μ\mu-strongly convex and LL-smooth problems, where τ\tau is the diameter of the network and γ\gamma is the normalized eigengap of the interaction matrix. Even though extra information about the topology of the network is required, the work in provides a coherent understanding of the optimal convergence rates and its dependencies on the communication network.

In this paper, we follow the approach in to study the problem of distributed optimization over networks. Particularly, we consider the following optimization problem

Our results match known optimal complexity bounds for centralized convex optimization (obtained by classical methods such as Nesterov’s Fast Gradient Method ), with an additional cost induced by the network of communication constraints. This extra cost appears in the form of a multiplicative term proportional to the square root of the spectral gap of the interaction matrix. In summary, our main results provide an algorithm that achieves ε\varepsilon accuracy on any fixed, connected and undirected graph according Table 1, where universal constants are hidden for simplicity.

This paper is organized as follows: Section 2 introduces the problem of distributed optimization over networks. Section 3 presents a series of definitions and auxiliary results that will help in the exposition of the main results. Section 4 provides our main result regarding the optimal convergence rates for the solution of distributed optimization problems for the different variations of smoothness and strong convexity properties. In Section 5 we study the specific cost of having a distributed setup where we use as a guiding example the consensus problem, for which we find an optimal algorithm regarding the condition numbers and the properties of the graph. In Sections 6 and 7, 8 we discuss extensions when the studied function is not dual-friendly but proximal operations are easy to compute. Addutionally we discuss how to improve the condition numbers. In Section 9 we provide some remarks of less developed extensions for the distributed optimization setup, particularly, we discuss time-varying/directed graphs, the communication time versus the computation time and working with general pp-norms, with p≥1p\geq 1. Finally, in we present some conclusions.

Problem Statement

Now, suppose that we are required to solve this problem in a distributed manner over a network. We model such a network as a fixed connected undirected graph G=(V,E)\mathcal{G}=(V,E), where VV is a set of mm nodes and EE is a set of edges. The network structure imposes information constraints, namely, each node ii has access to the function fif_{i} only, and a node can exchange information only with its immediate neighbors, i.e., a node ii can communicate with node jj if and only if (i,j)∈E(i,j)\in E.

where deg(i)\text{deg}(i) is the degree of the node ii, i.e., the number of neighbors of the node. Finally, define the communication matrix, sometimes called interaction matrix as W=Wˉ⊗InW=\bar{W}\otimes I_{n}, where ⊗\otimes indicates the Kronecker product.

One can verify that WW is a nonnegative semidefinite matrix, with the following properties:

Wx=0W{x}=0 if and only if x1=…=xmx_{1}=\ldots=x_{m}.

Wx=0\sqrt{W}{x}=0 if and only if x1=…=xmx_{1}=\ldots=x_{m}.

σmax⁡(W)=λmax⁡(W)\sigma_{\max}(\sqrt{W})=\lambda_{\max}(W).

Therefore, one can equivalently rewrite the problem in Eq. (1) as:

where the constraint Wx=0\sqrt{W}x=0 is equivalent to x1=…=xmx_{1}=\ldots=x_{m} given that ker⁡(W)=span⁡(1)\ker(\sqrt{W})=\operatorname{span}(\boldsymbol{1}).

Preliminaries

Before presenting our main results, in this section, we will provide a set of definitions and preliminary information that we will use throughout the paper in the remaining sections.

For simplicity of exposition, we will present our results considering the 22-norm only, which is called the Euclidean setup. Nevertheless, in Section 9 we will point out the generalization to other norms.

A function f(⋅)f(\cdot) is a μ\mu-strongly convex function if for any x,yx,y it holds that

where ∇f(x)\nabla f(x) is any subgradient of f(⋅)f(\cdot) at xx.

Particularly, if each of the functions fi(xi)f_{i}(x_{i}) in the problem in Eq.(2) is μi\mu_{i}-strongly convex then F(x)F(x) is μ\mu-strongly convex, with μ=min⁡i=1,…,mμi\mu=\min\limits_{i=1,\ldots,m}\mu_{i}.

A function f(⋅)f(\cdot) has LL-Lipschitz continuous gradient if it is differentiable and its gradient satisfies the Lipschitz condition, i.e. for any x,yx,y

A function having LL-Lipschitz continuous gradient is also referred as LL-smooth.

If each of the functions fi(xi)f_{i}(x_{i}) in the problem in Eq.(2) has LiL_{i}-Lipschitz continuous gradients then F(x)F(x) has LL-Lipschitz continuous gradient with L=max⁡i=1,…,mLiL=\max\limits_{i=1,\ldots,m}L_{i}.

Our main algorithmic tool will be Nesterov’s Fast Gradient Method (FGM) . Next, in Algorithm 1 we state one variant of the FGM method for a μ\mu-strongly convex and LL-smooth function F(x)F(x). Other variants of this method can also be found in .

Specifically it holds for Algorithm 1 that

where f∗f^{*} denotes the minimum value of the function f(x)f(x) and x∗x^{*} is its minimizer. This result implies a geometric convergence rate, where one can find a solution that is ε\varepsilon close to the optimal in

In what follows we will consider a μ\mu-strongly convex and LL-smooth function f(x)f(x) and the general optimization problem with linear constraints

where the Lagrangian dual problem of Eq. (4) is

Now, rewrite the Lagrangian dual problem in its equivalent form as a minimization problem

and φ(y)\varphi(y) is μφ=σmin⁡(A)L\mu_{\varphi}=\frac{\sigma_{\min}(A)}{L}-strongly convex in ker⁡(AT)⊥\ker(A^{T})^{\perp} and has Lφ=σmax⁡(A)μL_{\varphi}=\frac{\sigma_{\max}(A)}{\mu}-Lipschitz continuous gradients.

From the Demyanov-Danskin’s theorem (see Proposition 4.5.14.5.1 in ) it follows that ∇φ(y)=Ax∗(ATy)\nabla\varphi(y)=Ax^{*}(A^{T}y) where x∗(ATy)x^{*}(A^{T}y) is the unique solution to the inner maximization problem

In order to find x∗(ATy)x^{*}(A^{T}y) one can use optimal (randomized) numerical methods . Nonetheless, initially we will assume that we have access to x∗(ATy)x^{*}(A^{T}y) explicitly. Later in Section 6 we will provide convergence rate estimates this assumption does not hold.

A function f(x)f(x) is dual-friendly if when considering the optimization problem in Eq.(4) one has immediate access to an explicit solution x∗(ATy)x^{*}(A^{T}y) to the dual subproblem or it can be computed efficiently.

In general, the matrix AA might not be full row rank. Then, the dual problem in Eq.(5) can have multiple solutions of the form y∗+ker⁡(AT)y^{*}+\ker(A^{T}). If the solution is not unique, we will choose y∗y^{*} with the smallest norm solution. Moreover, we will denote its norm as R=∥y∗∥2R=\|y^{*}\|_{2} and assume that R<∞R<\infty.

Note that we will use the result in Eq.Eq. 3 applied to the dual problem in Eq.(4), which is not strongly convex in the ordinary sense (in the whole space). Nevertheless, since we will select y0=x0y_{0}=x_{0} in Algorithm 1 as the initial condition, we will work in the linear space of gradients on which we have strong convexity.

We will be interested in finding solutions to the problem in Eq.(4) that are arbitrarily close to an optimal solution, both in terms of the error of the primal problem and the linear constraints feasibility. For this, we introduce the following definition.

where f(x∗)f(x^{*}) denotes the optimal function value the problem in Eq.(4). Moreover note that ∣f(x∗(ATy))−f(x∗)∣≤∥y∥2∥Ax∗(ATy)∥2\left|f(x^{*}(A^{T}y))-f(x^{*})\right|\leq\|y\|_{2}\|Ax^{*}(A^{T}y)\|_{2}

To solve the dual problem in Eq.(5) one can use the FGM algorithm that specializes to Algorithm 2.

From , we can immediately conclude that the number of oracle calls (calculations of AxAx and ATyA^{T}y) required for the Algorithm 2 is

We will apply the FGM as described in Algorithm 2 to the dual of different variations of the problem in Eq. (1). The next section presents the main results regarding the optimal convergence rates for the solution of the distributed optimization problem.

Main results

Our main results provide convergence rate estimates for the solution of the problem in Eq. (1) (or Eq. (2)) for four different cases:

F(x)F(x) is μ\mu-strongly convex and LL-smooth.

F(x)F(x) is μ\mu-strongly convex and MM-Lipschitz.

This case is a specific version of the general problem presented in Eq. (4). Particularly, when the linear constraints Ax=0Ax=0 are Wx=0\sqrt{W}x=0 and the function f(x)f(x) corresponds to the function F(x)F(x) as defined in Eq.(2).

where Wij=[Wˉ]ij⊗InW_{ij}=[\bar{W}]_{ij}\otimes I_{n} and xj∗(wk)x^{*}_{j}(w_{k}) is the components of solution of the dual subproblem shared by agent jj.

iterations (oracle calls) of Eqs.Eq. 7, the point x∗(zN)x^{*}(z_{N}) is an (ε,ε/R)(\varepsilon,\varepsilon/R)-optimal solution to the optimization problem in Eq. (2).

2 F​(x)𝐹𝑥F(x) is μ𝜇\mu-strongly convex and M𝑀M-Lipschitz

The assumption of F(x)F(x) being μ\mu-strongly convex implies that the dual function φ(y)\varphi(y) is LφL_{\varphi}-smooth. In this case, we can use a regularization technique to induce the strong convexity of the dual function.

For a convex function f(x)f(x), we define the strongly convex regularized function fμ(x)f^{\mu}(x) with regularizer r2(x)r^{2}(x) as

Assume F(x)F(x) is dual-friendly, MM-Lipschitz and μ\mu-strongly convex. Then, after

iterations (oracle calls) of Eqs.Eq. 7 on the regularized dual problem φμφ(y)\varphi^{\mu_{\varphi}}(y), with μφ=ε/R2\mu_{\varphi}=\varepsilon/R^{2} and regularizer ∥y∥22\|y\|_{2}^{2}, the point x∗(zN)x^{*}(z_{N}) is an (ε,ε/R)(\varepsilon,\varepsilon/R)-optimal solution to the optimization problem in Eq. (2).

Initially, lets construct a regularized dual problem. Then, we have that

where μ^=εR2\hat{\mu}=\frac{\varepsilon}{R^{2}}. Assume there exists yNy_{N} such that

where φ∗μ^\varphi^{\hat{\mu}}_{*} is the optimal value of the regularized dual function. Then

where φ∗\varphi^{*} is the optimal value of the dual function.

Additionally, from Theorem 33 in it follows that

Note that we typically do not know R2=∥y∗∥22R^{2}=\|y^{*}\|_{2}^{2}. Thus, we require a method to estimate the strong convexity parameter μ^\hat{\mu} which is challenging . Therefore, we can apply the restarting technique on μ\mu . The payment for that is just an 88 multiplicative factor in the estimation . Similarly, a generalization of the FGM algorithm can be proposed when LφL_{\varphi} is unknown . The specific details of this generalizations are out of the scope of this paper.

3 F​(x)𝐹𝑥F(x) is L𝐿L-smooth

In this case, we can follows the same regularization technique as in the previous scenario. However, in this case we can regularize the primal function.

Assume F(x)F(x) is dual-friendly and LL-smooth convex. Then, after

iterations (oracle calls) of Eqs.Eq. 7 on the dual problem of the regularized function Fμ(x)F^{\mu}(x) with μ=ε/Rx2=ε/∥x∗−x∗(z0)∥22\mu=\varepsilon/R_{x}^{2}=\varepsilon/\|x^{*}-x^{*}(z_{0})\|_{2}^{2} and regularizer ∥x−x∗(z0)∥22\|x-x^{*}(z_{0})\|_{2}^{2}, the point x∗(zN)x^{*}(z_{N}) is an (ε,ε/R)(\varepsilon,\varepsilon/R)-optimal solution to the optimization problem in Eq. (2).

We can regularize the primal problem in Eq. (4) such that we instead try to solve

with μ=εRx2\mu=\frac{\varepsilon}{R^{2}_{x}}. Additionally, if the minimizer x∗x^{*} is not unique we will consider it as the closest solution from x∗(z0)x^{*}(z_{0}), i.e. closest to the initial point of the algorithm.

This take us back to the case of Section 4.1 for which we can conclude that up to logarithmic factor that the number of iterations required is:

4 F​(x)𝐹𝑥F(x) is M𝑀M-Lipschitz

Assume F(x)F(x) is dual-friendly and MM-Lipschitz. Then, after

iterations (oracle calls) of Eqs.Eq. 7 on the regularized dual problem φμφ(y)\varphi^{\mu_{\varphi}}(y), with μφ=ε/R2\mu_{\varphi}=\varepsilon/R^{2} and regularizer ∥y∥22\|y\|_{2}^{2}, of the regularized function Fμ(x)F^{\mu}(x) with μ=ε/Rx2\mu=\varepsilon/R_{x}^{2} and regularizer ∥x−x∗(z0)∥22\|x-x^{*}(z_{0})\|_{2}^{2}, the point x∗(zN)x^{*}(z_{N}) is an (ε,ε/R)(\varepsilon,\varepsilon/R)-optimal solution to the optimization problem in Eq. (2).

Similarly as in the cases above we will use regularization. We will regularize the primal problem with μ=εRx2\mu=\frac{\varepsilon}{R^{2}_{x}} and then regularize the dual problem too with μ^=εR2\hat{\mu}=\frac{\varepsilon}{R^{2}}. Therefore, up to logarithmic factors the Algorithm 2 will stop in no more than

iterations. Where the estimate in Eq. (12) is unimporvable up to logarithmic factors.

5 A summary

Table 2 presents an informal summary of the results presented in this section. In particular, it shows the number of oracle calls required in each of the problems to obtain an ε\varepsilon-optimal solution. Moreover, it shows the specific dependency of the convergence rates regarding the properties of the functions considered.

The specific value of χ(W)\chi(W) and its dependency on the number of nodes mm has been extensively studied in the literature of distributed optimization . In , Proposition 55 provides an extensive list of worst-case dependencies of the spectral gap for large classes of graphs. Particularly, for fixed undirected graphs, one can construct a set of weights WW for which χ(W)=O(m2)\chi(W)=O(m^{2}) . This matches the best upper bound found in the literature of consensus and distributed optimization . As an immediate conclusion it is clear that the form in Eq.(2) with the constraint described as Wx=0\sqrt{W}x=0 should be preferred over the description as Wx=0Wx=0, even though both representation correctly describe the consensus subspace x1=…xmx_{1}=\ldots x_{m}. Particularly, when we pick A=WA=\sqrt{W}, we have χ(ATA)=χ(W)\chi(A^{T}A)=\chi(W) instead of χ(WTW)=χ(W2)≫χ(W)\chi(W^{T}W)=\chi(W^{2})\gg\chi(W). For example for a star graph χ(W)=O(m)\sqrt{\chi(W)}=O(\sqrt{m}), for complete graphs χ(W)=O(1)\sqrt{\chi(W)}=O(1), for path graphs χ(W)∼diam(G)=O(m)\sqrt{\chi(W)}\sim\text{diam}(\mathcal{G})=O(m), for regular networks χ(W)≥diam(G)log⁡m\sqrt{\chi(W)}\geq\frac{\text{diam}(G)}{\log m}. We can observe that typically χ(W)\sqrt{\chi(W)} corresponds to the diameter of the graph GG and the square root of the spectral gap of the interaction matrix.

The cost of communications

In this section, we will study a particular form of the optimization problem in Eq. Eq. 1 known as the consensus problem. This will help us further understand the execution and performance of the studied distributed optimization algorithms. Moreover, it will provide an answer to what is the additional cost, regarding algorithmic complexity, when we try to solve an optimization problem in a distributed manner. We refer to this cost as the cost of communication. We will show how, in the most basic setting, the cost of communications and it depends on the topology of the communication network over which the agents exchange information.

Assume that each node in the graph G\mathcal{G} holds an initial numeric value x0ix^{i}_{0} and can compute the weighted average of the values held by its neighbors at each iteration. Let xkix^{i}_{k} be the value of node ii at iteration kk. We would like to know how many iterations are required (and what is the proper algorithm) to reach consensus. Particularly, we will reach ε\varepsilon-consensus if for any ε>0\varepsilon>0

This problem can be solved by considering the convex optimization problem

where WW is a communication matrix as defined in Section 2.

The estimates presented in the Theorems 4.1, 4.4, 4.6 and 4.8 cannot be improved up to logarithmic factors. Particularly in the smooth cases where L<∞L<\infty these estimations follow (up to logarithmic factors) form the classical centralized complexity estimation of the FGM algorithm, where for a μ\mu-strongly convex and LL-smooth convex problem we require at most

oracle calls and for a LL-smooth convex problem we require at most

In addition to these centralized estimates we need to take into account the fact that one has to perform χ(W)log⁡(ε−1)\sqrt{\chi(W)}\log(\varepsilon^{-1}) additional consensus steps at each iteration of the classical FGM.

In the following sections, we explore extensions and open problems related to the results presented so far. We study the case when the functions are not dual-friendly, when the function is proximal-friendly and how to improve the condition number L/μL/\mu.

No Explicit Dual Solution is available

In all the results presented so far, we have assumed that the problem is dual-friendly in the sense that we have readily available solutions to the dual subproblem. In this section, we will explore the case when this is not possible.

Note that the dual subproblem can also be computed in a distributed manner. Specifically, we have that

When the function is smooth or when is strongly convex and smooth, one can solve the auxiliary problem

using fast gradient methods (if the function is smooth, one should make one additional regularization μ=εRx2\mu=\frac{\varepsilon}{R^{2}_{x}}) applied for the strongly convex problem. Therefore, we can find a solution for the dual problem, i.e. x∗(ATy)x^{*}(A^{T}y), in a logarithmic number of iterations from a desired relative precision δ\delta. This fact allows us avoid considering the error in the computation of x∗(ATy)x^{*}(A^{T}y). When the function is strongly convex and smooth, we can solve the auxiliary problem in O(Lμlog⁡(δ−1))O\left(\sqrt{\frac{L}{\mu}}\log(\delta^{-1})\right) oracle calls (oracle call is the calculation of ∇f(x)\nabla f(x)). On the other hand, when the function is only smooth, we require O(LRx2εlog⁡(δ−1))O\left(\sqrt{\frac{LR_{x}^{2}}{\varepsilon}}\log(\delta^{-1})\right) iterations. Both estimates are optimal up to logarithmic factor. Therefore, in those cases, we propose totally optimal methods.

Unfortunately, this is not the case when the function f(x)f(x) is not smooth. Nevertheless, in these cases we might use another approach, that gives optimal estimates in both senses: the total number of oracle calls (calculations ∇f(x)\nabla f(x)) and the total number of communications (AxAx, ATyA^{T}y multiplications).

Lets consider first the case where f(x)f(x) is convex and apply Nesterov’s smoothing technique to the dual problem

Moreover, by using the bound in Eq. (10), we can replace the function

Finally, one can show that the function Gε(Ax)G_{\varepsilon}(Ax) has a σmax⁡(AT)R2ε\frac{\sigma_{\max}(A^{T})R^{2}}{\varepsilon}-Lipschitz continuous gradient, (note that σmax⁡(AT)=σmax⁡(A)\sigma_{\max}(A^{T})=\sigma_{\max}(A)). So, we can solve the composite type mixed smooth/non-smooth type problem

where gradient oracle for Gε(Ax)G_{\varepsilon}(Ax) requires a constant number of AxAx multiplications (because we can explicitly write the formula for ∇Gε(z)\nabla G_{\varepsilon}(z)) and the gradient oracle for f(x)f(x) requires one ∇f(x)\nabla f(x) calculations. Using Lan’s accelerated gradient sliding , one can find an ε\varepsilon-solution (in function value) of Eq. (15) without any auxiliary dual problem, after

oracle calls, i.e., AxAx multiplications and

oracle calls, i.e., ∇f(x)\nabla f(x)-gradient calculations. Unfortunately, in this approach we can guarantee ∥AxN∥≤εR\|Ax_{N}\|\leq\frac{\varepsilon}{R} only in the best case .

Using the restart technique one can extend Lan’s accelerated gradient sliding for f(x)f(x) being μ\mu-strongly convex. At the kk-th restart the number of oracle calls is NAx=O(σmax⁡(A)R2με)N_{Ax}=O\left(\sqrt{\frac{\sigma_{\max}(A)R^{2}}{\mu\varepsilon}}\right) computations of AxAx and N∇f(x)=O(2kM2ε2Rx2)N_{\nabla f(x)}=O\left(\frac{2^{k}M^{2}}{\varepsilon^{2}R_{x}^{2}}\right) oracle calls for ∇f(x)\nabla f(x). This allows to improve estimates for the problem in Eq. (15) in the following manner:

oracle calls of ∇f(x)\nabla f(x), where these estimates are optimal up to logarithmic factors. Moreover, one can extend these results to stochastic optimization problems and the estimations will not change .

Acceleration when f​(x)𝑓𝑥f(x) is a proximal-friendly functional

Let us consider the case when f(x)f(x) is convex, but not strongly convex nor smooth, and return to Eq. (6) which can be rewritten as

We will say the function f(x)f(x) is proximal-friendly, if we can solve the auxiliary strongly convex problem

explicitly, similarly as the definition of dual-friendly.

one can find an ε\varepsilon- solution (in terms of the duality gap) of the saddle point problem

after NAx=O(1ε)N_{Ax}=O\left(\frac{1}{\varepsilon}\right), AxAx multiplications, see , section 5.25.2.

Unfortunately, this does not provide any acceleration. Since, to find proxf,ATy(z)\text{prox}_{f,A^{T}y}(z) typically, one has to find an ε\varepsilon-solution of a strongly convex optimization problem. This can be done in O(1ε)O(\frac{1}{\varepsilon}) calculations of ∇f(x)\nabla f(x). So the total number of iterations will be of the order N∇f(x)=O(1ε2)N_{\nabla f(x)}=O\left(\frac{1}{\varepsilon^{2}}\right).

Now, let us propose another approach, consider the original problem in Eq. (4) and add the additional term 12∥Ax∥22\frac{1}{2}\|Ax\|_{2}^{2} which is identically zero on any feasible point Ax=0Ax=0. Thus,

If φ(y′)\varphi(y^{\prime}) is proximal friendly, we can solve the auxiliary problem (this is the proximal version of the standard dual problem) explicitly, then using accelerated proximal gradient descent (in the space of yy) one can find an ε\varepsilon solution to the dual problem in O(ε−12)O\left(\varepsilon^{-\frac{1}{2}}\right) proximal steps . Moreover, the results in allows for an extension to randomized methods. Therefore, we obtain acceleration.

Improving the condition number Lμ𝐿𝜇\frac{L}{\mu} when F​(x)𝐹𝑥F(x) is strongly convex and smooth

Considering the problem in Eq. (1), if each fi(xi)f_{i}(x_{i}) is a μi\mu_{i}-strongly convex function , and has LiL_{i}-Lipschitz continuous gradients, then F(x)F(x) is a μ=min⁡i=1,…,mμi\mu=\min_{i=1,\ldots,m}\mu_{i}-strongly convex and has L=max⁡i=1,…,mLiL=\max_{i=1,\ldots,m}L_{i}-Lipschitz continuous gradients.

As a result, the condition number Lμ\frac{L}{\mu} can be large in general, at least if one of the μi\mu_{i} is small. To overcome this drawback, we can formulate another regularization for the problem in Eq. (2) as

Furthermore, the regularized function FαF_{\alpha} is μ≥min⁡{∑i=1mμi,αλmin⁡(W)}\mu\geq\min\left\{\sum\limits_{i=1}^{m}\mu_{i},\alpha\lambda_{\min}(W)\right\}-strongly convex and has L≤(max⁡i=1,…,mLi+αλmax⁡(W))L\leq\left(\max\limits_{i=1,\ldots,m}L_{i}+\alpha\lambda_{\max}(W)\right)-Lipschitz continuous gradient. Moreover, if we set α≃∑k=1mμk/λmin⁡(W)\alpha\simeq\sum\limits_{k=1}^{m}\mu_{k}/\lambda_{\min}(W), one can solve the problem in Eq. (18) with relative precision ε\varepsilon after (see also )

This estimate shows that we can replace the smallest strong convexity constant for the sum among all of them, but we have to pay an additive price proportional to the condition number of the graph.

Using the regularization technique with μi=εmRxi2=εRx2\mu_{i}=\frac{\varepsilon}{mR^{2}_{x_{i}}}=\frac{\varepsilon}{R^{2}_{x}} one can extend this result to the case where the function is just smooth.

Discussion and Conclusions

In this section, we will discuss a set of possible extensions and open problems related to the results presented so far. Particularly, we will explore the case when the graph is directed or changing with time. What to do if the time required for by the oracle is not comparable with the communication steps. How to handle non-Euclidean setups.

Time-Varying/Directed Graphs: Throughout this paper, we have assumed that the considered network of agents is fixed and undirected. This implies that the construction of the interaction matrix can be done in a distributed manner and the result will be a symmetric matrix, i.e., W=WTW=W^{T}. In a very specific case, when we have two communication networks, dual to each other, our approach will work, but this is a rare situation. Non-accelerated approaches have been shown successful in the study of time-varying directed graphs . They have been shown to provide solutions to the distributed optimization problem for strongly convex and smooth functions with linear rates. Nevertheless, it is an open problem to show that optimal convergence rates, comparable to those in the centralized case can be achieved for time-varying and directed graphs.

Let us return to the consensus problem in Eq. (13). But now assume that from time to time the matrix WW changes, nonetheless remaining a interaction matrix. Therefore, we have a family of nonnegative semi-definite quadratic functions with the same kernel, ker⁡(W)\ker(W) (in our case described as x1=…=xkx_{1}=\ldots=x_{k}). How can we find a projection of x10,…,xm0x_{1}^{0},\ldots,x_{m}^{0} on this set working at each iteration with different matrices WW? One can solve the problem in Eq. (13) with relative precision by the simple gradient descent method on χ(W)log⁡ε−1\chi(W)\log\varepsilon^{-1} communication steps because this dynamic has a Lyapunov function: that is the square distance between the current point and ker⁡(W)\ker(W). Nevertheless, it is known that one can accelerate this value to χ(W)log⁡ε−1\sqrt{\chi(W)}\log\varepsilon^{-1} for fixed graphs. Whether acceleration is possible for time-varying graphs remains an open question to the best of the authors’ knowledge. Such generalization of Nesterov’s accelerated gradient method is unknown . On the other side, if one can detect the moment the graph changes, and such changes don’t happen very often one can use restarting techniques , which provide the following estimations for the number of communication steps needed

Fast Gossip Steps: CPUs in these days can read and write from and to memory at over 1010GB per second, whereas communication over TCP/IPTCP/IP is about 10MB10MB per second . Therefore, the gap between intra-node computation and inter-node communication is about 33 order of magnitude. Communication start-up cost itself is also not negligible as it usually takes a few milliseconds. Let us consider that one node can calculate ∇fi(xi)\nabla f_{i}(x_{i}) (or even calculate xi∗(ATy)x^{*}_{i}(A^{T}y)) in 11 unit of time and the communication step takes τ\tau units of time. In case τ≫1\tau\gg 1, in this regime all the results above seem reasonable because we first think of communication steps. However, if τ≪1\tau\ll 1 one should use a method with multiple communication steps. Chebyshev acceleration is suggested in , where instead of using the interaction matrix WW one can analyze the algorithm with a different one PK(W)P_{K}(W). PK(W)P_{K}(W) is a polynomial of degree KK, and its eigengap is maximized with a specific choice based on Chebyshev polynomials. If KK is chosen as χ(W)\sqrt{\chi(W)} then χ(Pχ(W)(W))∼1\chi\left(P_{\sqrt{\chi(W)}}(W)\right)\sim 1.

One can try to generalize this results to an intermediate level of smoothness. That is, try to propose the method for arbitrary Hölder parameter ν∈\nu\in. For example, one can use Universal Nesterov’s method by skipping the adaptation and proper choosing of δ(ν,ϵ)\delta(\nu,\epsilon). This is another way to obtain results in the non-smooth case as a special situation ν=0\nu=0. In the dual space, we will not have classical strong convexity but just uniform convexity. However, it can be studied by introducing inexact oracle as in .

We have provided convergence rate estimates for the solution of convex optimization problems in a distributed manner. The provided complexity bounds depend explicitly on the properties of the function to be optimized. If F(x)F(x) is smooth, then our estimates are optimal up to logarithmic factors otherwise our estimates are optimal up to constant factors. The inclusion of the graph properties in the form of χ(W)\sqrt{\chi(W)} shows the additional price to be paid in contrast with classical (centralized/non-distributed) optimal estimates. The authors recognize that the proposed algorithms required, to some extent, some global knowledge about the graph properties and the condition number of the global function, nevertheless we aim to provide a theoretical foundation for the performance limits of the distributed algorithms. Further explorations of the cases where such information is not available require additional study.

References