Manuscript Offprint

arXiv:2610.37431

Segmentation Confidence for Arbitrary CNNs

Baris Oguz, Xing Yao, Claudia Tawil, Alison Pouch, Brett Byram, Gabriel Arenas, Nadav Schwartz, Ipek Oguz

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

ABSTRACT

Convolutional neural networks (CNN) are widely used for medical image segmentation. However, they lack an inherent measure of confidence. Existing methods for estimating prediction uncertainty often require a custom network architecture and/or dedicated training setups and need to be trained from scratch. In addition, the deduction of a single confidence score per input from the uncertainty maps is not always straightforward. In this study, we explore voxel-based uncertainty estimation methods that can be added to existing segmentation pipelines without training from scratch. We also propose a novel method to estimate a single confidence score from the uncertainty maps. Our evaluations on different ROIs and modalities suggest that our confidence score can predict segmentation performance in unseen data.

Index Terms— Confidence, uncertainty, segmentation

1. INTRODUCTION

Deep learning models, and in particular CNNs, are widely used in medical image segmentation [1, 2, 3, 4, 5, 6, 7]. However, these models often provide little insight into their decision process [8, 9, 10], and they lack an inherent measure of confidence. The produced probability maps provide an indirect signal of confidence per voxel. However, there is no obvious way to produce a single measure of confidence for the entire image. Since CNNs are highly successful at segmentation, the probabilities are usually higher inside and around the ROI, and mostly 0 further from the ROI. This results in a sharp transition between the foreground and background, rather than a gradual increase, limiting the ability to use volume-wide statistics as a measure of confidence. While classification models output probabilities per class, which can estimate confidence, this is not available for segmentation.

There has been research to overcome this shortcoming [11], often with Bayesian frameworks. Gal and Ghahramani [12] have shown that CNNs trained with dropout can approximate Bayesian inference by keeping dropout active during test-time and performing multiple forward passes for classification. Ghoshal et al. [13] propose Monte Carlo drop weights, and decompose predictive probabilities into aleatoric and epistemic uncertainties. Teye et al. [14] use batch normalization layers instead of dropout. Wang et al. [15] use test-time augmentation and Monte Carlo simulation. There have also been non-Bayesian approaches. Some methods [16, 17] train an ensemble of models to estimate classification uncertainty. Kohl et al. [18] propose a probabilistic U-Net. Yao et al. [19] combine an aleatoric uncertainty-based correction strategy with semi-automated prompt augmentation. Most of these approaches require dedicated architectures [20] or training an ensemble of models [21] to accomplish segmentation and confidence/uncertainty estimation simultaneously. Many of them produce an uncertainty map, but do not deduce a single score for the entire image. This limits their usability in typical medical image analysis workflows. Notably, Wang et al. [15] use the volume variation coefficient (VVC) of multiple forward passes to estimate structure-wise uncertainty.

While CNNs perform well overall, a poor prediction for a particular image may lead to mistakes. Flagging uncertain predictions could provide alternatives, such as obtaining a repeat scan if there is an image quality issue. Another use case is flagging uncertain outputs in large-scale studies for visual quality control, manual correction, or exclusion from downstream analysis. Confidence scores can also be useful in active learning [22, 23] for prioritizing low-confidence images for annotation, as these are likely not well represented in the training dataset. Finally, a model's ability to report its own confidence is a significant step towards explainable AI.

In this study, we use two alternatives (Sec. 2.2) to produce multiple predictions from a single input image, which can be readily implemented as an add-on to existing segmentation pipelines. We then explore two approaches to estimate a voxel-based uncertainty map (Sec. 2.3), and propose a novel method to estimate a single, image-wide confidence score (Sec. 2.4). We evaluate our method on placenta (ultrasound) and hippocampus (MRI) datasets to test its generalizability.

References (25)

  • Fully convolutional networks for semantic segmentation
  • U-net: Convolutional networks for biomedical image segmentation
  • Deep residual learning for image recognition
  • Densely connected convolutional networks
  • Xception: Deep learning with depthwise separable convolutions
  • Attention U-Net: Learning Where to Look for the Pancreas
  • nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation
  • Trustworthy AI in medical imaging
  • Explainable medical imaging ai needs human-centered design: guidelines and evidence from a systematic review
  • Guidelines and evaluation of clinical explainable ai in medical image analysis
  • Is segmentation uncertainty useful?
  • Dropout as a bayesian approximation: Representing model uncertainty in deep learning
  • Estimating uncertainty in deep learning for reporting confidence to clinicians in medical image segmentation and diseases detection
  • Bayesian uncertainty estimation for batch normalized deep networks
  • Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with CNNs
  • Simple and scalable predictive uncertainty estimation using deep ensembles
  • Accurate and robust deep learning-based segmentation of the prostate clinical target volume in ultrasound images
  • A probabilistic u-net for segmentation of ambiguous images
  • False negative/positive control for sam on noisy medical images (opens arXiv in a new tab)
  • Quantile regression for uncertainty estimation in VAEs with applications to brain lesion detection
  • Confidence calibration and predictive uncertainty estimation for deep medical image segmentation
  • Colossal: A benchmark for cold-start active learning for 3d medical image segmentation
  • Diminishing uncertainty within the training pool: Active learning for medical image segmentation
  • Fully automated placental volume quantification from 3d ultrasound for prediction of small-for-gestational-age infants
  • A large annotated medical image dataset for the development and evaluation of segmentation algorithms (opens arXiv in a new tab)