Lune

ICML2023顶会

Decentralized SGD and Average-direction SAM are Asymptotically Equivalent

Tongtian Zhu, Fengxiang He, Kaixuan Chen, Mingli Song, Dacheng Tao

摘要

Decentralized stochastic gradient descent (D-SGD) allows collaborative learning on massive devices simultaneously without the control of a central server. However, existing theories claim that decentralization invariably undermines generalization. In this paper, we challenge this conventional belief and present a completely new perspective for understanding decentralized learning. We prove that D-SGD implicitly minimizes the loss function of an average-direction sharpnessaware minimization (SAM) algorithm under general non-convex non-β-smooth settings. This surprising asymptotic equivalence reveals an intrinsic regularization-optimization trade-off and three advantages of decentralization: (1) there exists a free uncertainty evaluation mechanism in D-SGD to improve posterior estimation; (2) D-SGD exhibits a gradient smoothing effect; and (3) the sharpness regularization effect of D-SGD does not decrease as total batch size increases, which justifies the potential generalization benefit of D-SGD over centralized SGD (C-SGD) in large-batch scenarios. Experiments support our theory and the code is available at D-SGD and SAM.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • On the Duality Between Sharpness-Aware Minimization and Adversarial Training 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Improving Generalization and Convergence by Enhancing Implicit Regularization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Improving Generalization and Convergence by Enhancing Implicit Regularization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Lookaround Optimizer: k steps around, 1 step average 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Lookaround Optimizer: k steps around, 1 step average 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization 引用了 Adaptive Federated Optimization
  • A Quadratic Synchronization Rule for Distributed Deep Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A Quadratic Synchronization Rule for Distributed Deep Learning 引用了 Adaptive Federated Optimization
  • A Quadratic Synchronization Rule for Distributed Deep Learning 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. On the Duality Between Sharpness-Aware Minimization and Adversarial TrainingYihao Zhang, Hangzhou He, Jingyu Zhu, Huanran Chen 等ICML 2024 · 29 次引用
  2. Improving Generalization and Convergence by Enhancing Implicit RegularizationMingze Wang, Jinbo Wang, Haotian He, Zilin Wang 等NeurIPS 2024 · 21 次引用
  3. Lookaround Optimizer: k steps around, 1 step averageJiangtao Zhang, Shunyu Liu, Jie Song, Tongtian Zhu 等NeurIPS 2023 · 12 次引用
  4. A Quadratic Synchronization Rule for Distributed Deep LearningXinran Gu, Kaifeng Lyu, Sanjeev Arora, Jingzhao Zhang 等ICLR 2024 · 4 次引用
  5. Implicit Regularization of Decentralized Gradient Descent for Sparse RegressionTongle Wu, Ying SunNeurIPS 2024 · 2 次引用

它引用的 Paper47

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Tackling the Objective Inconsistency Problem in Heterogeneous Federated OptimizationJianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi 等NeurIPS 2020 · 2,231 次引用
  3. Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett 等ICLR 2021 · 1,917 次引用
  4. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
  5. Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 次引用

相关 Paper

  1. Towards Stability and Generalization Bounds in Decentralized Minibatch Stochastic Gradient DescentJiahuan Wang, Hong ChenAAAI 2024 · 3 次引用
  2. Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用
  3. Stability and Generalization Analysis of Decentralized SGD: Sharper Bounds Beyond Lipschitzness and SmoothnessShuang Zeng, Yunwen LeiICML 2025
  4. Sharpness-Aware Minimization: General Analysis and Improved RatesDimitris Oikonomou, Nicolas LoizouICLR 2025
  5. Topology-aware Generalization of Decentralized SGDTongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu 等ICML 2022 · 58 次引用
黄昏的海面,两侧是细线勾勒的悬崖