arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.02229cs.CLcs.NE
收藏

一种有效的词级对抗性文本攻击组合优化

Efficient Combinatorial Optimization for Word-level Adversarial Textual Attack

Southern University of Science and Technology(南方科技大学)

Shengcai Liu, Ning Lu, Cheng Chen, Ke Tang

摘要:

在过去的几年里,已经提出了各种单词级文本攻击方法,以揭示用于自然语言处理的深度神经网络的脆弱性。通常,这些方法涉及重要的优化步骤,以确定对原始输入中的每个单词使用哪个替代。然而,目前对这一步骤的研究还相当有限,无论是从问题理解还是从问题解决的角度。在本文中,我们通过揭示问题的理论性质并提出一种有效的局部搜索算法(LS)来解决这些问题。我们建立了在一般情况下解决问题的第一可证明近似保证。涉及5个NLP任务的广泛实验,8个数据集和26个NLP模型表明,LS可以很大程度上减少查询的数量,通常是一个数量级,以实现高攻击成功率。进一步的实验表明,LS制作的对抗性示例通常具有更高的质量,表现出更好的可移植性,并且可以通过对抗性训练为受害者模型带来更大的鲁棒性改善。

英文摘要:

Over the past few years, various word-level textual attack approaches have been proposed to reveal the vulnerability of deep neural networks used in natural language processing. Typically, these approaches involve an important optimization step to determine which substitute to be used for each word in the original input. However, current research on this step is still rather limited, from the perspectives of both problem-understanding and problem-solving. In this paper, we address these issues by uncovering the theoretical properties of the problem and proposing an efficient local search algorithm (LS) to solve it. We establish the first provable approximation guarantee on solving the problem in general cases.Extensive experiments involving 5 NLP tasks, 8 datasets and 26 NLP models show that LS can largely reduce the number of queries usually by an order of magnitude to achieve high attack success rates. Further experiments show that the adversarial examples crafted by LS usually have higher quality, exhibit better transferability, and can bring more robustness improvement to victim models by adversarial training.

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

↑