《计算机应用》唯一官方网站

• •    下一篇

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

任志强,陈学斌,屈昌盛   

  1. 华北理工大学
  • 收稿日期:2025-08-04 修回日期:2025-09-11 发布日期:2025-11-05 出版日期:2025-11-05
  • 通讯作者: 任志强

Active defense framework against Byzantine attacks in federated learning

  • Received:2025-08-04 Revised:2025-09-11 Online:2025-11-05 Published:2025-11-05

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

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

中图分类号: