为什么对抗性干扰是不可感知的?对抗性NLP研究范式的反思
Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP
摘要:
文本对抗样本在NLP研究的多个子领域中发挥着重要作用,包括安全性,评估,可解释性和数据增强。然而,大多数工作混合了所有这些角色,模糊了安全角色的问题定义和研究目标,旨在揭示NLP模型的实际问题。本文对安全场景中文本对抗样本的研究范式进行了重新思考。我们讨论了以前工作中的不足之处,并提出我们的建议,面向安全的对抗性NLP(SoadNLP)的研究应该:(1)评估他们的安全任务的方法,以证明现实世界的关注;(2)考虑现实世界的攻击者的目标,而不是开发不切实际的方法。为此,我们首先收集、处理并发布一个安全数据集集合Advbench。然后,我们重新形式化的任务,并调整SoadNLP中不同目标的重点。接下来,我们提出了一种基于启发式规则的简单方法,可以很容易地实现实际的对抗目标来模拟现实世界的攻击方法。我们在Advbench上对攻击方和防御方进行了实验。实验结果表明,该方法具有较高的实用价值,表明SoadNLP的研究范式可以从我们的新基准开始。Advbench的所有代码和数据都可以在\url{https://github.com/thunlp/Advbench}上获得。
英文摘要:
Textual adversarial samples play important roles in multiple subfields of NLP research, including security, evaluation, explainability, and data augmentation. However, most work mixes all these roles, obscuring the problem definitions and research goals of the security role that aims to reveal the practical concerns of NLP models. In this paper, we rethink the research paradigm of textual adversarial samples in security scenarios. We discuss the deficiencies in previous work and propose our suggestions that the research on the Security-oriented adversarial NLP (SoadNLP) should: (1) evaluate their methods on security tasks to demonstrate the real-world concerns; (2) consider real-world attackers' goals, instead of developing impractical methods. To this end, we first collect, process, and release a security datasets collection Advbench. Then, we reformalize the task and adjust the emphasis on different goals in SoadNLP. Next, we propose a simple method based on heuristic rules that can easily fulfill the actual adversarial goals to simulate real-world attack methods. We conduct experiments on both the attack and the defense sides on Advbench. Experimental results show that our method has higher practical value, indicating that the research paradigm in SoadNLP may start from our new benchmark. All the code and data of Advbench can be obtained at \url{https://github.com/thunlp/Advbench}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。