Gradient-Consensus: Linearly Convergent Distributed Optimization Algorithm over Directed Graphs

Vivek Khatana, Govind Saraswat, Sourav Patel, Murti V. Salapaka · DOI

Abstract

In this article, we propose a new approach, "optimize then agree," for minimizing a sum $f = \sum_{i=1}^n f_i(x)$ of convex objective functions over a directed graph. The optimize then agree approach decouples the optimization step and the consensus step in a distributed optimization framework. The key motivation for optimize then agree is to guarantee that the disagreement between the estimates of the agents during every iteration of the distributed optimization algorithm remains under any apriori specified tolerance; existing algorithms do not provide such a guarantee which is required in many practical scenarios. In this method, each agent during each iteration maintains an estimate of the optimal solution and utilizes its locally available gradient information along with a finite-time approximate consensus protocol to move towards the optimal solution (hence the name Gradient-Consensus algorithm). We establish that the proposed algorithm has a global R-linear rate of convergence if the aggregate function $f$ is strongly convex and Lipschitz differentiable. We also show that under the relaxed assumption of $f_i$'s being convex and Lipschitz differentiable, the objective function error residual decreases at a Q-linear rate until it reaches a small value, which can be managed using the tolerance value specified on the finite-time approximate consensus protocol.

Introduction

Distributed optimization involves a network of agents collaborating to minimize a global cost function, where each agent only possesses local information. A significant challenge in existing distributed gradient descent (DGD) methods is that agents typically only reach consensus asymptotically. In safety-critical applications—such as economic dispatch in power grids or coordination in robot swarms—large disagreements between agents during intermediate iterations can lead to physical instability or system failure.

Furthermore, many real-world networks are best modeled as directed graphs, where communication links are not necessarily bidirectional. Ensuring convergence and consensus over directed graphs is more complex than over undirected ones, often requiring difficult-to-implement doubly-stochastic weight matrices. This paper introduces the Gradient-Consensus algorithm, which addresses these issues by decoupling local optimization from network-wide agreement.

The Optimize then Agree Framework

The core innovation of this work is the "Optimize then Agree" framework. Unlike traditional methods that blend gradient updates and consensus into a single step, this approach separates them into two distinct phases per iteration.

Algorithm 1: The Optimize then Agree framework decouples local optimization from consensus.
  1. Local Optimization: Each agent $i$ updates its local estimate $z^i(k)$ by applying an optimization operator $\mathcal{O}_i$ to its previous state. This typically involves a local gradient descent step.
  2. Finite-Time Consensus ($\epsilon$-Consensus): Agents then engage in an inner communication loop using a push-sum-based protocol. This loop continues until all agents' estimates are within a user-defined tolerance $\epsilon$ of the network average.

By ensuring agents are nearly in agreement before the next optimization step, the algorithm mimics the behavior of a centralized gradient descent, albeit with some inexactness. This decoupling allows for explicit control over the "consensus constraint violation," a feature missing in prior literature.

Theoretical and Experimental Results

The authors provide strong theoretical guarantees for Gradient-Consensus. If the aggregate function is strongly convex, the algorithm achieves a global R-linear convergence rate. Remarkably, even under the relaxed assumption that local functions are merely convex, the objective function error residual decreases at a Q-linear rate down to a small neighborhood of the optimum.

The algorithm was evaluated on a distributed logistic regression problem using a network of 100 agents on an Erdos-Renyi random graph. Key findings include:

  • Convergence Speed: Gradient-Consensus reached a solution residual of $10^{-8}$ in approximately 300 iterations, significantly faster than EXTRA (~1000 iterations).
  • Computational Efficiency: Despite the inner consensus loop increasing communication rounds to $O(k \log k)$, the algorithm required fewer gradient computations. The average CPU time was 2.35s, outperforming PushPull (3.18s) and DGD (5.29s).
  • Stability: The "Total Mismatch" (disagreement between agents) remained consistently low and stable, validating the effectiveness of the $\epsilon$-consensus protocol.

Conclusion

Gradient-Consensus offers a robust framework for distributed optimization over directed graphs, prioritizing agent agreement throughout the process. By decoupling optimization and consensus, it provides superior convergence rates and explicit control over agent disagreement. Future work will explore extending this framework to time-varying graphs and further optimizing the communication-computation trade-off in high-latency environments.

Summary updated

BibTeX
@misc{khatana2019gradient,
  author = {Vivek Khatana and Govind Saraswat and Sourav Patel and Murti V. Salapaka},
  title = {{Gradient-Consensus: Linearly Convergent Distributed Optimization Algorithm over Directed Graphs}},
  year = {2019},
  eprint = {1909.10070},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.10070},
}
Figure