arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.09192cs.CLcs.AIcs.CR
收藏

Learning to Attack: Towards Textual Adversarial Attacking in Real-world Situations

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Tsinghua University(清华大学)

Yuan Zang, Bairu Hou, Fanchao Qi, Zhiyuan Liu, Xiaojun Meng, Maosong Sun

英文摘要:

Adversarial attacking aims to fool deep neural networks with adversarial examples. In the field of natural language processing, various textual adversarial attack models have been proposed, varying in the accessibility to the victim model. Among them, the attack models that only require the output of the victim model are more fit for real-world situations of adversarial attacking. However, to achieve high attack performance, these models usually need to query the victim model too many times, which is neither efficient nor viable in practice. To tackle this problem, we propose a reinforcement learning based attack model, which can learn from attack history and launch attacks more efficiently. In experiments, we evaluate our model by attacking several state-of-the-art models on the benchmark datasets of multiple tasks including sentiment analysis, text classification and natural language inference. Experimental results demonstrate that our model consistently achieves both better attack performance and higher efficiency than recently proposed baseline methods. We also find our attack model can bring more robustness improvement to the victim model by adversarial training. All the code and data of this paper will be made public.

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

↑