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 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- On the Duality Between Sharpness-Aware Minimization and Adversarial TrainingYihao Zhang, Hangzhou He, Jingyu Zhu, Huanran Chen 等ICML 2024 · 29 次引用
- Improving Generalization and Convergence by Enhancing Implicit RegularizationMingze Wang, Jinbo Wang, Haotian He, Zilin Wang 等NeurIPS 2024 · 21 次引用
- Lookaround Optimizer: k steps around, 1 step averageJiangtao Zhang, Shunyu Liu, Jie Song, Tongtian Zhu 等NeurIPS 2023 · 12 次引用
- A Quadratic Synchronization Rule for Distributed Deep LearningXinran Gu, Kaifeng Lyu, Sanjeev Arora, Jingzhao Zhang 等ICLR 2024 · 4 次引用
- Implicit Regularization of Decentralized Gradient Descent for Sparse RegressionTongle Wu, Ying SunNeurIPS 2024 · 2 次引用
它引用的 Paper47
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated OptimizationJianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi 等NeurIPS 2020 · 2,231 次引用
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett 等ICLR 2021 · 1,917 次引用
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- 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
- Towards Stability and Generalization Bounds in Decentralized Minibatch Stochastic Gradient DescentJiahuan Wang, Hong ChenAAAI 2024 · 3 次引用
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用
- Stability and Generalization Analysis of Decentralized SGD: Sharper Bounds Beyond Lipschitzness and SmoothnessShuang Zeng, Yunwen LeiICML 2025
- Sharpness-Aware Minimization: General Analysis and Improved RatesDimitris Oikonomou, Nicolas LoizouICLR 2025
- Topology-aware Generalization of Decentralized SGDTongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu 等ICML 2022 · 58 次引用
