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

TransFool:一种针对神经机器翻译模型的对抗攻击

TransFool: An Adversarial Attack against Neural Machine Translation Models

EPFL(洛桑联邦理工学院);Armasuisse S+T(瑞士军备局科学与技术部)

Sahar Sadrizadeh, Ljiljana Dolamic, Pascal Frossard

AI总结:

该研究提出针对神经机器翻译模型的对抗攻击算法TransFool,通过多目标优化与梯度投影生成流畅高相似的对抗样本,在白盒黑盒场景下均优于现有攻击,可用于刻画NMT模型脆弱性并推动鲁棒系统研发。

摘要:

深度神经网络已被证明易受输入微小扰动的影响,这类扰动被称为对抗攻击。本文研究了神经机器翻译(NMT)模型在对抗攻击下的脆弱性,并提出了一种名为TransFool的新型攻击算法。为欺骗NMT模型,TransFool基于多目标优化问题和梯度投影步骤构建。通过融入语言模型的嵌入表示,我们生成了源语言下流畅的对抗样本,这些样本与干净样本保持着高度语义相似性。实验结果表明,针对不同翻译任务和NMT架构,我们的白盒攻击能严重降低翻译质量,同时原句与对抗句之间仍保持较高语义相似性。此外,我们证明TransFool可迁移至未知目标模型。最后,基于自动评估和人工评估,在白盒和黑盒设置下,TransFool在成功率、语义相似性和流畅度方面均优于现有攻击方法。因此,TransFool让我们能更好地刻画NMT模型的脆弱性,也凸显了为实际应用设计强防御机制和更鲁棒NMT系统的必要性。

英文摘要:

Deep neural networks have been shown to be vulnerable to small perturbations of their inputs, known as adversarial attacks. In this paper, we investigate the vulnerability of Neural Machine Translation (NMT) models to adversarial attacks and propose a new attack algorithm called TransFool. To fool NMT models, TransFool builds on a multi-term optimization problem and a gradient projection step. By integrating the embedding representation of a language model, we generate fluent adversarial examples in the source language that maintain a high level of semantic similarity with the clean samples. Experimental results demonstrate that, for different translation tasks and NMT architectures, our white-box attack can severely degrade the translation quality while the semantic similarity between the original and the adversarial sentences stays high. Moreover, we show that TransFool is transferable to unknown target models. Finally, based on automatic and human evaluations, TransFool leads to improvement in terms of success rate, semantic similarity, and fluency compared to the existing attacks both in white-box and black-box settings. Thus, TransFool permits us to better characterize the vulnerability of NMT models and outlines the necessity to design strong defense mechanisms and more robust NMT systems for real-life applications.

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

↑