arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.11771cs.CL

Encoders Help You Disambiguate Word Senses in Neural Machine Translation

Uppsala University(乌普萨拉大学);University of Zurich(苏黎世大学);University of Edinburgh(爱丁堡大学)

Gongbo Tang, Rico Sennrich, Joakim Nivre

英文摘要:

Neural machine translation (NMT) has achieved new state-of-the-art performance in translating ambiguous words. However, it is still unclear which component dominates the process of disambiguation. In this paper, we explore the ability of NMT encoders and decoders to disambiguate word senses by evaluating hidden states and investigating the distributions of self-attention. We train a classifier to predict whether a translation is correct given the representation of an ambiguous noun. We find that encoder hidden states outperform word embeddings significantly which indicates that encoders adequately encode relevant information for disambiguation into hidden states. Decoders could provide further relevant information for disambiguation. Moreover, the attention weights and attention entropy show that self-attention can detect ambiguous nouns and distribute more attention to the context. Note that this is a revised version. The content related to decoder hidden states has been updated.

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

↑