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

用于神经机器翻译的深度递归多共享层

Recurrent multiple shared layers in Depth for Neural Machine Translation

KingSoft AI Lab(金山AI实验室);University of Groningen(格罗宁根大学)

GuoLiang Li, Yiyang Li

摘要:

学习更深层次的模型通常是提高模型性能的一种简单有效的方法,但是更深层次的模型具有更大的模型参数,并且更难以训练。为了获得更深层次的模型,简单地堆叠更多的模型层似乎可以很好地工作,但以前的工作声称它不能使模型受益。我们提出用递归机制来训练更深的模型,该机制在深度方向上循环Transformer的编码器和解码器块。为了解决模型参数的增加,我们选择在不同的递归时刻共享参数。我们在WMT 16英语到德语和WMT 14英语到法语翻译任务上进行了实验,我们的模型比浅的Transformer-Base/Big基线高出0.35,1.45 BLEU点,是Transformer-Big模型参数的27.23%。与深度Transformer(20层编码器,6层解码器)相比,我们的模型具有相似的模型性能和推理速度,但我们的模型参数是前者的54.72%。

英文摘要:

Learning deeper models is usually a simple and effective approach to improve model performance, but deeper models have larger model parameters and are more difficult to train. To get a deeper model, simply stacking more layers of the model seems to work well, but previous works have claimed that it cannot benefit the model. We propose to train a deeper model with recurrent mechanism, which loops the encoder and decoder blocks of Transformer in the depth direction. To address the increasing of model parameters, we choose to share parameters in different recursive moments. We conduct our experiments on WMT16 English-to-German and WMT14 English-to-France translation tasks, our model outperforms the shallow Transformer-Base/Big baseline by 0.35, 1.45 BLEU points, which is 27.23% of Transformer-Big model parameters. Compared to the deep Transformer(20-layer encoder, 6-layer decoder), our model has similar model performance and infer speed, but our model parameters are 54.72% of the former.

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

↑