Regularized Context Gates on Transformer for Machine Translation
arXiv:1908.11020
Abstract
Context gates are effective to control the contributions from the source and target contexts in the recurrent neural network (RNN) based neural machine translation (NMT). However, it is challenging to extend them into the advanced Transformer architecture, which is more complicated than RNN. This paper first provides a method to identify source and target contexts and then introduce a gate mechanism to control the source and target contributions in Transformer. In addition, to further reduce the bias problem in the gate mechanism, this paper proposes a regularization method to guide the learning of the gates with supervision automatically generated using pointwise mutual information. Extensive experiments on 4 translation datasets demonstrate that the proposed model obtains an averaged gain of 1.0 BLEU score over a strong Transformer baseline.
arXiv commentPublished in ACL 2020
References in corpus (11)
- Neural Machine Translation by Jointly Learning to Align and Translate
- Sequence to Sequence Learning with Neural Networks
- Convolutional Sequence to Sequence Learning
- Highway Networks
- THUMT: An Open Source Toolkit for Neural Machine Translation
- Pervasive Attention: 2D Convolutional Neural Networks for Sequence-to-Sequence Prediction
- Syntax-Directed Attention for Neural Machine Translation
- Supervised Attentions for Neural Machine Translation
- Neural Machine Translation with Supervised Attention
- Towards Robust Neural Machine Translation
- Bag-of-Words as Target for Neural Machine Translation