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

神经机器翻译的源短语表示学习

Learning Source Phrase Representations for Neural Machine Translation

Saarland University(萨尔大学);German Research Center for Artificial Intelligence(德国人工智能研究中心);Tianjin University(天津大学);China Mobile Online Services(中移在线服务有限公司)

Hongfei Xu, Josef van Genabith, Deyi Xiong, Qiuhui Liu, Jingyi Zhang

摘要:

Transformer转换模型(Vaswani等人,2017)可以有效地并行计算,并大大推动了神经机器翻译(NMT)的性能。虽然直观地说,注意力网络可以通过比RNN更短的网络路径连接遥远的单词,但实证分析表明,它仍然难以完全捕获长距离依赖性(Tang et al.,2018年)。考虑到建模短语而不是单词通过使用更大的翻译块(“短语”)及其重新排序能力显著改进了统计机器翻译(SMT)方法,在短语级别建模NMT是帮助模型捕获长距离关系的直观建议。在本文中,我们首先提出了一个专注的短语表示生成机制,它能够从相应的令牌表示生成短语表示。此外,我们将生成的短语表示到Transformer翻译模型中,以增强其捕获长距离关系的能力。在我们的实验中,我们在强大的Transformer基线上获得了WMT 14英语-德语和英语-法语任务的显着改善,这表明了我们的方法的有效性。我们的方法帮助Transformer Base模型在Transformer Big模型的水平上执行,甚至在长句方面更好,但参数和训练步骤要少得多。事实上,即使在大的背景下,短语表征也有帮助,这进一步支持了我们的猜想,即它们对长距离关系做出了有价值的贡献。

英文摘要:

The Transformer translation model (Vaswani et al., 2017) based on a multi-head attention mechanism can be computed effectively in parallel and has significantly pushed forward the performance of Neural Machine Translation (NMT). Though intuitively the attentional network can connect distant words via shorter network paths than RNNs, empirical analysis demonstrates that it still has difficulty in fully capturing long-distance dependencies (Tang et al., 2018). Considering that modeling phrases instead of words has significantly improved the Statistical Machine Translation (SMT) approach through the use of larger translation blocks ("phrases") and its reordering ability, modeling NMT at phrase level is an intuitive proposal to help the model capture long-distance relationships. In this paper, we first propose an attentive phrase representation generation mechanism which is able to generate phrase representations from corresponding token representations. In addition, we incorporate the generated phrase representations into the Transformer translation model to enhance its ability to capture long-distance relationships. In our experiments, we obtain significant improvements on the WMT 14 English-German and English-French tasks on top of the strong Transformer baseline, which shows the effectiveness of our approach. Our approach helps Transformer Base models perform at the level of Transformer Big models, and even significantly better for long sentences, but with substantially fewer parameters and training steps. The fact that phrase representations help even in the big setting further supports our conjecture that they make a valuable contribution to long-distance relations.

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

↑