TL;DR
This paper presents the first systematic robustness analysis of 3D medical image segmentation foundation models against imprecise visual prompts. By evaluating two state-of-the-art models under controlled prompt perturbations (such as dilation, erosion, and spatial translation), the authors reveal that models are highly sensitive to prompt quality but show surprising resilience when structural boundary information is preserved.
What Problem Does This Paper Address?
Foundational AI models like the Segment Anything Model (SAM) have revolutionized interactive image segmentation by allowing users to guide AI predictions using visual prompts (e.g., clicks, bounding boxes, or rough masks). In medical imaging, these models are increasingly used to segment complex 3D anatomical structures from CT or MRI scans.
However, there is a major catch: existing models assume the user will provide near-perfect prompts. In a fast-paced clinical setting, obtaining pixel-perfect prompts is highly unrealistic due to time constraints, varying levels of clinician expertise, or errors introduced by automated registration algorithms. Despite this reality, how these 3D foundation models handle imperfect or "noisy" prompts has remained largely unexplored. This paper bridges that gap by systematically testing model resilience against realistic prompt imprecisions.
Methods
The authors evaluated two prominent, state-of-the-art 3D medical segmentation foundation models that use different architectural paradigms:
- nnInteractive: A CNN-based model that processes data at its native resolution and injects prompts directly as separate input channels.
- SAM-Med3D: An adaptation of the original SAM architecture to 3D, which downsamples features and applies a strict $128 \times 128 \times 128$ Region of Interest (ROI) cropping method around the target organ.
To simulate real-world user imprecision, the authors took "gold standard" segmentation masks and applied four distinct types of controlled mathematical perturbations before feeding them to the models as dense mask prompts:
- Dilation: Expanding the mask outward (making the prompt too large).
- Erosion: Shrinking the mask inward (making the prompt too small).
- Boundary-Preserving Erosion: Creating a hollow cavity inside the mask while keeping the outer boundary intact. This isolates the effect of shape geometry versus dense voxel precision.
- Lateral Translation: Spatially shifting the entire mask along the X, Y, and Z axes to simulate misalignment.
Datasets
The models were evaluated on the Beyond The Cranial Vault (BTCV) Challenge dataset, a multi-organ abdominal CT dataset consisting of 30 volumes. Crucially, this dataset contains 13 different organs of widely varying shapes and sizes (e.g., the massive liver, medium-sized kidneys, irregular pancreas, and tubular aorta). Furthermore, BTCV was entirely absent from the training sets of both models, serving as a true out-of-distribution robustness benchmark.
Key Insights and Ideas
- Boundaries Matter More Than Textures: Models perform significantly better when the prompt retains the structural boundary of the organ, even if the inside of the prompt is completely hollowed out (boundary-preserving erosion). Boundaries act as a powerful geometric prior, effectively telling the model where to stop segmenting.
- Organ Geometry Dictates Vulnerability: Large, regular organs like the liver are highly resilient to prompt coarseness. Conversely, small organs (gallbladder) or highly irregular/tubular structures (pancreas, aorta) suffer severe performance drops even with minor prompt perturbations.
- The Architectural Trade-off (Accuracy vs. Stability):
nnInteractiveyields superior segmentation accuracy when given highly precise prompts, but its performance degrades rapidly as prompts become coarser. On the flip side,SAM-Med3Dis remarkably stable across heavily perturbed or shifted prompts. This stability is primarily a byproduct of its hard ROI cropping mechanism, which ensures the target organ always dominates the model's field of view.
Key Results
The quantitative impact of prompt degradation is clearly illustrated in the paper's aggregated global trends:
As shown in Figure 1, standard erosion causes a catastrophic drop in Dice score for nnInteractive, while both models maintain high stability under boundary-preserved erosion.
When evaluating spatial misalignment (lateral translation), SAM-Med3D demonstrated excellent robustness across almost all organs. As seen in Figure 5, nnInteractive experienced noticeable performance drops, particularly for smaller, irregularly shaped organs like the adrenal glands (LAG/RAG) and the esophagus (Eso.).
Limitations and Future Work
The primary limitation acknowledged by the authors is that some of their perturbations—specifically boundary-preserving erosion—are synthetic and less likely to occur naturally in clinical workflows. They were utilized primarily as an experimental control to isolate the importance of shape priors.
Moving forward, the authors suggest that these insights should be used to design more robust training paradigms. Instead of training foundation models solely on perfect prompts, future architectures should be exposed to perturbed, noisy prompts during training to better prepare them for the messy realities of clinical deployment.
Summary updated