Abstract
Federated Learning (FL) enables collaborative model training without sharing raw data, but it is vulnerable to Byzantine adversaries who can disrupt convergence with malicious updates. While momentum-based optimization like Nesterov’s acceleration is standard for improving communication efficiency, its integration with robust aggregation has lacked theoretical guarantees for non-convex settings. This paper presents Byrd-NAFL, the first algorithm to provide finite-time convergence for momentum-accelerated robust learning under non-convex loss functions. Our results show that Byrd-NAFL effectively defends against various attacks while maintaining the speed advantages of Nesterov momentum.
Introduction
Modern Federated Learning faces a dual challenge: the need for communication efficiency and the requirement for robustness against malicious "Byzantine" workers. Byzantine actors can upload poisoned gradients to stall convergence or compromise model integrity. While Nesterov’s momentum is a powerful tool for accelerating training, it is sensitive to historical errors; a single poisoned update can persist in the momentum buffer, leading to long-term instability. Existing robust FL methods often revert to slower Stochastic Gradient Descent (SGD) or assume strong convexity, which is impractical for modern neural networks.
Methods: The Byrd-NAFL Framework
The proposed Byrd-NAFL (Byzantine-resilient Nesterov-Accelerated Federated Learning) algorithm addresses these challenges by combining robust aggregation rules with a server-side momentum buffer.
The core components include:
- Robust Aggregation (BR-AGG): Instead of simple averaging, the server employs rules such as Krum, Geometric Median (GeoMed), or Component-wise Median (CwMed) to filter out outliers and identify a consensus gradient direction.
- Nesterov Momentum Integration: The server maintains a momentum buffer ($z_k$) based on the robustly aggregated gradients. This allows the model to accelerate through flat regions of the loss landscape while the aggregation rule serves as a defensive shield.
- Theoretical Convergence: The framework establishes a finite-time convergence rate for non-convex, smooth loss functions under a "soft $\gamma$-Byzantine resilience" assumption, which realistically accounts for the bias introduced by robust aggregation.
Experimental Evaluation
The performance of Byrd-NAFL was evaluated on two benchmarks: COVTYPE (binary classification via logistic regression) and MNIST (multi-class classification via a single-hidden-layer perceptron). Three attack scenarios were simulated: Random-noise, Sign-flipping (sending inverted gradients), and Zero-gradient (stalling updates).
Key Results
Byrd-NAFL demonstrated significant resilience and speed across all tested scenarios.
- Resilience to High Corruption: The algorithm remained stable even when 30% of workers ($\epsilon = 0.3$) were Byzantine.
- Superior Accuracy: On the COVTYPE dataset under a Sign-flipping attack, Byrd-NAFL achieved 79.62% accuracy, whereas the "Mean + Nesterov" baseline collapsed to 56.15%.
- Faster Convergence: Nesterov-accelerated versions consistently reached peak accuracy faster than standard SGD-based robust methods. For instance, in MNIST Zero-gradient attacks, Byrd-NAFL reached ~89% accuracy while other methods lagged behind.
Discussion and Insights
A key finding is that Nesterov momentum does not just provide speed; it also helps stabilize the search direction provided by robust aggregation. While Byzantine noise introduces an "error floor" near the local optimum, a larger momentum factor ($\beta$) can actually help reduce this floor when paired with an optimal learning rate.
Despite its strengths, Byrd-NAFL requires a majority of honest workers ($H > N/2$). Future work will explore its performance on deeper architectures like ResNets and Transformers, where error accumulation in momentum buffers might be more pronounced, and investigate combinations with gradient compression techniques to further optimize communication.
Summary updated