FedMLSecurity: A Benchmark for Attacks and Defenses in Federated Learning and Federated LLMs

Shanshan Han,Baturalp Buyukates, Zijian Hu, Han Jin,Weizhao Jin,Lichao Sun,Xiaoyang Wang, Wenxuan Wu,Chulin Xie, Yuhang Yao,Kai Zhang,Qifan Zhang, Yuhui Zhang, Carlee Joe-Wong,Salman Avestimehr,Chaoyang He

CoRR(2023)

引用 0|浏览72
暂无评分
摘要
This paper introduces FedSecurity, an end-to-end benchmark designed to simulate adversarial attacks and corresponding defense mechanisms in Federated Learning (FL). FedSecurity comprises two pivotal components: FedAttacker, which facilitates the simulation of a variety of attacks during FL training, and FedDefender, which implements defensive mechanisms to counteract these attacks. As an open-source library, FedSecurity enhances its usability compared to from-scratch implementations that focus on specific attack/defense scenarios based on 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 variability in 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 provided APIs. We further demonstrate FedSecurity's utility and adaptability through federated training of Large Language Models (LLMs), showcasing its potential to impact a wide range of complex applications.
更多
查看译文
关键词
federated
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要