비논리적 입력에 대한 신경 기계 번역 시스템의 견고성 탐구
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) 두 언어 쌍, 그리고 BLSTM 기반 인코더 - 디코더 어텐션 모델 및 Transformer 를 포함한 두 가지 최첨단 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.