arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.16955cs.LG
收藏

破坏它,模仿它,修复它:通过生成类人攻击实现鲁棒性

Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks

Google Research(谷歌研究院);OpenAI

Aradhana Sinha, Ananth Balashankar, Ahmad Beirami, Thi Avrahami, Jilin Chen, Alex Beutel

AI总结:

提出一种利用有限人类对抗示例大规模生成合成对抗攻击的对抗训练框架,显著提升了自然语言处理模型在ANLI和仇恨言论检测基准上对未来人类攻击的鲁棒性。

摘要:

现实世界的自然语言处理系统需要对人类对手具有鲁棒性。收集人类对手的示例用于训练是一种有效但昂贵的解决方案。另一方面,在具有小扰动(如词替换)的合成攻击上进行训练,实际上并不能提高对人类对手的鲁棒性。在本文中,我们提出了一种对抗训练框架,该框架利用有限的人类对抗示例来大规模生成更有用的对抗示例。我们在 ANLI 和仇恨言论检测基准数据集上展示了该系统的优势——这两个数据集均通过迭代的、对抗性的人机在环过程收集。与仅在观察到的人类攻击上进行训练相比,同时在我们的合成对抗示例上进行训练,提高了模型对未来轮次的鲁棒性。在 ANLI 中,我们在当前攻击集(44.1% -> 50.1%)以及两轮未来未见的人类生成攻击(32.5% -> 43.4%,以及 29.4% -> 40.2%)上看到了准确率的提升。在仇恨言论检测中,我们在当前攻击(0.76 -> 0.84)和未来一轮攻击(0.77 -> 0.79)上看到了 AUC 的提升。与此同时,来自不学习现有人类对手分布的方法的攻击,则会降低鲁棒性。

英文摘要:

Real-world natural language processing systems need to be robust to human adversaries. Collecting examples of human adversaries for training is an effective but expensive solution. On the other hand, training on synthetic attacks with small perturbations - such as word-substitution - does not actually improve robustness to human adversaries. In this paper, we propose an adversarial training framework that uses limited human adversarial examples to generate more useful adversarial examples at scale. We demonstrate the advantages of this system on the ANLI and hate speech detection benchmark datasets - both collected via an iterative, adversarial human-and-model-in-the-loop procedure. Compared to training only on observed human attacks, also training on our synthetic adversarial examples improves model robustness to future rounds. In ANLI, we see accuracy gains on the current set of attacks (44.1%$\,\to\,$50.1%) and on two future unseen rounds of human generated attacks (32.5%$\,\to\,$43.4%, and 29.4%$\,\to\,$40.2%). In hate speech detection, we see AUC gains on current attacks (0.76 $\to$ 0.84) and a future round (0.77 $\to$ 0.79). Attacks from methods that do not learn the distribution of existing human adversaries, meanwhile, degrade robustness.

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

↑