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

神经机器翻译的多粒度自注意

Multi-Granularity Self-Attention for Neural Machine Translation

Florida State University(佛罗里达州立大学);Tencent AI Lab(腾讯AI实验室)

Jie Hao, Xing Wang, Shuming Shi, Jinfeng Zhang, Zhaopeng Tu

摘要:

当前最先进的神经机器翻译(NMT)使用深度多头自注意网络,没有显式短语信息。然而,统计机器翻译的先前工作已经表明,将基本翻译单元从单词扩展到短语已经产生了实质性的改进,这表明通过短语的显式建模来提高NMT性能的可能性。在这项工作中,我们提出了多粒度自注意(Mg-Sa):一个神经网络,结合多头自注意和短语建模。具体来说,我们训练了几个注意力头来注意n元语法或句法形式主义中的短语。此外,我们利用短语之间的相互作用来增强结构建模的强度-这是自我注意力的一个常见弱点。在WMT 14英语到德语和NIST汉语到英语翻译任务上的实验结果表明,该方法持续提高了性能。有针对性的语言分析表明,Mg-Sa确实捕捉有用的短语信息在不同的粒度水平。

英文摘要:

Current state-of-the-art neural machine translation (NMT) uses a deep multi-head self-attention network with no explicit phrase information. However, prior work on statistical machine translation has shown that extending the basic translation unit from words to phrases has produced substantial improvements, suggesting the possibility of improving NMT performance from explicit modeling of phrases. In this work, we present multi-granularity self-attention (Mg-Sa): a neural network that combines multi-head self-attention and phrase modeling. Specifically, we train several attention heads to attend to phrases in either n-gram or syntactic formalism. Moreover, we exploit interactions among phrases to enhance the strength of structure modeling - a commonly-cited weakness of self-attention. Experimental results on WMT14 English-to-German and NIST Chinese-to-English translation tasks show the proposed approach consistently improves performance. Targeted linguistic analysis reveals that Mg-Sa indeed captures useful phrase information at various levels of granularities.

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

↑