Abstract
Quality Estimation (QE) models for Neural Machine Translation (NMT) predict the quality of the hypothesis without having access to the reference. An emerging research direction in NMT involves the use of QE models, which have demonstrated high correlations with human judgment and can enhance translations through Quality-Aware Decoding. Although several approaches have been proposed based on sampling multiple candidate translations and picking the best candidate, none have integrated these models directly into the decoding process. In this paper, we address this by proposing a novel token-level QE model capable of reliably scoring partial translations. We build a uni-directional QE model for this, as decoder models are inherently trained and efficient on partial sequences. We then present a decoding strategy that integrates the QE model for Quality-Aware decoding and demonstrate that the translation quality improves when compared to the N-best list re-ranking with state-of-the-art QE models (up to 1.39 XCOMET-XXL). Finally, we show that our approach provides significant benefits in document translation tasks, where the quality of N-best lists is typically suboptimal.
Introduction: The Probability Trap
Standard Neural Machine Translation (NMT) models operate on a "maximum probability" principle, attempting to find the sequence with the highest likelihood according to training data. However, high probability does not always correlate with high quality. In complex or long-form translations, the probability mass often spreads thin across many valid ways to start a sentence. This "probability trap" can cause high-quality translations to be pruned early in the beam search.
While Quality Estimation (QE) models are often used to re-rank a finished N-best list of candidates, this approach is limited: if a high-quality translation is pruned during decoding, re-ranking cannot recover it. This research proposes Quality-Aware Decoding, integrating quality feedback directly into the generation process to guide the search from the first token.
Methods: Unifying Estimation and Decoding
The proposed framework consists of two main components: a specialized QE model and an integrated decoding strategy.
1. Token-Level, Uni-directional QE Model
Traditional QE models like COMET are bi-directional and require full sequences. To guide decoding, the authors developed a uni-directional model based on a decoder-only LLM (Tower-Instruct-7B) to score partial sequences.
A key innovation is the "Patient" Labeling Scheme. To avoid penalizing a prefix that might lead to a correct translation, the model only labels the final token of an error span as BAD. Preceding tokens within the error span are masked during training, allowing the model to focus on the point where the error is fully realized.
2. Integrated Decoding Strategy
The decoder calculates a merged score at each step by combining the NMT model's log-probability with the QE model's score:
$$\text{Score} = (\alpha) \cdot \text{Score}_{\text{NMT}} + (1 - \alpha) \cdot \text{Score}_{\text{QE}}$$
To maintain efficiency, the QE model only evaluates the top-k extensions identified by the NMT model, leveraging the uni-directional architecture's ability to cache hidden states.
Experimental Results
The study utilized WMT Multidimensional Quality Metrics (MQM) datasets (2022-2024) for training and testing on English $\rightarrow$ German and Chinese $\rightarrow$ English tasks. Evaluation was conducted using high-accuracy metrics XCOMET-XXL and MetricX.
- Performance Gains: The integrated decoding method outperformed standard N-best re-ranking by up to 1.39 XCOMET-XXL points.
- Document-Level Impact: Improvements were most significant in paragraph-level translations. For English $\rightarrow$ German, the gain over re-ranking was nearly three times higher for paragraphs ($\delta = +1.16$) than for isolated sentences ($\delta = +0.38$).
- Human Correlation: The token-level QE model demonstrated twice the correlation with human judgments compared to raw NMT log-probabilities.
Conclusion and Future Work
Quality-Aware Decoding effectively addresses the limitations of probability-based search, particularly for long-form documents where N-best lists are often suboptimal. While the current approach increases computational overhead, future work aims to use these QE models as rewards in a Reinforcement Learning (RL) framework. This would allow NMT models to internalize quality-awareness during training, achieving similar gains without the inference-time cost of a dual-model system.
Summary updated