Abstract
Federated Learning (FL) typically relies on simple stochastic gradient descent (SGD) for local client updates, which often results in slow convergence, particularly in heterogeneous (non-IID) data environments. While adaptive optimizers like Adam are standard in centralized learning, their application in FL is hindered by "client drift" caused by diverging local optimizer states. We introduce FedCAda (Federated Client Adaptive), a novel framework that stabilizes client-side adaptive optimization. By aggregating optimizer states at the server and implementing a dynamic parameter damping mechanism, FedCAda achieves faster convergence and higher accuracy across diverse benchmarks, including image classification and natural language processing tasks.
Introduction
The standard approach to Federated Learning, exemplified by FedAvg, utilizes local SGD updates. While robust, SGD lacks the parameter-wise learning rate adaptation that makes optimizers like Adam highly effective for large-scale models. However, integrating Adam into FL is challenging; data heterogeneity across clients causes local optimizer states to diverge rapidly. This divergence prevents the global model from converging effectively. FedCAda addresses this by synchronizing optimizer states and controlling the aggressiveness of updates during the critical early stages of training.
Methodology: Stabilizing Adaptivity
FedCAda introduces two core mechanisms to bridge the gap between adaptive optimization and federated stability:
1. Global Optimizer Aggregation
In traditional FL, only model weights are averaged. FedCAda extends this by having the server collect and aggregate the internal states of the Adam optimizer—specifically the first moment ($m$) and second moment ($v$) estimates. By synchronizing these states, all participating clients begin each round with a unified understanding of the optimization trajectory, significantly reducing the impact of local data bias.
2. Dynamic Parameter Damping
To prevent local models from diverging early in training, FedCAda employs a "parameter correction" step. Unlike standard Adam's bias correction, FedCAda uses a damping function in the denominator of the update rule (e.g., $1 + \beta^t$).
- Early Rounds: When $t$ is small, the damping term is large, effectively shrinking update steps and enforcing a conservative optimization strategy when global information is sparse.
- Late Rounds: As training progresses, the damping term decays, allowing the optimizer to transition into a standard, more aggressive adaptive state. The authors found that simple exponential or power-based damping provided the best balance between stability and speed.
Experimental Evaluation
The effectiveness of FedCAda was evaluated on three benchmarks: CIFAR-10, FashionMNIST, and Shakespeare. The experiments covered both cross-silo and cross-device scenarios with high data heterogeneity (Dirichlet $\alpha=0.1$).
Performance Results
FedCAda consistently outperformed baseline methods:
- CIFAR-10 (Non-IID): Achieved 62.52% accuracy, surpassing FedAvg (59.58%) and other adaptive methods like FedAdam (59.40%) and FAFed (61.15%).
- ResNet-18 Scaling: In cross-device settings using ResNet-18, FedCAda reached 61.32% accuracy, a substantial improvement over FedAvg's 49.86%.
- Convergence Speed: Training curves indicate that FedCAda requires significantly fewer communication rounds to reach target accuracy levels compared to standard SGD-based FL, which is critical for reducing network costs.
Discussion and Conclusion
The success of FedCAda highlights that the primary obstacle to adaptive FL is not adaptivity itself, but rather premature adaptivity on biased local data. By enforcing caution in early rounds and synchronizing optimizer "momentum," FedCAda maintains high similarity between client updates.
While FedCAda improves performance, it introduces a trade-off: the communication payload per round is approximately tripled due to the transmission of $m$ and $v$ parameters. However, the reduction in total communication rounds often offsets this per-round cost. Future work will focus on applying communication compression techniques to these optimizer states to further enhance efficiency.
Summary updated