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

联邦图学习上的分布式后门攻击与可验证防御

Distributed Backdoor Attacks on Federated Graph Learning and Certified Defenses

Yuxin Yang, Qiang Li, Jinyuan Jia, Yuan Hong, Binghui Wang

AI总结:

本文针对联邦图学习缺乏后门攻防研究的问题,提出了基于自适应子图触发器的隐蔽后门攻击,并设计了基于子图划分与多数投票集成的可验证防御,实验证明攻击成功率高且防御可完全缓解该攻击。

摘要:

联邦图学习(FedGL)是一种新兴的联邦学习(FL)框架,它将联邦学习扩展到从多源数据中学习图数据。针对非图数据的联邦学习已被证明易受后门攻击,这类攻击会向训练数据中注入共享的后门触发器,使得训练出的带后门的联邦学习模型能够按照攻击者的意愿,预测包含该触发器的测试数据。然而,联邦图学习抵御后门攻击的相关研究仍十分匮乏,目前也不存在有效的防御方法。\n在本文中,我们旨在解决这一重大缺陷。首先,我们提出了一种针对联邦图学习的有效、隐蔽且持久的后门攻击。我们的攻击使用子图作为触发器,并设计了一个自适应触发器生成器,能够为每个图推导有效的触发器位置和形状。我们的攻击表明,经验性防御难以检测或移除我们生成的触发器。为了缓解该攻击,我们进一步为任意带后门的联邦图学习模型开发了一种可验证防御,可抵御任意位置、任意形状的触发器。我们的防御包括将测试图精心划分为多个子图,并在这些子图上设计基于多数投票的集成分类器。随后我们基于该集成分类器推导了确定性可验证鲁棒性,并证明了其紧致性。我们在六个图数据集上广泛评估了我们的攻击与防御方法。攻击结果显示,我们的攻击在几乎所有数据集上都能获得超过90%的后门准确率。防御结果表明,在某些情况下,针对大小为20的任意触发器,干净测试图的可验证准确率可接近无攻击时的正常准确率,而在其他情况下存在中等差距。此外,对于由我们的攻击生成的带后门测试图,其可验证后门准确率始终为0,这意味着我们的防御能够完全缓解该攻击。源代码可在以下网址获取:https://github.com/Yuxin104/Opt-GDBA。

英文摘要:

Federated graph learning (FedGL) is an emerging federated learning (FL) framework that extends FL to learn graph data from diverse sources. FL for non-graph data has shown to be vulnerable to backdoor attacks, which inject a shared backdoor trigger into the training data such that the trained backdoored FL model can predict the testing data containing the trigger as the attacker desires. However, FedGL against backdoor attacks is largely unexplored, and no effective defense exists. In this paper, we aim to address such significant deficiency. First, we propose an effective, stealthy, and persistent backdoor attack on FedGL. Our attack uses a subgraph as the trigger and designs an adaptive trigger generator that can derive the effective trigger location and shape for each graph. Our attack shows that empirical defenses are hard to detect/remove our generated triggers. To mitigate it, we further develop a certified defense for any backdoored FedGL model against the trigger with any shape at any location. Our defense involves carefully dividing a testing graph into multiple subgraphs and designing a majority vote-based ensemble classifier on these subgraphs. We then derive the deterministic certified robustness based on the ensemble classifier and prove its tightness. We extensively evaluate our attack and defense on six graph datasets. Our attack results show our attack can obtain > 90% backdoor accuracy in almost all datasets. Our defense results show, in certain cases, the certified accuracy for clean testing graphs against an arbitrary trigger with size 20 can be close to the normal accuracy under no attack, while there is a moderate gap in other cases. Moreover, the certified backdoor accuracy is always 0 for backdoored testing graphs generated by our attack, implying our defense can fully mitigate the attack. Source code is available at: https://github.com/Yuxin104/Opt-GDBA.

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

↑