Decentralized SGD and Average-direction SAM are Asymptotically Equivalent

Tongtian Zhu, Fengxiang He, Kaixuan Chen, Mingli Song, Dacheng Tao
2/12/2026

No official code found. Best implementation: Raiden-Zhu/ICML-2023-DSGD-and-SAM (20 stars, MIT, last commit 2023-12-04).

Abstract

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-$\beta$-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.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2023] Decentralized SGD and Average-direction SAM are Asymptotically Equivalent

206Shell, PythonMay 19, 20232 years agoMIT
decentralized-learningdistributed-computinggeneralization-theoryprivacy-protectiontheoretical-deep-learning

Similar Papers

Cite this paper

@article{zhu2026decentralized,
  title  = {Decentralized SGD and Average-direction SAM are Asymptotically Equivalent},
  author = {Tongtian Zhu and Fengxiang He and Kaixuan Chen and Mingli Song and Dacheng Tao},
  year   = {2026},
  eprint = {2306.02913},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2306.02913},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.02913.svg)](https://codeofpaper.com/paper/2306.02913)

Discussion