Multi-Granularity Self-Attention for Neural Machine Translation
Abstract
Current state-of-the-art neural machine translation (NMT) uses a deep multi-head self-attention network with no explicit phrase information. However, prior work on statistical machine translation has shown that extending the basic translation unit from words to phrases has produced substantial improvements, suggesting the possibility of improving NMT performance from explicit modeling of phrases. In this work, we present multi-granularity self-attention (Mg-Sa): a neural network that combines multi-head self-attention and phrase modeling. Specifically, we train several attention heads to attend to phrases in either n-gram or syntactic formalism. Moreover, we exploit interactions among phrases to enhance the strength of structure modeling - a commonly-cited weakness of self-attention. Experimental results on WMT14 English-to-German and NIST Chinese-to-English translation tasks show the proposed approach consistently improves performance. Targeted linguistic analysis reveals that Mg-Sa indeed captures useful phrase information at various levels of granularities.
BibTeX
@inproceedings{hao2019multi,
author = {Jie Hao and Xing Wang and Shuming Shi and Jinfeng Zhang and Zhaopeng Tu},
title = {{Multi-Granularity Self-Attention for Neural Machine Translation}},
booktitle = {Conference on Empirical Methods in Natural Language Processing},
year = {2019},
doi = {10.18653/v1/d19-1082},
}Ask Althea to put this paper to the test.
| Dependency-Based Self-Attention for Transformer NMT | Ranlp · 2019 |
| Phrase-Based Attentions | arXiv · 2018 |
| Learning Source Phrase Representations for Neural Machine Translation | ACL · 2020 |
| Dependency-Based Self-Attention for Transformer Neural Machine Translation | Journal of Natural Language Processing · 2020 |
| Improved Neural Machine Translation with a Syntax-Aware Encoder and Decoder | arXiv · 2017 |
| Enhancing Machine Translation with Dependency-Aware Self-Attention | arXiv · 2019 |