FL-Defender: 针对联邦学习中的针对性攻击进行防御
FL-Defender: Combating Targeted Attacks in Federated Learning
AI总结:
FL-Defender通过分析深度学习模型最后一层梯度的特征,提出了一种有效防御联邦学习中针对性攻击的方法,降低了攻击成功率并保持模型性能。
摘要:
联邦学习(FL)使学习一个全局机器学习模型成为可能,该模型从分布在参与工人中的本地数据中学习。这使得i)能够通过学习丰富的联合训练数据来训练更准确的模型,以及ii)通过不与其他工人共享本地私人数据来提高隐私性。然而,FL的分布式性质使其容易受到针对性毒化攻击的影响,这些攻击会损害所学模型的完整性,不幸的是,这些攻击也很难检测。现有的防御这些攻击的方法受到对工人数据分布假设的限制,可能降低全局模型在主要任务上的性能,并且不适用于高维模型。在本文中,我们分析了针对FL的针对性攻击,并发现深度学习(DL)模型最后一层的神经元,与攻击相关的神经元表现出不同于无关神经元的不同行为,使得最后一层梯度成为攻击检测有价值的特点。因此,我们提出了FL-Defender作为一种对抗FL针对性攻击的方法。它包括i)通过计算工人之间的角度相似性来工程更稳健的判别特征,ii)使用PCA压缩所得的相似性向量以减少冗余信息,iii)根据其偏离压缩相似性向量的质心重新加权工人的更新。在三个具有不同DL模型大小和数据分布的数据集上的实验显示了我们方法在防御标签翻转和后门攻击方面的有效性。与几种最先进的防御方法相比,FL-Defender实现了最低的攻击成功率,保持了主要任务上全局模型的性能,并在服务器上造成了最小的计算开销。
英文摘要:
Federated learning (FL) enables learning a global machine learning model from local data distributed among a set of participating workers. This makes it possible i) to train more accurate models due to learning from rich joint training data, and ii) to improve privacy by not sharing the workers' local private data with others. However, the distributed nature of FL makes it vulnerable to targeted poisoning attacks that negatively impact the integrity of the learned model while, unfortunately, being difficult to detect. Existing defenses against those attacks are limited by assumptions on the workers' data distribution, may degrade the global model performance on the main task and/or are ill-suited to high-dimensional models. In this paper, we analyze targeted attacks against FL and find that the neurons in the last layer of a deep learning (DL) model that are related to the attacks exhibit a different behavior from the unrelated neurons, making the last-layer gradients valuable features for attack detection. Accordingly, we propose \textit{FL-Defender} as a method to combat FL targeted attacks. It consists of i) engineering more robust discriminative features by calculating the worker-wise angle similarity for the workers' last-layer gradients, ii) compressing the resulting similarity vectors using PCA to reduce redundant information, and iii) re-weighting the workers' updates based on their deviation from the centroid of the compressed similarity vectors. Experiments on three data sets with different DL model sizes and data distributions show the effectiveness of our method at defending against label-flipping and backdoor attacks. Compared to several state-of-the-art defenses, FL-Defender achieves the lowest attack success rates, maintains the performance of the global model on the main task and causes minimal computational overhead on the server.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。