Abstract | ||
---|---|---|
In this paper, we propose a multi-hop attention for the Transformer. It refines the attention for an output symbol by integrating that of each head, and consists of two hops. The first hop attention is the scaled dot-product attention which is the same attention mechanism used in the original Transformer. The second hop attention is a combination of multi-layer perceptron (MLP) attention and head gate, which efficiently increases the complexity of the model by adding dependencies between heads. We demonstrate that the translation accuracy of the proposed multi-hop attention outperforms the baseline Transformer significantly, +0.85 BLEU point for the IWSLT-2017 German-to-English task and +2.58 BLEU point for the WMT-2017 German-to-English task. We also find that the number of parameters required for a multi-hop attention is smaller than that for stacking another self-attention layer and the proposed model converges significantly faster than the original Transformer. |
Year | DOI | Venue |
---|---|---|
2019 | 10.18653/v1/p19-2030 | 57TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2019:): STUDENT RESEARCH WORKSHOP |
DocType | Volume | Citations |
Conference | P19-2 | 0 |
PageRank | References | Authors |
0.34 | 0 | 6 |
Name | Order | Citations | PageRank |
---|---|---|---|
Shohei Iida | 1 | 0 | 1.69 |
Ryuichiro Kimura | 2 | 0 | 1.01 |
Hongyi Cui | 3 | 0 | 1.69 |
Po-Hsuan Hung | 4 | 0 | 1.35 |
takehito utsuro | 5 | 456 | 82.76 |
Masaaki Nagata | 6 | 19 | 5.41 |