arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.06174cs.CL

Generating Fluent Adversarial Examples for Natural Languages

Peking University(北京大学);ByteDance AI Lab(字节跳动人工智能实验室)

Huangzhao Zhang, Hao Zhou, Ning Miao, Lei Li

英文摘要:

Efficiently building an adversarial attacker for natural language processing (NLP) tasks is a real challenge. Firstly, as the sentence space is discrete, it is difficult to make small perturbations along the direction of gradients. Secondly, the fluency of the generated examples cannot be guaranteed. In this paper, we propose MHA, which addresses both problems by performing Metropolis-Hastings sampling, whose proposal is designed with the guidance of gradients. Experiments on IMDB and SNLI show that our proposed MHA outperforms the baseline model on attacking capability. Adversarial training with MAH also leads to better robustness and performance.

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

↑