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

用于机器翻译的多遍Transformer

Multi-Pass Transformer for Machine Translation

Mitsubishi Electric Research Laboratories (MERL)(三菱电机研究实验室(MERL));Chinese University of Hong Kong(香港中文大学);Rutgers University(罗格斯大学)

Peng Gao, Chiori Hori, Shijie Geng, Takaaki Hori, Jonathan Le Roux

摘要:

与以前的方法相比,信息只流向堆栈的更深层,我们考虑了多通道Transformer(MPT)架构,其中允许较早的层根据较晚层的输出来处理信息。为了维持有向非循环图结构,Transformer的编码器堆栈沿着新的多遍维度重复,从而保持参数绑定,并且允许信息朝向编码器堆栈内的较深层以及朝向后续堆栈的任何层单向地前进。我们认为两者都是软的(即,连续的)和硬的(即,离散的)并行编码器栈之间的连接,依赖于神经架构搜索来找到困难情况下的最佳连接模式。我们进行了广泛的消融研究所提出的MPT架构,并将其与其他国家的最先进的Transformer架构。令人惊讶的是,在具有挑战性的机器翻译En-De和En-Fr数据集上,配备MPT的Base Transformer可以超越Large Transformer的性能。在硬连接的情况下,最佳的连接模式发现En-De也导致提高性能的En-Fr。

英文摘要:

In contrast with previous approaches where information flows only towards deeper layers of a stack, we consider a multi-pass transformer (MPT) architecture in which earlier layers are allowed to process information in light of the output of later layers. To maintain a directed acyclic graph structure, the encoder stack of a transformer is repeated along a new multi-pass dimension, keeping the parameters tied, and information is allowed to proceed unidirectionally both towards deeper layers within an encoder stack and towards any layer of subsequent stacks. We consider both soft (i.e., continuous) and hard (i.e., discrete) connections between parallel encoder stacks, relying on a neural architecture search to find the best connection pattern in the hard case. We perform an extensive ablation study of the proposed MPT architecture and compare it with other state-of-the-art transformer architectures. Surprisingly, Base Transformer equipped with MPT can surpass the performance of Large Transformer on the challenging machine translation En-De and En-Fr datasets. In the hard connection case, the optimal connection pattern found for En-De also leads to improved performance for En-Fr.

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

↑