Lune

ICML2022Top-tier venue

Topology-aware Generalization of Decentralized SGD

Tongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu, Mingli Song, Dacheng Tao

Abstract

This paper studies the algorithmic stability and generalizability of decentralized stochastic gradient descent (D-SGD). We prove that the consensus model learned by D-SGD is O(N−1+m−1+λ2)\mathcal{O}{(N^{-1}+m^{-1} +\lambda^2)}-stable in expectation in the non-convex non-smooth setting, where NN is the total sample size, mm is the worker number, and 1+λ1+\lambda is the spectral gap that measures the connectivity of the communication topology. These results then deliver an O(N−(1+α)/2+m−(1+α)/2+λ1+α+ϕS)\mathcal{O}{(N^{-(1+\alpha)/2}+ m^{-(1+\alpha)/2}+\lambda^{1+\alpha} + \phi_{\mathcal{S}})} in-average generalization bound, which is non-vacuous even when λ\lambda is closed to 11, in contrast to vacuous as suggested by existing literature on the projected version of D-SGD. Our theory indicates that the generalizability of D-SGD is positively correlated with the spectral gap, and can explain why consensus control in initial training phase can ensure better generalization. Experiments of VGG-11 and ResNet-18 on CIFAR-10, CIFAR-100 and Tiny-ImageNet justify our theory. To our best knowledge, this is the first work on the topology-aware generalization of vanilla D-SGD. Code is available at https://github.com/Raiden-Zhu/Generalization-of-DSGD.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Beyond Exponential Graph: Communication-Efficient Topologies for Decentralized Learning via Finite-time Convergence cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • Improving the Model Consistency of Decentralized Federated Learning cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • Improving the Model Consistency of Decentralized Federated Learning cites DisPFL: Towards Communication-Efficient Personalized Federated Learning via Decentralized Sparse Training
  • Decentralized SGD and Average-direction SAM are Asymptotically Equivalent cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • Decentralized SGD and Average-direction SAM are Asymptotically Equivalent cites Inverting Gradients - How easy is it to break privacy in federated learning?
  • Decentralized SGD and Average-direction SAM are Asymptotically Equivalent cites Improving the Model Consistency of Decentralized Federated Learning
  • Decentralized SGD and Average-direction SAM are Asymptotically Equivalent cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • Decentralized SGD and Average-direction SAM are Asymptotically Equivalent cites Stability-Based Generalization Analysis of the Asynchronous Decentralized SGD
  • Stability-Based Generalization Analysis of the Asynchronous Decentralized SGD cites Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • Stability-Based Generalization Analysis of the Asynchronous Decentralized SGD cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. DisPFL: Towards Communication-Efficient Personalized Federated Learning via Decentralized Sparse TrainingRong Dai, Li Shen, Fengxiang He, Xinmei Tian et al.ICML 2022 · 163 citations
  2. Improving the Model Consistency of Decentralized Federated LearningYifan Shi, Li Shen, Kang Wei, Yan Sun et al.ICML 2023 · 89 citations
  3. Stability-Based Generalization Analysis of the Asynchronous Decentralized SGDXiaoge Deng, Tao Sun, Shengwei Li, Dongsheng LiAAAI 2023 · 26 citations
  4. Beyond Exponential Graph: Communication-Efficient Topologies for Decentralized Learning via Finite-time ConvergenceYuki Takezawa, Ryoma Sato, Han Bao, Kenta Niwa et al.NeurIPS 2023 · 22 citations
  5. Decentralized SGD and Average-direction SAM are Asymptotically EquivalentTongtian Zhu, Fengxiang He, Kaixuan Chen, Mingli Song et al.ICML 2023 · 21 citations

Builds on18

  1. Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 citations
  2. A Unified Theory of Decentralized SGD with Changing Topology and Local UpdatesAnastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi et al.ICML 2020 · 623 citations
  3. Stability of Stochastic Gradient Descent on Nonsmooth Convex LossesRaef Bassily, Vitaly Feldman, Cristóbal Guzmán, Kunal TalwarNeurIPS 2020 · 240 citations
  4. The Early Phase of Neural Network TrainingJonathan Frankle, David J. Schwab, Ari S. MorcosICLR 2020 · 199 citations
  5. Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient DescentYunwen Lei, Yiming YingICML 2020 · 165 citations

Related papers

  1. Improved Stability and Generalization Guarantees of the Decentralized SGD AlgorithmBatiste Le Bars, Aurélien Bellet, Marc Tommasi, Kevin Scaman et al.ICML 2024 · 13 citations
  2. Stability and Generalization of the Decentralized Stochastic Gradient Descent Ascent AlgorithmMiaoxi Zhu, Li Shen, Bo Du, Dacheng TaoNeurIPS 2023 · 12 citations
  3. Improved Convergence Analysis of Topology Dependence in Decentralized SGDYuki Takezawa, Anastasiia Koloskova, Sebastian StichICML 2026
  4. Stability and Generalization of Decentralized Stochastic Gradient DescentTao Sun, Dongsheng Li, Bao WangAAAI 2021 · 44 citations
  5. Beyond spectral gap: the role of the topology in decentralized learningThijs Vogels, Hadrien Hendrikx, Martin JaggiNeurIPS 2022 · 48 citations
Dusk over the sea between two cliffs drawn in fine vertical lines