AI
New Method Speeds Up Quality-Focused Text Generation 100-fold
Researchers propose a faster alternative to Minimum Bayes Risk decoding that maintains translation quality while cutting computational complexity from quadratic to linear.
Minimum Bayes Risk (MBR) decoding has emerged as a promising technique for refining machine-generated text, particularly in translation tasks, but its computational demands have limited practical adoption. A new approach tackles this bottleneck by replacing expensive pairwise comparisons with aggregated reference scores.
The Problem with Current MBR Decoding#
Generating high-quality text through neural models often involves sampling multiple candidate outputs and selecting the best one. MBR decoding improves this selection process by scoring each candidate based on how well it aligns with all other sampled sequences. However, this requires computing a utility metric between every pair of outputs—a computationally expensive operation that scales quadratically with the number of samples.
A Faster Alternative#
Rather than compare each candidate directly against every other candidate, researchers propose calculating scores against aggregated reference representations instead. This reformulation dramatically reduces the algorithmic complexity from O(n²) to O(n)—a linear-time operation. The aggregated references capture the common features of multiple outputs in a single representation.
Empirical Performance#
Testing shows that this approximation preserves most of the quality improvements that standard MBR decoding delivers, while substantially reducing wall-clock computation time. This makes the method far more practical for real-world deployment in translation systems and other text generation applications.
Researchers have released source code alongside the paper, submitted to arXiv in February 2024.

