arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04453cs.LG
收藏

梯度净化:去中心化联邦学习中的投毒攻击防御

Gradient Purification: Defense Against Poisoning Attack in Decentralized Federated Learning

Center for Data Science, Zhejiang University, Hangzhou 310000, China(数据科学中心,浙江大学,杭州);College of Computer Science, Zhejiang University, Hangzhou 310000, China(计算机科学学院,浙江大学,杭州)

Bin Li, Xiaoye Miao, Yan Zhang, Jianwei Yin

AI总结:

本文提出梯度净化防御方法GPD,通过记录历史聚合梯度精确检测并一次性减轻恶意邻居的梯度危害,同时保留模型权重中的有益成分,在去中心化联邦学习中显著提升抗投毒攻击能力和模型准确率。

摘要:

去中心化联邦学习(DFL)天然容易受到数据投毒攻击,因为恶意客户端可以向邻近客户端传输被操纵的梯度。现有的防御方法要么在每次迭代中拒绝可疑梯度,要么在排除所有恶意客户端后重启DFL聚合。它们都忽视了恶意客户端的贡献中可能存在的潜在益处。在本文中,我们提出了一种新颖的梯度净化防御方法,称为GPD,用于防御DFL中的数据投毒攻击。该方法旨在分别减轻梯度中的危害并保留模型权重中蕴含的益处,从而提高整体模型准确率。对于GPD中的每个良性客户端,设计了一个记录变量来跟踪来自其邻居之一的历史聚合梯度。它使良性客户端能够精确检测恶意邻居,并一次性减轻所有聚合的恶意梯度。在减轻之后,良性客户端使用净化后的梯度优化模型权重。这种优化不仅保留了来自恶意客户端的先前有益成分,还利用了来自良性客户端的规范贡献。我们分析了GPD的收敛性,以及其获得高准确率的能力。大量实验表明,GPD能够在独立同分布(iid)和非独立同分布(non-iid)数据分布下减轻数据投毒攻击。在模型准确率方面,它也显著优于最先进的防御方法。

英文摘要:

Decentralized federated learning (DFL) is inherently vulnerable to data poisoning attacks, as malicious clients can transmit manipulated gradients to neighboring clients. Existing defense methods either reject suspicious gradients per iteration or restart DFL aggregation after excluding all malicious clients. They all neglect the potential benefits that may exist within contributions from malicious clients. In this paper, we propose a novel gradient purification defense, termed GPD, to defend against data poisoning attacks in DFL. It aims to separately mitigate the harm in gradients and retain benefits embedded in model weights, thereby enhancing overall model accuracy. For each benign client in GPD, a recording variable is designed to track historically aggregated gradients from one of its neighbors. It allows benign clients to precisely detect malicious neighbors and mitigate all aggregated malicious gradients at once. Upon mitigation, benign clients optimize model weights using purified gradients. This optimization not only retains previously beneficial components from malicious clients but also exploits canonical contributions from benign clients. We analyze the convergence of GPD, as well as its ability to harvest high accuracy. Extensive experiments demonstrate that, GPD is capable of mitigating data poisoning attacks under both iid and non-iid data distributions. It also significantly outperforms state-of-the-art defense methods in terms of model accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑