RMBR: A Regularized Minimum Bayes Risk Reranking Framework for Machine Translation

Yidan Zhang, Yu Wan, Dayiheng Liu, Baosong Yang, Zhenan HearXiv 2022 · DOI

Abstract

Neural Machine Translation (NMT) typically relies on Maximum-A-Posteriori (MAP) decoding, which often selects suboptimal sequences due to model overconfidence and the "beam search curse." We present RMBR, a Regularized Minimum Bayes Risk framework that shifts the focus from probability to consensus. By incorporating semantic utility metrics (COMET, BLEURT) and regularizers for quality and uncertainty, RMBR identifies translations that are semantically robust and fluent. Our evaluation shows that RMBR significantly outperforms standard beam search and traditional MBR, while scaling effectively with larger search spaces.

Introduction: The Limits of MAP Decoding

In Neural Machine Translation (NMT), the standard generation method is Maximum-A-Posteriori (MAP) decoding via beam search. This approach essentially asks the model to identify the single most probable sequence of words. However, the most probable translation is not always the highest quality. NMT models frequently suffer from the "beam search curse," where increasing the search space (beam size) leads to a plateau or even a drop in translation quality. This is often caused by model overconfidence, where suboptimal, unnatural sequences are assigned higher probabilities than actual human references.

The RMBR Framework

To address the limitations of MAP decoding, the authors propose RMBR (Regularized Minimum Bayes Risk). Minimum Bayes Risk (MBR) decoding seeks a "consensus" translation—the one most similar on average to all other candidates in an $n$-best list. RMBR refines this approach with three key innovations:

  1. Semantic Utility: Instead of relying on surface-level word overlap (like BLEU), RMBR uses neural metrics such as COMET and BLEURT. These metrics leverage embeddings to measure semantic similarity, ensuring that consensus is based on meaning rather than just vocabulary.
  2. Truncated Expected Utility (N-by-L): To improve computational efficiency and avoid noise from low-quality translations at the bottom of the list, RMBR compares candidates only against the top $l$ translations rather than the entire $n$-best list.
  3. Regularization: The framework adds a regularization term to the MBR score, incorporating Quality Regularizers (e.g., GPT-2, Back-Translation) and Uncertainty Regularizers (e.g., MC Dropout, Entropy) to ensure the selected candidate is both fluent and confident.

Key Insights: Overconfidence and Oracle Distribution

Empirical analysis confirms that NMT models are biased toward "safe" but potentially lower-quality sequences. As shown in Figure 5(b), the average token probability of top-1 beam search results is significantly higher than that of human references. Furthermore, the distribution of "oracle" translations (the best possible translations in a list) justifies the truncated N-by-L strategy; these high-quality candidates rarely appear at the very end of a large $n$-best list (Figure 5c).

Figure 5: Analysis of NMT model behavior. (a) Oracle BLEU scores vs. sample size. (b) Mean token probability vs. sentence length, showing model overconfidence compared to human references. (c) Distribution of oracle ranks in the n-best list.

Experimental Results: Curing the Curse

The RMBR framework was evaluated on standard benchmarks including IWSLT’14 and WMT’14. It demonstrated impressive improvements over standard beam search (beam size 5), achieving gains of +1.9 BLEU, +7.5 COMET, and +4.4 BLEURT points on the IWSLT’14 De→En task.

Crucially, RMBR effectively "cures" the beam search curse. Unlike standard beam search, where quality often degrades with very large beams, RMBR performance continues to improve as the beam size increases (Figure 6). Human evaluations further support these findings, with translations selected by MBR-COMET judged as superior to standard beam search results more than twice as often.

Figure 6: Translation quality metrics (BLEU, COMET, BLEURT) as a function of beam size, demonstrating that RMBR performance continues to improve as the search space increases.

Conclusion

RMBR provides a robust framework for improving NMT quality by prioritizing semantic consensus and incorporating external knowledge through regularization. While the framework introduces additional inference latency (roughly 1.4x to 4.7x slower than top-1 beam search), its ability to scale with search space and its superior semantic accuracy make it a powerful tool for high-quality translation applications.

Summary updated

BibTeX
@misc{zhang2022rmbr,
  author = {Yidan Zhang and Yu Wan and Dayiheng Liu and Baosong Yang and Zhenan He},
  title = {{RMBR: A Regularized Minimum Bayes Risk Reranking Framework for Machine Translation}},
  year = {2022},
  eprint = {2203.00201},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.00201},
}
Figure