Achieving Linear Speedup in Asynchronous Federated Learning with Heterogeneous Clients

Xiaolu Wang, Zijian Li, Shi Jin, Jun Zhang · DOI

TL;DR

This paper introduces Delayed Federated Averaging (DeFedAvg), the first asynchronous federated learning (AFL) framework to provably achieve linear speedup with respect to the number of participating clients. By allowing clients to perform local training on stale models at their own pace, DeFedAvg effectively eliminates the "straggler effect" in heterogeneous networks without sacrificing the convergence guarantees of traditional synchronous methods.

The Challenge: Stragglers in Synchronous Learning

In standard Federated Learning (FL), specifically the popular FedAvg algorithm, training is synchronous. The central server waits for a specific subset of clients to finish their local computations before aggregating updates. In real-world "edge" environments—such as networks of smartphones or IoT sensors—hardware and network conditions vary wildly.

This leads to the straggler effect: fast clients sit idle while waiting for the slowest device to finish, severely bottlenecking the entire training process. While asynchronous FL (AFL) has been proposed to keep devices busy, existing AFL algorithms often struggle with two issues:

  1. Bias: Fast clients can dominate the global model, leading to poor performance on data held by slower clients (especially in non-IID settings).
  2. Theoretical Gap: Most AFL methods haven't been rigorously proven to achieve "linear speedup"—the gold standard of scalability where doubling computational resources (participating clients) roughly halves training time.

Proposed Solution: Delayed Federated Averaging (DeFedAvg)

The authors propose DeFedAvg, which features a "Delayed Local Training" mechanism. Unlike synchronous methods that force a global lockstep, DeFedAvg allows clients to maintain a receive buffer for the latest global model and a send buffer for completed updates. This architecture enables clients to start new training rounds immediately using whatever model version they currently have, even if it is "stale" (from a previous round).

Comparison of local training workflows in FedAvg and the proposed DeFedAvg variants.

The framework includes two specialized variants to handle different data distributions:

  • DeFedAvg-nIID: Designed for non-independent and identically distributed data. It uses a uniform random client selection scheme at the server. Even if a fast client finishes early, it is only aggregated when "sampled," ensuring a balanced contribution from the entire population and preventing fast-client bias.
  • DeFedAvg-IID: Designed for homogeneous data. It uses a "first-complete-first-upload" pattern to maximize hardware utilization when data bias isn't a concern.

From a theoretical standpoint, the authors provide a rigorous convergence analysis for non-convex objectives. They prove that the error decreases at a rate of $O(1/\sqrt{nT})$ for the non-IID case, where $n$ is the number of participating clients and $T$ is the total rounds. This confirms that the "noise" introduced by using old models is mathematically outweighed by the gain in participation.

Key Results: Wall-Clock Superiority and Scalability

The framework was evaluated using standard computer vision benchmarks, FashionMNIST and CIFAR-10, with 100 simulated clients exhibiting varying computation speeds (up to a 5x difference).

Accuracy vs. Wall-Clock Time on CIFAR-10 (IID), demonstrating the significant speedup of DeFedAvg-IID.

Experimental results highlight three major advantages:

  • Wall-Clock Efficiency: DeFedAvg reached target accuracies significantly faster than FedAvg, FedBuff, and FAVANO. For example, on CIFAR-10 (IID), DeFedAvg-IID reached 70% accuracy in ~54 seconds, while standard FedAvg took ~302 seconds—a nearly 6x improvement in real-time efficiency.
  • Proven Scalability: The experiments confirmed the "linear speedup" theory. As the number of participating clients ($n$) increased from 10 to 80, the number of communication rounds required to reach target accuracy decreased consistently.
  • Robustness to Heterogeneity: DeFedAvg-nIID maintained high test accuracy even when data was heavily skewed across clients, whereas other asynchronous methods like FedBuff showed signs of weak generalization due to over-reliance on fast clients.

Insights and Future Directions

The core "aha moment" of this research is the proof that as long as model staleness (delay) is bounded, the asymptotic convergence rate remains on par with synchronous FedAvg. By performing $K$ local SGD steps before communicating, DeFedAvg maintains the communication-efficiency benefits of FedAvg while adding the temporal flexibility of asynchronous systems.

However, the theoretical proof relies on a Bounded Delay Assumption, requiring every client to participate at least once within a fixed window. Future work may explore more robust handling of client dropouts in extremely volatile networks and extending the framework to hierarchical edge-cloud structures.

Summary updated

BibTeX
@article{wang2025achieving,
  author = {Xiaolu Wang and Zijian Li and Shi Jin and Jun Zhang},
  title = {{Achieving Linear Speedup in Asynchronous Federated Learning with Heterogeneous Clients}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2025},
  doi = {10.1109/tmc.2024.3461852},
}
Figure