Achieving Global Flatness in Decentralized Learning with Heterogeneous Data

Abstract

Decentralized training enables peer-to-peer on-device learning without relying on a central server, but suffers from degraded generalization performance under heterogeneous data distributions due to local overfitting. One strategy to mitigate this is to seek flatter loss landscapes during local optimization at each client. However, with extreme data heterogeneity, local objectives may diverge from the global one, yielding local flatness rather than true global flatness. To mitigate this challenge, we introduce GFlat, a novel decentralized algorithm that enables each client to estimate and incorporate an approximation of the global update direction while seeking a flatter loss landscape locally. This lightweight strategy allows each client to directly contribute to global flatness without requiring additional communication or centralized coordination. We theoretically analyze the convergence properties of GFlat and validate its performance through extensive experiments across a range of datasets, model architectures, and communication topologies. GFlat consistently improves generalization in non-IID data settings and achieves up to 6.75\% higher test accuracy compared to state-of-the-art decentralized methods.

Cite

Text

Choudhary et al. "Achieving Global Flatness in Decentralized Learning with Heterogeneous Data." Transactions on Machine Learning Research, 2026.

Markdown

[Choudhary et al. "Achieving Global Flatness in Decentralized Learning with Heterogeneous Data." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/choudhary2026tmlr-achieving/)

BibTeX

@article{choudhary2026tmlr-achieving,
  title     = {{Achieving Global Flatness in Decentralized Learning with Heterogeneous Data}},
  author    = {Choudhary, Sakshi and Aketi, Sai Aparna and Roy, Kaushik},
  journal   = {Transactions on Machine Learning Research},
  year      = {2026},
  url       = {https://mlanthology.org/tmlr/2026/choudhary2026tmlr-achieving/}
}