Manuscript Offprint

arXiv:2610.09392

Quantifying Volumetric Risk: Class-Aware Asymmetric Weighted Conformal Prediction for 3D Medical Image Segmentation

Shadi Alijani, Fereshteh Aghaee Meibodi, Homayoun Najjaran

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

Abstract

Reliable volumetric segmentation is critical for clinical diagnostics, yet foundation models such as MedSAM remain deterministic and lack calibrated uncertainty under distribution shift. Existing conformal prediction methods offer statistical guarantees but are frequently applied in 2D and assume symmetric error distributions, so they do not capture the class-specific biases that arise in 3D multi-class segmentation. We propose Class-Aware Asymmetric Weighted Conformal Prediction (CA-WCP), which combines latent-space density-ratio weighting for covariate shift with directional quantiles for the lower and upper volume bounds, and scales each bound by a class-specific asymmetry factor derived from validation-set false-positive and false-negative rates. We prove that CA-WCP retains the weighted-exchangeability marginal coverage guarantee for every class, and we evaluate it on 3D brain tumor segmentation (BraTS 2020) and on a synthetic multi-organ CT benchmark constructed under covariate shift. On both benchmarks

*Corresponding author

Email address: najjaran@uvic.ca (Homayoun Najjaran) the 95% Clopper–Pearson interval for the observed coverage of CA-WCP contains the nominal 90% level for every semantic class, while interval width is reduced by 8–14% relative to symmetric weighted conformal prediction. We further encode the calibrated intervals into structured prompts for a multimodal large language model to produce uncertainty-conditioned radiology reports, linking distribution-shift-aware uncertainty quantification to interpretable clinical communication.

Keywords: Conformal prediction, Uncertainty quantification, 3D medical image segmentation, Covariate shift, Foundation models, Radiology report generation

1. Introduction

Reliable volumetric segmentation is essential for clinical diagnostics and treatment planning in medical imaging. Foundation models such as the Segment Anything Model (SAM) [1] have demonstrated strong zero-shot transfer capabilities, leading to adaptations like MedSAM [2] that apply these models to the medical domain via large-scale pretraining and parameter-efficient fine-tuning. To address volumetric clinical applications, recent extensions further incorporate 3D context, either by redesigning the architecture for native volumetric processing or by introducing lightweight 3D adapters and prompt propagation mechanisms [3, 4].

However, most of these methods remain focused on improving segmentation accuracy, offering little insight into prediction reliability or uncertainty calibration [5, 6], which is a critical requirement for clinical adoption. While prior efforts explored probabilistic or Bayesian models [7, 8, 9], conformal prediction (CP) [10] has emerged as a powerful framework for providing formal statistical guarantees on segmentation reliability.

Despite their success, conventional CP methods face two limitations in this context. First, they rely on the exchangeability assumption, which is often violated in real-world medical settings due to distribution shifts between training and deployment sites. This has motivated recent work in distribution-shift-aware CP that uses adaptive weighting of calibration statistics to restore target coverage [11, 12, 13]. Second, while recent work has explored CP for 3D medical imaging biomarkers [14, 15, 16, 17, 18], these methods predominantly target reconstruction metrics or trajectory prediction rather than multi-class volumetric segmentation under covariate shift. Existing volumetric CP formulations largely assume symmetric error distributions, which do not capture the class-specific asymmetric biases observed in multi-class segmentation tasks such as brain tumor analysis, where distinct structures exhibit different false-positive and false-negative patterns.

Separately, large language models (LLMs) have shown strong reasoning in medical question answering and report drafting [19, 20], but they lack a mechanism for statistical uncertainty quantification.

Motivated by these gaps, our work extends weighted CP to the volumetric 3D multi-class setting and integrates the resulting calibrated intervals with an LLM to produce uncertainty-aware clinical reports. A further practical limitation in the medical CP literature is reliance on single-modality datasets, owing to privacy constraints and annotation costs for multi-center clinical data. To test whether the directional error asymmetry we exploit reflects structure scale rather than brain tumor morphology specifically, we additionally construct a controlled synthetic CT benchmark with anatomically aligned ground-truth masks using a latent rectified flow generator for volumetric medical synthesis [21, 22].

Our main contributions are:

• A weighted conformal prediction framework for 3D volumetric segmentation that integrates class-conditional asymmetric calibration with MedSAM to provide uncertainty quantification under covariate shift.

• Directional quantiles that separately calibrate the lower and upper volume bounds, combined with asymmetry factors derived from validation-set FP/FN rates that add a conservative, class-specific margin on the side of the dominant error.

• A proof that CA-WCP retains the marginal coverage guarantee under weighted exchangeability with known likelihood ratios (Proposition 1, proved in Appendix A), together with an explicit statement of the approximation incurred when the likelihood ratios are estimated.

• An empirical evaluation on BraTS 2020 and on a controlled synthetic multi-organ CT benchmark, reporting exact k/n coverage with Clopper–Pearson intervals for every class.

• A framework for uncertainty-conditioned multimodal LLM report generation that encodes calibrated prediction intervals into structured prompts, together with a preliminary assessment by an independent radiologist blinded to the prompt configuration.

References (32)