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

Krait:针对图提示微调的后门攻击

Krait: A Backdoor Attack Against Graph Prompt Tuning

University of Pittsburgh(匹兹堡大学);Carnegie Mellon University(卡内基梅隆大学)

Ying Song, Rita Singh, Balaji Palanisamy

AI总结:

Krait提出首个针对图提示微调的后门攻击方法,利用标签非均匀性同质性选择中毒节点,通过三种触发器生成和质心相似度损失,仅毒化少量节点即可实现高攻击成功率并规避防御。

摘要:

图提示微调已成为一种有前景的范式,可有效将预训练模型的通用图知识迁移到各种下游任务,尤其在少样本场景中。然而,其对后门攻击的敏感性(攻击者插入触发器以操纵结果)引发了关键担忧。我们开展了首次研究来调查此类漏洞,揭示后门可以伪装良性图提示,从而规避检测。我们提出了Krait,一种新颖的图提示后门。具体而言,我们提出一种简单而有效的模型无关度量,称为标签非均匀性同质性,用于选择中毒候选节点,显著降低计算复杂度。为适应多样化的攻击场景和高级攻击类型,我们设计了三种可定制的触发器生成方法,以将提示制作成触发器。我们提出一种新颖的基于质心相似度的损失函数,以优化提示微调,实现攻击有效性和隐蔽性。在四个真实世界图上的实验表明,Krait能高效地将触发器嵌入仅0.15%至2%的训练节点,在不牺牲干净准确率的情况下实现高攻击成功率。值得注意的是,在一对一和全对一攻击中,Krait通过分别仅毒化2个和22个节点即可实现100%的攻击成功率。我们的实验进一步表明,Krait在不同迁移案例、攻击类型和图神经网络骨干中依然有效。此外,Krait可成功扩展到黑盒设置,构成更严重的威胁。最后,我们分析了Krait为何能规避经典和最先进的防御,并为检测和缓解此类攻击提供了实用见解。

英文摘要:

Graph prompt tuning has emerged as a promising paradigm to effectively transfer general graph knowledge from pre-trained models to various downstream tasks, particularly in few-shot contexts. However, its susceptibility to backdoor attacks, where adversaries insert triggers to manipulate outcomes, raises a critical concern. We conduct the first study to investigate such vulnerability, revealing that backdoors can disguise benign graph prompts, thus evading detection. We introduce Krait, a novel graph prompt backdoor. Specifically, we propose a simple yet effective model-agnostic metric called label non-uniformity homophily to select poisoned candidates, significantly reducing computational complexity. To accommodate diverse attack scenarios and advanced attack types, we design three customizable trigger generation methods to craft prompts as triggers. We propose a novel centroid similarity-based loss function to optimize prompt tuning for attack effectiveness and stealthiness. Experiments on four real-world graphs demonstrate that Krait can efficiently embed triggers to merely 0.15% to 2% of training nodes, achieving high attack success rates without sacrificing clean accuracy. Notably, in one-to-one and all-to-one attacks, Krait can achieve 100% attack success rates by poisoning as few as 2 and 22 nodes, respectively. Our experiments further show that Krait remains potent across different transfer cases, attack types, and graph neural network backbones. Additionally, Krait can be successfully extended to the black-box setting, posing more severe threats. Finally, we analyze why Krait can evade both classical and state-of-the-art defenses, and provide practical insights for detecting and mitigating this class of attacks.

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

↑