CLFeb 6, 2017

Beam Search Strategies for Neural Machine Translation

arXiv:1702.01806v2501 citations
AI Analysis

This work addresses decoding speed issues in NMT for translation tasks, offering a practical improvement but is incremental as it builds on existing beam search methods.

The paper tackled the inefficiency of fixed-beam search in neural machine translation by proposing a flexible beam search strategy that varies candidate size based on scores, achieving up to 43% faster decoding for German-English and Chinese-English without quality loss.

The basic concept in Neural Machine Translation (NMT) is to train a large Neural Network that maximizes the translation performance on a given parallel corpus. NMT is then using a simple left-to-right beam-search decoder to generate new translations that approximately maximize the trained conditional probability. The current beam search strategy generates the target sentence word by word from left-to- right while keeping a fixed amount of active candidates at each time step. First, this simple search is less adaptive as it also expands candidates whose scores are much worse than the current best. Secondly, it does not expand hypotheses if they are not within the best scoring candidates, even if their scores are close to the best one. The latter one can be avoided by increasing the beam size until no performance improvement can be observed. While you can reach better performance, this has the draw- back of a slower decoding speed. In this paper, we concentrate on speeding up the decoder by applying a more flexible beam search strategy whose candidate size may vary at each time step depending on the candidate scores. We speed up the original decoder by up to 43% for the two language pairs German-English and Chinese-English without losing any translation quality.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes