arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.05835cs.LGcs.CR
收藏

微调并不理想:利用有限干净数据缓解GNN中的后门攻击

Fine-tuning is Not Fine: Mitigating Backdoor Attacks in GNNs with Limited Clean Data

Yangzhou University(扬州大学);Zhejiang University(浙江大学);The Hong Kong Polytechnic University(香港理工大学)

Jiale Zhang, Bosen Rao, Chengcheng Zhu, Xiaobing Sun, Qingming Li, Haibo Hu, Xiapu Luo, Qingqing Ye, Shouling Ji

AI总结:

针对GNN后门防御依赖大量干净数据的问题,本文提出GRAPHNAD框架,通过图注意力迁移与中间层关系图一致性约束,在仅3%干净数据下将攻击成功率降至5%以下。

摘要:

图神经网络(GNN)通过其消息传递机制取得了显著性能。然而,近期研究强调了GNN易受后门攻击的脆弱性,这类攻击会使模型将附有触发器的图错误分类为目标类别。近期一些有前景的防御技术(如微调或蒸馏)的有效性,在很大程度上取决于是否充分掌握足够训练数据集的全面知识。实证研究表明,微调方法需要20%的干净数据集才能将攻击准确率降至25%以下,而蒸馏方法需要15%的干净数据集。然而,获得如此大量的干净数据通常并不现实。在本文中,我们提出了一个实用的后门缓解框架,记为GRAPHNAD,该框架能够捕获GNN中的高质量中间层表示,以在有限干净数据下增强蒸馏过程。为此,我们解决了以下关键问题:如何识别图中适合蒸馏的注意力表示?如何在有限数据下增强蒸馏?通过采用图注意力迁移方法,GRAPHNAD能够有效地将被植入后门模型的中间层注意力表示与教师模型的表示对齐,迫使后门神经元转化为良性神经元。此外,我们从中间层变换中提取关系图,并强制被植入后门模型的关系图与教师模型的关系图保持一致,从而在保证模型准确率的同时进一步降低后门影响。大量实验结果表明,仅使用3%的干净数据微调教师模型,GRAPHNAD即可将攻击成功率降至5%以下。

英文摘要:

Graph Neural Networks (GNNs) have achieved remarkable performance through their message-passing mechanism. However, recent studies have highlighted the vulnerability of GNNs to backdoor attacks, which can lead the model to misclassify graphs with attached triggers as the target class. The effectiveness of recent promising defense techniques, such as fine-tuning or distillation, is heavily contingent on having comprehensive knowledge of the sufficient training dataset. Empirical studies have shown that fine-tuning methods require a clean dataset of 20% to reduce attack accuracy to below 25%, while distillation methods require a clean dataset of 15%. However, obtaining such a large amount of clean data is commonly impractical. In this paper, we propose a practical backdoor mitigation framework, denoted as GRAPHNAD, which can capture high-quality intermediate-layer representations in GNNs to enhance the distillation process with limited clean data. To achieve this, we address the following key questions: How to identify the appropriate attention representations in graphs for distillation? How to enhance distillation with limited data? By adopting the graph attention transfer method, GRAPHNAD can effectively align the intermediate-layer attention representations of the backdoored model with that of the teacher model, forcing the backdoor neurons to transform into benign ones. Besides, we extract the relation maps from intermediate-layer transformation and enforce the relation maps of the backdoored model to be consistent with that of the teacher model, thereby ensuring model accuracy while further reducing the influence of backdoors. Extensive experimental results show that by fine-tuning a teacher model with only 3% of the clean data, GRAPHNAD can reduce the attack success rate to below 5%.

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

↑