Manuscript Offprint
arXiv:2610.25460Reliability-Preserving Compression for Deployable Medical Image Segmentation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Post-training compression of pretrained medical segmentation models commonly uses quantization, pruning, or distillation to reduce model size and computational cost. Existing medical segmentation quantization studies mainly evaluate Dice, model size, memory, and latency, but this is incomplete for safety-critical use because compressed models should also preserve uncertainty signals that indicate unreliable predictions. We study this problem in compressed MRI/CT segmentation and formalize why Dice can remain stable while uncertainty changes. Motivated by this failure mode, we propose score-guided aggregate-validated mixed precision (SGAV-MP), a post-training compression framework that selects layer precisions under reliability constraints. SGAV-MP ranks quantization actions with a compact benefit-risk score and accepts them only after full-model reliability validation on a calibration set. Across five 2D backbones and three 3D benchmarks, SGAV-MP preserves FP32-level Dice and high uncertainty-map agreement, achieving compression in 2D and in 3D. We also report backend-supported TensorRT deployment measurements separately to distinguish runtime execution from reliability-preserving storage compression.
1. Introduction
Medical image segmentation has been dominated by U-Net-style architectures and their extensions. U-Net-style CNNs, nnU-Net, transformer-based architectures, and promptable medical segmentation models, have achieved strong performance across medical imaging modalities [11, 17, 28, 36]. However, these models often operate on high-resolution images or volumetric scans. This makes deployment costly in memory, latency, and computation. This motivates compres-
Table 1. Representative cases where INT4 quantization may preserve usable Dice while degrading uncertainty and calibration. UQ Corr. denotes uncertainty-map correlation with the FP32 model.
| Dataset | Model | Dice | ECE | Brier | UQ Corr. |
|---|---|---|---|---|---|
| PROMISE12 | EfficientNet-B0 | ||||
| PROMISE12 | ResNet50 | ||||
| MosMedPlus | ResNet50 |
sion for practical use, while actual runtime gains depend on backend and hardware support.
Model compression reduces deployment cost through pruning, quantization, and distillation [10, 14, 18]. Post-training quantization (PTQ) is especially attractive because it can compress a pretrained model using only a small calibration set and without full retraining [25, 33]. This is useful in medical settings, where data access, annotation, and retraining can be expensive. Recent medical segmentation quantization methods, including EfficientQ [43], MedPTQ [35], and QMedSAM [27], report strong compression or deployment-related gains while preserving segmentation accuracy. However, their evaluation is mainly based on hard-mask accuracy and efficiency metrics such as Dice, HD95, model size, memory, and latency.
Accuracy-only evaluation is incomplete for safety-critical segmentation. A compressed model should not only predict a mask. It should also indicate when the prediction may be unreliable. Predictive uncertainty and calibration are important for ambiguous boundaries, low-contrast lesions, artifacts, small structures, domain shift, and out-of-distribution anatomy [16, 20, 29]. Table 1 shows the practical gap. INT4 quantization can leave hard-mask performance usable in some cases, while uncertainty correlation and calibration degrade substantially.
This paper asks:
Can a compressed medical segmenter preserve not only segmentation accuracy, but also uncertainty, calibration, and failure-detection behavior?
We address this question with score-guided aggregate-validated mixed precision (SGAV-MP), a post-training mixed-precision quantization framework for reliability-preserving compression. SGAV-MP ranks layer-precision actions using compression benefit, layer importance, and connection-aware risk, but accepts an action only if the complete compressed model satisfies aggregate reliability constraints on a calibration set. We report compression as the main objective and separately report backend-supported FP32/FP16/INT8 deployment-related measurements for representative 2D and 3D settings; mixed INT4/INT2 policies are treated as storage-compression policies unless directly supported by the backend.
Our contributions are:
• We show that compressed medical segmenters can preserve Dice while degrading calibration, uncertainty-map fidelity, and failure-detection behavior.
• We propose SGAV-MP, a post-training mixed-precision quantization method with full-model reliability validation before accepting compression actions.
• We evaluate reliability-preserving compression across medical segmentation datasets and models using segmentation, efficiency, calibration, uncertainty-preservation, failure-detection, and backend-supported INT8 deployment-related metrics.
Model compression reduces parameter storage and can reduce deployment cost through quantization, pruning, and distillation. Mixed-precision quantization assigns higher precision to sensitive layers and lower precision to robust layers. HAWQ-V2 [4] uses Hessian trace information, while Chen et al. [1] formulate precision assignment as a constrained multiple-choice knapsack problem. Other PTQ methods use calibration data and hardware-aware constraints [34], and AdaRound [33] learns adaptive weight rounding from calibration data. In medical segmentation, EfficientQ [43] and MedPTQ [35] show that PTQ can preserve segmentation accuracy while improving compression or backend-supported efficiency. These works mainly optimize accuracy and efficiency; we study whether compressed models also preserve uncertainty and reliability.
Uncertainty quantification estimates prediction reliability using Monte Carlo dropout [6], deep ensembles [22], probabilistic segmentation [21], and uncertainty distillation such as DUDES [23]. In medical segmentation, calibration and uncertainty support failure prediction, out-of-distribution detection, and reliability assessment [16, 29]. We connect this reliability perspective with post-training compression by evaluating whether quantized segmenters preserve calibration, uncertainty maps, and failure-detection behavior.
3. Application Setting and Problem Setup
We study post-training compression of an already-trained medical image segmentation model under compression and backend-related constraints such as model size, memory, latency, and throughput. We distinguish parameter-storage compression from backend-supported runtime execution, since actual speedup depends on hardware and kernel support. Let be an input image defined on the pixel or voxel domain , and let be the corresponding segmentation map with classes. A full-precision model produces logits and probabilities at each location .
where L is the number of quantizable layers or blocks. The compressed model produces probabilities
Standard compression minimizes storage or deployment-related cost while preserving hard-mask accuracy:
Here denotes model size, latency, memory, or a weighted compression cost. This objective is incomplete because Dice is computed from hard segmentation masks and does not measure calibration or uncertainty reliability.
We instead require reliability-preserving compression:
Here is the uncertainty map of the compressed model, ECE measures confidence calibration [9], measures rank agreement between compressed and full-precision uncertainty maps, and AURC measures selective risk-coverage behavior [7]. The constants , , and define allowable Dice, calibration, and risk-coverage degradation, while defines the minimum acceptable uncertainty-map agreement.
The calibration set is disjoint from the held-out test split and is used only for range estimation, SGAV-MP scoring, and aggregate validation. No weights are updated during policy selection, and all final metrics are reported on the held-out test set. Calibration-size sensitivity is reported in the supplementary material.
4. Reliability Gap Under Quantization
We now explain why preserving segmentation accuracy under quantization does not necessarily preserve uncertainty reliability. In the previous section, a compressed model was defined by a precision policy . For a pixel or voxel , let denote the full-precision logits and let
denote the compressed logits, where is the effective perturbation induced by quantization. The corresponding probability vectors are
The hard segmentation label is obtained from , while uncertainty measures such as predictive entropy depend on the full probability vector:
Therefore, hard-mask stability and uncertainty stability are different requirements.
Proposition 1 (Stable hard label can still change entropy). Consider a two-class logit vector with where the first coordinate corresponds to class 1 and the second to class 0. Let the quantized logits be
Then
but
Proof. Since , we have , so the argmax label is unchanged. For two classes, the softmax distribution depends only on the logit gap. Quantization reduces the gap from to , making the distribution less peaked and increasing binary entropy. Thus, the hard prediction is preserved while uncertainty changes.
This motivates reliability-preserving compression: a compressed model should preserve not only Dice, but also calibration, uncertainty-map structure, and failure-detection behavior.
5. SGAV-MP: Scoring and Validation
Given a trained FP32 segmentation model, a calibration set, and a compression objective, SGAV-MP selects a mixed-precision policy in a post-training setting. The goal is to obtain a compact model that preserves segmentation accuracy, uncertainty-map structure, and failure-detection behavior under explicit validation constraints.
5.1. Compression as Reliability-Constrained Set Selection
Let A be the candidate action set, where each action assigns layer or block to precision . For a selected action set , let be the induced precision policy and be the full-precision policy. We define
where is the compression benefit and is the aggregate reliability damage. Reliability-aware compression is then
The search space grows exponentially with the number of quantizable layers, so SGAV-MP uses score-guided greedy selection followed by aggregate full-model reliability validation.
5.2. Reliability-Constrained Action Scoring
To score whether a candidate policy preserves the reliability behavior of the FP32 model, we define the score-level degradation
where are weighting coefficients. The degradation terms are
Thus, measures degradation in segmentation accuracy, calibration, uncertainty-map agreement, and risk-coverage behavior relative to the full-precision model. For each candidate action , SGAV-MP estimates a compression benefit and a reliability risk. The compression benefit is
where denotes model size, memory, latency, energy, or a weighted cost when the corresponding backend measurement is available. When model size is used,
where is the number of parameters in layer and is the bit-width of precision b.
The action risk is estimated using a plug-in importance score. In the main implementation, we use empirical reliability impact:
where denotes the policy in which only layer is assigned precision b and all other layers remain full precision. More generally, SGAV-MP can use any normalized sensitivity estimator:
where is the normalized empirical reliability impact, may denote a Hessian- or Fisher-style sensitivity score, and may denote an activation-perturbation score. In our experiments, we use only the empirical term and set to avoid additional computation.
To account for architectural sensitivity, we further define a connection-aware risk
where
is the normalized graph degree of layer , and
The final priority score for action is
Here and are normalized over candidate actions. A high score indicates that the action provides large compression benefit with low estimated reliability damage and structural risk. The score is only used to rank candidate actions. SGAV-MP does not assume that layer-wise reliability impacts are additive. After an action is proposed by Eq. (25), the complete mixed-precision model is evaluated on the calibration set and accepted only if it satisfies the aggregate reliability constraints in Eq. (4).
Algorithm 1 SGAV-MP
Require: FP32 model , calibration set , action set , thresholds
1: Evaluate on and store reference metrics.
2: for all do
3: Estimate , and .
4: end for
5: Remove dominated actions using Eq. (26).
6: Initialize .
7: while do
8: Select .
9: Form and evaluate on .
10: if satisfies Eq. (4) then
11:
12:
13: else
14:
15: end if
16: end while
17: return final policy
5.3. Pareto Filtering and Score-Guided Priority
Before ranking actions, we remove actions that are strictly dominated in the utility-risk plane. For two actions and , action dominates if
with at least one strict inequality. Pareto filtering reduces the number of aggregate validations while keeping the ordering rule simple.
Feasibility note. Because SGAV-MP accepts an action only after evaluating the complete candidate policy on X, every accepted policy satisfies the calibration-set constraints in Eq. (4). This does not guarantee reliability on unseen test data, but it prevents the selected policy from relying only on additive independent layer scores during calibration-time selection.
6. Experimental Protocol
6.1. Datasets and Deployment Scenarios
We evaluate reliability-preserving compression on two 2D and three 3D medical segmentation settings. For 2D, we use PROMISE12 [26] for prostate MRI segmentation and MosMedPlus, derived from MosMedData [31], for COVID-19 lung-infection CT segmentation [38]. For 3D, we use SegResNet on AMOS22 [19] for abdominal multi-organ segmentation, BraTS [30] for brain-tumor segmentation, and BTCV [24] for abdominal CT multi-organ segmentation. These datasets cover 2D MRI/CT and volumetric MRI/CT segmentation, allowing us to test whether compression-induced reliability changes persist across modality, anatomy, and dimensionality.
For all experiments, calibration data are disjoint from the held-out test split and are used only for quantization-range estimation, SGAV-MP scoring, and aggregate validation; all final metrics are reported on the held-out test set. For the 2D experiments, we use the original MedSegBench partitions without modifying the split: MosMedPlus has 1910/272/547 train/calibration/test images of size , and PROMISE12 has 1031/147/295 images of size . The MedSegBench validation split is used as calibration data for the main 2D results. For 3D, we use one fixed volume-level split for all methods and ablations: AMOS22 168/24/48, BraTS 1134/162/325, and BTCV 21/3/6 train/calibration/test volumes. In the default SGAV-MP setting, score computation uses 10% of the calibration data for efficiency; calibration-size sensitivity using 10%, 25%, 50%, and 100% is reported in the supplement.
We treat compression as the main objective and report deployment-related measurements separately. For representative 2D and 3D deployment settings, we measure backend-supported GPU execution, including latency, peak memory, model size, and compression ratio. For SGAV-MP policies containing mixed INT4 or INT2 actions, we report storage compression and reliability metrics without claiming runtime speedup unless directly supported by the backend.
6.2. Models
For the 2D experiments, we evaluate representative CNN-based segmentation models instantiated with five encoder families: ResNet18, ResNet50 [12], MobileNetV2 [37], EfficientNet-B0 [42], and DenseNet121 [15]. These models cover residual, lightweight mobile, compound-scaled, and densely connected architectures, allowing us to test whether reliability degradation under quantization is architecture-dependent.
For the 3D experiments, we use SegResNet, a residual encoder–decoder segmentation model widely used for volumetric medical segmentation and related to the BraTS-winning residual segmentation design [32]. For the separate 3D TensorRT deployment check, we use UNet3D on AMOS22 because the MedPTQ/TensorRT path is directly compatible with this backbone, while SegResNet deployment is limited in our setting by GroupNorm and residual-path execution issues. The 3D study evaluates whether SGAV-MP remains effective when compression is applied to volumetric models with higher memory and inference cost.
6.3. Baselines and Deployment
We compare SGAV-MP with fixed-precision, PTQ, and mixed-precision baselines. FP32 is the reference model; FP16, INT8, and INT4 are uniform fixed-bit baselines. We also include AdaRound [33], Hessian Greedy, MCKP, and EfficientQ [43] to compare against calibration-based rounding, sensitivity-guided selection, constrained mixed-precision assignment, and medical PTQ. EfficientQ2/4 are uniform weight-only EfficientQ baselines at 2/4 bits, run with the released code under the same calibration/test protocol.
MedPTQ is discussed as related medical PTQ, but direct reproduction is limited by code/export/backend reproducibility in our setting and by INT4 deployment support.
Tables 7 and 8 report backend-supported TensorRT measurements for representative 3D and 2D settings. All TensorRT measurements use an NVIDIA RTX 6000 Ada Generation GPU (48 GB, compute capability sm89) with TensorRT 10.3, supporting optimized FP32, FP16, and INT8 inference.
The 2D SGAV-MP deployment policies are restricted to FP16/INT8 execution, while mixed INT4/INT2 policies are reported as storage-compression results unless directly supported by the backend. For 3D deployment, we report an AMOS22 UNet3D TensorRT check because direct SegResNet reproduction with MedPTQ is limited in our setting by code/export/backend compatibility, GroupNorm and residual-path execution issues, and INT4 deployment support. MedPTQ also does not provide a directly usable INT2 or arbitrary mixed INT2/INT4 variant for our evaluated backbones/backend.
6.4. Evaluation Metrics
We evaluate compressed models using segmentation, compression, calibration, uncertainty-preservation, and failure-detection metrics. Segmentation quality is measured by Dice [3, 41]. Storage efficiency is reported using model size and compression ratio; for TensorRT-supported deployment variants, we also report latency and peak memory. Calibration and probability quality are measured by ECE and Brier score [8, 9, 29]. Uncertainty preservation is measured by the rank correlation between predictive-entropy maps of the compressed and FP32 models [39, 40]. Failure-detection behavior is evaluated using uncertainty-error AUROC and AURC [5, 7]. SGAV-MP uses Dice, ECE, , and AURC as aggregate acceptance constraints, while error-AUROC is reported as an additional diagnostic.
Additional results and analyses are provided in the supplementary material due to page constraints.
7. Results
7.1. 2D Reliability-Preserving Compression
Tables 2 and 3 report representative 2D ResNet50 results, with full five-backbone results in the supplement. On PROMISE12/ResNet50, SGAV-MP gives compression with Dice 0.8858 and , compared with INT8 at and . On MosMed-

Figure 1. Compression–uncertainty Pareto analysis on MosMedPlus. INT8/INT4 are fixed points; SGAV-MP varies uncertainty tolerance with full-model validation. SGAV-MP improves compression beyond INT8 while preserving uncertainty correlation, whereas INT4 degrades it. The broken y-axis shows both INT4 and the SGAV-MP frontier.
Plus/ResNet50, SGAV-MP gives compression with Dice 0.7848 and , while uniform INT4 drops to Dice 0.6507 and . EfficientQ gives higher nominal compression in some cases, but lower uncertainty agreement: EfficientQ4 gives on PROMISE12/ResNet50 and on MosMedPlus/ResNet50.
We report because absolute uncertainty magnitudes are small and model-dependent; representative MosMedPlus cross-calibration runs have average absolute uncertainty around 0.011–0.014. Thus, captures preservation of FP32 uncertainty-map structure, while ECE, Brier, AURC, and error-AUROC report absolute reliability behavior.
Figure 1 shows SGAV-MP policies obtained by varying uncertainty tolerance. On MosMedPlus/ResNet50, policies range from compression with to with . On DenseNet121, policies range from with to with . Selected policies quantize about 62–129 layers; build time, peak memory, repeated-run stability, calibration sweeps, paired-layer analysis, and full five-backbone results are provided in the supplement.
7.2. 3D Results
Table 4 evaluates SGAV-MP on 3D SegResNet across AMOS22 and BraTS. The trend is consistent with 2D results: INT8 is a strong fixed baseline, while SGAV-MP approaches low-bit compression in some settings with explicit reliability validation. On AMOS22, SGAV-MP reaches compression with and improves ECE/Brier relative to FP32. On BraTS, it obtains compression with Dice 0.7293 and , while INT4 degrades Dice and uncertainty agreement. BTCV results, including the restricted no-INT2 variant, are reported in the supplementary material.
Uniform INT4 gives high nominal compression but is unreliable in volumetric segmentation; on BraTS, drops to 0.5348 and Dice from 0.7334 to 0.6458. Thus, storage reduction alone is insufficient without preserving calibration, uncertainty maps, and risk-coverage behavior. The selected 3D SGAV-MP runs require build times of about 8875–28252 s and peak GPU memory of 3.4–6.0 GB. Overall, these results support aggregate-validated mixed precision for compressing volumetric segmenters while avoiding the reliability collapse of aggressive uniform quantization.
7.3. Ablation and Cross-Dataset Calibration
Table 5 reports the ablation on PROMISE12/ResNet50. Full SGAV-MP reaches compression with , compared with for UQ-only. Removing the connection-aware term reduces the full policy to , while Dice+UQ+risk reaches the same compression but lower . Thus, uncertainty-aware scoring drives much of the compression gain, while the complete score provides the strongest reliability-preserving operating point in this ablation.
Cross-dataset calibration is reported in Table 6, where SGAV-MP is calibrated on PROMISE12 and evaluated on MosMedPlus. Despite this shift, Dice remains close to the MosMedPlus FP32/SGAV-MP range, stays high (0.942–0.968), and compression remains 4.06–5.73×. This suggests limited overfitting to one calibration split, although stronger domain shift still depends on FP32 reliability and calibration representativeness. Additional calibration-size sweeps, paired-layer analysis, and qualitative examples are provided in the supplement.
7.4. Deployment-Related Measurements
Table 7 gives a representative 3D AMOS22 TensorRT deployment check using UNet3D. MedPTQ provides the largest backend-supported compression and lowest latency (3.90×, 0.843 ms), while SGAV-MP gives 1.58× compression and preserves Dice (0.7274) and uncertainty agreement ( ) with slightly better ECE/Brier. This supports our deployment framing: runtime efficiency depends on backend support, while SGAV-MP focuses on reliability-preserving compression.
Table 8 reports TensorRT measurements for representative 2D models using FP32, uniform INT8, and a TensorRT-compatible SGAV-MP policy. The SGAV-MP deployment policy is restricted to FP16/INT8 execution, while INT4/INT2 policies are reported separately as storage-compression results. Uniform INT8 gives larger weight compression, while SGAV-MP gives intermediate compression with similar Dice and higher uncertainty agreement.
Table 2. MRI segmentation results on PROMISE12/ResNet50. FP32 is the reference and is not ranked. Best compressed value is bold-underlined and second best is bold. For SGAV-MP, Layers / Build / Peak GPU are 62 / 2450 s / 19915 MB for ResNet50.
| Model | Method | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Error AUROC ↑ | UQ Corr. ↑ | Comp. Ratio ↑ |
|---|---|---|---|---|---|---|---|---|
| ResNet50 | FP32 | 0.8857 | 0.1025 | 0.2052 | 0.00539 | 0.5881 | 1.0000 | 1.00 |
| INT8 | 0.8855 | 0.1032 | 0.2067 | 0.00534 | 0.5879 | 0.9441 | 3.98 | |
| INT4 | 0.8810 | 0.1144 | 0.2293 | 0.00524 | 0.5848 | 0.3240 | 7.91 | |
| MCKP | 0.8857 | 0.1026 | 0.2056 | 0.00540 | 0.5880 | 0.9945 | 3.96 | |
| Hessian Greedy | 0.8838 | 0.1101 | 0.2206 | 0.00542 | 0.5835 | 0.4547 | 7.90 | |
| AdaRound | 0.8864 | 0.1027 | 0.2053 | 0.00542 | 0.5869 | 0.7906 | 3.88 | |
| EfficientQ2 | 0.8829 | 0.1060 | 0.2125 | 0.00496 | 0.6046 | 0.2193 | 15.60 | |
| EfficientQ4 | 0.8859 | 0.1021 | 0.2044 | 0.00525 | 0.5898 | 0.7282 | 7.91 | |
| SGAV-MP | 0.8858 | 0.1026 | 0.2055 | 0.00539 | 0.5883 | 0.9697 | 7.29 |
Table 3. CT segmentation results on MosMedPlus/ResNet50. FP32 is the reference and is not ranked. Best compressed value is bold-underlined and second best is bold. For SGAV-MP, Layers / Build / Peak GPU are 62 / 510.1 s / 4719.9 MB.
| Model | Method | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Error AUROC ↑ | UQ Corr. ↑ | Comp. Ratio ↑ |
|---|---|---|---|---|---|---|---|---|
| ResNet50 | FP32 | 0.7850 | 0.2064 | 0.4123 | 0.00464 | 0.5829 | 1.0000 | 1.00 |
| INT8 | 0.7849 | 0.2059 | 0.4114 | 0.00465 | 0.5846 | 0.9290 | 3.98 | |
| INT4 | 0.6507 | 0.3653 | 0.7304 | 0.00653 | 0.5458 | 0.1192 | 7.91 | |
| MCKP | 0.7850 | 0.2067 | 0.4128 | 0.00464 | 0.5829 | 0.9936 | 3.97 | |
| Hessian Greedy | 0.7717 | 0.2137 | 0.4270 | 0.00491 | 0.5784 | 0.2549 | 7.89 | |
| AdaRound | 0.7835 | 0.2089 | 0.4163 | 0.00463 | 0.5845 | 0.7667 | 3.96 | |
| EfficientQ2 | 0.6765 | 0.1569 | 0.3134 | 0.02215 | 0.5801 | 0.2312 | 15.60 | |
| EfficientQ4 | 0.7823 | 0.2008 | 0.4011 | 0.00478 | 0.5851 | 0.5303 | 7.91 | |
| SGAV-MP | 0.7848 | 0.2075 | 0.4144 | 0.00464 | 0.5825 | 0.9392 | 5.94 |
Table 4. 3D SegResNet results on AMOS22 and BraTS. FP32 is the reference and is not ranked. Best compressed value is bold-underlined and second best is bold. For SGAV-MP, build time / peak GPU are 8875 s / 5981 MB on AMOS22 and 28252.6 s / 3430.9 MB on BraTS.
| Dataset | Precision | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Err-AUROC ↑ | UC ↑ | CR ↑ |
|---|---|---|---|---|---|---|---|---|
| AMOS22 | FP32 | 0.7778 | 0.0527 | 0.1755 | 0.00043 | 0.8719 | 1.0000 | 1.00 |
| FP16 | 0.7778 | 0.0527 | 0.1755 | 0.00043 | 0.8719 | 1.0000 | 2.00 | |
| INT8 | 0.7780 | 0.0525 | 0.1750 | 0.00042 | 0.8722 | 0.9997 | 4.00 | |
| INT4 | 0.7450 | 0.0703 | 0.2109 | 0.00054 | 0.8603 | 0.9121 | 7.98 | |
| SGAV-MP | 0.7717 | 0.0478 | 0.1679 | 0.00053 | 0.8806 | 0.9857 | 7.72 | |
| BraTS | FP32 | 0.7334 | 0.0866 | 0.2095 | 0.00013 | 0.8723 | 1.0000 | 1.00 |
| FP16 | 0.7334 | 0.0866 | 0.2095 | 0.00013 | 0.8723 | 1.0000 | 2.00 | |
| INT8 | 0.7335 | 0.0854 | 0.2063 | 0.00015 | 0.8751 | 0.9986 | 4.00 | |
| INT4 | 0.6458 | 0.1196 | 0.2769 | 0.00039 | 0.8471 | 0.5348 | 7.98 | |
| SGAV-MP | 0.7293 | 0.0858 | 0.2068 | 0.00017 | 0.8757 | 0.9755 | 7.82 |
On MosMedPlus/EfficientNet-B0, SGAV-MP gives compression, 0.791 ms latency, and , compared with uniform INT8 at , 0.903 ms, and . On PROMISE12/ResNet50, SGAV-MP gives , 0.594 ms, and , compared with uniform INT8 at , 0.659 ms, and .
8. Discussion
SGAV-MP shows that medical segmentation compression should be evaluated beyond Dice and model size. Across 2D and 3D experiments, fixed low-bit baselines can preserve usable Dice while changing calibration, uncertainty maps, or risk-coverage behavior. This motivates aggregate validation:
Table 5. Ablation study on PROMISE12/ResNet50. , , , and denote Dice, uncertainty, AURC, and ECE degradation terms. NC removes the connection term. The ablation reruns policy selection under fixed score-term settings. Best compressed value is bold-underlined and second best is bold.
| Variant | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Err-AUROC ↑ | U-Corr. ↑ | CR ↑ | LQ | Time(s) | Mem(MB) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dice | 1 | 0 | 0 | 0 | 1 | 0.8857 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9608 | 5.07 | 32 | 2444.6 | 19914.2 |
| Dice only (NC) | 1 | 0 | 0 | 0 | 0 | 0.8857 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9608 | 5.07 | 32 | 2440.4 | 19914.2 |
| Dice+UQ+risk | 1 | 1 | 1 | 0 | 1 | 0.8856 | 0.1029 | 0.2061 | 0.0054 | 0.5884 | 0.9531 | 7.29 | 62 | 2601.2 | 19912.4 |
| UQ | 0 | 1 | 0 | 0 | 1 | 0.8853 | 0.1037 | 0.2077 | 0.0054 | 0.5882 | 0.9545 | 7.17 | 63 | 2455.5 | 19913.9 |
| UQ only (NC) | 0 | 1 | 0 | 0 | 0 | 0.8853 | 0.1037 | 0.2077 | 0.0054 | 0.5882 | 0.9545 | 7.17 | 63 | 2442.6 | 19913.9 |
| Risk+ECE | 0 | 0 | 1 | 1 | 1 | 0.8857 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9608 | 5.07 | 32 | 2443.6 | 19914.7 |
| Risk+ECE (NC) | 0 | 0 | 1 | 1 | 0 | 0.8857 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9608 | 5.07 | 32 | 2536.2 | 19914.7 |
| Dice+risk+ECE | 1 | 0 | 1 | 1 | 1 | 0.8857 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9608 | 5.07 | 32 | 2454.8 | 19913.4 |
| Full SGAV-MP (NC) | 1 | 1 | 1 | 1 | 0 | 0.8856 | 0.1027 | 0.2057 | 0.0054 | 0.5883 | 0.9500 | 7.16 | 55 | 2692.5 | 19914.7 |
| Full SGAV-MP | 1 | 1 | 1 | 1 | 1 | 0.8856 | 0.1026 | 0.2055 | 0.0054 | 0.5883 | 0.9697 | 7.29 | 55 | 2450.7 | 19914.7 |
Table 6. SGAV-MP is calibrated on PROMISE12 and evaluated on MosMedPlus to assess sensitivity to calibration-domain shift
| Model | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Error AUROC ↑ | UQ Corr. ↑ | Abs. Unc. | Comp. Ratio ↑ | Layers Quant. | Build Time (s) | Peak GPU (MB) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| ResNet18 | 0.779 | 0.212 | 0.423 | 0.004 | 0.586 | 0.954 | 0.014 | 4.153 | 29 | 1261.513 | 12775.755 |
| MobileNetV2 | 0.784 | 0.199 | 0.398 | 0.004 | 0.603 | 0.942 | 0.012 | 4.065 | 43 | 2441.863 | 10874.005 |
| EfficientNet-B0 | 0.788 | 0.192 | 0.383 | 0.004 | 0.606 | 0.952 | 0.012 | 5.734 | 77 | 3614.041 | 11168.406 |
| DenseNet121 | 0.791 | 0.196 | 0.392 | 0.004 | 0.620 | 0.968 | 0.013 | 4.545 | 120 | 5355.454 | 15615.749 |
| ResNet50 | 0.785 | 0.206 | 0.411 | 0.005 | 0.583 | 0.948 | 0.011 | 5.454 | 61 | 2537.617 | 16074.700 |
Table 7. Representative 3D AMOS22 TensorRT deployment measurements using the UNet3D. FP32 is the backend reference and is not ranked. Best compressed value is bold-underlined and second best is bold. Build time / peak GPU are 35.7 s / 152 MB for FP16, 19.7 s / 170 MB for MedPTQ, and 30.7 s / 224 MB for SGAV-MP.
| Method | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Err-AUROC ↑ | U-Corr. ↑ | Lat.(ms) ↓ | Mem.(MB) ↓ | CR ↑ |
|---|---|---|---|---|---|---|---|---|---|
| FP32 | 0.7273 | 0.0658 | 0.2039 | 0.0007 | 0.8828 | 1.0000 | 2.186 | 141.50 | 1.00 |
| FP16 | 0.7274 | 0.0657 | 0.2036 | 0.0007 | 0.8828 | 1.0000 | 0.862 | 70.76 | 2.00 |
| MedPTQ | 0.7270 | 0.0661 | 0.2046 | 0.0007 | 0.8823 | 0.9946 | 0.843 | 88.95 | 3.90 |
| SGAV-MP | 0.7274 | 0.0654 | 0.2033 | 0.0007 | 0.8825 | 0.9972 | 1.580 | 136.95 | 1.58 |
Table 8. Representative 2D TensorRT deployment results. CR denotes compression ratio, UC denotes uncertainty-map correlation, and Con-Mem denotes TensorRT context memory. FP32 is the reference and is not ranked. Best value is bold-underlined and second best is bold.
| Dataset | Model | Precision | CR ↑ | Lat. ↓ | Con-Mem ↓ | Dice ↑ | ECE ↓ | Brier ↓ | AURC ↓ | Err-AUROC ↑ | UC ↑ | Weights ↓ | Total Mem. ↓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MosMedPlus | EfficientNet-B0 | FP32 | 1.000 | 1.331 | 94.563 | 0.7882 | 0.1915 | 0.3825 | 0.0041 | 0.6067 | 1 | 35.04 | 129.60 |
| SGAV-MP | 2.250 | 0.791 | 34.718 | 0.7882 | 0.1914 | 0.3823 | 0.0041 | 0.6067 | 0.9833 | 15.58 | 50.30 | ||
| Uniform INT8 | 3.812 | 0.903 | 37.125 | 0.7881 | 0.1917 | 0.3828 | 0.0041 | 0.6065 | 0.9600 | 9.20 | 46.33 | ||
| PROMISE12 | ResNet50 | FP32 | 1.000 | 0.982 | 88.438 | 0.8857 | 0.1026 | 0.2055 | 0.0023 | 0.5883 | 1 | 94.11 | 182.55 |
| SGAV-MP | 2.527 | 0.594 | 37.125 | 0.8857 | 0.1026 | 0.2055 | 0.0023 | 0.5883 | 0.9698 | 37.25 | 74.18 | ||
| Uniform INT8 | 4.082 | 0.659 | 40.813 | 0.8857 | 0.1026 | 0.2055 | 0.0023 | 0.5883 | 0.9426 | 23.06 | 65.81 |
layer scores rank candidate precision changes, but acceptance is decided by evaluating the complete compressed model on a calibration set. The Pareto analysis also shows that reliability tolerance defines a compression–uncertainty frontier rather than a single fixed INT8 or INT4 point.
SGAV-MP is compression-oriented and does not imply automatic runtime speedup. We separate storage compression from backend-supported measurements: TensorRT FP32/FP16/INT8 results are reported for representative 2D and 3D settings, while mixed INT4/INT2 policies are reported only by storage compression and reliability metrics unless directly supported by the backend. Limitations include dependence on the FP32 model's reliability, use of labeled calibration data, sensitivity to calibration representativeness, nonzero search cost, and the need for broader evaluation on foundation-style segmenters, additional modalities, and real mixed INT4/INT2 deployment backends.
9. Conclusion
We studied reliability-preserving post-training compression for medical image segmentation. Dice-preserving quantization can still degrade uncertainty, calibration, and failure-detection behavior, motivating SGAV-MP, a score-guided mixed-precision method with aggregate full-model reliability validation. Across 2D MRI/CT and 3D volumetric benchmarks, SGAV-MP preserves FP32-like segmentation and uncertainty behavior while achieving storage compression. Overall, compressed medical segmenters should be evaluated using reliability signals in addition to accuracy and compression ratio.
References
[1] Weihan Chen, Peisong Wang, and Jian Cheng. Towards mixed-precision quantization of neural networks via constrained optimization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 5350–5359, 2021. 2
[2] Özgün Çiçek, Ahmed Abdulkadir, Soeren S Lienkamp, Thomas Brox, and Olaf Ronneberger. 3d u-net: learning dense volumetric segmentation from sparse annotation. In International conference on medical image computing and computer-assisted intervention, pages 424–432. Springer, 2016. 2
[3] Lee R Dice. Measures of the amount of ecologic association between species. Ecology, 26(3):297–302, 1945. 5
[4] Zhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami, Michael W Mahoney, and Kurt Keutzer. Hawq-v2: Hessian aware trace-weighted quantization of neural networks. In Advances in neural information processing systems, pages 18518–18529, 2020. 2
[5] Tom Fawcett. An introduction to roc analysis. Pattern recognition letters, 27(8):861–874, 2006. 5
[6] Yarin Gal and Zoubin Ghahramani. Dropout as a bayesian approximation: Representing model uncertainty in deep learning. In International conference on machine learning, pages 1050–1059. PMLR, 2016. 2
[7] Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Advances in neural information processing systems, 2017. 3, 5
[8] W Brier Glenn et al. Verification of forecasts expressed in terms of probability. Monthly weather review, 78(1):1–3, 1950. 5
[9] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural networks. In International conference on machine learning, pages 1321–1330. PMLR, 2017. 2, 5
[10] Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In arXiv preprint arXiv:1510.00149, 2015. 1
[11] Ali Hatamizadeh, Vishwesh Nath, Yucheng Tang, Dong Yang, Holger R Roth, and Daguang Xu. Swin unetr: Swin transformers for semantic segmentation of brain tumors in mri images. In International MICCAI brainlesion workshop, pages 272–284. Springer, 2021. 1, 2
[12] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. 5
[13] Yufan He, Pengfei Guo, Yucheng Tang, Andriy Myronenko, Vishwesh Nath, Ziyue Xu, Dong Yang, Can Zhao, Benjamin Simon, Mason Belue, et al. Vista3d: A unified segmentation foundation model for 3d medical imaging. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 20863–20873, 2025. 2
[14] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 1
[15] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700–4708, 2017. 5
[16] Ling Huang, Su Ruan, Yucheng Xing, and Mengling Feng. A review of uncertainty quantification in medical image analysis: Probabilistic and non-probabilistic methods. Medical Image Analysis, 97:103223, 2024. 1, 2
[17] Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature methods, 18(2):203–211, 2021. 1, 2
[18] Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2704–2713, 2018. 1
[19] Yuanfeng Ji, Haotian Bai, Chongjian Ge, Jie Yang, Ye Zhu, Ruimao Zhang, Zhen Li, Lingyan Zhanng, Wanling Ma, Xiang Wan, et al. Amos: A large-scale abdominal multi-organ benchmark for versatile medical image segmentation. In Advances in neural information processing systems, pages 36722–36732, 2022. 4
[20] Alain Jungo and Mauricio Reyes. Assessing reliability and challenges of uncertainty estimations for medical image segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 48–56. Springer, 2019. 1
[21] Simon Kohl, Bernardino Romera-Paredes, Clemens Meyer, Jeffrey De Fauw, Joseph R Ledsam, Klaus Maier-Hein, SM Eslami, Danilo Jimenez Rezende, and Olaf Ronneberger. A probabilistic u-net for segmentation of ambiguous images. In Advances in neural information processing systems, 2018. 2
[22] Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in neural information processing systems, 2017. 2
[23] Steven Landgraf, Kira Wursthorn, Markus Hillemann, and Markus Ulrich. Dudes: Deep uncertainty distillation using ensembles for semantic segmentation. PFG–Journal of Photogrammetry, Remote Sensing and Geoinformation Science, 92(2):101–114, 2024. 2
[24] Bennett Landman, Zhoubing Xu, Juan Igelsias, Martin Styner, Thomas Langerak, and Arno Klein. Miccai multi-atlas labeling beyond the cranial vault-workshop and challenge. In Proc. MICCAI multi-atlas labeling beyond cranial vault—workshop challenge, page 12. Munich, Germany, 2015. 4
[25] Yuhang Li, Ruihao Gong, Xu Tan, Yang Yang, Peng Hu, Qi Zhang, Fengwei Yu, Wei Wang, and Shi Gu. Brecq: Pushing the limit of post-training quantization by block reconstruction. In arXiv preprint arXiv:2102.05426, 2021. 1
[26] Geert Litjens, Robert Toth, Wendy Van De Ven, Caroline Hoeks, Sjoerd Kerkstra, Bram Van Ginneken, Graham Vincent, Gwenael Guillard, Neil Birbeck, Jindang Zhang, et al. Evaluation of prostate segmentation algorithms for mri: the promise12 challenge. Medical image analysis, 18(2):359–373, 2014. 4
[27] Haisheng Lu, Yujie Fu, Fan Zhang, and Le Zhang. Efficient quantization-aware training on segment anything model in medical images and its deployment. Medical Image Segmentation Challenge, pages 137–150, 2024. 1
[28] Jun Ma, Yuting He, Feifei Li, Lin Han, Chenyu You, and Bo Wang. Segment anything in medical images. Nature communications, 15(1):654, 2024. 1
[29] Alireza Mehrtash, William M Wells, Clare M Tempany, Purang Abolmaesumi, and Tina Kapur. Confidence calibration and predictive uncertainty estimation for deep medical image segmentation. IEEE transactions on medical imaging, 39(12): 3868–3878, 2020. 1, 2, 5
[30] Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE transactions on medical imaging, 34(10):1993–2024, 2014. 4
[31] Sergey P Morozov, Anna E Andreychenko, Nikolay A Pavlov, AV Vladzymyrskyy, Natalya V Ledikhova, Victor A Gombolevskiy, Ivan A Blokhin, Pavel B Gelezhe, AV Gonchar, and V Yu Chernina. Mosmeddata: Chest ct scans with covid-19 related findings dataset. arXiv preprint arXiv:2005.06465, 2020. 4
[32] Andriy Myronenko. 3d mri brain tumor segmentation using autoencoder regularization. In International MICCAI brainlesion workshop, pages 311–320. Springer, 2018. 5
[33] Markus Nagel, Rana Ali Amjad, Mart Van Baalen, Christos Louizos, and Tijmen Blankevoort. Up or down? adaptive rounding for post-training quantization. In International conference on machine learning, pages 7197–7206. PMLR, 2020. 1, 2, 5
[34] Nilesh Prasad Pandey, Markus Nagel, Mart van Baalen, Yin Huang, Chirag Patel, and Tijmen Blankevoort. A practical mixed precision algorithm for post-training quantization. arXiv preprint arXiv:2302.05397, 2023. 2
[35] Chongyu Qu, Ritchie Zhao, Ye Yu, Bin Liu, Tianyuan Yao, Junchao Zhu, Bennett A Landman, Yucheng Tang, and Yuankai Huo. Medptq: a practical pipeline for real post-training quantization in 3d medical image segmentation. Journal of Medical Imaging, 13(1):014006, 2026. 1, 2
[36] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234–241. Springer, 2015. 1, 2
[37] Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted
residuals and linear bottlenecks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4510–4520, 2018. 5
[38] Dandan Shan, Zihan Li, Wentao Chen, Qingde Li, Jie Tian, and Qingqi Hong. Coarse-to-fine covid-19 segmentation via vision-language alignment. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2023. 4
[39] Claude Elwood Shannon. A mathematical theory of communication. The Bell system technical journal, 27(3):379–423, 1948. 5
[40] Charles Spearman. The proof and measurement of association between two things. The American journal of psychology, 100(3/4):441–471, 1987. 5
[41] Abdel Aziz Taha and Allan Hanbury. Metrics for evaluating 3d medical image segmentation: analysis, selection, and tool. BMC medical imaging, 15(1):29, 2015. 5
[42] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International conference on machine learning, pages 6105–6114. PMLR, 2019. 5
[43] Rongzhao Zhang and Albert CS Chung. Efficientq: An efficient and accurate post-training neural network quantization method for medical image segmentation. Medical Image Analysis, 97:103277, 2024. 1, 2, 5