Decentralized SGD and Average-direction SAM are Asymptotically Equivalent
Not on the map. Why?
Abstract (arXiv)
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 the 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 Sharpness-aware 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. The code is available at https://github.com/Raiden-Zhu/ICML-2023-DSGD-and-SAM.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 89 of its 143 references that are in the map. First posted on arXiv 5 Jun 2023.
Builds on
89 of 143 references.
References · 89
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2021Convex optimizationcited by 2,479
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
38 more
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2020Adaptive Federated Optimizationcited by 1,036
- 2019Deep Leakage from Gradientscited by 1,004
- 2020Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimizationcited by 897
- 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 707
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2015Cyclical Learning Rates for Training Neural Networkscited by 627
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2017Exploring Generalization in Deep Learningcited by 595
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 496
- 2020A Unified Theory of Decentralized SGD with Changing Topology and Local Updatescited by 361
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2021See through Gradients: Image Batch Recovery via GradInversioncited by 320
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2021User-friendly introduction to PAC-Bayes boundscited by 234
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 190
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
- 2020Stability of Stochastic Gradient Descent on Nonsmooth Convex Lossescited by 172
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
- 2014EXTRA: An Exact First-Order Algorithm for Decentralized Consensus Optimizationcited by 160
- 2017Asynchronous Decentralized Parallel Stochastic Gradient Descentcited by 159
- 2018Stochastic Gradient Push for Distributed Deep Learningcited by 152
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 145
- 2018D2: Decentralized Training over Decentralized Datacited by 140
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2022Decentralized Federated Learning: Fundamentals, State of the Art, Frameworks, Trends, and Challengescited by 137
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2022Decentralized Training of Foundation Models in Heterogeneous Environmentscited by 87
- 2022Fisher SAM: Information Geometry and Sharpness Aware Minimisationcited by 84
- 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 84
- 2020On the Generalization Benefit of Noise in Stochastic Gradient Descentcited by 81
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
50 most cited of 89 All 89 (JSON)
Built on by
Citing papers per year: 2023: 5; 2024: 5; 2025: 3; 2026: 2.
15 papers.
Sort:
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularizationcited by 14
- 2024Task Arithmetic Through The Lens Of One-Shot Federated Learningcited by 12
- 2023Lookaround Optimizer: k steps around, 1 step averagecited by 9
- 2023DFedADMM: Dual Constraints Controlled Model Inconsistency for Decentralized Federated Learningcited by 6
- 2023A Quadratic Synchronization Rule for Distributed Deep Learningcited by 5
- 2023Towards Understanding Generalization and Stability Gaps between Centralized and Decentralized Federated Learningcited by 3
- 2024On the Trade-off between Flatness and Optimization in Distributed Learningcited by 3
- 2025DICE: Data Influence Cascade in Decentralized Learningcited by 2
- 2024SADDLe: Sharpness-Aware Decentralized Deep Learning with Heterogeneous Datacited by 0
- 2025Communication-Efficient Distributed Training for Collaborative Flat Optima Recovery in Deep Learningcited by 0
- 2026Improved Convergence Analysis of Topology Dependence in Decentralized SGD8 Jun 2026
- 2026Decentralized SGD with Controlled Disagreement Finds Flatter Minima2 Feb 2026
- 2025On the Escaping Efficiency of Distributed Adversarial Training Algorithms14 Sep 2025
- 2025Communication-Efficient Distributed Training for Collaborative Flat Optima Recovery in Deep Learning27 Jul 2025
- 2025DICE: Data Influence Cascade in Decentralized Learning9 Jul 2025
- 2024Task Arithmetic Through The Lens Of One-Shot Federated Learning27 Nov 2024
- 2024On the Trade-off between Flatness and Optimization in Distributed Learning28 Jun 2024
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularization31 May 2024
- 2024SADDLe: Sharpness-Aware Decentralized Deep Learning with Heterogeneous Data22 May 2024
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Training23 Feb 2024
- 2023A Quadratic Synchronization Rule for Distributed Deep Learning22 Oct 2023
- 2023Towards Understanding Generalization and Stability Gaps between Centralized and Decentralized Federated Learning5 Oct 2023
3 more
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularizationcited by 14
- 2024Task Arithmetic Through The Lens Of One-Shot Federated Learningcited by 12
- 2023Lookaround Optimizer: k steps around, 1 step averagecited by 9
- 2023DFedADMM: Dual Constraints Controlled Model Inconsistency for Decentralized Federated Learningcited by 6
- 2023A Quadratic Synchronization Rule for Distributed Deep Learningcited by 5
- 2023Towards Understanding Generalization and Stability Gaps between Centralized and Decentralized Federated Learningcited by 3
- 2024On the Trade-off between Flatness and Optimization in Distributed Learningcited by 3
- 2025DICE: Data Influence Cascade in Decentralized Learningcited by 2
- 2024SADDLe: Sharpness-Aware Decentralized Deep Learning with Heterogeneous Datacited by 0
- 2025Communication-Efficient Distributed Training for Collaborative Flat Optima Recovery in Deep Learningcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Improved Convergence Analysis of Topology Dependence in Decentralized SGD8 Jun 2026
- 2026Decentralized SGD with Controlled Disagreement Finds Flatter Minima2 Feb 2026
- 2025On the Escaping Efficiency of Distributed Adversarial Training Algorithms14 Sep 2025
- 2025Communication-Efficient Distributed Training for Collaborative Flat Optima Recovery in Deep Learning27 Jul 2025
- 2025DICE: Data Influence Cascade in Decentralized Learning9 Jul 2025
- 2024Task Arithmetic Through The Lens Of One-Shot Federated Learning27 Nov 2024
- 2024On the Trade-off between Flatness and Optimization in Distributed Learning28 Jun 2024
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularization31 May 2024
- 2024SADDLe: Sharpness-Aware Decentralized Deep Learning with Heterogeneous Data22 May 2024
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Training23 Feb 2024
- 2023A Quadratic Synchronization Rule for Distributed Deep Learning22 Oct 2023
- 2023Towards Understanding Generalization and Stability Gaps between Centralized and Decentralized Federated Learning5 Oct 2023
12 newest of 15 All 15 (JSON)