Abstract
Federated Learning (FL) enables multiple clients to collaboratively train models without sharing raw data, but is vulnerable to Byzantine attacks and data heterogeneity, which can severely degrade performance. Existing Byzantine-robust approaches tackle data heterogeneity, but incur high computational overhead during gradient aggregation, thereby slowing down the training process. To address this issue, we propose a simple yet effective Federated Normalized Gradients Algorithm (Fed-NGA), which performs aggregation by merely computing the weighted mean of the normalized gradients from each client. This approach yields a favorable time complexity of $\mathcal{O}(pM)$, where $p$ is the model dimension and $M$ is the number of clients. We rigorously prove that Fed-NGA is robust to both Byzantine faults and data heterogeneity. For non-convex loss functions, Fed-NGA achieves convergence to a neighborhood of stationary points under general assumptions, and further attains zero optimality gap under some mild conditions, which is an outcome rarely achieved in existing literature. In both cases, the convergence rate is $\mathcal{O}(1/T^{\frac{1}{2} - δ})$, where $T$ denotes the number of iterations and $δ\in (0, 1/2)$. Experimental results on benchmark datasets confirm the superior time efficiency and convergence performance of Fed-NGA over existing methods.
Introduction
Federated Learning (FL) has emerged as a powerful paradigm for decentralized machine learning, allowing devices to train models locally while maintaining data privacy. However, real-world deployments face two critical challenges: Byzantine attacks and data heterogeneity. Malicious clients can inject poisoned updates to derail the global model, while non-IID (Identically and Independently Distributed) data across honest clients makes convergence difficult.
Existing robust aggregation rules, such as Krum or Geometric Median, often struggle with high computational costs—sometimes slowing down the server by up to 100x—and frequently fail to reach a true stationary point, settling instead for a "neighborhood" of the solution. This paper introduces Fed-NGA (Federated Normalized Gradients Algorithm), a method designed to provide both robustness and efficiency.
The Fed-NGA Algorithm
The core mechanism of Fed-NGA is surprisingly simple. Instead of complex geometric filtering, the algorithm focuses on the direction of client updates rather than their magnitude. The process involves:
- Local Update: Clients compute local gradients based on their private data.
- Normalization: The gradient vectors are normalized (divided by their own norm) either by the client or the server.
- Aggregation: The server computes a weighted mean of these normalized gradients.
Normalization acts as a natural "clipper," preventing any single malicious client from hijacking the global model with an update of astronomical magnitude. By focusing on direction, Fed-NGA extracts the most reliable information from honest clients even in heterogeneous environments. Crucially, this approach maintains a time complexity of $\mathcal{O}(pM)$, matching the efficiency of standard FedAvg.
Theoretical Contributions
A significant highlight of this work is the proof of a "zero optimality gap." While most robust FL literature suggests models can only get "close" to a solution, the authors prove that under "Type II" assumptions (where gradient direction remains relatively consistent despite noise), Fed-NGA can achieve exact convergence to a stationary point for non-convex loss functions.
Experimental Evaluation
The authors evaluated Fed-NGA against three standard benchmarks: MNIST (using MLP), CIFAR-10 (using LeNet), and TinyImageNet (using MobileNetV3). Data heterogeneity was simulated using a Dirichlet distribution ($\beta$), and the system was tested against five distinct Byzantine attacks: Gaussian, Same-value, Sign-flip, Little Is Enough (LIE), and Fall of Empires (FoE).
Key Results
- Efficiency: In CIFAR-10 experiments, Fed-NGA was over 100x faster at aggregation than baselines like Krum or Geometric Median. It was only roughly 3x slower than the non-robust FedAvg.
- Accuracy and Robustness: Fed-NGA consistently matched or outperformed state-of-the-art robust aggregators. It remained stable even when up to 40% of clients were malicious. For instance, under "Sign-flip" attacks on TinyImageNet, Fed-NGA maintained high accuracy while other robust methods suffered significant performance degradation.
Conclusion and Future Work
Fed-NGA demonstrates that simple normalization is a potent, low-cost defense against Byzantine outliers in Federated Learning. While the current proof for exact convergence relies on specific "Type II" assumptions regarding data heterogeneity, the empirical results suggest broad applicability. Future research may focus on adapting these normalization techniques to counter more sophisticated "Sybil" attacks or further relaxing theoretical assumptions.
Summary updated