Manuscript Offprint

arXiv:2610.21616

A Decision-Aware Evaluation Protocol for Uncertainty in Medical Image Segmentation

Saket Maganti, Shreyank N Gowda

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Medical segmentation uncertainty is often evaluated with calibration error or pixel-level error-detection scores, but these metrics do not show whether uncertainty improves downstream review decisions. We propose a decision-aware evaluation protocol that separates uncertainty estimation from deferral policy and evaluates their combination under fixed review budgets: which pixels, regions, or images should be accepted, and which should be reviewed. The protocol reports fixed-budget error reduction, risk-coverage behaviour, region-level review proxies, structural failure modes, probability-derived baselines, and sensitivity to review assumptions. We instantiate it across retinal vessel, skin lesion, and polyp segmentation with multiple backbones and uncertainty estimators. Under matched inference budgets and canonical multi-layer MC Dropout, test-time augmentation (TTA) gives a stronger error-detection signal across matched MC-TTA comparisons, including architecture and dropout-placement checks. However, estimator rankings are not universal. For example, probability-derived scores remain competitive, deep ensembles can outperform TTA, learned deferral helps mainly when the base estimator is weak, and rankings can change with review unit, uncertainty target, correction assumptions, and cost model. Structural and second-observer analyses further show that boundary and thin-structure failures are partly tied to annotation ambiguity. These findings support evaluating uncertainty as an estimator-policy-review configuration, not as a standalone score map. Code: https://anonymous.4open.science/r/Uncertainty-in-Medical-Image-Segmentation/README.md

1. Introduction

A medical segmentation model is rarely the final actor in a clinical or annotation workflow. Its mask is inspected, corrected, accepted, or escalated. What matters is therefore not only whether the model is accurate on average, but whether it can indicate when its output should not be trusted. This distinction is easy to miss. A model may report a high Dice score while failing on the cases that make review necessary: ambiguous boundaries, thin vessels, small polyps, or images with artefacts. In such settings, uncertainty is valuable only if it changes the downstream decision of which pixels, regions, or images should be accepted and which should be reviewed under a limited budget.

Most work on uncertainty in medical segmentation evaluates the uncertainty map as an object in itself. Calibration error, predictive likelihood, and pixel-level error-detection AUROC [12, 24, 28] ask whether uncertainty values are numerically meaningful or whether they rank mistakes well. These are important questions, but they are not the whole deployment question. Two uncertainty scores with similar AUROC can select different pixels at a 10% review budget. A better calibrated model can still leave more residual error after deferral. A segmentation model without an explicit review rule has no operating point: it has a score map, but not a decision.

This paper argues that segmentation uncertainty should be evaluated at the point where it is used. We separate estimation, the procedure that produces an uncertainty or confidence field, from decision, the policy that converts that field into accept/defer choices. This separation turns uncertainty evaluation into a practical question: under the same review budget, which estimator and policy remove more error, retain safer predictions, and expose the failure modes that would otherwise remain hidden? It also changes what counts as a fair baseline. In binary segmentation, common probability-derived scores such as entropy, margin, inverse confidence, and distance from 1/2 collapse to the same ranking. These free scores should therefore be treated as first-class comparators, not as weak baselines.

We propose a decision-aware evaluation protocol for medical image segmentation. The protocol pairs uncertainty estimators with deferral policies and reports fixed-budget error reduction, risk-coverage behaviour, region-level review proxies, structural stratification, probability-derived baselines, and sensitivity to review assumptions under the same decision rule. It is an evaluation practice rather than a new architecture or reject rule: any backbone, uncertainty estimator, or review policy can be inserted, but all are judged by the decisions they enable under explicit review budgets.

We instantiate the protocol across retinal vessel, skin lesion, and polyp segmentation with multiple backbones and uncertainty estimators. The results show that estimator rankings are decision-dependent. Under matched inference budgets and canonical multi-layer MC Dropout, test-time augmentation (TTA) gives a stronger error-detection signal across matched MC–TTA comparisons, including complementary-architecture and dropout-placement checks. However, TTA is not a universal winner: probability-derived scores remain competitive, deep ensembles can outperform TTA on some datasets, and learned deferral heads help mainly when the base estimator is weak. Review assumptions also matter: rankings can change with the review unit, uncertainty target, correction model, and cost function. Structural and second-observer analyses further show that boundary and thin-structure failures are partly tied to annotation ambiguity, but are not explained away by it.

References (44)

  • A gentle introduction to conformal prediction and distribution-free uncertainty quantification (opens arXiv in a new tab)
  • Conformal risk control
  • Test-time data augmentation for estimation of heteroscedastic aleatoric uncertainty in deep neural networks
  • Benchmarking Bayesian deep learning on diabetic retinopathy detection tasks
  • Distribution-free, risk-controlling prediction sets
  • TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
  • Encoder-decoder with atrous separable convolution for semantic image segmentation
  • Skin lesion analysis toward melanoma detection 2018: A challenge hosted by the international skin imaging collaboration (ISIC) (opens arXiv in a new tab)
  • Addressing failure prediction by learning model confidence
  • Is segmentation uncertainty useful? In Information Processing in Medical Imaging (IPMI), pages 715–726, 2021
  • Dropout as a Bayesian approximation: Representing model uncertainty in deep learning
  • Selective classification for deep neural networks
  • SelectiveNet: A deep neural network with an integrated reject option
  • Cc-sam: Sam with cross-feature attention and context for ultrasound image segmentation
  • Masks and manuscripts: Advancing medical pre-training with end-to-end masking and narrative structuring
  • On calibration of modern neural networks
  • A baseline for detecting misclassified and out-of-distribution examples in neural networks
  • nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation
  • Kvasir-SEG: A segmented polyp dataset
  • FIVES: A fundus image dataset for artificial intelligence based vessel segmentation
  • Assessing reliability and challenges of uncertainty estimations for medical image segmentation
  • Segment anything
  • Simple and scalable predictive uncertainty estimation using deep ensembles
  • G2d: From global to dense radiography representation learning via vision-language pre-training
  • Segment anything in medical images
  • Segment anything model for medical image analysis: An experimental study
  • Confidence calibration and predictive uncertainty estimation for deep medical image segmentation
  • Test-time augmentation for deep learning-based cell segmentation on microscopy images
  • Conformal semantic image segmentation: Post-hoc quantification of predictive uncertainty
  • Consistent estimators for learning to defer to an expert
  • Who should predict? Exact algorithms for learning to defer to humans
  • Exploring uncertainty measures in deep networks for multiple sclerosis lesion detection and segmentation
  • Can you trust your model's uncertainty? Evaluating predictive uncertainty under dataset shift
  • SAM 2: Segment anything in images and videos
  • U-Net: Convolutional networks for biomedical image segmentation
  • Evidential deep learning to quantify classification uncertainty
  • Better aggregation in test-time augmentation
  • Ridge-based vessel segmentation in color images of the retina
  • Prior and posterior networks: A survey on evidential deep learning methods for uncertainty estimation
  • Calibrated learning to defer with one-vs-all classifiers
  • Decision curve analysis: a novel method for evaluating prediction models
  • A simple, step-by-step guide to interpreting decision curve analysis
  • Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networks
  • Medklip: Medical knowledge enhanced language-image pre-training for x-ray diagnosis