Minimum Bayes Risk Decoding for BLEU

Nicola Ehling, Richard Zens, Hermann NeyACL 2007

Introduction

Standard statistical machine translation (SMT) systems typically employ Maximum A-Posteriori (MAP) decoding, which identifies the single most probable translation given a source sentence. While mathematically sound for minimizing sentence error rates, MAP decoding often diverges from the practical metrics used to evaluate translation quality, such as BLEU. BLEU rewards local n-gram overlap with human references, whereas MAP optimizes for the global probability of the entire string. This paper explores Minimum Bayes Risk (MBR) decoding as a means to bridge this gap by directly incorporating the BLEU metric into the decoding process.

The MBR Decoding Framework

The core objective of MBR decoding is to select a translation that minimizes the expected loss relative to the true translation. Since the true translation is unknown, MBR calculates the expected loss over the posterior distribution of all possible translations.

The Decision Rule

The MBR decision rule is defined as: $$\hat{e} = \text{argmin}_{e \in \mathcal{E}} \sum_{e' \in \mathcal{E}} P(e'|f) \cdot L(e, e')$$ In this study, the loss function $L(e, e')$ is defined as $1 - \text{BLEU}(e, e')$. By minimizing this loss, the decoder effectively searches for a "consensus" translation—one that shares the most n-grams with other high-probability candidates in the search space.

Implementation via N-best Lists

To make the search tractable, the authors restrict the candidate space $\mathcal{E}$ to an N-best list generated by a standard MAP decoder. They found that while lists up to $N=10,000$ were tested, a size of $N=1,000$ generally captured the necessary diversity to achieve peak performance gains. To handle the computational overhead of $O(N^2)$ BLEU calculations, the implementation includes early stopping criteria and a global scaling factor to tune the sharpness of the probability distribution.

Experimental Results

The authors evaluated the MBR approach across several diverse translation tasks, including Spanish-English (TC-STAR), Chinese-English (NIST and GALE), and Arabic-English (GALE). The datasets spanned formal newswire and parliamentary transcripts to informal newsgroup discussions.

Table 4: BLEU score comparison between MAP and MBR decoding across various test sets.

As shown in the results table, MBR decoding consistently outperformed MAP decoding across all domains and language pairs. The improvements were particularly notable in more challenging tasks. For example, in the GALE Chinese-English newsgroup (ng) task, MBR provided a 1.1% absolute BLEU improvement (from 9.4 to 10.5). This suggests that when the model's uncertainty is high, the consensus-based approach of MBR provides a more robust selection than the "winner-takes-all" nature of MAP.

Qualitative Analysis

Beyond numerical gains, MBR decoding often produces translations that are more semantically accurate by favoring common phrasings found across the N-best list.

Table 5: Qualitative examples comparing MAP and MBR hypotheses against human references.

In the examples provided, MBR successfully corrects subtle but critical errors. In the first Arabic-English example, the MAP hypothesis incorrectly suggests a citizen was "found guilty of killing," whereas the MBR hypothesis correctly identifies the passive voice "was killed," aligning better with the reference. This demonstrates how MBR acts as a democratic filter, selecting the hypothesis that best represents the collective evidence in the N-best list.

Conclusion and Limitations

MBR decoding offers a principled way to align SMT decoders with evaluation metrics like BLEU. While it consistently improves translation quality, it comes with increased computational costs and is inherently limited by the quality of the initial N-best list. Nevertheless, its ability to provide a "consensus" translation makes it a valuable tool for improving the robustness of machine translation systems, particularly in domains where model uncertainty is high.

Summary updated

BibTeX
@inproceedings{ehling2007minimum,
  author = {Nicola Ehling and Richard Zens and Hermann Ney},
  title = {{Minimum Bayes Risk Decoding for BLEU}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2007},
}
Figure