打开密码锁:通过单词替换的可学习文本后门攻击
Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution
摘要:
最近的研究表明,神经自然语言处理(NLP)模型容易受到后门攻击。注入后门后,模型在良性示例上正常运行,但当后门被激活时,会产生攻击者指定的预测,对现实世界的应用程序构成严重的安全威胁。由于现有的文本后门攻击很少关注后门的不可见性,因此它们很容易被检测和阻止。在这项工作中,我们提出了无形的后门,激活了一个可学习的组合词替换。我们发现,NLP模型可以被注入后门,导致接近100%的攻击成功率,而对现有的防御策略甚至人类检查都是高度不可见的。这些结果对自然语言处理模型的安全性提出了严重的警告,需要进一步的研究来解决。本文的所有数据和代码都发布在https://github.com/thunlp/BkdAtk-LWS上。
英文摘要:
Recent studies show that neural natural language processing (NLP) models are vulnerable to backdoor attacks. Injected with backdoors, models perform normally on benign examples but produce attacker-specified predictions when the backdoor is activated, presenting serious security threats to real-world applications. Since existing textual backdoor attacks pay little attention to the invisibility of backdoors, they can be easily detected and blocked. In this work, we present invisible backdoors that are activated by a learnable combination of word substitution. We show that NLP models can be injected with backdoors that lead to a nearly 100% attack success rate, whereas being highly invisible to existing defense strategies and even human inspections. The results raise a serious alarm to the security of NLP models, which requires further research to be resolved. All the data and code of this paper are released at https://github.com/thunlp/BkdAtk-LWS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。