Abstract
Federated Averaging (FedAvg) is a cornerstone of distributed machine learning, yet communication overhead remains a significant bottleneck. While acceleration techniques like Nesterov's momentum offer potential speedups, they often introduce instability in decentralized settings. This paper introduces FedAc (Federated Accelerated Stochastic Gradient Descent), the first algorithm to provide provable acceleration for FedAvg across various convex functions. By strategically balancing momentum-driven speed with algorithmic stability through a novel four-parameter setup, FedAc achieves a linear speedup in the number of workers ($M$) with significantly fewer communication rounds—reducing the requirement from $\tilde{O}(M)$ to just $\tilde{O}(M^{1/3})$ for strongly convex objectives.
Introduction
In large-scale machine learning, data is often distributed across many devices or workers. The standard approach is Federated Averaging (FedAvg, or Local SGD), where workers perform several local updates before synchronizing their results. While FedAvg is popular, communication remains a massive bottleneck.
Naturally, researchers have tried to apply "acceleration" techniques (like Nesterov’s momentum) to speed up convergence. However, there’s a catch: instability. In a distributed setting, workers' local models naturally drift apart between syncs. Momentum, while great for speed, acts like a magnifying glass for this drift, potentially causing the algorithm to diverge. Until now, there was no principled way to introduce acceleration to FedAvg that was both provably faster and stable for general convex problems.
Methods: The FedAc Algorithm
The authors propose FedAc, which parallelizes a generalized version of Accelerated SGD. The core innovation isn't just adding momentum, but managing the acceleration-stability tradeoff.
Key technical components include:
- Generalized Acceleration: Unlike standard Nesterov acceleration which has two hyperparameters, FedAc uses a more flexible four-parameter setup.
- Strategic Tradeoff: The algorithm carefully tunes these parameters based on the synchronization interval ($K$). If communication is infrequent, it "dials back" the acceleration to maintain stability.
- Potential-Based Analysis: To prove it works, the authors developed a novel "potential-based perturbed iterate analysis." This allows them to track how much the local models deviate from a theoretical "ideal" synchronized version and prove that this deviation stays under control.
Theoretical Analysis
The paper provides a rigorous theoretical framework comparing FedAc with existing methods. A key finding is the "Instability Theorem" (Theorem 4.2), which shows that standard Nesterov acceleration can be exponentially unstable in distributed settings, explaining why simple "plug-and-play" approaches often fail.
As shown in Table 1, for strongly convex and smooth functions with $M$ workers, FedAc requires only $\tilde{O}(M^{1/3})$ synchronization rounds to achieve linear speedup, whereas the previous state-of-the-art for FedAvg required $\tilde{O}(M)$ rounds.
Table 2 details the convergence rates across different assumptions (A1 and A2). Notably, the paper shows that if a function is "close to quadratic" (Assumption 2, having a bounded third derivative), FedAc performs even better. This suggests that the smoother the loss landscape, the more aggressively momentum can be utilized without losing stability.
Empirical Results
The authors validated FedAc using $\ell_2$-regularized logistic regression on two standard binary classification benchmarks: a9a (Adult) and epsilon.
- Communication Efficiency: On the
a9adataset with 8,192 workers, FedAc required only 32 rounds of communication to reach a target suboptimality, while FedAvg required 4,096 rounds—a massive 128x improvement. - Empirical Robustness: In experiments, FedAc remained stable and maintained a linear speedup even when the synchronization interval ($K$) was very large (up to 256 local steps). In contrast, FedAvg and standard Minibatch-SGD saw their performance degrade significantly as communication became less frequent.
Conclusion and Future Work
FedAc effectively "accelerates" the communication efficiency itself by managing the synergy between acceleration and parallelization. While current theoretical guarantees are limited to convex functions, the results suggest significant potential for scaling federated learning. Future work includes extending these techniques to non-convex deep learning landscapes and heterogeneous worker settings where data distributions vary across devices.
Summary updated