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

Attention Is All You Need

Attention Is All You Need

Google Brain(谷歌大脑);Google Research(谷歌研究院);University of Toronto(多伦多大学);Google(谷歌)

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, Illia Polosukhin

摘要:

主导序列转导模型基于编码器-解码器配置中的复杂递归或卷积神经网络。性能最好的模型还通过注意力机制连接编码器和解码器。我们提出了一种新的简单的网络架构,Transformer,完全基于注意力机制,完全免除了递归和卷积。两个机器翻译任务的实验表明,这些模型是优越的质量,同时更并行化,并需要显着更少的时间来训练。我们的模型在WMT 2014年英语到德语翻译任务中达到了28.4 BLEU,比现有的最佳结果有所改善,包括超过2 BLEU的集成。在WMT 2014英语到法语的翻译任务中,我们的模型在8个GPU上训练了3.5天后,建立了一个新的单模型最先进的BLEU得分为41.8,这是文献中最好模型训练成本的一小部分。我们表明,Transformer推广到其他任务,成功地将其应用于英语选区分析与大型和有限的训练数据。

英文摘要:

The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU. On the WMT 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art BLEU score of 41.8 after training for 3.5 days on eight GPUs, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.

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

↑