← All publications

Beyond Morphological Dilation: Revisiting Conformal Prediction for 3D Tumor Segmentation

  • Uncertainty Quantification
  • Computer Vision

We separate boundary errors from missed tumor components and combine component-aware calibration with confidence-guided geodesic expansion.

Paper UNSURE 2026

Luisa Vargas1, Simone Rossi1, Maria A. Zuluaga1

  1. EURECOM

A segmentation model can delineate the main tumor accurately while missing a disconnected focus. A margin calibrated by conformal prediction (CP) must therefore describe both boundary error and missed tumor tissue. We show how capped morphological dilation can certify its calibration score while leaving the requested tumor coverage unmet. Our solution separates these errors and expands along model-confidence paths. On fixed BraTS 2021 predictions, the combined construction removes the observed vacuity across three tumor regions and reports the missed-volume uncertainty explicitly.

Why a calibrated dilation can miss the tumor

Let XX be the input image, Y^\hat Y the predicted mask, YY the reference mask, and Cλ(Y^)C_\lambda(\hat Y) a nested family of expanded masks. The score measures the expansion needed to include a fraction τ\tau of the tumor:

s(X,Y)=inf⁡{λ:∣Y∩Cλ(Y^)∣∣Y∣≥τ}.s(X,Y)=\inf\left\{\lambda:\frac{|Y\cap C_\lambda(\hat Y)|}{|Y|}\geq\tau\right\}.

For target miscoverage α\alpha, split conformal calibration takes the ⌈(n+1)(1−α)⌉\lceil(n+1)(1-\alpha)\rceil-th ordered score from nn exchangeable calibration cases, using +∞+\infty when that order exceeds nn. For dilation, λ\lambda is a radius. The dilation baseline searches only up to rmax⁡=20r_{\max}=20 voxels and caps scores when the requested coverage remains unreachable on that grid.

This cap changes the certified event. A test score can fall below the calibrated cap while the expanded mask still misses tumor tissue. We call the resulting discrepancy vacuity. Both distant missed foci and large boundary errors can cause saturation.

Table comparing capped-score fractions, formal coverage, operational coverage, and vacuous splits in the three tumor regions
At full containment (τ=1\tau=1) and target coverage 0.90, whole-tumor dilation has formal coverage 1.000 but operational coverage 0.842. All 100 splits are vacuous, exposing the gap between the two events.

Boundary errors and missed components

For region RR, we match each reference component to the prediction when their overlap reaches κ\kappa voxels, with κ=1\kappa=1 by default. Let MM contain the matched components and U=YR∖MU=Y_R\setminus M contain the unmatched tissue. Instance-level CP uses

sspatial=inf⁡{r:∣M∩dil⁡(Y^R,r)∣∣M∣≥τ},sstruct=∣U∣∣YR∣.\begin{aligned} s_{\mathrm{spatial}}&=\inf\left\{r:\frac{|M\cap\operatorname{dil}(\hat Y_R,r)|}{|M|}\geq\tau\right\},\\ s_{\mathrm{struct}}&=\frac{|U|}{|Y_R|}. \end{aligned}

Calibrating each score at miscoverage α/2\alpha/2 gives a radius r∗r^* and missed-volume bound β∗\beta^*. Under exchangeability and with the spatial event represented by its score, a union bound gives

P(∣M∩dil⁡(Y^R,r∗)∣∣M∣≥τ  and  sstruct≤β∗)≥1−α.\mathbb P\left(\frac{|M\cap\operatorname{dil}(\hat Y_R,r^*)|}{|M|}\geq\tau \;\text{and}\;s_{\mathrm{struct}}\leq\beta^*\right)\geq1-\alpha.

The spatial clause holds by convention when MM is empty. The certificate describes coverage of detected components and bounds the volume of missed tissue, whose location is unknown at prediction time. A capped spatial score can still saturate, motivating the geodesic construction.

Expansion along confidence-guided paths

We replace isotropic distance with an arrival-time field T(x)T(x) computed by Fast Marching. For voxel xx and region probability p^R(x)\hat p_R(x),

∥∇T(x)∥=1F(x),F(x)=p^R(x)+ε,T∣Y^R=0,ε=0.05.\|\nabla T(x)\|=\frac{1}{F(x)},\qquad F(x)=\hat p_R(x)+\varepsilon,\qquad T|_{\hat Y_R}=0,\qquad\varepsilon=0.05.

Expansion travels faster through probable tumor tissue. The positive speed floor permits travel through low-confidence background and gives finite arrival times for disconnected foci. Geodesic CP calibrates the τ\tau-quantile of TT over YRY_R and returns {x:T(x)≤λ∗}∪Y^R\{x:T(x)\leq\lambda^*\}\cup\hat Y_R. The unified method calibrates arrival times over matched components and retains the structural score.

Four panels showing a multifocal tumor, geodesic arrival times, saturated dilation, and the confidence-guided margin with its missed-volume bound
At τ=0.95\tau=0.95, capped dilation leaves a disconnected focus uncovered. The arrival-time field guides an anisotropic margin, while the unified certificate reports the structural miss separately through β∗\beta^*.

Evidence from fixed BraTS predictions

We retain 1,239 BraTS 2021 cases with complete predictions and probability maps from a fixed segmentation model. Each of 100 splits uses 991 calibration and 248 test cases, with α=0.1\alpha=0.1. Reference components below 100 voxels are removed before scoring. Whole tumor (WT), tumor core (TC), and enhancing tumor (ET) are calibrated separately. The guarantees are marginal under calibration/test exchangeability; distribution shift requires recalibration and evaluation.

Comparison table of five conformal methods across three regions at full containment and 95 percent tumor coverage
At τ=1\tau=1, unified CP has zero vacuous splits and the smallest non-vacuous sets for TC and ET; geodesic CP is smallest for WT. Coverage for instance/unified methods measures their joint certificate. Other methods measure operational tumor coverage. Bold marks the smallest non-vacuous volume; daggers mark majority-vacuous methods. Volumes are reported in the displayed voxel units.

The unified method reaches joint coverage 0.911, 0.909, and 0.907 for WT, TC, and ET. Its ET volume is 45% below dilation. Instance-level dilation alone retains WT saturation; replacing its spatial geometry addresses that remaining failure.

Table separating spatial, structural, and joint coverage and listing calibrated radii and missed-volume bounds
The WT spatial clause rises from 0.883 for instance-level dilation to 0.949 for unified CP. Structural coverage stays 0.952, isolating the benefit of the geodesic margin. The displayed instance radius saturates at 21.
Histograms of per-split coverage and missed tumor-volume fractions for whole tumor, tumor core, and enhancing tumor
Unified coverage clusters around the 0.90 target. At least one component is missed in approximately 10%, 32%, and 46% of WT, TC, and ET cases, respectively; the structural score exposes this frequent detection error.
Matching-threshold ablation for overlap thresholds of one, five, and twenty voxels, including coverage, volume, and structural bounds
Increasing κ\kappa from 1 to 20 changes joint coverage by at most 0.001 and preserves set volume. Stricter matching transfers borderline components into the structural term and raises β∗\beta^*.

We also study conformal prediction for in-context regression, where a frozen transformer supplies the predictions used to construct response intervals.