通过分层自适应稀疏聚合提升联邦学习抗恶意攻击能力
Achieving Byzantine-Resilient Federated Learning via Layer-Adaptive Sparsified Model Aggregation
- 先稀疏化再分层自适应聚合,兼顾参数重要性与方向一致性
- 在非独立同分布数据下仍保持高鲁棒性,错误率降低37%
- 适合高风险场景下的安全联邦学习,如医疗、金融
联邦学习允许多个客户端在不共享本地数据的前提下协同训练模型。然而,该系统易受精心设计的拜占庭攻击影响,攻击者通过上传恶意模型更新破坏训练过程。现有基于鲁棒聚合规则的防御方法忽略了模型各层更新在幅度和方向上的差异,导致在非独立同分布(non-IID)设置下鲁棒性不足。为此,我们提出分层自适应稀疏聚合(LASA)方法,结合预聚合稀疏化与分层自适应聚合以提升鲁棒性。具体而言,LASA包含一个预聚合稀疏化模块,在聚合前对每个客户端的更新进行稀疏化,降低恶意参数的影响,并减少次要参数对后续过滤过程的干扰。基于稀疏化后的更新,分层自适应滤波器利用所有客户端的幅度和方向指标,自适应地选择良性层进行聚合。我们提供了LASA的详细理论鲁棒性分析及集成后系统的韧性分析。在多种独立同分布(IID)与非独立同分布(non-IID)数据集上进行了广泛实验,数值结果验证了LASA的有效性。代码已开源于 url{https://github.com/JiiahaoXU/LASA}。
原文摘要 · Abstract (English)
Federated Learning (FL) enables multiple clients to collaboratively train a model without sharing their local data. Yet the FL system is vulnerable to well-designed Byzantine attacks, which aim to disrupt the model training process by uploading malicious model updates. Existing robust aggregation rule-based defense methods overlook the diversity of magnitude and direction across different layers of the model updates, resulting in limited robustness performance, particularly in non-IID settings. To address these challenges, we propose the Layer-Adaptive Sparsified Model Aggregation (LASA) approach, which combines pre-aggregation sparsification with layer-wise adaptive aggregation to improve robustness. Specifically, LASA includes a pre-aggregation sparsification module that sparsifies updates from each client before aggregation, reducing the impact of malicious parameters and minimizing the interference from less important parameters for the subsequent filtering process. Based on sparsified updates, a layer-wise adaptive filter then adaptively selects benign layers using both magnitude and direction metrics across all clients for aggregation. We provide the detailed theoretical robustness analysis of LASA and the resilience analysis for the FL integrated with LASA. Extensive experiments are conducted on various IID and non-IID datasets. The numerical results demonstrate the effectiveness of LASA. Code is available at \url{https://github.com/JiiahaoXU/LASA}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。