arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.10002cs.CL
收藏

神经网络中的递归层堆叠:在神经机器翻译中的应用

Recurrent Stacking of Layers in Neural Networks: An Application to Neural Machine Translation

National Institute of Information and Communications Technology(信息通信技术研究所)

Raj Dabre, Atsushi Fujita

摘要:

在深度神经网络建模中,最常见的做法是堆叠多个递归、卷积或前馈层,以获得高质量的连续空间表示,从而提高网络预测的质量。传统上,堆栈中的每一层都有自己的参数,这导致模型参数的数量显著增加。在本文中,我们建议共享所有层的参数,从而导致一个循环堆叠的神经网络模型。我们报告了一个关于神经机器翻译(NMT)的广泛案例研究,其中我们将我们提出的方法应用于基于编码器-解码器的神经网络模型,即,Transformer模型,并使用三个日语-英语翻译数据集进行实验。我们凭经验证明,一个模型的翻译质量,反复堆叠一个单一的层6次,尽管有显着更少的参数,方法的模型,堆叠6层,其中每一层有不同的参数。我们还探讨了经常性堆叠的限制,我们训练非常深的NMT模型。本文还通过利用预训练参数和知识蒸馏进行迁移学习,检查了我们的递归堆栈模型作为学生模型的实用性,并表明它可以补偿递归堆栈模型直接训练带来的翻译质量性能下降。我们还展示了迁移学习如何在由于循环堆叠而已经减少的参数数量之上帮助更快地解码。最后,我们通过可视化使用循环堆叠层的模型和不使用循环堆叠层的模型的注意力来分析循环堆叠层的影响。

英文摘要:

In deep neural network modeling, the most common practice is to stack a number of recurrent, convolutional, or feed-forward layers in order to obtain high-quality continuous space representations which in turn improves the quality of the network's prediction. Conventionally, each layer in the stack has its own parameters which leads to a significant increase in the number of model parameters. In this paper, we propose to share parameters across all layers thereby leading to a recurrently stacked neural network model. We report on an extensive case study on neural machine translation (NMT), where we apply our proposed method to an encoder-decoder based neural network model, i.e., the Transformer model, and experiment with three Japanese--English translation datasets. We empirically demonstrate that the translation quality of a model that recurrently stacks a single layer 6 times, despite having significantly fewer parameters, approaches that of a model that stacks 6 layers where each layer has different parameters. We also explore the limits of recurrent stacking where we train extremely deep NMT models. This paper also examines the utility of our recurrently stacked model as a student model through transfer learning via leveraging pre-trained parameters and knowledge distillation, and shows that it compensates for the performance drops in translation quality that the direct training of recurrently stacked model brings. We also show how transfer learning helps in faster decoding on top of the already reduced number of parameters due to recurrent stacking. Finally, we analyze the effects of recurrently stacked layers by visualizing the attentions of models that use recurrently stacked layers and models that do not.

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

↑