Abstract
Federated Learning (FL) enables collaborative model training without centralized data sharing, yet it remains highly susceptible to model poisoning by malicious "Byzantine" clients. While Byzantine-robust aggregation algorithms (AGRs) have been developed to filter malicious updates, we demonstrate that these defenses are fundamentally fragile against optimized attacks. This paper introduces an optimized attack framework that circumvents existing AGRs, resulting in accuracy drops up to 60x greater than previous methods. To address this, we propose Divide-and-Conquer (DnC), a defense mechanism leveraging spectral analysis to detect malicious outliers in high-dimensional gradient space. Our results show that DnC significantly outperforms state-of-the-art defenses, maintaining model integrity even under sophisticated attacks.
Introduction
Federated Learning (FL) allows multiple clients to train a global model locally, sharing only gradient updates with a central server. This decentralized nature introduces a significant security risk: malicious clients can submit "poisoned" gradients to degrade model performance. Current defenses, known as Byzantine-robust aggregation algorithms (AGRs), typically rely on distance metrics or coordinate-wise pruning. However, these methods often fail in high-dimensional spaces where malicious updates can effectively "hide" near benign ones.
The Optimized Attack Framework
We formulate model poisoning as an optimization problem where the adversary seeks to maximize the deviation of the aggregated gradient while remaining within the "normal" range defined by the server's defense.
Attack Strategies
The framework utilizes three primary perturbation vectors to craft malicious updates:
- Inverse Unit Vector ($\nabla^p_{uv}$): Directs the update opposite to the benign average.
- Inverse Standard Deviation ($\nabla^p_{std}$): Perturbs dimensions based on their variance among benign clients.
- Inverse Sign ($\nabla^p_{sgn}$): Flips the signs of the average benign gradient.
As shown in the taxonomy above, attacks vary based on the adversary's knowledge of benign updates and the server's specific AGR. Our framework includes both AGR-tailored and AGR-agnostic variants.
Figure 1 illustrates how these attacks position malicious gradients ($\nabla^m$) relative to the benign aggregate ($\nabla^b$). By optimizing the perturbation magnitude $\gamma$, the attacker can bypass defenses like Krum or craft agnostic attacks (Min-Max, Min-Sum) that are effective across different AGRs.
Divide-and-Conquer (DnC) Defense
We argue that impactful attacks must create a significant deviation along a specific direction in the update space. DnC exploits this by using Singular Value Decomposition (SVD) to identify the principal component of the submitted updates.
- Dimensionality Reduction: To handle massive gradient vectors, DnC randomly subsamples dimensions, making spectral analysis computationally feasible.
- Outlier Removal: Updates are projected onto the principal component (the direction of greatest variance). The fraction of updates with the largest projections—the "spectral signature of poison"—are identified as outliers and removed.
Evaluation and Results
We evaluated the proposed attacks and DnC defense across four benchmark datasets: CIFAR10, MNIST, Purchase, and FEMNIST.
- Attack Superiority: Our optimized attacks achieved 1.5× to 60× higher reductions in model accuracy compared to prior state-of-the-art attacks like Fang or LIE.
- Defense Resilience: DnC proved to be 2.5× to 12× more resilient than existing robust AGRs. For example, on CIFAR10, while traditional defenses allowed a 36% accuracy drop, DnC limited the impact to just 6%.
- Scalability: The attacks remained effective in cross-device settings where only a subset of clients participate in each round.
Conclusion
The "curse of dimensionality" renders traditional distance-based defenses inadequate for Federated Learning. While malicious updates can hide from simple distance checks, they inevitably leave a spectral signature that can be detected via SVD. While DnC represents a significant advancement, defending against worst-case attacks in highly heterogeneous (non-IID) settings remains an open challenge, as benign outliers in such environments can be difficult to distinguish from malicious ones.
Summary updated