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

Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translation

University of Helsinki(赫尔辛基大学)

Alessandro Raganato, Yves Scherrer, Jörg Tiedemann

英文摘要:

Transformer-based models have brought a radical change to neural machine translation. A key feature of the Transformer architecture is the so-called multi-head attention mechanism, which allows the model to focus simultaneously on different parts of the input. However, recent works have shown that most attention heads learn simple, and often redundant, positional patterns. In this paper, we propose to replace all but one attention head of each encoder layer with simple fixed -- non-learnable -- attentive patterns that are solely based on position and do not require any external knowledge. Our experiments with different data sizes and multiple language pairs show that fixing the attention heads on the encoder side of the Transformer at training time does not impact the translation quality and even increases BLEU scores by up to 3 points in low-resource scenarios.

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

↑