NOTABLE:针对基于提示的 NLP 模型的可迁移后门攻击
NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models
AI总结:
本文提出可迁移后门攻击方法 NOTABLE,通过自适应 verbalizer 将触发器绑定到锚点并注入预训练语言模型编码器,使其独立于下游任务和提示策略,在多个 NLP 任务上攻击成功率超过 90%。
摘要:
基于提示的学习容易受到后门攻击。现有的针对基于提示模型的后门攻击考虑将后门注入整个嵌入层或词嵌入向量。此类攻击容易受到下游任务重训练和不同提示策略的影响,从而限制了后门攻击的可迁移性。在这项工作中,我们提出了针对基于提示模型的可迁移后门攻击,称为 NOTABLE,它独立于下游任务和提示策略。具体而言,NOTABLE 通过利用自适应 verbalizer 将触发器绑定到特定词(即锚点),将后门注入预训练语言模型(PLMs)的编码器中。它通过将带有触发器的输入粘贴到模型中,以到达对手期望的锚点来激活后门,从而实现独立于下游任务和提示策略。我们在六个 NLP 任务、三个流行模型和三种提示策略上进行了实验。实证结果表明,NOTABLE 实现了优越的攻击性能(即在所有数据集上攻击成功率超过 90%),并且优于两个最先进的基线。对三种防御措施的评估显示了 NOTABLE 的鲁棒性。我们的代码可以在 https://github.com/RU-System-Software-and-Security/Notable 找到。
英文摘要:
Prompt-based learning is vulnerable to backdoor attacks. Existing backdoor attacks against prompt-based models consider injecting backdoors into the entire embedding layers or word embedding vectors. Such attacks can be easily affected by retraining on downstream tasks and with different prompting strategies, limiting the transferability of backdoor attacks. In this work, we propose transferable backdoor attacks against prompt-based models, called NOTABLE, which is independent of downstream tasks and prompting strategies. Specifically, NOTABLE injects backdoors into the encoders of PLMs by utilizing an adaptive verbalizer to bind triggers to specific words (i.e., anchors). It activates the backdoor by pasting input with triggers to reach adversary-desired anchors, achieving independence from downstream tasks and prompting strategies. We conduct experiments on six NLP tasks, three popular models, and three prompting strategies. Empirical results show that NOTABLE achieves superior attack performance (i.e., attack success rate over 90% on all the datasets), and outperforms two state-of-the-art baselines. Evaluations on three defenses show the robustness of NOTABLE. Our code can be found at https://github.com/RU-System-Software-and-Security/Notable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。