TL;DR
Standard neural machine translation (NMT) models often prioritize the most mathematically probable translation rather than the highest quality one, while current fixes require slow, expensive external evaluation models. This paper builds quality awareness directly into the translation model itself, achieving state-of-the-art translation quality in a single pass and speeding up Minimum Bayes Risk (MBR) decoding by up to two orders of magnitude.
What Problem Does This Paper Address?
Most modern NMT systems rely on Maximum-a-posteriori (MAP) decoding (like beam search) to find the translation that maximizes conditional probability. However, high probability does not always correlate with high human-judged quality; for instance, NMT models frequently assign lower probabilities to genuine human translations than to their own repetitive beam search outputs.
To fix this, researchers use alternative strategies like Minimum Bayes Risk (MBR) decoding or Quality Estimation (QE) reranking. These methods generate a large list of candidate translations and score them using an external neural metric model to find the best one. While highly effective at improving quality, these approaches are computationally brutal—MBR has a quadratic time complexity ($O(M^2)$) relative to the candidate list size $M$. Because each step requires a forward pass through a large neural network, running MBR is often too slow for practical deployment. The authors of this paper tackle this bottleneck by eliminating the need for an external scoring model entirely.
Methods
The core idea is to make the NMT model its own quality judge. The authors achieve this by first scoring their entire training dataset with an advanced external QE metric (MetricX-QE). They then discretize these continuous quality scores into $B$ equal-mass bins (e.g., 10 bins labeled [0] to [9]) to ensure a balanced training distribution.
They introduce two distinct strategies to integrate these tokens:
- Quality-Aware Prompting (QA Prompting): The quality token is appended to the source sentence during training. This teaches the model to associate specific inputs with target quality levels. At inference time, you can simply "prompt" the model for the best possible output by appending the highest-quality token (e.g.,
[9]) to the source text. - Quality-Aware Prediction (QA Prediction): The quality token is appended to the target sentence during training. The model learns to jointly predict the translation and its corresponding quality score. At inference time, the model's own predicted scores and log probabilities are used to rank candidate translations.
Datasets
The authors evaluated their methods on two high-resource language pairs from the WMT 2022 shared task:
- English to German (en $\rightarrow$ de): 295.8 million training samples.
- English to Japanese (en $\rightarrow$ ja): 33.9 million training samples.
Evaluations were performed on the WMT 2022 general translation task test sets. For control experiments validating the model's quality estimation capabilities, they utilized the WMT23 QE shared task dataset.
Key Insights and Ideas
- NMT Models Can Self-Assess: A translation model can successfully double as a quality estimation model. While it doesn't quite match a massive, dedicated 2B-parameter QE model, it comfortably outperforms traditional reference-based metrics like BLEU and ChrF—even though those traditional metrics have access to the ground-truth human reference, and the QA Prediction model does not.
- Drastic Candidate Pruning: In MBR decoding, instead of comparing a massive pool of random samples, the internalized quality signal allows the system to pre-filter and keep only a tiny fraction of the highest-quality candidates (e.g., reducing the pool from 50 down to 5), bypassing the quadratic compute trap.
- Single-Pass Superiority: QA Prompting completely removes the generation-and-reranking pipeline. By simply asking for a high-quality translation upfront, it achieves the performance of a reranking system in a single pass.
Key Results
- 100x MBR Speedup: When combining their quality-aware models with MBR decoding, a candidate list size of just $M=5$ achieved the same or better COMET scores as a baseline MBR model using $M=50$ or even $M=1024$. This reduction from 2450 utility function computations down to just 20 represents a two-orders-of-magnitude speedup.
- Substantial Quality Gains: For single-pass decoding on the full English-German corpus, QA Prompting boosted the COMET score from 85.8 (baseline) to 87.1, performing on par with expensive external QE reranking.
- Human Validation: Expert human evaluations using the Multidimensional Quality Metrics (MQM) framework confirmed these findings. QA Prompting significantly reduced translation errors, dropping the error score from 1.81 (baseline) to 1.43, even slightly outperforming external QE reranking (1.50).
Limitations and Future Work
While promising, the authors note a few limitations:
- Language Constraints: The approach has only been validated on two high-resource language pairs. Its efficacy in low-resource or highly multilingual settings remains an open question.
- Risk of Overfitting to Metrics: Because the training data labels rely entirely on MetricX-QE, the NMT model risks inheriting and amplifying any underlying biases or blind spots present in that specific metric.
- Heavy Upfront Compute: Preparing the training data requires running a massive 2B-parameter QE model over hundreds of millions of sentences, making the data preprocessing pipeline computationally expensive.
Summary updated