FedSecurity: Benchmarking Attacks and Defenses in Federated Learning and Federated LLMs
Not on the map. Why?
Abstract (arXiv)
This paper introduces FedSecurity, an end-to-end benchmark that serves as a supplementary component of the FedML library for simulating adversarial attacks and corresponding defense mechanisms in Federated Learning (FL). FedSecurity eliminates the need for implementing the fundamental FL procedures, e.g., FL training and data loading, from scratch, thus enables users to focus on developing their own attack and defense strategies. It contains two key components, including FedAttacker that conducts a variety of attacks during FL training, and FedDefender that implements defensive mechanisms to counteract these attacks. FedSecurity has the following features: i) It offers extensive customization options to accommodate a broad range of machine learning models (e.g., Logistic Regression, ResNet, and GAN) and FL optimizers (e.g., FedAVG, FedOPT, and FedNOVA); ii) it enables exploring the effectiveness of attacks and defenses across different datasets and models; and iii) it supports flexible configuration and customization through a configuration file and some APIs. We further demonstrate FedSecurity's utility and adaptability through federated training of Large Language Models (LLMs) to showcase its potential on a wide range of complex applications.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 59 of its 107 references that are in the map. First posted on arXiv 8 Jun 2023.
Builds on
59 of 107 references.
References · 59
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2018Federated Optimization in Heterogeneous Networkscited by 2,987
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2020Adaptive Federated Optimizationcited by 1,046
- 2019Deep Leakage from Gradientscited by 1,021
- 2020Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimizationcited by 906
- 2018LEAF: A Benchmark for Federated Settingscited by 792
38 more
- 2018How To Backdoor Federated Learningcited by 765
- 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 712
- 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 711
- 2018Federated Learning for Mobile Keyboard Predictioncited by 572
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 538
- 2018Exploiting Unintended Feature Leakage in Collaborative Learningcited by 520
- 2019Local Model Poisoning Attacks to Byzantine-Robust Federated Learningcited by 493
- 2020Flower: A Friendly Federated Learning Research Frameworkcited by 455
- 2018Analyzing Federated Learning through an Adversarial Lenscited by 351
- 2017Deep Models Under the GAN: Information Leakage from Collaborative Deep Learningcited by 334
- 2018The Hidden Vulnerability of Distributed Learning in Byzantiumcited by 329
- 2020FedML: A Research Library and Benchmark for Federated Machine Learningcited by 300
- 2020Data Poisoning Attacks Against Federated Learning Systemscited by 275
- 2019Can You Really Backdoor Federated Learning?cited by 255
- 2018RSA: Byzantine-Robust Stochastic Aggregation Methods for Distributed Learning from Heterogeneous Datasetscited by 149
- 2019Fall of Empires: Breaking Byzantine-tolerant SGD by Inner Product Manipulationcited by 141
- 2020Learning from History for Byzantine Robust Optimizationcited by 137
- 2021FedScale: Benchmarking Model and System Performance of Federated Learning at Scalecited by 136
- 2020Byzantine-Robust Learning on Heterogeneous Datasets via Bucketingcited by 128
- 2019Federated Learning for Emoji Prediction in a Mobile Keyboardcited by 118
- 2021Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Modelscited by 108
- 2020Feature Inference Attack on Model Predictions in Vertical Federated Learningcited by 106
- 2022Neurotoxin: Durable Backdoors in Federated Learningcited by 98
- 2018Federated Learning for Keyword Spottingcited by 95
- 2021CRFL: Certifiably Robust Federated Learning against Backdoor Attackscited by 91
- 2021Federated Learning: Opportunities and Challengescited by 84
- 2020Defending against Backdoors in Federated Learning with Robust Learning Ratecited by 82
- 2022NVIDIA FLARE: Federated Learning from Simulation to Real-Worldcited by 80
- 2020LDP-FL: Practical Private Aggregation in Federated Learning with Local Differential Privacycited by 64
- 2020Differentially Private Secure Multi-Party Computation for Federated Learning in Financial Applicationscited by 58
- 2020Free-rider Attacks on Model Aggregation in Federated Learningcited by 57
- 2020IBM Federated Learning: an Enterprise Framework White Paper V0.1cited by 57
- 2019Federated Learning Of Out-Of-Vocabulary Wordscited by 51
- 2019Free-riders in Federated Learning: Attacks and Defensescited by 49
- 2019Attack-Resistant Federated Learning with Residual-based Reweightingcited by 40
- 2021FL-WBC: Enhancing Robustness against Model Poisoning Attacks in Federated Learning from a Client Perspectivecited by 36
- 2021Source Inference Attacks in Federated Learningcited by 34
- 2022LoMar: A Local Defense Against Poisoning Attack on Federated Learningcited by 31
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2024: 6; 2025: 12; 2026: 3.
21 papers.
Sort:
By area:
- 2024Large Language Model Safety: A Holistic Surveycited by 59
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflowscited by 58
- 2024Federated Large Language Models: Current Progress and Future Directionscited by 27
- 2025Ten Challenging Problems in Federated Foundation Modelscited by 20
- 2025FedMentalCare: Towards Privacy-Preserving Fine-Tuned LLMs to Analyze Mental Health Status Using Federated Learning Frameworkcited by 8
- 2026Revisiting Backdoor Threat in Federated Instruction Tuning from a Signal Aggregation Perspectivecited by 5
- 2026Rethinking LoRA for Privacy-Preserving Federated Learning in Large Modelscited by 5
- 2024FATS: A Prompt Injection Attack Utilizing Feign Security Agents with Deceptive Few-shots Learningcited by 4
- 2025Graph Representation-based Model Poisoning on the Heterogeneous Internet of Agentscited by 3
- 2025Communication-Efficient and Personalized Federated Foundation Model Fine-Tuning via Tri-Matrix Adaptationcited by 2
- 2025Blockchain-Enabled Privacy-Preserving Second-Order Federated Edge Learning in Personalized Healthcarecited by 2
- 2024FedCAP: Robust Federated Learning via Customized Aggregation and Personalizationcited by 1
9 more
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMscited by 1
- 2025FedPoP: Federated Learning Meets Proof of Participationcited by 1
- 2026Graph Representation Learning Augmented Model Manipulation on Federated Fine-Tuning of LLMscited by 1
- 2024Aggressive or Imperceptible, or Both: Network Pruning Assisted Hybrid Byzantines in Federated Learningcited by 0
- 2025Byzantine Outside, Curious Inside: Reconstructing Data Through Malicious Updatescited by 0
- 2025Client Clustering Meets Knowledge Sharing: Enhancing Privacy and Robustness in Personalized Peer-to-Peer Learningcited by 0
- 2025On the Evolution of Federated Post-Training Large Language Models: A Model Accessibility Viewcited by 0
- 2025Bi-level Personalization for Federated Foundation Models: A Task-vector Aggregation Approachcited by 0
- 2026Graph Representation Learning Augmented Model Manipulation on Federated Fine-Tuning of LLMs8 May 2026
- 2026Rethinking LoRA for Privacy-Preserving Federated Learning in Large Models23 Feb 2026
- 2026Revisiting Backdoor Threat in Federated Instruction Tuning from a Signal Aggregation Perspective17 Feb 2026
- 2025FedPoP: Federated Learning Meets Proof of Participation11 Nov 2025
- 2025Graph Representation-based Model Poisoning on the Heterogeneous Internet of Agents10 Nov 2025
- 2025Bi-level Personalization for Federated Foundation Models: A Task-vector Aggregation Approach16 Sep 2025
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMs28 Aug 2025
- 2025On the Evolution of Federated Post-Training Large Language Models: A Model Accessibility View22 Aug 2025
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows29 Jun 2025
- 2025Client Clustering Meets Knowledge Sharing: Enhancing Privacy and Robustness in Personalized Peer-to-Peer Learning25 Jun 2025
- 2025Byzantine Outside, Curious Inside: Reconstructing Data Through Malicious Updates13 Jun 2025
- 2025Blockchain-Enabled Privacy-Preserving Second-Order Federated Edge Learning in Personalized Healthcare31 May 2025
9 more
- 2025Communication-Efficient and Personalized Federated Foundation Model Fine-Tuning via Tri-Matrix Adaptation31 Mar 2025
- 2025FedMentalCare: Towards Privacy-Preserving Fine-Tuned LLMs to Analyze Mental Health Status Using Federated Learning Framework27 Feb 2025
- 2025Ten Challenging Problems in Federated Foundation Models14 Feb 2025
- 2024Large Language Model Safety: A Holistic Survey23 Dec 2024
- 2024FedCAP: Robust Federated Learning via Customized Aggregation and Personalization16 Oct 2024
- 2024FATS: A Prompt Injection Attack Utilizing Feign Security Agents with Deceptive Few-shots Learning11 Oct 2024
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyond9 Oct 2024
- 2024Federated Large Language Models: Current Progress and Future Directions24 Sep 2024
- 2024Aggressive or Imperceptible, or Both: Network Pruning Assisted Hybrid Byzantines in Federated Learning9 Apr 2024
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflowscited by 58
- 2024FATS: A Prompt Injection Attack Utilizing Feign Security Agents with Deceptive Few-shots Learningcited by 4
- 2025Graph Representation-based Model Poisoning on the Heterogeneous Internet of Agentscited by 3
- 2025Graph Representation-based Model Poisoning on the Heterogeneous Internet of Agents10 Nov 2025
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows29 Jun 2025
- 2024FATS: A Prompt Injection Attack Utilizing Feign Security Agents with Deceptive Few-shots Learning11 Oct 2024
- 2024Federated Large Language Models: Current Progress and Future Directionscited by 27
- 2025FedMentalCare: Towards Privacy-Preserving Fine-Tuned LLMs to Analyze Mental Health Status Using Federated Learning Frameworkcited by 8
- 2025Communication-Efficient and Personalized Federated Foundation Model Fine-Tuning via Tri-Matrix Adaptationcited by 2
- 2025Blockchain-Enabled Privacy-Preserving Second-Order Federated Edge Learning in Personalized Healthcarecited by 2
- 2024FedCAP: Robust Federated Learning via Customized Aggregation and Personalizationcited by 1
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMscited by 1
- 2025FedPoP: Federated Learning Meets Proof of Participationcited by 1
- 2026Graph Representation Learning Augmented Model Manipulation on Federated Fine-Tuning of LLMscited by 1
- 2024Aggressive or Imperceptible, or Both: Network Pruning Assisted Hybrid Byzantines in Federated Learningcited by 0
- 2025Byzantine Outside, Curious Inside: Reconstructing Data Through Malicious Updatescited by 0
- 2025Client Clustering Meets Knowledge Sharing: Enhancing Privacy and Robustness in Personalized Peer-to-Peer Learningcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Graph Representation Learning Augmented Model Manipulation on Federated Fine-Tuning of LLMs8 May 2026
- 2025FedPoP: Federated Learning Meets Proof of Participation11 Nov 2025
- 2025Bi-level Personalization for Federated Foundation Models: A Task-vector Aggregation Approach16 Sep 2025
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMs28 Aug 2025
- 2025On the Evolution of Federated Post-Training Large Language Models: A Model Accessibility View22 Aug 2025
- 2025Client Clustering Meets Knowledge Sharing: Enhancing Privacy and Robustness in Personalized Peer-to-Peer Learning25 Jun 2025
- 2025Byzantine Outside, Curious Inside: Reconstructing Data Through Malicious Updates13 Jun 2025
- 2025Blockchain-Enabled Privacy-Preserving Second-Order Federated Edge Learning in Personalized Healthcare31 May 2025
- 2025Communication-Efficient and Personalized Federated Foundation Model Fine-Tuning via Tri-Matrix Adaptation31 Mar 2025
- 2025FedMentalCare: Towards Privacy-Preserving Fine-Tuned LLMs to Analyze Mental Health Status Using Federated Learning Framework27 Feb 2025
- 2024FedCAP: Robust Federated Learning via Customized Aggregation and Personalization16 Oct 2024
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyond9 Oct 2024
12 newest of 14 All 14 (JSON)