Conformal Performance Range Prediction for Segmentation Output Quality Control

Anna M. Wundram, Paul Fischer, Michael Muehlebach, Lisa M. Koch, Christian F. Baumgartner · DOI

Introduction

Deep learning models have demonstrated remarkable success in medical image segmentation, such as identifying retinal vessels or delineating tumors. However, these models are prone to "silent failures"—instances where the model produces a high-confidence but inaccurate output. In clinical settings, relying on a single segmentation without a measure of its reliability is risky. To mitigate this, researchers have sought methods for "output quality control," providing clinicians with an estimate of how well the model performed on a specific, unseen image.

Traditional approaches often rely on point estimates of performance metrics, such as the Dice-Sørensen Coefficient (DSC). Unfortunately, neural networks are frequently poorly calibrated, meaning their internal confidence does not accurately reflect their actual error rate. Furthermore, a single number fails to capture the inherent ambiguity (aleatoric uncertainty) present in medical imaging. This paper introduces a framework that moves beyond point estimates to provide rigorous, interval-based performance predictions with formal statistical guarantees.

Methodology

The authors propose a two-stage framework designed to generate "principled" performance ranges. This approach ensures that the true performance metric (e.g., the DSC) falls within a predicted interval with a user-specified probability.

1. Heuristic Uncertainty Estimation

The first stage involves generating multiple "plausible" segmentations for a single input image using probabilistic segmentation techniques. By analyzing the variance across these samples, the system calculates a heuristic range for the expected DSC. The study compares five distinct methods for generating these uncertainty samples:

  • PHiSeg: A hierarchical version of the Probabilistic U-Net that captures complex latent distributions.
  • Probabilistic U-Net: Utilizes a conditional Variational Autoencoder (VAE) to sample segmentations.
  • Test-Time Augmentation (TTA): Applies stochastic transformations (rotations, brightness shifts) to the input at inference time.
  • Ensembles: Combines outputs from multiple independently trained models.
  • Monte Carlo (MC) Dropout: Maintains active dropout layers during inference to generate varied outputs.

2. Split Conformal Prediction

The core innovation is the application of Split Conformal Prediction to these heuristic ranges. Using a small, held-out calibration dataset, the framework calculates a corrective factor, denoted as $\hat{q}$. This factor adjusts the initial heuristic intervals to satisfy a formal statistical guarantee: for any new test image, the probability that the true DSC falls within the predicted range $[\text{lower}, \text{upper}]$ is at least $1 - \alpha$. For this study, $\alpha$ was set to 0.1, targeting a 90% coverage rate.

Experimental Setup

The framework was evaluated using the FIVES (Fundus Image Vessel Segmentation) dataset, which contains 800 high-resolution fundus photography images. The dataset includes expert manual segmentations and labels for image quality (e.g., "low quality" due to blur or contrast issues). The data was split into 600 images for training/validation and 200 images for the combined testing and conformal calibration process.

Key Insights and Results

Guaranteed Coverage and Accuracy

The experimental results confirmed that the conformal wrapper successfully forced the models to meet the required 90% marginal coverage. Regardless of the underlying heuristic method, the true DSC fell within the predicted interval at least 90% of the time. In terms of predictive accuracy, PHiSeg and TTA emerged as leaders, achieving Mean Absolute Errors (MAE) of 0.027 and 0.025, respectively.

Efficiency of PHiSeg

While several methods met the coverage guarantee, they differed in "efficiency"—the width of the predicted intervals. PHiSeg produced the most useful intervals: narrow and precise for high-quality images, yet widening appropriately when faced with ambiguous or low-quality data. This suggests that hierarchical latent models are particularly adept at capturing the aleatoric uncertainty inherent in retinal vessel structures.

Quality-Aware Predictions

A significant finding was the relationship between image quality and interval width. Low-quality images naturally resulted in wider prediction ranges. This behavior is a critical safety feature; the model explicitly signals its uncertainty to the clinician. Notably, these low-quality images are often still "in-distribution," meaning standard Out-of-Distribution (OOD) detectors might fail to flag them, whereas this performance-range approach successfully identifies the potential for error.

Limitations and Future Directions

Despite the promising results, the authors highlight several areas for further development:

  • The Exchangeability Assumption: Conformal prediction assumes that the calibration and test data are drawn from the same distribution. If the model is deployed on data from different hardware or patient populations (domain shift), the statistical guarantees may be compromised.
  • Computational Overhead: Methods like Ensembles and PHiSeg require multiple inference passes or complex architectures, which may pose challenges for real-time clinical integration.
  • OOD Robustness: Future work will focus on extending conformal prediction techniques to remain valid under domain shift, ensuring that quality control remains reliable across diverse clinical environments.

Conclusion

By combining probabilistic segmentation with split conformal prediction, this research provides a robust pathway for output quality control in medical AI. Moving from "guessing" performance to providing statistically guaranteed ranges offers a more transparent and safer tool for clinicians, ensuring that AI-assisted diagnoses are caveated with reliable measures of uncertainty.

Summary updated

BibTeX
@misc{wundram2024conformal,
  author = {Anna M. Wundram and Paul Fischer and Michael Muehlebach and Lisa M. Koch and Christian F. Baumgartner},
  title = {{Conformal Performance Range Prediction for Segmentation Output Quality Control}},
  year = {2024},
  eprint = {2407.13307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.13307},
}
Figure