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

神经机器翻译的源代码建模

Modeling Source Syntax for Neural Machine Translation

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Soochow University(苏州大学);Tencent AI Lab(腾讯AI实验室)

Junhui Li, Deyi Xiong, Zhaopeng Tu, Muhua Zhu, Min Zhang, Guodong Zhou

摘要:

尽管神经机器翻译(NMT)中的无语言学的序列到序列模型具有一定的隐式学习源句子的句法信息的能力,但本文表明源句法可以显式地并入NMT以有效地提供进一步的改进。具体来说,我们线性化源句子的分析树,以获得结构化的标签序列。在此基础上,我们提出了三种不同类型的编码器来将源语法纳入NMT:1)并行RNN编码器,学习单词和标签注释向量; 2)分层RNN编码器,在两级层次结构中学习单词和标签注释向量;以及3)混合RNN编码器,在单词和标签混合的序列上重复学习单词和标签注释向量。实验结果表明,本文提出的三种句法编码器都能有效地提高汉英翻译的准确率。值得注意的是,最简单的RNN编码器,即,混合RNN编码器产生最佳性能,显著提高了1.4个BLEU点。此外,从几个角度进行了深入的分析,以揭示源语法的好处NMT。

英文摘要:

Even though a linguistics-free sequence to sequence model in neural machine translation (NMT) has certain capability of implicitly learning syntactic information of source sentences, this paper shows that source syntax can be explicitly incorporated into NMT effectively to provide further improvements. Specifically, we linearize parse trees of source sentences to obtain structural label sequences. On the basis, we propose three different sorts of encoders to incorporate source syntax into NMT: 1) Parallel RNN encoder that learns word and label annotation vectors parallelly; 2) Hierarchical RNN encoder that learns word and label annotation vectors in a two-level hierarchy; and 3) Mixed RNN encoder that stitchingly learns word and label annotation vectors over sequences where words and labels are mixed. Experimentation on Chinese-to-English translation demonstrates that all the three proposed syntactic encoders are able to improve translation accuracy. It is interesting to note that the simplest RNN encoder, i.e., Mixed RNN encoder yields the best performance with an significant improvement of 1.4 BLEU points. Moreover, an in-depth analysis from several perspectives is provided to reveal how source syntax benefits NMT.

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

↑