Introduction
Minimum Bayes Risk (MBR) decoding has emerged as a superior alternative to standard Maximum A Posteriori (MAP) decoding (beam search) in Neural Machine Translation (NMT). While beam search identifies the most probable sequence, MBR seeks the hypothesis with the highest expected utility, often leading to translations that better align with human judgment. However, MBR's quadratic complexity—requiring hundreds of samples and exhaustive pairwise comparisons—makes it computationally prohibitive, especially when using neural utility metrics like COMET. This paper presents an iterative pruning algorithm that leverages bootstrap sampling to identify and discard unlikely candidates early, achieving significant speedups without compromising translation quality.
Methodology: Confidence-based Pruning
The core contribution is an iterative algorithm that narrows down the pool of candidate translations as evidence is gathered. Instead of evaluating all hypotheses against a fixed set of pseudo-references, the algorithm proceeds in stages:
- Iterative Scheduling: The process starts with a small initial subset of references (e.g., 8 or 16).
- Bootstrap Resampling: To decide which hypotheses to keep, the algorithm uses a nonparametric bootstrap. It resamples the current reference set many times to estimate the probability that a specific hypothesis is the "true winner."
- Pruning Criterion: If the estimated probability of a hypothesis being the winner falls below a confidence threshold (defined by $1-\alpha$), it is pruned from the set.
- Growth: The number of pseudo-references is doubled at each step, and the remaining hypotheses are re-evaluated until a single candidate remains or the maximum sample size is reached.
Crucially, the bootstrap step requires no new calls to the expensive utility function; it simply re-uses scores already calculated in that iteration, ensuring the overhead remains minimal.
Experimental Results
The method was evaluated on WMT18 datasets (de-en, en-et, tr-en) using chrF++ and COMET as both internal utility functions and final evaluation metrics. The results demonstrate that the pruning approach maintains the high translation quality of full MBR while drastically reducing computational costs.
Key Findings
- Efficiency Gains: The pruning method reduced the number of utility function calls by a factor of 7x for chrF++ and 15x for COMET compared to standard MBR.
- Maintained Quality: Across all language pairs, evaluation scores were statistically indistinguishable from standard, full-computation MBR. Human side-by-side evaluations confirmed that the outputs were indistinguishable in quality.
- Wall-clock Performance: In practical tests, the total decoding time for 100 sentences dropped from ~398 seconds to ~211 seconds. While still slower than beam search, this optimization makes MBR significantly more viable for real-world applications.
Conclusion
Confidence-based pruning effectively mitigates the computational bottleneck of MBR decoding. By focusing resources on the most promising hypotheses and discarding "obvious losers" early, the algorithm achieves order-of-magnitude reductions in expensive metric evaluations. This work represents a major step toward making high-utility decoding practical for high-performance NMT systems.
Summary updated