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

针对神经机器翻译的定向对抗攻击

Targeted Adversarial Attacks against Neural Machine Translation

EPFL(洛桑联邦理工学院);University of Tehran(德黑兰大学);Armasuisse S+T(瑞士联邦国防采购局科技中心)

Sahar Sadrizadeh, AmirHossein Dabiri Aghdam, Ljiljana Dolamic, Pascal Frossard

摘要:

神经机器翻译(NMT)系统用于各种应用中。然而,已经表明,它们容易受到输入的非常小的扰动,称为对抗攻击。在本文中,我们提出了一种新的针对NMT模型的定向对抗攻击。特别是,我们的目标是将预定义的目标关键字插入到对抗句子的翻译中,同时保持原始句子与源域中的扰动句子之间的相似性。为此,我们提出了一个优化问题,包括一个对抗损失项和一个相似项。我们在嵌入空间中使用梯度投影来制作一个对抗性句子。实验结果表明,我们的攻击优于Seq2Sick,另一个针对NMT模型的对抗攻击,在成功率和翻译质量下降。我们的攻击成功地将关键字插入到超过75%的句子的翻译中,同时保持与原始句子的相似性。

英文摘要:

Neural Machine Translation (NMT) systems are used in various applications. However, it has been shown that they are vulnerable to very small perturbations of their inputs, known as adversarial attacks. In this paper, we propose a new targeted adversarial attack against NMT models. In particular, our goal is to insert a predefined target keyword into the translation of the adversarial sentence while maintaining similarity between the original sentence and the perturbed one in the source domain. To this aim, we propose an optimization problem, including an adversarial loss term and a similarity term. We use gradient projection in the embedding space to craft an adversarial sentence. Experimental results show that our attack outperforms Seq2Sick, the other targeted adversarial attack against NMT models, in terms of success rate and decrease in translation quality. Our attack succeeds in inserting a keyword into the translation for more than 75% of sentences while similarity with the original sentence stays preserved.

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

↑