基于双向往返翻译的超越意义保持的真实对抗示例生成
Generating Authentic Adversarial Examples beyond Meaning-preserving with Doubly Round-trip Translation
摘要:
通过释放意义保持限制,为神经机器翻译(NMT)生成具有单个往返翻译(RTT)的对抗性示例已经取得了令人鼓舞的结果。然而,这种方法的一个潜在陷阱是,我们无法决定生成的示例是与目标NMT模型还是辅助后向模型对抗,因为通过RTT的重建误差可能与两者都有关。为了解决这个问题,我们提出了一个新的标准NMT对抗性的例子的基础上双往返翻译(DRTT)。具体来说,除了源-目标-源RTT之外,我们还考虑了目标-源-目标RTT,它用于为目标NMT模型挑选真实的对抗性示例。此外,为了提高NMT模型的鲁棒性,我们引入了基于DRTT的掩蔽语言模型来构造双语对抗对,并直接用于NMT模型的训练。在干净和有噪声的测试集(包括人工噪声和自然噪声)上的大量实验表明,该方法大大提高了NMT模型的鲁棒性。
英文摘要:
Generating adversarial examples for Neural Machine Translation (NMT) with single Round-Trip Translation (RTT) has achieved promising results by releasing the meaning-preserving restriction. However, a potential pitfall for this approach is that we cannot decide whether the generated examples are adversarial to the target NMT model or the auxiliary backward one, as the reconstruction error through the RTT can be related to either. To remedy this problem, we propose a new criterion for NMT adversarial examples based on the Doubly Round-Trip Translation (DRTT). Specifically, apart from the source-target-source RTT, we also consider the target-source-target one, which is utilized to pick out the authentic adversarial examples for the target NMT model. Additionally, to enhance the robustness of the NMT model, we introduce the masked language models to construct bilingual adversarial pairs based on DRTT, which are used to train the NMT model directly. Extensive experiments on both the clean and noisy test sets (including the artificial and natural noise) show that our approach substantially improves the robustness of NMT models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。