Speeding Up Neural Machine Translation Decoding by Cube Pruning
arXiv:1809.02992
Abstract
Although neural machine translation has achieved promising results, it suffers from slow translation speed. The direct consequence is that a trade-off has to be made between translation quality and speed, thus its performance can not come into full play. We apply cube pruning, a popular technique to speed up dynamic programming, into neural machine translation to speed up the translation. To construct the equivalence class, similar target hidden states are combined, leading to less RNN expansion operations on the target side and less $\mathrm{softmax}$ operations over the large target vocabulary. The experiments show that, at the same or even better translation quality, our method can translate faster compared with naive beam search by $3.3\times$ on GPUs and $3.5\times$ on CPUs.
arXiv comment11pages, 11 figures, EMNLP-2018 conference
References in corpus (6)
- Sequence to Sequence Learning with Neural Networks
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- ADADELTA: An Adaptive Learning Rate Method
- Convolutional Sequence to Sequence Learning
- Sequence Transduction with Recurrent Neural Networks
- Recurrent Convolutional Neural Networks for Discourse Compositionality