The Limits and Potentials of Local SGD for Distributed Heterogeneous Learning with Intermittent Communication

Kumar Kshitij Patel, Margalit Glasgow, Ali Zindari, Lingxiao Wang, Sebastian U. Stich +3 more
5/19/2024
cs.LGcs.DCmath.OC

No confident code implementation found for this paper.

Abstract

Local SGD is a popular optimization method in distributed learning, often outperforming other algorithms in practice, including mini-batch SGD. Despite this success, theoretically proving the dominance of local SGD in settings with reasonable data heterogeneity has been difficult, creating a significant gap between theory and practice. In this paper, we provide new lower bounds for local SGD under existing first-order data heterogeneity assumptions, showing that these assumptions are insufficient to prove the effectiveness of local update steps. Furthermore, under these same assumptions, we demonstrate the min-max optimality of accelerated mini-batch SGD, which fully resolves our understanding of distributed optimization for several problem classes. Our results emphasize the need for better models of data heterogeneity to understand the effectiveness of local SGD in practice. Towards this end, we consider higher-order smoothness and heterogeneity assumptions, providing new upper bounds that imply the dominance of local SGD over mini-batch SGD when data heterogeneity is low.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{patel2024limits,
  title  = {The Limits and Potentials of Local SGD for Distributed Heterogeneous Learning with Intermittent Communication},
  author = {Kumar Kshitij Patel and Margalit Glasgow and Ali Zindari and Lingxiao Wang and Sebastian U. Stich and Ziheng Cheng and Nirmit Joshi and Nathan Srebro},
  year   = {2024},
  eprint = {2405.11667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11667v1}
}

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/2405.11667.svg)](https://codeofpaper.com/paper/2405.11667)

Discussion