SoK: Benchmarking Poisoning Attacks and Defenses in Federated Learning

Heyi Zhang, Yule Liu, Xinlei He, Jun Wu, Tianshuo Cong, Xinyi Huang · DOI

Abstract

Federated Learning (FL) is a promising paradigm for privacy-preserving machine learning, yet its decentralized structure introduces significant security risks. This paper introduces FLPoison, a large-scale, unified benchmark designed to evaluate the robustness of FL against poisoning attacks. By systematically testing 15 attacks and 17 defense strategies across 2,040 unique settings, the authors provide a comprehensive "reality check" on the current state of FL security, highlighting the gap between theoretical defenses and practical, adaptive threats.

Introduction

Federated Learning allows multiple parties to collaboratively train a shared model without exchanging raw data. However, the central server's inability to inspect local data or training processes creates an opening for malicious clients to "poison" the model. The research landscape has historically been fragmented, with most studies evaluating single defenses against a narrow set of attacks. This paper addresses this by providing a Systematization of Knowledge (SoK) to unify Model Poisoning Attacks (MPAs) and Data Poisoning Attacks (DPAs) under a rigorous, comparative framework.

Methodology and Taxonomy

The authors developed FLPoison, a modular and scalable framework that integrates a systematic taxonomy of attacks and defenses. Attacks are categorized by their vector (training-time, update-time, or post-training) and their objective (untargeted vs. targeted).

Taxonomy of poisoning attacks and defense strategies in Federated Learning.

The benchmark evaluates defenses across three major FL algorithms—FedSGD, FedAvg, and FedOpt—using MNIST (LeNet-5) and CIFAR-10 (ResNet-18) datasets. To simulate real-world conditions, data heterogeneity is modeled using a Dirichlet distribution-based partition ($\alpha=0.5$), creating challenging non-IID scenarios. Beyond standard Accuracy (ACC) and Attack Success Rate (ASR), the authors introduce metrics like Targeted Attack Impact (TAI) and Targeted Defense Robustness (TDR) to quantify the effectiveness of adversarial maneuvers.

Key Insights

  • The "FedOpt" Backdoor Advantage: Data Poisoning Attacks (backdoors) are significantly more effective under the FedOpt algorithm. The multiple local training rounds allowed by FedOpt provide attackers more opportunity to stealthily embed malicious patterns into model weights before aggregation.
  • The Non-IID Defense Gap: Many defenses that succeed in IID settings fail in heterogeneous (non-IID) environments. In these cases, benign updates often appear as outliers, causing many statistical defense mechanisms to mistakenly flag legitimate users as malicious.
  • The Cost of Security: There is a massive disparity in computational overhead. Advanced feature-level defenses like DeepSight can be up to 1.7 million times more computationally expensive than simple mean aggregation, making them impractical for many real-world edge devices.

Results and Defense Evaluation

The evaluation identifies Gaussian Random, Sign Flipping, and FangAttack as the most potent MPAs. For DPAs, BadNets remains a highly robust baseline due to its simplicity and adaptivity.

Comparison of various defense mechanisms, including their knowledge requirements, assumptions, and computational complexity.

Among the 17 defenses tested, FLTrust and DnC (De-noising Method) showed the best overall resilience against MPAs with minimal performance trade-offs. For backdoor attacks (DPAs), FLAME proved to be the most effective strategy by combining clustering with adaptive noise injection. FLAME and FLTrust are highlighted as "sweet spot" defenses, offering high security with relatively low computational overhead compared to heavyweights like DeepSight.

Conclusion

The "cat-and-mouse" game between attackers and defenders in FL continues. While FLPoison provides a much-needed baseline, current defenses still struggle with feature and quality skew. Future research should move away from "black-box" defenses and toward methods that leverage small, trusted server-side datasets to bootstrap trust and improve robustness against adaptive threats.

Summary updated

BibTeX
@misc{zhang2025sok,
  author = {Heyi Zhang and Yule Liu and Xinlei He and Jun Wu and Tianshuo Cong and Xinyi Huang},
  title = {{SoK: Benchmarking Poisoning Attacks and Defenses in Federated Learning}},
  year = {2025},
  eprint = {2502.03801},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.03801},
}
Figure