Abstract
Federated Learning (FL) enables collaborative model training without sharing raw data but remains vulnerable to Byzantine attacks and data heterogeneity. Existing robust aggregation methods often suffer from high computational overhead. We propose the Federated Normalized Gradients Algorithm (Fed-NGA), which aggregates client updates by computing the weighted mean of normalized gradients. With a time complexity of $\mathcal{O}(pM)$, Fed-NGA is both computationally efficient and theoretically robust. We prove its convergence to stationary points for non-convex loss functions, even achieving a zero optimality gap under mild conditions. Empirical results across benchmark datasets demonstrate Fed-NGA's superior efficiency and resilience compared to state-of-the-art methods.
Introduction
Federated Learning (FL) allows a central server to coordinate training across numerous edge devices. However, real-world deployments face a "double whammy": Byzantine attacks from malicious clients and data heterogeneity (non-IID) among honest participants. While existing robust algorithms attempt to filter malicious updates, they typically rely on expensive geometric calculations that scale poorly and often fail to reach the true optimal solution in non-IID settings.
The Fed-NGA Approach
Fed-NGA introduces a remarkably simple aggregation rule. Instead of complex statistical filtering, the server performs a three-step process: receiving local gradients, normalizing each vector by its magnitude, and computing the weighted mean. This "clipping" to a unit sphere prevents any single attacker from dominating the aggregation with extreme values. By prioritizing the direction of the gradient over its magnitude, Fed-NGA provides a more reliable signal for global consensus in heterogeneous environments.
Theoretical and Computational Advantages
A key contribution of this work is the rigorous proof of convergence. Unlike many robust FL methods that only converge to a "neighborhood" of a solution, Fed-NGA is proven to achieve exact convergence (zero optimality gap) to a stationary point under mild conditions for non-convex loss functions. The convergence rate is established as $\mathcal{O}(1/T^{\frac{1}{2} - \delta})$.
Furthermore, Fed-NGA operates at $\mathcal{O}(pM)$ complexity, matching the efficiency of standard Federated Averaging (FedAvg). As shown in the table above, this represents a significant improvement over baselines that scale quadratically or require complex logarithmic factors, leading to observed speedups of 100x to 500x in practice.
Experimental Results
The performance of Fed-NGA was evaluated on MNIST, CIFAR-10, and TinyImageNet datasets under various attack scenarios, including Gaussian noise, sign-flipping, and "Little Is Enough" (LIE) attacks. Data heterogeneity was controlled using a Dirichlet distribution.
As shown in the results, Fed-NGA consistently maintains high accuracy where other methods fail. For instance, under the "Same-value" attack on MNIST, Fed-NGA maintained ~83.66% accuracy, while FedAvg and several robust baselines collapsed to ~10%. On the complex TinyImageNet dataset using MobileNetV3, Fed-NGA was the only robust method that remained computationally viable while maintaining superior accuracy.
Conclusion
Fed-NGA demonstrates that sophisticated robustness does not require sophisticated aggregation. By leveraging normalized gradients, it provides a scalable, efficient, and theoretically grounded solution to the dual challenges of Byzantine faults and data heterogeneity in Federated Learning.
This paper was presented at NeurIPS 2025.
Summary updated