High Quality Rather than High Model Probability: Minimum Bayes Risk Decoding with Neural Metrics

Markus Freitag, David Grangier, Qijun Tan, Bowen Liang · DOI

TL;DR

This paper challenges the long-held assumption in Neural Machine Translation (NMT) that the most probable translation is also the highest quality one. They introduce Minimum Bayes Risk (MBR) decoding, using neural metrics like BLEURT, to directly optimize for translation quality rather than model probability. This approach yields significantly better human evaluations, producing translations that are less likely according to the NMT model but are preferred by human judges.

What Problem Does This Paper Address?

For years, the standard approach in NMT has been to approximate the "maximum a posteriori" (MAP) hypothesis using beam search. This strategy assumes that the translation with the highest probability assigned by the NMT model is the best one. However, this assumption is increasingly being questioned. Human translations are often ranked higher than NMT outputs, yet NMT models themselves assign lower probabilities to these human translations. This discrepancy suggests that model probability and actual translation quality are not perfectly aligned. The paper aims to bridge this gap by exploring decoding strategies that directly optimize for quality as measured by advanced metrics, rather than relying solely on the model's internal probability estimates.

Methods

The core of the paper's contribution lies in Minimum Bayes Risk (MBR) decoding. Unlike beam search, which picks the single most probable hypothesis, MBR decoding aims to select a hypothesis that maximizes its expected utility with respect to a distribution of possible human translations. Since the true distribution of human translations is unknown, the authors use the NMT model's own probability distribution to approximate it.

A key innovation is the use of neural metrics (like BLEURT and COMET) as the "utility function" within MBR decoding. Traditional metrics like BLEU rely on lexical overlap, which can be biased towards frequent words and may not capture nuanced quality. Neural metrics, trained on human judgments, are better at evaluating translations with different wording, sentence structures, and lengths.

The paper employs a sampling-based approximation of MBR decoding. Instead of exhaustively searching all possible translations, they generate a large set of unbiased samples from the NMT model and then select the hypothesis from this set that has the highest average utility when compared against other hypotheses in the set (treated as pseudo-references).

Datasets

The experiments were conducted on two language pairs: English-German (En→De) and German-English (De→En).

  • Training Data: The models were trained on a combination of standard NMT corpora: news-commentary-v15, paracrawl-v5.1, europarl-v10, and commoncrawl. Approximately 57 million training examples were used after filtering.
  • Development and Test Sets: newstest2019 was used for checkpoint selection, and newstest2021 served as the test set. For newstest2021, two reference translations were available for each language pair (Ref-C and Ref-D for En→De, and Ref-A and Ref-B for De→En).

Key Insights and Ideas

  • Model Probability vs. Translation Quality: The paper provides strong evidence that NMT model probabilities are a poor proxy for actual translation quality. Hypotheses with low model probabilities can be of higher quality, as demonstrated by human evaluations.
  • Neural Metrics for MBR: Using neural metrics like BLEURT as the utility function in MBR decoding is highly effective. These metrics, which are trained on human judgments, allow MBR to find translations that are genuinely preferred by humans, even if they are less probable according to the NMT model.
  • MBR Generates Different Translations: MBR decoding with neural metrics produces translations that are lexically distinct from those generated by beam search or MBR using overlap-based metrics. This suggests a departure from simply finding the most "common" or "likely" phrasing.
  • MBR Needs a Good Model: The effectiveness of MBR decoding is dependent on the quality of the underlying NMT model. When using a smaller, weaker model, the benefits of MBR diminish, highlighting the importance of a good candidate pool.
  • Candidate List Size Matters: While a large candidate list is beneficial for MBR, random sampling of candidates is more effective than relying solely on model probabilities (logP) for pruning, especially when reducing the list size.

Key Results

  • Human Evaluation Improvement: MBR decoding with BLEURT significantly outperformed beam search in human evaluations (MQM scores) for both En→De and De→En language pairs. For En→De, the improvement was statistically significant.
  • Overlap Metrics vs. Neural Metrics: MBR using overlap-based metrics (sBLEU, CHRF, YISI) produced results closer to beam search. However, MBR with BLEURT generated translations that were rated much higher by human evaluators.
  • Lexical Diversity: Cross-BLEU analysis showed that MBR with BLEURT produced translations that were significantly different from beam search outputs and human translations, indicating greater lexical diversity.
  • Error Reduction: MBR decoding with BLEURT led to a reduction in specific error categories, such as "Terminology/Inappropriate for context," compared to beam search.
  • Candidate List Size Impact: Figure 1 demonstrates that MBR can achieve competitive results even with significantly reduced candidate list sizes (e.g., 5 candidates for the expectation step), making it more computationally feasible.

Limitations and Future Work

  • Model Quality Dependency: The paper acknowledges that MBR's effectiveness is tied to the quality of the candidate list generated by the NMT model. A weaker model leads to less effective MBR decoding. Future work could explore methods to improve candidate list generation or adapt MBR to handle lower-quality lists.
  • Computational Cost: While sampling-based MBR is more efficient than exhaustive search, generating and evaluating a large number of candidates can still be computationally intensive, especially with large neural metrics. The paper explores pruning strategies to mitigate this.
  • Human Translation Quality: The authors note that in some cases, human translations themselves can contain critical errors, which can skew comparisons. This highlights the importance of high-quality references for evaluating MT systems.
  • Future Directions: The paper suggests exploring other neural metrics and further investigating the trade-offs between candidate list size, computational cost, and translation quality. They also hint at the potential for MBR to be applied to other sequence generation tasks beyond machine translation.

Summary updated

BibTeX
@article{freitag2022high,
  author = {Markus Freitag and David Grangier and Qijun Tan and Bowen Liang},
  title = {{High Quality Rather than High Model Probability: Minimum Bayes Risk Decoding with Neural Metrics}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2022},
  doi = {10.1162/tacl\_a\_00491},
}
Figure