信息网络安全 ›› 2026, Vol. 26 ›› Issue (9): 1391-1407.doi: 10.3969/j.issn.1671-1122.2026.09.006

• 入选论文 • 上一篇    下一篇

基于多维特征与动态防御的区块链联邦学习鲁棒聚合方法

朱晓强1(), 林彦孜2, 张皓文2, 姚英英1   

  1. 1 北京交通大学网络空间安全学院, 北京 100044
    2 北京交通大学软件学院, 北京 100044
  • 收稿日期:2026-06-15 出版日期:2026-09-10 发布日期:2026-09-30
  • 通讯作者: 朱晓强 E-mail:xqzhu@bjtu.edu.cn
  • 作者简介:朱晓强(1992—),男,黑龙江,助理教授,博士,主要研究方向为物联网、机器学习、隐私保护|林彦孜(2005—),女,广西,本科,主要研究方向为区块链|张皓文(1998—),男,山西,硕士研究生,主要研究方向为区块链及安全技术|姚英英(1994—),女,山东,副教授,博士,主要研究方向为密码学及应用、数据安全与隐私保护
  • 基金资助:
    国家自然科学基金(62401037);中国博士后科学基金(GZC20230224);中国博士后科学基金(2024M750166)

A robust aggregation method for blockchain federated learning based on multi-dimensional features and dynamic defense

Zhu Xiaoqiang1(), Lin Yanzi2, Zhang Haowen2, Yao Yingying1   

  1. 1 School of Cyberspace Science and Technology, Beijing Jiaotong University, Beijing 100044, China
    2 School of Software, Beijing Jiaotong University, Beijing 100044, China
  • Received:2026-06-15 Online:2026-09-10 Published:2026-09-30
  • Contact: Zhu Xiaoqiang E-mail:xqzhu@bjtu.edu.cn

摘要:

近年来,区块链联邦学习中的鲁棒聚合安全问题成为研究热点。现有方法多依赖单一参数空间检测、可信数据先验或固定筛选策略,在面对协同投毒、后门注入等隐蔽攻击时,检测维度与适应性仍有限。为此,文章提出一种基于多维特征与动态防御(MFDD)的区块链联邦学习鲁棒聚合方法。该方法结合客户端更新相似性和探测数据集,从预测偏差、任务损失、参数偏移及方向一致性4个方面评估客户端异常程度,以识别协同攻击。针对协同反向更新中的方向异常,构建基于鲁棒中心的方向风险条件信任机制,利用坐标中位数形成鲁棒参考中心,并结合中位数绝对偏差(MAD)进行无监督判别,在形成有效方向风险证据时排除异常客户端、重新归一化其余客户端聚合权重。然后,通过自适应融合与动态防御完成客户端筛选与加权聚合,将核心检测与聚合信息记录于区块链账本,实现可信存证与可追溯审计。实验结果表明,在MNIST独立同分布、35%协同反向更新场景下,MFDD准确率达到0.9704±0.0025,显著高于移除方向风险条件机制的消融方法0.1763。基于Hyperledger Fabric 2.5.14的链上审计实验实现318项链上链下一致性匹配,并通过重复提交、覆盖及核心字段篡改验证,证实了该方法的鲁棒聚合与可信审计能力。

关键词: 联邦学习, 区块链, 鲁棒聚合, 多维特征检测, 动态防御

Abstract:

In recent years, the security of robust aggregation in blockchain-based federated learning become an important research topic. Existing defense methods mainly rely on detection in a single parameter space, prior trusted data, or fixed filtering strategies, and still suffer from limited detection dimensions and insufficient adaptability when facing stealthy attacks such as collusive poisoning and backdoor injection. To address these issues, this paper proposed MFDD, a robust aggregation method for blockchain-based federated learning based on multi-dimensional features and dynamic defense. MFDD identified potential collusive attacks through similarities among client updates and evaluated client anomalies using a probe dataset in terms of prediction deviation, task loss, parameter deviation, and directional consistency. To address directional anomalies in collusive reverse updates, a directional-risk conditional trust mechanism based on a robust center was further constructed. A coordinate-wise median was used to form a robust reference center, and an unsupervised median absolute deviation (MAD) criterion was employed to identify significant reverse updates. When valid directional-risk evidence was formed, anomalous clients were excluded and the weights of the remaining clients were renormalized. On this basis, client filtering and weighted aggregation were performed through adaptive fusion and dynamic defense, while key detection and aggregation information was recorded on the blockchain ledger to enable trusted recording and traceable auditing. Experimental results show that under the MNIST IID setting with 35% collusive reverse updates, MFDD achieves an accuracy of 0.9704± 0.0025, whereas the ablated variant without the directional-risk conditional trust mechanism achieves an accuracy of only 0.1763. On-chain auditing experiments based on Hyperledger Fabric 2.5.14 achieve 318 matches between on-chain and off-chain records and validated the auditing mechanism through duplicate submissions, overwrite attempts, and tampering with core audit fields. The results demonstrated that MFDD can improve robust aggregation under complex attack scenarios while providing a trusted and auditable recording mechanism for key detection and aggregation information.

Key words: Federated learning, blockchain, robust aggregation, multi-dimensional feature detection, dynamic defense

中图分类号: