Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (7): 2196-2207.DOI: 10.11772/j.issn.1001-9081.2025070875

• Cyber security • Previous Articles    

Active defense framework against Byzantine attacks in federated learning

Zhiqiang REN1,2,3, Xuebin CHEN1,2,3(), Changsheng QU1,2,3   

  1. 1.College of Science,North China University of Science and Technology,Tangshan Hebei 063210,China
    2.Hebei Provincial Key Laboratory of Data Science and Application (North China University of Science and Technology),Tangshan Hebei 063010,China
    3.Tangshan Data Science Laboratory (North China University of Science and Technology),Tangshan Hebei 063210,China
  • Received:2025-08-04 Revised:2025-09-11 Accepted:2025-09-11 Online:2025-11-05 Published:2026-07-10
  • Contact: Xuebin CHEN
  • About author:REN Zhiqiang, born in 2000, M. S. candidate. His research interests include data security, privacy protection.
    QU Changsheng, born in 2000, M. S. candidate. His research interests include data security, privacy protection.
  • Supported by:
    National Natural Science Foundation of China(U20A20179)

面向联邦学习中拜占庭攻击的主动防御框架

任志强1,2,3, 陈学斌1,2,3(), 屈昌盛1,2,3   

  1. 1.华北理工大学理学院,河北 唐山 063210
    2.河北省数据科学与应用重点实验室(华北理工大学),河北 唐山 063010
    3.唐山市数据科学重点实验室(华北理工大学),河北 唐山 063210
  • 通讯作者: 陈学斌
  • 作者简介:任志强(2000—),男,四川广元人,硕士研究生,CCF会员,主要研究方向:数据安全、隐私保护
    屈昌盛(2000—),男,山东济南人,硕士研究生,CCF会员,主要研究方向:数据安全、隐私保护。
  • 基金资助:
    国家自然科学基金资助项目(U20A20179)

Abstract:

Federated Learning (FL), an emerging distributed machine learning method, enables multiple participants to train models collaboratively while protecting data privacy. However, the existing studies have shown that FL systems face the threat of Byzantine attacks, which may lead to significant degradation of model performance or hinder model convergence. Aiming at Byzantine attacks, an active defense framework for detecting malicious updates and weakening the impact of malicious updates was proposed. The framework consists of two core modules: malicious update detection module and malicious update weakening module. The malicious update detection module identifies malicious updates by constructing a malicious sample library and combining a scoring mechanism and a clustering algorithm; while the malicious update weakening module reduces the negative impact of malicious updates on the global model effectively by distributing a specific “test model” to clients, and adjusting aggregation weights according to model updates from clients using the scoring and weight allocation mechanisms. Experimental results show that the proposed framework has the accuracy of malicious update detection close to 100% for some attack types, while ensures that aggregation weights of benign updates account for more than 90% through malicious update weakening in most attack scenarios.

Key words: Federated Learning (FL), Byzantine attack, active defense framework, anomaly detection, scoring mechanism, weight allocation mechanism

摘要:

联邦学习作为一种新兴的分布式机器学习方法,能够在保护数据隐私的前提下,使多个参与方协同训练模型。然而,现有的研究表明,联邦学习系统容易受到拜占庭攻击,此类攻击可能导致模型性能显著下降或阻碍模型收敛。针对此类攻击,提出一种主动防御框架,以检测恶意更新并减轻恶意更新的影响。该框架包括恶意更新检测与恶意更新削弱2个核心模块。其中,恶意更新检测模块主要通过构建恶意样本库,结合评分机制与聚类算法识别恶意更新;而恶意更新削弱模块则通过向客户端分发特定的“测试模型”,根据客户端响应的模型更新,利用评分及权重分配机制调整聚合权重,从而有效降低恶意更新对全局模型的负面影响。实验结果表明,针对部分攻击类型,本文框架的恶意更新检测准确率接近100%,且通过恶意更新削弱在大部分攻击场景下均保证良性更新的聚合权重占比超过90%。

关键词: 联邦学习, 拜占庭攻击, 主动防御框架, 异常检测, 评分机制, 权重分配机制

CLC Number: