Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models while preserving data privacy. However, practical deployments often struggle with system heterogeneity (varying device speeds) and statistical heterogeneity (non-IID data). Synchronous methods like FedAvg are bottlenecked by the slowest "straggler" devices. Conversely, asynchronous methods, while faster, suffer from "staleness"—where updates from slower devices are based on outdated global models, leading to model divergence and reduced accuracy.
FedASMU (Federated Asynchronous Staleness-aware Model Update) addresses these challenges through a dynamic, loss-aware weighting system and an innovative "mid-training refresh" mechanism. By allowing devices to pull fresh global models at optimal intervals determined by Reinforcement Learning (RL), FedASMU significantly improves both convergence speed and final model accuracy.
Methodology
FedASMU introduces three core components to mitigate the impact of stale updates and client drift:
- Dynamic Model Update (Server-Side): Instead of a static penalty for stale updates, the server employs a dynamic polynomial function to weight incoming local models. This weight is adjusted based on both the version staleness and the update's impact on global loss, formulated as a bi-level optimization problem.
- Adaptive Local Model Adjustment (Client-Side): A key innovation in FedASMU is the ability for clients to request a "fresh" global model during their local training phase. This allows the device to aggregate the latest global knowledge with its current local progress, effectively "course-correcting" the training trajectory before the final update is sent to the server.
- Intelligent Time Slot Selection: To balance the benefits of fresh models with communication overhead, FedASMU utilizes an LSTM-based Q-learning agent on each device. This RL agent learns to identify the optimal epoch to request a refresh, maximizing accuracy gains while minimizing redundant data transfers.
Experimental Evaluation
The framework was evaluated against nine state-of-the-art baselines, including FedAvg, FedProx, and FedAsync, across diverse datasets (Fashion-MNIST, CIFAR-10/100, Tiny-ImageNet, IMDb) and architectures (LeNet5, ResNet20, VGG-11, TextCNN).
Key Results
FedASMU consistently outperformed all baselines in both accuracy and training efficiency. It achieved accuracy improvements ranging from 0.60% to 23.90%, with the most significant gains observed in complex non-IID scenarios.
In terms of speed, FedASMU reached target accuracies 3.54% to 97.98% faster than competitors. For instance, on CIFAR-10 with LeNet, FedASMU reached the target in 8,800 seconds, compared to over 125,000 seconds for standard FedAvg. The performance advantage of FedASMU was found to scale positively with increased system heterogeneity and device counts.
Conclusion
FedASMU effectively bridges the gap between synchronous and asynchronous federated learning. By combining dynamic server-side weighting with RL-optimized client-side refreshes, it overcomes the traditional trade-offs between training speed and model stability. Future research will focus on further reducing communication overhead in extremely bandwidth-constrained environments and enhancing privacy protections for the metadata used in dynamic weighting.
Summary updated