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

Transformer的递归建模

Modeling Recurrence for Transformer

Florida State University(佛罗里达州立大学);Tencent AI Lab(腾讯人工智能实验室);University of Macau(澳门大学)

Jie Hao, Xing Wang, Baosong Yang, Longyue Wang, Jinfeng Zhang, Zhaopeng Tu

摘要:

近年来,基于注意力机制的Transformer模型在各种机器翻译任务上取得了很大的进展。然而,最近的研究表明,缺乏重现阻碍了其翻译能力的进一步提高。为了解决这个问题,我们提出了一个额外的递归编码器直接为Transformer的递归建模。除了标准的递归神经网络之外,我们还引入了一种新的注意递归网络,以利用注意和递归网络的优势。在广泛使用的WMT 14英-德和WMT 17汉英翻译任务上的实验结果证明了该方法的有效性。我们的研究还表明,所提出的模型受益于一个捷径,桥接源和目标序列与一个单一的递归层,这优于其深对应。

英文摘要:

Recently, the Transformer model that is based solely on attention mechanisms, has advanced the state-of-the-art on various machine translation tasks. However, recent studies reveal that the lack of recurrence hinders its further improvement of translation capacity. In response to this problem, we propose to directly model recurrence for Transformer with an additional recurrence encoder. In addition to the standard recurrent neural network, we introduce a novel attentive recurrent network to leverage the strengths of both attention and recurrent networks. Experimental results on the widely-used WMT14 English-German and WMT17 Chinese-English translation tasks demonstrate the effectiveness of the proposed approach. Our studies also reveal that the proposed model benefits from a short-cut that bridges the source and target sequences with a single recurrent layer, which outperforms its deep counterpart.

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

↑