arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.01810cs.CL
收藏

防御自然语言生成中的后门攻击

Defending Against Backdoor Attacks in Natural Language Generation

Zhejiang University(浙江大学);Chinese Academy of Sciences(中国科学院);Sony AI(索尼人工智能);Nanyang Technological University(南洋理工大学)

Xiaofei Sun, Xiaoya Li, Yuxian Meng, Xiang Ao, Lingjuan Lyu, Jiwei Li, Tianwei Zhang

AI总结:

本研究针对自然语言生成系统易受后门攻击的问题,给出后门攻防的正式定义,结合NLG模型特性设计防御策略,提出基于反向概率的有效防御方法,可应对一对多问题并提升对NLG后门风险的关注。

摘要:

神经网络模型令人沮丧的脆弱特性使得当前的自然语言生成(NLG)系统容易遭受后门攻击,并生成带有性别歧视或冒犯性的恶意序列。遗憾的是,目前很少有研究关注后门攻击对现有NLG模型的影响以及如何防御这类攻击。在本研究中,我们通过给出后门攻击与防御的正式定义,在机器翻译和对话生成这两个重要的NLG任务上探究了该问题。我们针对NLG模型的固有特性(例如根据上下文生成连贯的词序列)设计了攻击防御策略。研究发现,测试给定目标时生成源序列的反向概率,对所有不同类型的攻击都能取得有效的防御性能,并且能够解决对话生成等诸多NLG任务中的“一对多”问题。我们希望本研究能够提升人们对深度NLG系统中潜藏的后门风险的认知,并激发未来更多朝该方向开展的研究(包括攻击与防御两方面)。

英文摘要:

The frustratingly fragile nature of neural network models make current natural language generation (NLG) systems prone to backdoor attacks and generate malicious sequences that could be sexist or offensive. Unfortunately, little effort has been invested to how backdoor attacks can affect current NLG models and how to defend against these attacks. In this work, by giving a formal definition of backdoor attack and defense, we investigate this problem on two important NLG tasks, machine translation and dialog generation. Tailored to the inherent nature of NLG models (e.g., producing a sequence of coherent words given contexts), we design defending strategies against attacks. We find that testing the backward probability of generating sources given targets yields effective defense performance against all different types of attacks, and is able to handle the {\it one-to-many} issue in many NLG tasks such as dialog generation. We hope that this work can raise the awareness of backdoor risks concealed in deep NLG systems and inspire more future work (both attack and defense) towards this direction.

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

↑