Abstract
Quality Estimation (QE) for Neural Machine Translation (NMT) aims to predict translation quality without human references. This paper proposes a framework that enhances QE by integrating Uncertainty Quantification (UQ) features. By fusing "glass-box" internal model signals and "black-box" linguistic patterns into a pre-trained XLM-R model, the authors achieve state-of-the-art results on the WMT 2020 QE shared task across various language pairs.
Introduction
Neural Machine Translation (NMT) has achieved high levels of fluency but remains prone to critical errors in specialized domains like legal or medical translation. Quality Estimation (QE) is vital for identifying these errors without human-written references. Traditional QE systems often operate as "black-boxes," analyzing only the source and target text. While some "glass-box" approaches exist, they typically rely on simple metrics like language model probabilities. This research argues that the internal uncertainty of an NMT model is a rich, underutilized signal for predicting translation quality. If a model is "unsure" about its output, that uncertainty serves as a strong indicator of low translation quality.
Methodology
The proposed architecture integrates traditional linguistic representations with five categories of UQ features. These features are concatenated with the hidden representation from a pre-trained XLM-R model and processed through a feed-forward layer for final quality prediction.
The UQ features include:
- Softmax Distribution (Glass-Box): Statistical indicators (expectation, standard deviation) derived from the probability of generated words. High variance often signals model hesitation.
- Monte Carlo (MC) Dropout (Glass-Box): Measuring output stability across multiple stochastic inference passes by keeping dropout layers active.
- Informative Training Data (Glass-Box): Assessing "data uncertainty" by checking N-gram overlap with training sets and using k-nearest neighbors to determine if the input is "unfamiliar" to the model.
- Noised Data (Hybrid): Observing model sensitivity to perturbations in the source text, simulating post-editing scenarios.
- Pre-trained Model Features (Black-Box): Using masked language model (XLM-R) probabilities to estimate the naturalness of tokens.
Experimental Setup
The framework was evaluated on the WMT 2020 QE Shared Task (MLQE dataset), covering six language pairs across different resource levels:
- Low Resource: Sinhala-English (Si-En), Nepali-English (Ne-En).
- Mid Resource: Estonian-English (Et-En), Romanian-English (Ro-En).
- High Resource: English-German (En-De), English-Chinese (En-Zh).
Performance is measured using the Pearson correlation with human Direct Assessment (DA) scores.
Results and Discussion
The "Multiple Features Enhanced Model" consistently outperformed established baselines, including TransQuest, the winner of the WMT 2020 QE task.
Key results include:
- High Resource (En-De): Pearson correlation improved significantly from 0.3772 (TransQuest) to 0.5086.
- Low Resource (Si-En): Improved from 0.6207 to 0.6677.
- Mid Resource (Ro-En): Reached a high correlation of 0.8986.
The study reveals that uncertainty is a multi-faceted signal. Glass-box and black-box features provide complementary information, with resource-specific effectiveness. For instance, data-level features like nearest neighbors were highly effective for high-resource languages, while noised-data simulations significantly aided low-resource scenarios.
Conclusion and Limitations
Integrating model "self-awareness" via UQ features significantly advances QE performance. However, challenges remain regarding computational cost and access. Methods like MC Dropout and nearest-neighbor searches are computationally intensive, potentially hindering real-time deployment. Additionally, "glass-box" features require internal model access, which is often unavailable when using proprietary third-party translation APIs. Future work will focus on improving efficiency and exploring ways to distill these insights into purely black-box models.
Summary updated