arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08247cs.CRcs.AIcs.CL
收藏

通过两个简单的技巧,文本后门攻击可能更有害

Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks

Tsinghua University(清华大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Jiangsu Normal University(江苏师范大学);Chongqing University(重庆大学)

Yangyi Chen, Fanchao Qi, Hongcheng Gao, Zhiyuan Liu, Maosong Sun

摘要:

后门攻击是深度学习中一种突发的安全威胁。在注入后门后,深度神经模型将在标准输入上正常运行,但一旦输入包含特定的后门触发器,则会给出对手指定的预测。在本文中,我们发现两个简单的技巧,可以使现有的文本后门攻击更有害。第一个技巧是在受害者模型的训练过程中增加一个额外的训练任务来区分中毒数据和干净数据,第二个技巧是使用所有干净的训练数据,而不是删除与中毒数据对应的原始干净数据。这两个技巧普遍适用于不同的攻击模型。我们在三种困难的情况下进行实验,包括干净的数据微调,低中毒率,标签一致性攻击。实验结果表明,这两种技巧可以显著提高攻击性能。本文展示了后门攻击的巨大潜在危害性。所有的代码和数据都可以在\url{https://github.com/thunlp/StyleAttack}上获得。

英文摘要:

Backdoor attacks are a kind of emergent security threat in deep learning. After being injected with a backdoor, a deep neural model will behave normally on standard inputs but give adversary-specified predictions once the input contains specific backdoor triggers. In this paper, we find two simple tricks that can make existing textual backdoor attacks much more harmful. The first trick is to add an extra training task to distinguish poisoned and clean data during the training of the victim model, and the second one is to use all the clean training data rather than remove the original clean data corresponding to the poisoned data. These two tricks are universally applicable to different attack models. We conduct experiments in three tough situations including clean data fine-tuning, low-poisoning-rate, and label-consistent attacks. Experimental results show that the two tricks can significantly improve attack performance. This paper exhibits the great potential harmfulness of backdoor attacks. All the code and data can be obtained at \url{https://github.com/thunlp/StyleAttack}.

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

↑