Decentralized Optimization with Edge Sampling

Chi Zhang, Qianxiao Li, Peilin Zhao

Abstract

Decentralized optimization often faces a trade-off between the fast convergence of dense networks and the low communication costs of sparse ones. This paper introduces DDA-ES (Distributed Dual Averaging with Edge Sampling), an algorithm that bridges this gap by strategically sampling a subset of network edges in each round. By scaling edge weights to maintain unbiased updates, DDA-ES achieves significant communication speedups—up to $O(n)$ in complete graphs—without compromising convergence accuracy or stability.

Introduction

In decentralized optimization, nodes collaborate to solve a global objective function without a central coordinator. Information propagates through local exchanges between neighbors. Dense network topologies facilitate rapid information mixing but impose a heavy communication burden ($O(nd)$ per round). Conversely, sparse topologies reduce per-round costs but suffer from slow convergence. DDA-ES addresses this "overburden" problem by introducing a dynamically sparse communication pattern that retains the convergence properties of a dense logical graph.

Methodology: Distributed Dual Averaging with Edge Sampling

The core innovation of DDA-ES is the integration of Edge Sampling into the Distributed Dual Averaging (DDA) framework. Instead of communicating across all available edges in every iteration, the algorithm activates each edge $(i, j)$ with a probability $p_{i,j}$ derived from its original weight $a_{i,j}$.

Key technical components include:

  • Importance-Aware Sampling: Edges critical for information flow are sampled more frequently.
  • Unbiased Estimation: To ensure the algorithm converges to the correct global optimum, the weights of active edges are scaled by $1/p_{i,j}$. This ensures the expected communication matrix matches the original dense matrix.
  • Node-Wise Implementation: A practical protocol allows nodes to initiate communication independently, making the approach suitable for real-world decentralized systems.

Experimental Evaluation

The authors evaluated DDA-ES against standard DDA, Synchronous Gossip (Syn Gossip), and Node-Sampling DDA (DDA-NS) using synthetic topologies (k-connected cycles and Erdős-Rényi graphs) and the real-world a9a dataset for distributed binary logistic regression.

Communication Efficiency

DDA-ES demonstrates a significant reduction in the total number of communication rounds required to reach a target error gap. In dense networks like the k-connected cycle, the speedup is particularly pronounced.

Convergence rate of communication rounds on a k-connected cycle (n=1000, k=75). DDA-ES (red) significantly outperforms standard DDA and gossip methods.

Convergence per Iteration

A critical finding is that while DDA-ES reduces communication, it does not "damage" the underlying learning process. When measured against "natural iterations" (mathematical updates), DDA-ES tracks the performance of the full-communication DDA baseline almost perfectly.

Convergence rate per iteration. DDA-ES (red) maintains the same convergence trajectory as the full-communication DDA (green), while Syn Gossip (black) exhibits high variance.

Discussion and Key Insights

  • The "Free" Speedup: Theoretically, on an $n$-complete graph, DDA-ES is $n$ times faster than standard DDA for a fixed communication budget.
  • Stability: Unlike node-based sampling or standard gossip methods which can be biased or erratic, DDA-ES provides a stable, unbiased convergence path.
  • Dynamic Sparsity: The algorithm effectively creates a "dynamically sparse" network, reaping the theoretical benefits of high connectivity while physically utilizing only a fraction of the available bandwidth.

Conclusion

DDA-ES offers a robust solution for decentralized optimization in bandwidth-constrained environments. By leveraging stochastic edge sampling with importance-aware weights, it achieves high communication efficiency without the typical loss in convergence speed or stability. Future work includes extending this edge-sampling logic to other decentralized frameworks like SGD or ADMM and automating the tuning of the sampling parameter $z$ for dynamic networks.

Summary updated

BibTeX
@inproceedings{zhang2019decentralized,
  author = {Chi Zhang and Qianxiao Li and Peilin Zhao},
  title = {{Decentralized Optimization with Edge Sampling}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/93},
}
Figure