arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00417cs.CLcs.AI
收藏

神经机器翻译的掩蔽对抗生成

Masked Adversarial Generation for Neural Machine Translation

Centrale Supelec(中央高等电力学院);Naver Labs Europe

Badr Youbi Idrissi, Stéphane Clinchant

摘要:

攻击神经机器翻译模型是离散序列上固有的组合任务,可以用近似算法解决。大多数方法使用梯度来独立地攻击每个样本上的模型。我们是否可以学习产生有意义的对抗攻击,而不是机械地应用梯度?与现有方法相比,我们通过训练基于语言模型的对抗生成器来学习攻击模型。我们提出了Masked Adversarial Generation(MAG)模型,该模型在整个训练过程中学习扰动翻译模型。实验表明,该方法提高了机器翻译模型的鲁棒性,同时比竞争方法更快。

英文摘要:

Attacking Neural Machine Translation models is an inherently combinatorial task on discrete sequences, solved with approximate heuristics. Most methods use the gradient to attack the model on each sample independently. Instead of mechanically applying the gradient, could we learn to produce meaningful adversarial attacks ? In contrast to existing approaches, we learn to attack a model by training an adversarial generator based on a language model. We propose the Masked Adversarial Generation (MAG) model, that learns to perturb the translation model throughout the training process. The experiments show that it improves the robustness of machine translation models, while being faster than competing methods.

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

↑