In the world of distributed machine learning, "Local SGD" (or Federated Averaging) is often hailed as the gold standard for reducing communication overhead. By letting workers perform multiple local updates before syncing, we theoretically save time. But a new paper slated for ICLR 2026, "Local SGD and Federated Averaging Through the Lens of Time Complexity," suggests we’ve been looking at the problem through the wrong lens.
TL;DR
The authors prove that canonical Local SGD is actually slower in terms of total wall-clock time than simpler methods like Minibatch SGD. By shifting the focus from "communication rounds" to "total time complexity," they identify a scaling error in standard implementations and propose two new, optimal variants: Dual Local SGD and Decaying Local SGD.
What Problem Does This Paper Address?
Most research in distributed optimization focuses on iteration complexity—how many communication rounds it takes to reach a solution. Because communication is usually the bottleneck, the community assumed that fewer rounds automatically meant faster training.
However, the authors argue that this is a "misleading comparison." If an algorithm requires fewer rounds but forces you to use tiny step sizes or perform massive amounts of local computation that doesn't translate to global progress, you might end up spending more actual seconds waiting for the model to converge. The paper tackles the gap between the theoretical "rounds" and the realistic "wall-clock time" (computation time $h$ + communication time $\tau$).
Methods
The authors introduce a more rigorous way to analyze these algorithms using a "Time Complexity" framework. Their primary contributions include:
- Dual Local SGD: They identify that the "canonical" version of Local SGD uses an incorrect aggregation scheme. Specifically, standard Local SGD averages updates by the number of workers ($n$). The authors show that for optimality, the update should be scaled by $\sqrt{n}$ relative to the local step size.
- Decaying Local SGD: Building on Dual Local SGD, they introduce a decaying local step size rule. Instead of a constant step size, workers take larger steps early in the local phase and smaller steps later. This allows for even faster exploration of the loss landscape.
- Birch SGD Framework: They extend their analysis to a unified graph-based framework called "Birch SGD," which allows them to prove that their insights apply to a wide variety of asynchronous and local methods.
Datasets
The paper validates its theoretical findings using:
- Toy Adversarial Problem: A specific quadratic-style function designed to highlight the suboptimality of standard Local SGD.
- MNIST: The classic handwritten digit dataset, used for both logistic regression and two-layer neural networks.
- CIFAR-10: An image recognition benchmark used to test the algorithms on more complex, non-convex landscapes.
Key Insights and Ideas
- The Scaling Fallacy: The most surprising "aha moment" is that the standard way we average models in Federated Learning (dividing by $n$) is theoretically suboptimal for time complexity. Decoupling the global and local step sizes is the key to "closing the gap."
- Local Steps Aren't a Free Lunch: The paper proves that in many regimes, "Hero SGD" (running SGD on just one worker) or simple Minibatch SGD is actually faster than standard Local SGD.
- Optimality Reached: By fixing the scaling and step-size rules, the authors show that Dual and Decaying Local SGD reach the minimax-optimal time complexity for non-convex optimization, meaning they are as fast as any such algorithm can possibly be (up to logarithmic factors).
Key Results
- Theoretical Superiority: The authors prove that the time complexity of Minibatch SGD is never worse than Local SGD, and in many realistic "large $n$, small $\epsilon$" regimes, Local SGD is significantly slower.
- Robustness to Adversaries: In experiments on adversarial functions where standard Local SGD fails to converge quickly, Dual Local SGD converges efficiently, matching the performance of the best-known distributed methods.
- Practical Performance: On MNIST and CIFAR-10, while standard Local SGD performs well on "average" problems, the proposed Dual and Decaying variants achieve comparable or superior performance while offering much stronger theoretical guarantees of robustness.
Limitations and Future Work
The authors note that while they have made Local SGD "optimal," they haven't yet proven that local steps make training strictly better than Minibatch SGD in terms of time complexity. Their results show that local steps can match the best methods, but the fundamental question remains: do local steps provide a unique speedup that Minibatch SGD cannot achieve?
Additionally, the current analysis assumes a relatively "homogeneous" setting where workers have similar computation speeds. Extending these tight time-complexity bounds to highly heterogeneous or "straggler-heavy" environments is a promising next step.
Summary updated