Uncertainty-Aware Machine Translation Evaluation

Taisiya Glushkova, Chrysoula Zerva, Ricardo Rei, André F. T. Martins

Modern Machine Translation (MT) evaluation has transitioned from simple word-matching metrics like BLEU to sophisticated neural metrics such as COMET and BLEURT. While these neural metrics correlate better with human judgment, they suffer from a "point estimate" problem: they output a single score without indicating its reliability. This paper, presented at EMNLP 2021, introduces UA-COMET, an uncertainty-aware evaluation metric that provides both a quality score and a confidence interval.

The Problem: Overconfident Metrics

Neural metrics are typically trained on human judgments that can be noisy, biased, or scarce. When encountering out-of-domain sentences or "hallucinations" (fluent but factually incorrect translations), a standard metric might still output a high score. Without a measure of uncertainty, users cannot distinguish between a reliable high score and a guess, potentially allowing critical translation errors to persist in production environments.

Comparison of standard COMET point estimates vs. UA-COMET confidence intervals for Russian translations.

Methodology: UA-COMET

The researchers augmented the existing COMET framework with two primary uncertainty estimation methods:

  1. Monte Carlo (MC) Dropout: During inference, the model is run multiple times (e.g., 100 runs) with active dropout layers. The resulting distribution's mean represents quality, while the variance represents uncertainty.
  2. Deep Ensembles: Multiple versions of the model are trained with different random initializations. Disagreement between these models serves as the uncertainty signal.

Key Innovations

  • Distributional Representation: Quality is treated as a random variable $Q$ following a Gaussian distribution rather than a fixed point estimate $\hat{q}$.
  • Post-Calibration: To ensure that a 95% confidence interval actually contains the true value 95% of the time, the authors apply an affine transformation to the raw variance estimates.
  • Multi-Reference Handling: The framework allows for aggregating scores across multiple reference translations, demonstrating that uncertainty naturally decreases as more reference data becomes available.

Key Results and Insights

Improved Calibration

UA-COMET significantly reduces the Expected Calibration Error (ECE). By applying post-calibration, the metric's confidence intervals become statistically meaningful and highly trustworthy, often dropping ECE from ~0.08 to ~0.01.

Expected Calibration Error (ECE) before and after post-calibration, showing the shift toward a perfectly calibrated diagonal.

Identifying Critical Errors

In "referenceless" scenarios (Quality Estimation), UA-COMET outperforms standard COMET in identifying the worst 2% of translations. By utilizing the uncertainty-aware "risk" score—calculated via the Cumulative Distribution Function (CDF)—the metric achieves higher precision in flagging translations that require human intervention.

Practical Considerations

While Deep Ensembles provide slightly better accuracy, MC Dropout was found to be more practical for deployment as it avoids the overhead of training and storing multiple large-scale models. However, both methods increase computational cost compared to single-pass point estimates.

Conclusion

By shifting the paradigm from "This translation is a 7/10" to "I am 95% sure this translation is between 6.8 and 7.2," UA-COMET provides a vital safety net for deploying machine translation in high-stakes, real-world applications. Future work may explore "glass-box" methods that examine the internal states of the MT decoder to further refine these uncertainty estimates.

Summary updated

BibTeX
@inproceedings{glushkova2021uncertainty,
  author = {Taisiya Glushkova and Chrysoula Zerva and Ricardo Rei and André F. T. Martins},
  title = {{Uncertainty-Aware Machine Translation Evaluation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.330},
}
Figure