Introduction
Neural Machine Translation (NMT) typically relies on Maximum-a-posteriori (MAP) decoding, such as beam search, to generate translations. However, the most probable sequence under the model is not always the highest quality translation according to human judgment. To bridge this gap, techniques like Minimum Bayes Risk (MBR) decoding and Quality Estimation (QE) reranking are employed. These methods involve generating multiple candidate translations and selecting the best one using an external "judge" model. While effective, these external models are often large and slow, leading to significant computational overhead—MBR, for instance, has a quadratic complexity $O(M^2)$ relative to the number of candidates.
This research introduces "Quality-Aware" translation models that integrate quality estimation directly into the NMT architecture, enabling high-quality generation and efficient reranking without external dependencies.
Methodology: Integrating Quality Awareness
The authors propose two primary strategies to embed quality signals within the NMT model:
1. Quality-Aware Prompting (QA Prompting)
In this approach, training data is augmented with quality scores from a state-of-the-art metric (e.g., MetricX-QE). These scores are discretized into bins (e.g., [0] to [9]) and prepended to the source sentence. At inference time, the model is "prompted" with the highest quality token (e.g., [9]), steering it to generate its best possible output.
2. Quality-Aware Prediction (QA Prediction)
Alternatively, the quality token can be appended to the target sentence during training. This teaches the model to predict a quality score for its own generated translation. As shown in Figure 1, the model's internal predictions correlate strongly with external quality metrics, allowing it to act as an efficient internal judge.
Efficiency Gains in MBR Decoding
One of the most impactful applications of these internal quality signals is the optimization of MBR decoding. Traditionally, MBR requires calculating a utility function for every pair of $M$ candidates. By using the model's internal QA scores to "pre-filter" the candidate list—for example, selecting the top 5 out of 100 samples—the number of expensive utility calculations is reduced by up to two orders of magnitude.
Key Results and Performance
The proposed methods were evaluated on WMT 2022 English-German and English-Japanese tasks. Key findings include:
- Superior Translation Quality: QA Prompting consistently outperformed baseline MAP decoding. In human evaluations (MQM), it reduced error scores from 1.81 to 1.43, sometimes even surpassing external QE-reranking.
- Massive Speedups: The QA-based filtering reached a COMET score of 86.9 with just 5 candidates, a level that the baseline MBR required 50 candidates to achieve. This represents a 100-fold reduction in utility function computations.
- Generalizability: The QA Prompting technique was successfully applied to a Large Language Model (PaLM-2 Bison), resulting in a 1.3-point gain in BLEURT, indicating that the method is not limited to dedicated NMT architectures.
Conclusion
Quality-Aware translation models offer a path toward more efficient and high-performing NMT. By internalizing the "judgment" process, these models achieve the benefits of complex reranking and MBR decoding at a fraction of the computational cost. Future work will explore the application of these techniques in low-resource and multilingual settings, as well as their potential to improve model calibration.
Summary updated