Introduction
Federated Learning (FL) has emerged as a critical paradigm for training machine learning models across decentralized data sources, such as hospitals or financial institutions, without compromising raw data privacy. However, two primary challenges hinder its efficiency: data heterogeneity (client drift) and a lack of adaptivity. While adaptive optimizers like Adam are standard in centralized deep learning, their application in FL has been limited by theoretical complexity and practical instability.
This paper introduces FAFED (Fast Adaptive Federated Learning), a novel optimization algorithm designed for cross-silo FL. FAFED achieves a state-of-the-art $O(\epsilon^{-3})$ sample complexity, marking it as the first adaptive federated algorithm to reach this efficiency without requiring excessively large data batches.
Methodology: The FAFED Approach
FAFED addresses the limitations of previous adaptive FL methods through three core technical innovations:
- Shared Adaptive Learning Rates: Local adaptivity can lead to divergence because inconsistent local "preconditioners" (the adaptive denominators) push the global model away from the optimal solution. FAFED mitigates this by periodically averaging adaptive states across the server, ensuring synchronization.
- Momentum-based Variance Reduction: To combat the noise of distributed training, FAFED utilizes a sophisticated gradient estimator that tracks the global gradient direction more accurately than standard stochastic gradients.
- Coordinate-wise Updates: Similar to Adam, FAFED adjusts learning rates for each dimension of the parameter vector, providing fine-grained control over the optimization process.
Experimental Evaluation
The performance of FAFED was benchmarked against several baselines, including FedAvg, SCAFFOLD, FedAdam, and FedAMS, across diverse tasks and heterogeneity levels.
Language Modeling
Using the WikiText2 dataset with a 2-layer LSTM, FAFED demonstrated significantly faster convergence and achieved lower training loss and perplexity than all competing algorithms. As shown in the training loss curves, FAFED maintains a lower loss trajectory throughout the communication rounds.
Image Classification
The algorithm was further tested on MNIST, Fashion-MNIST, and CIFAR-10 datasets using Convolutional Neural Networks (CNNs). Across varying degrees of data heterogeneity, FAFED consistently outperformed baselines, reaching higher accuracies in fewer communication rounds.
Key Insights
- Stability and Efficiency: Unlike FedAdam, which often exhibits high fluctuations early in training, FAFED remains stable. It reduces communication rounds to $O(\epsilon^{-2})$ while maintaining optimal sample complexity.
- Robustness to Heterogeneity: FAFED's synchronized adaptive states prevent the "divergence trap" common in naive adaptive FL implementations, allowing it to handle highly non-IID data effectively.
Limitations and Future Directions
While FAFED excels in cross-silo environments, its performance in "cross-device" settings (e.g., mobile edge devices with high dropout rates) remains an area for future research. Additionally, while the adaptive matrix is diagonal and relatively small, it does introduce a slight communication overhead per round compared to basic FedAvg. Future work may explore compression techniques to further optimize this exchange.
Summary updated