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

野外扰动:利用人类书写的文本扰动进行现实的对抗攻击和防御

Perturbations in the Wild: Leveraging Human-Written Text Perturbations for Realistic Adversarial Attack and Defense

Penn State University(宾夕法尼亚州立大学);Yahoo Research(雅虎研究院)

Thai Le, Jooyoung Lee, Kevin Yen, Yifan Hu, Dongwon Lee

摘要:

我们提出了一种新的算法,ANTHRO,归纳提取超过600 K人类写的文本扰动在野生环境中,并利用它们现实的对抗攻击。与现有的基于字符的攻击,往往演绎假设一套操纵策略,我们的工作是基于从现实世界的文本的实际观察。我们发现ANTHRO生成的对抗性文本在(1)攻击成功率,(2)原始文本的语义保留和(3)隐秘性之间实现了最佳权衡-即与人类文字无法区分,因此更难被标记为可疑。具体来说,我们的攻击在BERT和RoBERTa上分别实现了大约83%和91%的攻击成功率。此外,当由外行和专业人类工作者评估时,它在语义保留和隐蔽性方面的表现优于TextBugger基线,分别增加了50%和40%。与Perspective API相比,ANTHRO可以通过对抗训练进一步增强BERT分类器在理解人类编写的有毒文本的不同变化方面的性能。

英文摘要:

We proposes a novel algorithm, ANTHRO, that inductively extracts over 600K human-written text perturbations in the wild and leverages them for realistic adversarial attack. Unlike existing character-based attacks which often deductively hypothesize a set of manipulation strategies, our work is grounded on actual observations from real-world texts. We find that adversarial texts generated by ANTHRO achieve the best trade-off between (1) attack success rate, (2) semantic preservation of the original text, and (3) stealthiness--i.e. indistinguishable from human writings hence harder to be flagged as suspicious. Specifically, our attacks accomplished around 83% and 91% attack success rates on BERT and RoBERTa, respectively. Moreover, it outperformed the TextBugger baseline with an increase of 50% and 40% in terms of semantic preservation and stealthiness when evaluated by both layperson and professional human workers. ANTHRO can further enhance a BERT classifier's performance in understanding different variations of human-written toxic texts via adversarial training when compared to the Perspective API.

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

↑