mlsanityData to 7 Oct 2026

Learning Confidence for Transformer-based Neural Machine Translation

arXiv 2203.11413 ↗First posted 22 Mar 2022cs.CL cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Confidence estimation aims to quantify the confidence of the model prediction, providing an expectation of success. A well-calibrated confidence estimate enables accurate failure prediction and proper risk measurement when given noisy samples and out-of-distribution data in real-world settings. However, this task remains a severe challenge for neural machine translation (NMT), where probabilities from softmax distribution fail to describe when the model is probably mistaken. To address this problem, we propose an unsupervised confidence estimate learning jointly with the training of the NMT model. We explain confidence as how many hints the NMT model needs to make a correct prediction, and more hints indicate low confidence. Specifically, the NMT model is given the option to ask for hints to improve translation accuracy at the cost of some slight penalty. Then, we approximate their level of confidence by counting the number of hints the model uses. We demonstrate that our learned confidence estimate achieves high accuracy on extensive sentence/word-level quality estimation tasks. Analytical results verify that our confidence estimate can correctly assess underlying risk in two real-world scenarios: (1) discovering noisy samples and (2) detecting out-of-domain data. We further propose a novel confidence-based instance-specific label smoothing approach based on our learned confidence estimate, which outperforms standard label smoothing.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 21 of its 29 references that are in the map. First posted on arXiv 22 Mar 2022.

Builds on

21 of 29 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  3. 2017On Calibration of Modern Neural Networkscited by 4,860
  4. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  6. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  7. 2016Concrete Problems in AI Safetycited by 1,582
  8. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  9. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
  10. 2019When Does Label Smoothing Help?cited by 985
  11. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  12. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
9 more
  1. 2020Unsupervised Quality Estimation for Neural Machine Translationcited by 210
  2. 2019Addressing Failure Prediction by Learning Model Confidencecited by 183
  3. 2015Posterior calibration and exploratory analysis for natural language processing modelscited by 75
  4. 2019Calibration of Encoder Decoder Models for Neural Machine Translationcited by 67
  5. 2020On the Inference Calibration of Neural Machine Translationcited by 61
  6. 2019Improving Back-Translation with Uncertainty-based Confidence Estimationcited by 34
  7. 2020Wat zei je? Detecting Out-of-Distribution Translations with Variational Transformerscited by 31
  8. 2019Unbabel's Participation in the WMT19 Translation Quality Estimation Shared Taskcited by 13
  9. 2021Beyond Glass-Box Features: Uncertainty Quantification Enhanced Quality Estimation for Neural Machine Translationcited by 5

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.