# Local SGD and Federated Averaging Through the Lens of Time Complexity

arXiv: https://arxiv.org/abs/2509.23207 · HTML: https://mlsanity.com/paper/2509.23207/

## Key facts

- Cited by 2 papers in the map (data through 24 Nov 2026).
- Submitted 27 Sep 2025.

## Built on by (most cited first, 2 of 2)

- [First Provably Optimal Asynchronous SGD for Homogeneous and Heterogeneous Data](https://mlsanity.com/paper/2601.02523/) (2026)
- [Parallel AI Agent Collaboration as Graph-Structured Distributed Block Optimization](https://mlsanity.com/paper/2610.30074/) (2026)

## Abstract (arXiv)

We revisit the classical Local SGD and Federated Averaging (FedAvg) methods for distributed optimization and federated learning. While prior work has primarily focused on iteration complexity, we analyze these methods through the lens of time complexity, taking into account both computation and communication costs. Our analysis reveals that, despite its favorable iteration complexity, the time complexity of canonical Local SGD is provably worse than that of Minibatch SGD and Hero SGD (locally executed SGD). We introduce a corrected variant, Dual Local SGD, and further improve it by increasing the local step sizes, leading to a new method called Decaying Local SGD. Our analysis shows that these modifications, together with Hero SGD, are optimal in the nonconvex setting (up to logarithmic factors), closing the time complexity gap. Finally, we use these insights to improve the theory of a number of other asynchronous and local methods.
