Journal of Computer Applications ›› 2025, Vol. 45 ›› Issue (8): 2399-2408.DOI: 10.11772/j.issn.1001-9081.2024081120

• National Open Distributed and Parallel Computing Conference 2024 (DPCS 2024) • Previous Articles    

Detection and defense scheme for backdoor attacks in federated learning

Jintao SU1,2, Lina GE1,2,3(), Liguang XIAO1,2, Jing ZOU1,2, Zhe WANG1,2   

  1. 1.School of Artificial Intelligence,Guangxi Minzu University,Nanning Guangxi 530006,China
    2.Key Laboratory of Network Communication Engineering,Guangxi Minzu University,Nanning Guangxi 530006,China
    3.Guangxi Key Laboratory of Hybrid Computation and IC Design Analysis (Guangxi Minzu University),Nanning Guangxi 530006,China
  • Received:2024-08-09 Revised:2024-08-21 Accepted:2024-09-02 Online:2024-09-12 Published:2025-08-10
  • Contact: Lina GE
  • About author:SU Jintao, born in 1997, M. S. candidate. His research interests include federated learning, cybersecurity.
    XIAO Liguang, born in 1997, M. S. candidate. His research interests include federated learning, cybersecurity.
    ZOU Jing, born in 1994, M. S. candidate. His research interests include machine learning, cybersecurity.
    WANG Zhe, born in 1991, Ph. D., associate professor. His research interests include machine learning, cybersecurity.
  • Supported by:
    National Natural Science Foundation of China(61862007);Guangxi Natural Science Foundation General Project(2024GXNSFAA010111)

联邦学习中针对后门攻击的检测与防御方案

苏锦涛1,2, 葛丽娜1,2,3(), 肖礼广1,2, 邹经1,2, 王哲1,2   

  1. 1.广西民族大学 人工智能学院,南宁 530006
    2.广西民族大学 网络通信工程重点实验室,南宁 530006
    3.广西混杂计算与集成电路设计分析重点实验室(广西民族大学),南宁 530006
  • 通讯作者: 葛丽娜
  • 作者简介:苏锦涛(1997—),男,广东汕尾人,硕士研究生,CCF会员,主要研究方向:联邦学习、网络安全
    肖礼广(1997—),男,江西吉安人,硕士研究生,CCF会员,主要研究方向:联邦学习、网络安全
    邹经(1994—),男,江西宜春人,硕士研究生,CCF会员,主要研究方向:机器学习、网络安全
    王哲(1991—),男,河南南阳人,副教授,博士,CCF会员,主要研究方向:机器学习、网络安全。
  • 基金资助:
    国家自然科学基金资助项目(61862007);广西自然科学基金面上项目(2024GXNSFAA010111)

Abstract:

Aiming at the commonly existing malicious backdoor attacks in Federated Learning (FL) systems, and the difficulty of achieving a balance between high accuracy of privacy protection and model training in the existing defense schemes, the backdoor attacks and their defense methods in FL were explored, a safe and efficient integrated scheme called GKFL (Generative Knowledge-based Federated Learning) was proposed to detect backdoor attacks and repair damaged models. In this scheme, there was no need to access original privacy data of the participants, detection data were generated through the central server to detect whether the aggregation model in federal learning was backdoor attacked, and knowledge distillation technology was used to repair the damaged models, thereby ensuring integrity and accuracy of the models. Experimental results on datasets MNIST and Fashion-MNIST show that the overall performance of GKFL is better than that of classic schemes such as FoolsGold, GeoMed, and RFA (Robust Aggregation Algorithm); GKFL can better protect data privacy than FoolsGold. It can be seen that GKFL scheme has the ability to detect backdoor attacks and repair the damaged models, and is better than the comparison schemes significantly in terms of model poisoning accuracy and the accuracy of model main task.

Key words: Federated Learning (FL), backdoor attack, data security, privacy protection, artificial intelligence security

摘要:

针对联邦学习(FL)系统中普遍存在的恶意后门攻击行为,以及现有防御方案难以在隐私保护与模型训练的高准确率之间取得平衡的难题,探索FL中的后门攻击及其防御方法,提出一种名为GKFL (Generative Knowledge-based Federated Learning)的安全高效集成方案用于检测后门攻击并修复受损模型。该方案无需访问参与方的原始隐私数据,通过中央服务器生成检测数据检测联邦学习中的聚合模型是否遭受后门入侵,并采用知识蒸馏技术恢复受损模型,从而确保模型的完整性和准确性。在数据集MNIST和Fashion-MNIST上的实验结果表明,GKFL的总体性能均优于经典方案FoolsGold、GeoMed和RFA (Robust Federated Aggregation);GKFL比FoolsGold更能保护数据的隐私。可见,GKFL方案拥有检测后门攻击及修复受损模型的能力,并在模型中毒准确率和模型主任务准确率上明显优于对比方案。

关键词: 联邦学习, 后门攻击, 数据安全, 隐私保护, 人工智能安全

CLC Number: