论文标题

对黑盒神经机器翻译的有针对性攻击,并行数据中毒

A Targeted Attack on Black-Box Neural Machine Translation with Parallel Data Poisoning

论文作者

Xu, Chang, Wang, Jun, Tang, Yuqing, Guzman, Francisco, Rubinstein, Benjamin I. P., Cohn, Trevor

论文摘要

由于现代神经机器翻译(NMT)系统已被广泛部署,因此其安全漏洞需要仔细审查。最近,发现NMT系统容易受到针对性攻击的攻击,这些攻击会导致它们产生特定的,不请p的甚至有害的翻译。这些攻击通常是在白框设置中利用的,在白色盒子设置中,在其中发现了针对已知目标系统的靶向翻译的对抗输入。但是,当目标系统是黑色框并且对手未知的(例如,有担保的商业系统)时,这种方法的可行性较小。在本文中,我们表明,基于中毒其平行训练数据的一小部分,对黑盒NMT系统的有针对性攻击是可行的。我们表明,可以通过爬行以形成系统培训数据的针对性损坏来实际实现此攻击。然后,我们在两种常见的NMT训练方案中分析了目标中毒的有效性:从施加训练和预训练和微调范式。我们的结果令人震惊:即使在接受大量并行数据训练的最先进系统上,在令人惊讶的低中毒预算(例如0.006%)下,攻击仍然成功(超过50%的成功率)。最后,我们讨论了应对此类攻击的潜在防御。

As modern neural machine translation (NMT) systems have been widely deployed, their security vulnerabilities require close scrutiny. Most recently, NMT systems have been found vulnerable to targeted attacks which cause them to produce specific, unsolicited, and even harmful translations. These attacks are usually exploited in a white-box setting, where adversarial inputs causing targeted translations are discovered for a known target system. However, this approach is less viable when the target system is black-box and unknown to the adversary (e.g., secured commercial systems). In this paper, we show that targeted attacks on black-box NMT systems are feasible, based on poisoning a small fraction of their parallel training data. We show that this attack can be realised practically via targeted corruption of web documents crawled to form the system's training data. We then analyse the effectiveness of the targeted poisoning in two common NMT training scenarios: the from-scratch training and the pre-train & fine-tune paradigm. Our results are alarming: even on the state-of-the-art systems trained with massive parallel data (tens of millions), the attacks are still successful (over 50% success rate) under surprisingly low poisoning budgets (e.g., 0.006%). Lastly, we discuss potential defences to counter such attacks.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源