Skip to main content
QUICK REVIEW

[Paper Review] On Calibrated Model Uncertainty in Deep Learning

Biraja Ghoshal, Allan Tucker|arXiv (Cornell University)|Jun 15, 2022
Anomaly Detection Techniques and ApplicationsComputer Science6 citations
TL;DR

This paper proposes a loss-calibrated Bayesian neural network using dropweights to improve model uncertainty calibration in deep learning, particularly for medical diagnosis. By maximizing expected utility over the posterior, the method reduces miscalibration—especially false negatives in Covid-19 X-ray detection—while maintaining high accuracy and achieving a 1.91 Maximum Uncertainty Calibration Error (MUCE), significantly outperforming standard models.

ABSTRACT

Estimated uncertainty by approximate posteriors in Bayesian neural networks are prone to miscalibration, which leads to overconfident predictions in critical tasks that have a clear asymmetric cost or significant losses. Here, we extend the approximate inference for the loss-calibrated Bayesian framework to dropweights based Bayesian neural networks by maximising expected utility over a model posterior to calibrate uncertainty in deep learning. Furthermore, we show that decisions informed by loss-calibrated uncertainty can improve diagnostic performance to a greater extent than straightforward alternatives. We propose Maximum Uncertainty Calibration Error (MUCE) as a metric to measure calibrated confidence, in addition to its prediction especially for high-risk applications, where the goal is to minimise the worst-case deviation between error and estimated uncertainty. In experiments, we show the correlation between error in prediction and estimated uncertainty by interpreting Wasserstein distance as the accuracy of prediction. We evaluated the effectiveness of our approach to detecting Covid-19 from X-Ray images. Experimental results show that our method reduces miscalibration considerably, without impacting the models accuracy and improves reliability of computer-based diagnostics.

Motivation & Objective

  • To address miscalibration in Bayesian neural networks, where estimated uncertainty does not match actual prediction error, especially in high-risk applications like medical diagnosis.
  • To improve decision reliability in deep learning by incorporating task-specific asymmetric utility functions, particularly minimizing costly false negatives in disease detection.
  • To develop a calibrated uncertainty estimation method that maintains model accuracy while reducing overconfidence in predictions.
  • To evaluate the effectiveness of loss-calibrated uncertainty in real-world medical imaging, specifically for Covid-19 detection from X-ray images.
  • To introduce and validate a new metric, Maximum Uncertainty Calibration Error (MUCE), for measuring calibrated confidence in high-stakes prediction tasks.

Proposed method

  • Extends approximate inference in the loss-calibrated Bayesian framework to dropweights-based Bayesian neural networks, enabling uncertainty calibration via utility-driven posterior approximation.
  • Introduces a novel penalty term to the standard evidence lower bound (ELBO) loss, incorporating task-specific utility functions to regularize stochastic optimization.
  • Uses Monte Carlo dropout (MC-Dropweights) to approximate the posterior distribution over network weights, enabling uncertainty estimation during both training and inference.
  • Applies a 2-step process: first approximate the posterior $ q(\theta|D) $, then optimize for expected utility over the posterior to minimize posterior risk.
  • Employs Wasserstein distance as a measure of correlation between prediction error and estimated uncertainty to evaluate miscalibration.
  • Proposes Maximum Uncertainty Calibration Error (MUCE) as a metric to quantify worst-case deviation between estimated uncertainty and actual error, especially for high-risk decisions.

Experimental results

Research questions

  • RQ1Can loss-calibrated Bayesian neural networks with dropweights reduce miscalibration in deep learning models, particularly in medical imaging tasks?
  • RQ2How does incorporating task-specific utility functions improve uncertainty calibration and decision reliability in models with asymmetric misclassification costs?
  • RQ3To what extent does the proposed method reduce false negative predictions in Covid-19 detection from X-ray images compared to standard models?
  • RQ4How well does the proposed Maximum Uncertainty Calibration Error (MUCE) metric correlate with actual prediction error and model reliability?
  • RQ5Does the loss-calibrated approach maintain or improve model accuracy while significantly reducing uncertainty miscalibration?

Key findings

  • The loss-calibrated BNN with MC-Dropweights achieved a 1.91 MUCE, significantly lower than the standard BNN (3.77) and weighted cross-entropy model (5.42), indicating superior uncertainty calibration.
  • The method reduced Expected Calibration Error (ECE) to 7.01, compared to 13.27 for the standard BNN, demonstrating improved confidence calibration.
  • Accuracy improved to 80.88% with the loss-calibrated model, outperforming standard BNN (70.12%) and weighted cross-entropy (74.09%) models.
  • The model showed a strong correlation between estimated uncertainty and prediction error, as measured by Wasserstein distance, indicating reduced miscalibration.
  • Reliability diagrams confirmed that the loss-calibrated model’s confidence and uncertainty estimates were better aligned with actual accuracy, especially in high-risk prediction bins.
  • The method effectively reduced the common failure mode of misclassifying Covid-19 patients as 'Normal', demonstrating improved safety in clinical decision support.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.