Efficient KernelSHAP Explanations for Patch-based 3D Medical Image Segmentation
Organizations: Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Milan, Italy · Radiotherapy and Radiosurgery Department, IRCCS Humanitas Research Hospital, Rozzano, Milan, Italy · Scuola di Specializzazione di Fisica Medica, Università Degli Studi di Milano, Milan, Italy · Department of Biomedical Sciences, Humanitas University, Pieve Emanuele, Milan, Italy
Abstract
Perturbation-based explainability methods such as KernelSHAP provide model-agnostic attributions but are typically impractical for patch-based 3D medical image segmentation due to the large number of coalition evaluations and the high cost of sliding-window inference. We present an efficient KernelSHAP framework for volumetric CT segmentation that restricts computation to a user-defined region of interest and its receptive-field support, and accelerates inference via patch logit caching, reusing baseline predictions for unaffected patches while preserving nnU-Net's fusion scheme. To enable clinically meaningful attributions, we compare three automatically generated feature abstractions within the receptive-field crop: whole-organ units, regular FCC supervoxels, and hybrid organ-aware supervoxels, and we study multiple aggregation/value functions targeting stabilizing evidence (TP/Dice/Soft Dice) or false-positive behavior. Experiments on whole-body CT segmentations show that caching substantially reduces redundant computation (with computational savings ranging from 15% to 30%) and that faithfulness and interpretability exhibit clear trade-offs: regular supervoxels often maximize perturbation-based metrics but lack anatomical alignment, whereas organ-aware units yield more clinically interpretable explanations and are particularly effective for highlighting false-positive drivers under normalized metrics.
Figures & tables
| Metric | Aggregation | Full organs | Regular | Hybrid |
|---|---|---|---|---|
| ABPC | True Positive | 1.576e-03 | 4.980e-03 | 2.102e-03 |
| False Positive | 4.065e-04 | 8.095e-04 | 2.603e-04 | |
| Dice | 1.535e-01 | 8.387e-01 | 2.022e-01 | |
| Soft Dice | 1.524e-03 | 4.753e-03 | 2.005e-03 | |
| nABPC | True Positive | 0.6776 | 0.8341 | 0.8112 |
| False Positive | 0.5259 | 0.4827 | 0.6653 |
Explainable Medical Image Analysis
Explainable Medical Image Analysis develops methods that make medical image predictions understandable, verifiable, and useful for clinical review.
See all 255 papers