arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.01982cs.CRcs.LG
收藏

联邦学习中标签翻转攻击的防御

Defending against the Label-flipping Attack in Federated Learning

Universitat Rovira i Virgili(罗维拉-威尔吉利大学)

Najeeb Moharram Jebreel, Josep Domingo-Ferrer, David Sánchez, Alberto Blanco-Justicia

摘要:

联邦学习(FL)通过设计为参与的对等体提供自主性和隐私性,这些对等体合作构建机器学习(ML)模型,同时将其私有数据保存在其设备中。然而,同样的自治为恶意对等点打开了大门,通过进行无目标或有目标的中毒攻击来毒害模型。标签翻转(LF)攻击是一种有针对性的中毒攻击,其中攻击者通过翻转来自一个类的一些示例的标签(即,源类)到另一个(即,目标类)。不幸的是,这种攻击很容易执行,很难检测到,它对全局模型的性能产生了负面影响。针对LF的现有防御受到对对等体数据分布的假设的限制,并且/或者在高维模型中表现不佳。在本文中,我们深入研究了LF攻击行为,发现攻击者和诚实的对等体对源类示例的矛盾目标反映在输出层中源类和目标类神经元对应的参数梯度中,使这些梯度成为攻击检测的良好区分特征。因此,我们提出了一种新的防御,首先动态地提取这些梯度从同行的本地更新,然后聚类提取的梯度,分析产生的集群和过滤掉潜在的坏更新模型聚合之前。在三个数据集上的大量实证分析表明,无论数据分布或模型维数如何,所提出的防御方法都能有效地抵御LF攻击。此外,所提出的防御优于几个国家的最先进的防御,提供更低的测试误差,更高的整体准确性,更高的源类准确性,更低的攻击成功率,和更高的稳定性的源类准确性。

英文摘要:

Federated learning (FL) provides autonomy and privacy by design to participating peers, who cooperatively build a machine learning (ML) model while keeping their private data in their devices. However, that same autonomy opens the door for malicious peers to poison the model by conducting either untargeted or targeted poisoning attacks. The label-flipping (LF) attack is a targeted poisoning attack where the attackers poison their training data by flipping the labels of some examples from one class (i.e., the source class) to another (i.e., the target class). Unfortunately, this attack is easy to perform and hard to detect and it negatively impacts on the performance of the global model. Existing defenses against LF are limited by assumptions on the distribution of the peers' data and/or do not perform well with high-dimensional models. In this paper, we deeply investigate the LF attack behavior and find that the contradicting objectives of attackers and honest peers on the source class examples are reflected in the parameter gradients corresponding to the neurons of the source and target classes in the output layer, making those gradients good discriminative features for the attack detection. Accordingly, we propose a novel defense that first dynamically extracts those gradients from the peers' local updates, and then clusters the extracted gradients, analyzes the resulting clusters and filters out potential bad updates before model aggregation. Extensive empirical analysis on three data sets shows the proposed defense's effectiveness against the LF attack regardless of the data distribution or model dimensionality. Also, the proposed defense outperforms several state-of-the-art defenses by offering lower test error, higher overall accuracy, higher source class accuracy, lower attack success rate, and higher stability of the source class accuracy.

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

↑