Abstract
This paper introduces FedNAG, a Federated Learning (FL) framework that integrates Nesterov Accelerated Gradient (NAG) into both local worker updates and global aggregation. By leveraging NAG’s "look-ahead" momentum, FedNAG achieves a 3–24% improvement in learning accuracy and reduces total training time by 11–70% compared to standard benchmarks like FedAvg.
Introduction
Federated Learning allows multiple edge devices (workers) to train a shared model without exchanging raw data, preserving privacy. However, the standard algorithm, FedAvg, relies on simple gradient descent, which often suffers from slow convergence and oscillations, especially when data is distributed non-uniformly (non-i.i.d.) across devices. While momentum is a well-known technique to speed up optimization in centralized training, applying it to FL is challenging due to communication delays and "client drift." The authors propose FedNAG to address these issues using a sophisticated "look-ahead" momentum mechanism.
Methods
FedNAG distinguishes itself by implementing NAG at two levels:
- Local Updates: Each worker performs $\tau$ local iterations using NAG. Unlike standard Polyak momentum, NAG calculates the gradient based on an approximation of the next position of the parameters, providing a corrective "look-ahead" mechanism.
- Global Aggregation: Periodically, the aggregator collects and averages both the model weights and the momentum terms from all workers. These averaged values are then redistributed to synchronize the "velocity" of the global model.
The paper provides a rigorous theoretical convergence analysis, proving that FedNAG maintains a convergence rate of $O(1/T)$ for convex problems. They also derive specific conditions under which FedNAG is guaranteed to outperform FedAvg.
Experimental Setup
The researchers evaluated FedNAG using three standard image classification datasets: MNIST, CIFAR-10, and CIFAR-100. To simulate real-world edge computing scenarios, they created non-i.i.d. partitions, assigning only a subset of classes to each worker to test robustness against skewed data distributions.
Key Insights
- Look-Ahead Mechanism: NAG’s ability to anticipate the gradient of the next step helps mitigate "client drift," where local models diverge from the global goal between synchronizations.
- Momentum Synchronization: Averaging momentum (velocity) terms alongside weights ensures workers start each round with a shared "directional inertia," leading to smoother convergence.
- Aggregation Frequency ($\tau$): The authors identified a "Goldilocks zone" (e.g., $\tau=40$) where communication overhead and local model divergence are balanced.
Results
FedNAG demonstrated significant improvements over benchmarks like FedAvg and FedMom:
- Accuracy: Learning accuracy increased by 3–24% across various models (Linear Regression, CNN, VGG16).
- Efficiency: Trace-driven simulations showed a reduction in total training time by 11–70%.
- Stability: FedNAG showed higher stability in non-i.i.d. settings compared to standard momentum methods.
Conclusion and Future Work
FedNAG effectively combines the benefits of NAG momentum with the constraints of federated environments. Future work includes addressing "cross-device" FL where devices drop in and out, automating the tuning of the aggregation frequency $\tau$, and explicitly modeling the energy costs of communication versus the utility of faster convergence.
Summary updated