Skip to main content
QUICK REVIEW

[Paper Review] Refined Convergence and Topology Learning for Decentralized SGD with Heterogeneous Data

Batiste Le Bars, Aurélien Bellet|arXiv (Cornell University)|Apr 9, 2022
Stochastic Gradient Optimization TechniquesComputer Science49 references6 citations
TL;DR

This paper introduces neighborhood heterogeneity as a key factor influencing D-SGD convergence under data heterogeneity, proposing a data-dependent topology learning method via Frank-Wolfe optimization to minimize this quantity. The approach achieves faster convergence with lower communication costs by constructing sparse, adaptive topologies that balance bias and mixing, outperforming random and fixed topologies in both synthetic and real-world experiments.

ABSTRACT

One of the key challenges in decentralized and federated learning is to design algorithms that efficiently deal with highly heterogeneous data distributions across agents. In this paper, we revisit the analysis of the popular Decentralized Stochastic Gradient Descent algorithm (D-SGD) under data heterogeneity. We exhibit the key role played by a new quantity, called neighborhood heterogeneity, on the convergence rate of D-SGD. By coupling the communication topology and the heterogeneity, our analysis sheds light on the poorly understood interplay between these two concepts. We then argue that neighborhood heterogeneity provides a natural criterion to learn data-dependent topologies that reduce (and can even eliminate) the otherwise detrimental effect of data heterogeneity on the convergence time of D-SGD. For the important case of classification with label skew, we formulate the problem of learning such a good topology as a tractable optimization problem that we solve with a Frank-Wolfe algorithm. As illustrated over a set of simulated and real-world experiments, our approach provides a principled way to design a sparse topology that balances the convergence speed and the per-iteration communication costs of D-SGD under data heterogeneity.

Motivation & Objective

  • To address the challenge of data heterogeneity in decentralized SGD, which degrades convergence despite good spectral gap properties.
  • To identify and formalize neighborhood heterogeneity as a new theoretical driver of convergence speed in D-SGD.
  • To design a topology learning method that minimizes neighborhood heterogeneity while controlling communication cost via sparsity.
  • To provide a principled, data-dependent alternative to fixed or random topologies in decentralized learning.
  • To empirically validate that the learned topology improves convergence speed and generalization under label skew and other heterogeneity patterns.

Proposed method

  • Introduces neighborhood heterogeneity as a new metric measuring the expected deviation between global gradient and local neighborhood-aggregated gradients.
  • Reformulates the topology learning problem as a tractable optimization task minimizing neighborhood heterogeneity under degree constraints.
  • Employs a Frank-Wolfe algorithm to greedily construct a sparse topology by adding edges that most reduce neighborhood heterogeneity.
  • Uses a bias-variance trade-off objective with hyperparameter λ to balance convergence bias and variance in the learning process.
  • Applies the method to classification with label skew, where data distributions across nodes are highly non-i.i.d.
  • Controls per-iteration communication cost by constraining the maximum degree d_max of the learned topology.

Experimental results

Research questions

  • RQ1How does neighborhood heterogeneity influence the convergence rate of decentralized SGD under data heterogeneity?
  • RQ2Can a data-dependent communication topology be learned to reduce the negative impact of data heterogeneity on D-SGD convergence?
  • RQ3To what extent can a sparse topology with bounded degree match the convergence speed of a fully connected network?
  • RQ4How does the Frank-Wolfe-based topology learning method compare to random or fixed topologies in terms of convergence and communication cost?
  • RQ5What is the impact of hyperparameters like λ and d_max on the performance of the learned topology?

Key findings

  • The proposed STL-FW topology reduces neighborhood heterogeneity by up to 99% compared to random d-regular graphs, especially under high label skew.
  • With d_max = 10, the STL-FW topology achieves convergence speed comparable to a fully connected graph, while maintaining low communication cost.
  • The method achieves near-zero bias (0.001 ± 0.001) on CIFAR10 with d_max = 10, significantly outperforming D-Cliques and random topologies.
  • The hyperparameter λ has minimal impact on convergence speed, allowing default values (e.g., λ = 0.1) to be used without tuning.
  • The first 10 edges in the topology contribute most to performance gains, with diminishing returns beyond d_max = 10.
  • The STL-FW topology maintains strong mixing properties (low 1−p) and avoids the poor mixing of cliqued-based topologies like D-Cliques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.