FADAS: Towards Federated Adaptive Asynchronous Optimization

Yujia Wang, Shiqiang Wang, Songtao Lu, Jinghui Chen

Abstract

Federated Learning (FL) typically relies on synchronous aggregation, which is often bottlenecked by "stragglers"—clients with limited computational or network resources. While asynchronous FL (AFL) addresses this by allowing the server to update the global model without waiting for all clients, it faces significant challenges when integrated with adaptive optimization methods like Adam or AMSGrad. This paper introduces FADAS (Federated ADaptive ASynchronous optimization), a novel framework designed to combine the efficiency of asynchronous updates with the performance of adaptive optimizers. By implementing a delay-adaptive learning rate mechanism, FADAS ensures stability and convergence even in the presence of highly stale updates. Experimental results across vision and language tasks demonstrate that FADAS achieves up to an 8x speedup over traditional synchronous methods while maintaining superior accuracy in high-delay environments.

Introduction

In Federated Learning, the standard approach involves synchronous rounds where a central server broadcasts a model, waits for a cohort of clients to compute updates, and aggregates those updates. However, in real-world deployments, device heterogeneity is the norm. A single slow device can stall the entire global training process, a phenomenon known as the "straggler problem."

Asynchronous FL offers a solution by allowing the server to perform updates as soon as individual client results arrive. However, modern deep learning often requires adaptive optimizers (e.g., Adam, BERT-base fine-tuning) to handle complex loss landscapes. Combining asynchronous updates with adaptive math is non-trivial; "stale" updates—gradients calculated on an older version of the global model—can lead to instability and poor convergence when processed through non-linear adaptive update rules. FADAS addresses this gap by introducing a framework that is both asynchronous and delay-aware.

The FADAS Framework

FADAS bridges the gap between asynchrony and adaptivity through two primary mechanisms:

1. Asynchronous Adaptive Aggregation

FADAS utilizes a buffer-based approach to manage incoming updates. Rather than updating on every single arrival, the server collects a specific number of updates ($M$) into a buffer. Once the buffer is full, the server computes a "pseudo-gradient" from the average of these updates. This pseudo-gradient is then applied using an AMSGrad-like update rule at the server level, ensuring that the benefits of adaptive learning rates are preserved in a distributed setting.

2. Delay-Adaptive Learning Adjustment

The core innovation of FADAS is its sensitivity to "staleness." In asynchronous systems, the delay ($\tau$) represents the difference between the model version the client used for training and the current version at the server. FADAS tracks these delays and applies a Delay-Adaptive Learning Adjustment. If the maximum delay within a batch exceeds a predefined threshold ($\tau_c$), the framework automatically scales down the global learning rate. This cautious approach ensures that outdated gradients do not push the model in an erroneous direction, maintaining stability without discarding the data from slower clients.

Experimental Evaluation

The researchers evaluated FADAS across diverse benchmarks to test its robustness and speed:

  • Computer Vision: Training ResNet-18 on the CIFAR-10 and CIFAR-100 datasets.
  • Natural Language Processing: Fine-tuning a pre-trained BERT-base model on the GLUE benchmark (RTE, MRPC, and SST-2) using Low-Rank Adaptation (LoRA).

To simulate realistic network conditions, the team established scenarios with varying levels of delay, including "mild" delays and "large worst-case" delays where certain clients were significantly slower than the rest of the population.

Key Insights and Results

Efficiency and Convergence

FADAS achieves a theoretical convergence rate of $O(1/\sqrt{TM})$, matching the efficiency of synchronous methods while significantly outperforming them in "wall-clock" time. Because the server does not idle while waiting for stragglers, the training process is continuous. In vision tasks, FADAS reached target accuracy 8x faster than standard FedAvg and 2.5x faster than FedAMS (a synchronous adaptive baseline).

Stability in High-Delay Scenarios

One of the most significant findings was FADAS's resilience to extreme staleness. In experiments where delays reached 25% of the total communication rounds, standard asynchronous methods like FedAsync exhibited severe fluctuations and performance degradation. In contrast, the delay-adaptive version of FADAS ($FADAS_{da}$) remained remarkably stable. On CIFAR-10 under large delays, FADAS achieved ~79.7% accuracy, significantly higher than FedAsync’s ~75.3%.

Superiority in NLP

For BERT fine-tuning, FADAS consistently outperformed other asynchronous baselines like FedBuff across all tested GLUE datasets. This suggests that FADAS is particularly well-suited for modern large-scale model training where adaptive optimization is a requirement.

Conclusion and Future Work

FADAS represents a significant advancement in making Federated Learning practical for heterogeneous environments. By intelligently weighting updates based on their staleness, it allows for rapid, stable training of complex models without the bottleneck of synchronous coordination.

Future research directions include refining the arrival distribution assumptions, as real-world traffic is often "bursty" rather than uniform. Additionally, automating the tuning of the delay threshold ($\tau_c$) would enhance the algorithm's ease of use. Finally, exploring FADAS in the context of extreme data heterogeneity (Non-IID data) will further establish its utility for diverse, real-world federated ecosystems.

Summary updated

BibTeX
@inproceedings{wang2024fadas,
  author = {Yujia Wang and Shiqiang Wang and Songtao Lu and Jinghui Chen},
  title = {{FADAS: Towards Federated Adaptive Asynchronous Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=j56JAd29uH},
}
Figure