信息网络安全 ›› 2026, Vol. 26 ›› Issue (10): 1595-1615.doi: 10.3969/j.issn.1671-1122.2026.10.007

• 学术研究 • 上一篇    下一篇

分层联邦学习的隐私保护和防御投毒方法

刘沅鑫, 梁义怀(), 周正春   

  1. 西南交通大学信息科学与技术学院, 成都 611756
  • 收稿日期:2026-02-04 出版日期:2026-10-10 发布日期:2026-11-06
  • 通讯作者: 梁义怀 E-mail:liangyh@swjtu.edu.cn
  • 作者简介:刘沅鑫(2000—),男,重庆,博士研究生,主要研究方向为隐私计算、联邦学习|梁义怀(1993—),男,广东,讲师,博士,主要研究方向为数据安全、隐私保护|周正春(1978—),男,江西,教授,博士,主要研究方向为序列编码
  • 基金资助:
    四川省青年科技基金(2025ZNSFSC1475)

Privacy-preserving and anti-poisoning method for hierarchical federated learning

Liu Yuanxin, Liang Yihuai(), Zhou Zhengchun   

  1. School of Information Science and Technology, Southwest Jiaotong University, Chengdu 611756, China
  • Received:2026-02-04 Online:2026-10-10 Published:2026-11-06
  • Contact: Liang Yihuai E-mail:liangyh@swjtu.edu.cn

摘要:

联邦学习(FL)作为一种隐私保护的分布式机器学习范式,已被广泛应用到多个领域。然而,随着用户设备增加,以往的单服务器架构带来服务器通信开销过大的问题,虽然多边缘服务器架构减缓了单点负载压力,但服务器覆盖区域有限,无法满足大规模FL对数据多样性和模型泛化能力的需求。近年来,分层联邦学习(HFL)架构通过在不同区域引入边缘服务器进行中间聚合,云服务器完成全局聚合的方式,有效降低了云服务器的负载,更适合多区域的大规模FL训练。尽管如此,HFL仍面临隐私泄露以及投毒攻击的挑战,且在非独立同分布(non-IID)数据场景下,该问题尤为突出。此外,HFL中间层的边缘服务器不可靠问题也时常被忽视,容易引发合谋和宕机风险,进而威胁隐私安全并影响模型训练。针对这些问题,文章基于HFL架构提出一种安全可靠的聚合方案。首先,通过Shamir秘密共享和掩码机制增强了HFL在训练阶段的隐私保护,也显著提升了系统对边缘服务器合谋和宕机的容忍能力。其次,文章集成高斯混合模型聚类以及缩放点积注意力机制,设计了隐私保护下的防御投毒协议。理论分析证明,该方法在隐私保护以及防范边缘服务器合谋和宕机方面具有良好的可靠性。实验结果表明,该方法在多种数据集以及non-IID场景下能有效抵御投毒攻击,模型准确率较现有方法提升了5%~20%。

关键词: 分层联邦学习, 隐私保护, 防御投毒, 合谋攻击, 宕机风险

Abstract:

Federated learning (FL) as a privacy-preserving distributed machine learning paradigm has been widely applied across various fields. However, traditional single-server architectures face issues of excessive server communication overhead as user devices increase. Although multi-edge-server architectures alleviate the single-point load pressure, their limited coverage cannot meet the demands of large-scale FL for data diversity and model generalization capability. In recent years, the hierarchical federated learning (HFL) architecture has been introduced, which incorporates edge servers in different regions to perform intermediate aggregation while a cloud server handles global aggregation. This approach effectively reduces the cloud server’s load and is better suited for large-scale FL training across multiple regions. Nevertheless, HFL still faces challenges such as privacy leakage and poisoning attacks, especially in non-independent and identically distributed (non-IID) data scenarios. Moreover, the unreliability of edge servers in the intermediate layer is often overlooked, which can easily lead to collusion and crash risks, thereby threatening privacy security and affecting model training. To address these issues, this paper proposed a secure and reliable aggregation scheme based on the HFL architecture. Firstly, by using Shamir’s secret sharing and a masking mechanism, the scheme not only enhanced privacy protection during the training phase but also significantly improves the system’s tolerance to collusion and crash at edge servers. Secondly, the paper integrated Gaussian mixture model clustering and a scaled dot-product attention mechanism to design an anti-poisoning protocol under privacy protection. Theoretical analysis proves that the proposed scheme offers strong reliability in terms of privacy protection and resilience against edge server collusion and crash risks. Extensive experiments show that the scheme effectively resists poisoning attacks on various datasets and under non-IID settings, improving model accuracy by 5% to 20% compared to state-of-the-art methods.

Key words: hierarchical federated learning, privacy-preserving, anti-poisoning, collusion attack, crash risk

中图分类号: