On the Surprising Effectiveness of a Single Global Merging in Decentralized Learning
Tongtian Zhu, Tianyu Zhang, Mingze Wang, Zhanpeng Zhou, Can Wang
TL;DR
The paper investigates temporal scheduling of communication in fully decentralized learning with non-IID data, revealing that concentrating communication toward the end of training and performing a single final global merge can drastically improve global generalization, approaching the performance of parallel SGD under severe communication constraints. A theoretical framework shows that the globally merged DSGD model can match parallel SGD’s convergence rate by reinterpretating inter-agent discrepancies as constructive bias, and it introduces a sufficient condition, the Critical Consensus Edge, guiding when to increase communication. Empirically, mergeability persists under limited nonzero communication across diverse datasets, models, and topologies, offering a principled basis for adaptive, communication-efficient decentralized training and model merging research. The work suggests practical strategies for scalable distributed learning and connects decentralized optimization dynamics to landscape geometry and basin connectivity, with reproducible experiments and open-source code forthcoming.
Abstract
Decentralized learning provides a scalable alternative to parameter-server-based training, yet its performance is often hindered by limited peer-to-peer communication. In this paper, we study how communication should be scheduled over time to improve global generalization, including determining when and how frequently devices synchronize. Counterintuitive empirical results show that concentrating communication budgets in the later stages of decentralized training remarkably improves global generalization. Surprisingly, we uncover that fully connected communication at the final step, implemented by a single global merging, can significant improve the generalization performance of decentralized learning under serve high data heterogeneity. Our theoretical contributions, which explains these phenomena, are first to establish that the globally merged model of decentralized SGD can match the convergence rate of parallel SGD. Technically, we reinterpret part of the discrepancy among local models, which were previously considered as detrimental noise, as constructive components essential for matching this rate. This work provides promising results that decentralized learning is able to generalize under high data heterogeneity and limited communication, while offering broad new avenues for model merging research. The code will be made publicly available.
