Skip to main content
QUICK REVIEW

[Paper Review] Later-stage Minimum Bayes-Risk Decoding for Neural Machine Translation

Raphael Shu, Hideki Nakayama|arXiv (Cornell University)|Apr 11, 2017
Natural Language Processing TechniquesComputer Science17 references8 citations
TL;DR

This paper proposes later-stage minimum Bayes-risk (MBR) decoding for neural machine translation, where MBR reranking is applied only after beam search to refine the best hypotheses. The method outperforms standard MBR reranking across all beam sizes and accelerates Bayes-risk computation via batched GPU-based discrepancy matrix calculation, achieving faster inference without sacrificing quality.

ABSTRACT

For extended periods of time, sequence generation models rely on beam search algorithm to generate output sequence. However, the correctness of beam search degrades when the a model is over-confident about a suboptimal prediction. In this paper, we propose to perform minimum Bayes-risk (MBR) decoding for some extra steps at a later stage. In order to speed up MBR decoding, we compute the Bayes risks on GPU in batch mode. In our experiments, we found that MBR reranking works with a large beam size. Later-stage MBR decoding is shown to outperform simple MBR reranking in machine translation tasks.

Motivation & Objective

  • To address the limitation of standard MBR reranking, which only improves performance with large beam sizes and suffers from high computational cost.
  • To overcome the issue of beam search getting trapped in suboptimal regions due to MBR reranking during search.
  • To accelerate Bayes-risk computation for MBR decoding using batched GPU processing.
  • To explore whether applying MBR decoding in a later stage—after beam search—can yield better results than concurrent or early-stage MBR reranking.
  • To evaluate the effectiveness of later-stage MBR decoding across varying beam sizes and evidence space sizes.

Proposed method

  • The method performs beam search first, saving the top B finished hypotheses and B discarded hypotheses to form the evidence space E and candidate list H.
  • After beam search, the algorithm applies MBR decoding by selecting the hypothesis from H with the lowest Bayes risk, computed using the discrepancy between candidates.
  • Discrepancy is measured using smoothed BLEU, and Bayes risk R(y) is computed as the expected loss over all candidates in E.
  • The discrepancy matrix is computed in batch on GPU using vectorized operations, significantly reducing computation time compared to CPU-based implementations.
  • The approach avoids integrating MBR during beam search to preserve search diversity and prevent premature convergence.
  • The method uses a standard NMT model with beam search, followed by a post-decoding MBR step that selects the lowest-risk hypothesis from a refined candidate pool.

Experimental results

Research questions

  • RQ1Does MBR reranking applied after beam search (later-stage MBR) outperform standard MBR reranking applied during beam search?
  • RQ2How does the performance of later-stage MBR decoding vary with different beam sizes?
  • RQ3Can GPU-based batch computation of Bayes risks significantly reduce the time cost of MBR decoding?
  • RQ4Why does standard MBR reranking only work effectively with large beam sizes?
  • RQ5How does the size of the evidence space affect the effectiveness of MBR reranking?

Key findings

  • Later-stage MBR decoding outperforms standard MBR reranking across all beam sizes, achieving a BLEU score of 35.87 with B=100, compared to 35.70 for MBR reranking.
  • Standard MBR reranking only improves performance with large beam sizes (e.g., BLEU 35.65 at B=100), while later-stage MBR shows consistent gains even at small beam sizes (e.g., BLEU 34.96 at B=5).
  • GPU-based Bayes-risk computation reduces reranking time per sentence from minutes (CPU) to milliseconds, with a linear scaling pattern instead of exponential growth.
  • Using approximated discrepancy values (smoothed BLEU) yields nearly identical performance to exact computation, enabling faster inference without quality loss.
  • The number of evidence candidates in the evidence space must be carefully chosen; using more than the beam size degrades performance.
  • The method is robust to beam size choice, showing that later-stage MBR decoding effectively compensates for suboptimal beam search results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.