arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.00326cs.CLcs.LG
收藏

基于词重要性的神经机器翻译理解

Towards Understanding Neural Machine Translation with Word Importance

The Chinese University of Hong Kong(香港中文大学);Tencent AI Lab(腾讯AI实验室)

Shilin He, Zhaopeng Tu, Xing Wang, Longyue Wang, Michael R. Lyu, Shuming Shi

摘要:

虽然神经机器翻译(NMT)已经在各种语言对上取得了进步,但NMT的可解释性仍然不令人满意。在这项工作中,我们建议通过专注于理解NMT模型的输入-输出行为来解决这一差距。具体来说,我们通过基于梯度的方法将NMT输出归因于每个输入词来测量词的重要性。我们验证了一对夫妇的扰动操作,语言对,和模型架构的方法,证明了其优越性,识别输入的话,对翻译性能的影响更大。令人鼓舞的是,计算出的重要性可以作为NMT模型翻译不足的输入单词的指标。此外,我们的分析表明,某些句法类别的单词具有更高的重要性,而不同的语言对的类别,这可以启发更好的NMT架构的设计原则,多语言翻译。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑