意味のない入力に対する神経機械翻訳システムの頑健性の探求
Exploring the Robustness of NMT Systems to Nonsensical Inputs
Exploring the Robustness of NMT Systems to Nonsensical Inputs
@misc{chaturvedi2019exploring,
title = {Exploring the Robustness of NMT Systems to Nonsensical Inputs},
author = {Akshay Chaturvedi and Abijith KP and Utpal Garain},
year = {2019},
eprint = {1908.01165},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/1908.01165}
}
Chaturvedi, A., KP, A., & Garain, U. (2019). Exploring the Robustness of NMT Systems to Nonsensical Inputs [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.01165
CHATURVEDI A, KP A, GARAIN U. Exploring the Robustness of NMT Systems to Nonsensical Inputs[EB/OL]. (2019-08-03)[2026-11-29]. https://arxiv.org/abs/1908.01165.
要旨
ニューラル機械翻訳(NMT)システムは、ソース文に微小な変更を加えることで望ましくない翻訳を生み出すことが示されている。本論文では、ソース文に複数の変更を加えた場合の NMT システムの振る舞いを研究する。特に、「ソース文内の複数の単語が置換されても、NMT システムが同じ翻訳を予測できるか」という問いを提起する。これに応じて、上記の単語置換を行うためのソフトアテンションに基づく手法を提案する。実験は、英語 - ドイツ語(en-de)および英語 - フランス語(en-fr)の 2 つの言語対、および BLSTM ベースのエンコーダー - デコーダー(アテンション付き)と Transformer の 2 つの最先进 NMT システムで実施された。提案したソフトアテンションに基づく手法は、実施されたすべての実験において高い成功率を達成し、HotFlip などの既存手法を著しく上回る性能を示した。これらの結果は、最先进の NMT システムがソース言語の意味を捉えられないことを示している。提案したソフトアテンションに基づく手法は、NMT システムに対する不変性に基づく敵対的攻撃である。このような攻撃をより適切に評価するために、本論文では代替指標を提案し、成功率との比較におけるその利点を論じる。
Neural machine translation (NMT) systems have been shown to give undesirable translation when a small change is made in the source sentence. In this paper, we study the behaviour of NMT systems when multiple changes are made to the source sentence. In particular, we ask the following question "Is it possible for an NMT system to predict same translation even when multiple words in the source sentence have been replaced?". To this end, we propose a soft-attention based technique to make the aforementioned word replacements. The experiments are conducted on two language pairs: English-German (en-de) and English-French (en-fr) and two state-of-the-art NMT systems: BLSTM-based encoder-decoder with attention and Transformer. The proposed soft-attention based technique achieves high success rate and outperforms existing methods like HotFlip by a significant margin for all the conducted experiments. The results demonstrate that state-of-the-art NMT systems are unable to capture the semantics of the source language. The proposed soft-attention based technique is an invariance-based adversarial attack on NMT systems. To better evaluate such attacks, we propose an alternate metric and argue its benefits in comparison with success rate.