A General Theory for Federated Optimization with Asynchronous and Heterogeneous Clients Updates

Yann Fraboni, Richard Vidal, Laetitia Kameni, Marco Lorenzi · DOI

Abstract

Federated Learning (FL) performance is often limited by the slowest participants, known as "stragglers." This paper introduces a unified theoretical framework to address this by transitioning from synchronous to asynchronous updates while maintaining model integrity across heterogeneous data. The authors propose FEDFIX, an algorithm that aggregates updates at fixed time intervals, optimizing the trade-off between training speed and stability.

Introduction: The Straggler Problem

Standard Federated Learning algorithms, such as FedAvg, typically operate synchronously. The server distributes a global model and waits for all participating clients to complete local training before averaging the results. This synchronization creates two primary bottlenecks:

  1. Stragglers: Slow processors or poor network connections delay the entire global round.
  2. Resource Waste: Faster clients remain idle while waiting for slower participants.

Asynchronous FL allows the server to update the global model as soon as any client finishes. However, this introduces the risk of "overfitting" to fast clients and "forgetting" slow ones, particularly when data is non-IID. Proving convergence in such systems remains a significant theoretical challenge.

A Unified Theory for Asynchronous FL

The core contribution of this work is a general theory that models asynchronicity as a stochastic process. To ensure the global model converges to the true optimum rather than a hardware-biased sub-optimum, the authors introduce specific weighting mechanisms.

Stochastic Aggregation Weights

The influence of each client is scaled by a weight $d_i(n)$, allowing the server to rebalance contributions. The theory establishes a "Fairness Condition": for convergence, the expected representation of each data distribution must match its actual proportion in the total dataset.

Summary of notation for stochastic aggregation weights used in the general convergence theory.

The FEDFIX Algorithm

To bridge the gap between synchronous stability and asynchronous speed, the authors propose FEDFIX. Instead of updating for every single arrival or waiting for everyone, the server updates at fixed time intervals ($\Delta t$), aggregating all updates received within that window.

Timeline of the FEDFIX algorithm showing asynchronous updates from clients C1 and C2 to the server S over fixed intervals Δt.

By adjusting $\Delta t$, FEDFIX can interpolate between the stability of FedAvg and the raw speed of pure asynchronous FL.

Experimental Evaluation

The authors evaluated FEDFIX on four benchmarks: MNIST, CIFAR-10, and Shakespeare (a character-prediction task simulating highly non-IID text data).

Key Results

  • Bias Correction: Experiments confirm that using "Identical" weights in asynchronous settings leads to sub-optimal models. The proposed "Time-Based" weights allow the model to reach the same optimum as synchronous FedAvg.
  • Performance: In scenarios with heterogeneous hardware, FEDFIX consistently outperformed both synchronous and pure asynchronous FedAvg in convergence speed and loss stability.
  • Stability: While pure asynchronous FedAvg showed high variance and occasional divergence (notably in the Shakespeare task), FEDFIX remained stable.

Conclusion and Future Work

The paper provides a mathematical "fix" for hardware-induced bias in FL. While it requires estimating client computation times ($T_i$), it offers a robust framework for real-world edge networks. Future research may extend this theory to include gradient compression and quantization to further improve communication efficiency.

Summary updated

BibTeX
@inproceedings{fraboni2023general,
  author = {Yann Fraboni and Richard Vidal and Laetitia Kameni and Marco Lorenzi},
  title = {{A General Theory for Federated Optimization with Asynchronous and Heterogeneous Clients Updates}},
  booktitle = {HAL},
  year = {2023},
}
Figure