S-ADDOPT: Decentralized Stochastic First-Order Optimization Over Directed Graphs

Muhammad I. Qureshi, Ran Xin, Soummya Kar, Usman A. Khan

Abstract

In large-scale machine learning, data is frequently distributed across decentralized networks where nodes communicate only with their immediate neighbors. While most decentralized optimization algorithms assume undirected communication, real-world network topologies are often directed and asymmetric. We introduce S-ADDOPT (Stochastic Accelerated Distributed Directed Optimization), a framework that enables nodes in a directed network to collaboratively minimize a global cost function. By combining push-sum communication with gradient tracking, S-ADDOPT achieves convergence rates comparable to centralized Stochastic Gradient Descent (SGD), maintaining robustness against network asymmetry and data heterogeneity.

Introduction

The proliferation of edge computing and large-scale data centers has necessitated decentralized optimization, where a global objective is minimized without a central coordinator. Most research in this domain assumes undirected graphs, where communication links are bidirectional. However, in practical scenarios such as ad-hoc wireless networks, communication is often directed. Standard consensus-based averaging fails in directed graphs because nodes may have disproportionate influence based on the network topology. Existing methods like Stochastic Gradient Push (SGP) often struggle with slow convergence or sensitivity to data distribution. S-ADDOPT addresses these challenges by ensuring that every node moves in a direction approximating the global descent, regardless of the network's directed nature.

The S-ADDOPT Algorithm

S-ADDOPT integrates two primary mechanisms to handle the complexities of directed networks and stochastic gradients:

  1. Push-Sum Dynamics: To account for the imbalance in directed graphs, the algorithm utilizes a column-stochastic weight matrix. A "push-sum" mechanism—maintaining a scalar weight $y$ alongside the state estimate $x$—is employed to cancel out topological bias, ensuring that information is weighted correctly across the network.
  2. Gradient Tracking: Each node maintains a tracker variable ($w$) that estimates the average of local gradients across all nodes. This mechanism allows nodes to better approximate the global gradient, significantly accelerating convergence compared to standard decentralized methods.
Algorithm 1: The S-ADDOPT framework for decentralized stochastic optimization.

The algorithm is analyzed under two step-size regimes. With a constant step-size, nodes converge linearly to a neighborhood of the optimal solution. With a decaying step-size ($O(1/k)$), the algorithm achieves the exact optimal solution at a sublinear rate.

Key Insights

A critical theoretical contribution is the concept of asymptotic network independence. As training progresses, the error introduced by the network structure diminishes faster than the error from stochastic gradient noise. Consequently, S-ADDOPT eventually performs as efficiently as a centralized server model.

Furthermore, the authors introduce a directivity constant ($\tau$) to quantify graph asymmetry. This parameter generalizes the analysis; for undirected graphs, $\tau = 1$, and the results align with established undirected optimization theories. S-ADDOPT also demonstrates superior robustness to heterogeneous data, where the number of samples varies significantly across nodes, a common issue that degrades the performance of simpler algorithms like SGP.

Experimental Results

The efficacy of S-ADDOPT was validated using MNIST and CIFAR-10 benchmarks across various network topologies, including Directed Exponential and Directed Geometric graphs.

  • Convex Optimization: For binary logistic regression on MNIST, S-ADDOPT exhibited clear linear convergence to an error neighborhood under constant step-sizes, significantly outperforming SGP in both speed and accuracy.
  • Non-Convex Optimization: In training 2-layer neural networks on CIFAR-10, S-ADDOPT maintained its performance edge. Despite the non-convex nature of the objective, the algorithm provided faster transient speeds and higher steady-state accuracy than competing decentralized methods.

Conclusion

S-ADDOPT provides a robust framework for stochastic optimization over directed networks. By effectively combining push-sum and gradient tracking, it bridges the gap between decentralized and centralized learning performance. Future research will focus on extending rigorous convergence proofs to non-convex functions and improving communication efficiency through quantization or sparsification techniques.

Summary updated

BibTeX
@article{qureshi2021s,
  author = {Muhammad I. Qureshi and Ran Xin and Soummya Kar and Usman A. Khan},
  title = {{S-ADDOPT: Decentralized Stochastic First-Order Optimization Over Directed Graphs}},
  journal = {IEEE Control. Syst. Lett},
  year = {2021},
  doi = {10.1109/lcsys.2020.3006420},
}
Figure