English

Towards Understanding Neural Machine Translation with Word Importance

Computation and Language 2019-09-18 v2 Machine Learning

Abstract

Although neural machine translation (NMT) has advanced the state-of-the-art on various language pairs, the interpretability of NMT remains unsatisfactory. In this work, we propose to address this gap by focusing on understanding the input-output behavior of NMT models. Specifically, we measure the word importance by attributing the NMT output to every input word through a gradient-based method. We validate the approach on a couple of perturbation operations, language pairs, and model architectures, demonstrating its superiority on identifying input words with higher influence on translation performance. Encouragingly, the calculated importance can serve as indicators of input words that are under-translated by NMT models. Furthermore, our analysis reveals that words of certain syntactic categories have higher importance while the categories vary across language pairs, which can inspire better design principles of NMT architectures for multi-lingual translation.

Keywords

Cite

@article{arxiv.1909.00326,
  title  = {Towards Understanding Neural Machine Translation with Word Importance},
  author = {Shilin He and Zhaopeng Tu and Xing Wang and Longyue Wang and Michael R. Lyu and Shuming Shi},
  journal= {arXiv preprint arXiv:1909.00326},
  year   = {2019}
}

Comments

EMNLP 2019

R2 v1 2026-06-23T11:02:22.719Z