Explorando a Robustez de Sistemas de MT frente a Entradas Nonsens
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.
Resumo
Sistemas de tradução automática neural (NMT) foram demonstrados produzir traduções indesejáveis quando uma pequena alteração é feita na frase de origem. Neste trabalho, estudamos o comportamento de sistemas NMT quando múltiplas alterações são feitas na frase de origem. Em particular, formulamos a seguinte questão: "É possível para um sistema NMT prever a mesma tradução mesmo quando múltiplas palavras na frase de origem foram substituídas?". Para isso, propomos uma técnica baseada em atenção suave para realizar as substituições de palavras mencionadas. Os experimentos foram conduzidos em dois pares de línguas: inglês-alemão (en-de) e inglês-francês (en-fr) e dois sistemas NMT state-of-the-art: encoder-decoder baseado em BLSTM com atenção e Transformer. A técnica baseada em atenção suave proposta alcança uma alta taxa de sucesso e supera métodos existentes, como HotFlip, por uma margem significativa em todos os experimentos conduzidos. Os resultados demonstram que sistemas NMT state-of-the-art são incapazes de capturar a semântica da língua de origem. A técnica baseada em atenção suave proposta é um ataque adversário baseado em invariância contra sistemas NMT. Para avaliar melhor tais ataques, propomos uma métrica alternativa e argumentamos seus benefícios em comparação com a taxa de sucesso.
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.