Abstract
Large foundation models, known for their strong zero-shot generalization, have excelled in visual and language applications. However, applying them to medical image segmentation, a domain with diverse imaging types and target labels, remains an open challenge. Current approaches, such as adapting interactive segmentation models like Segment Anything Model (SAM), require user prompts for each sample during inference. Alternatively, transfer learning methods like few/one-shot models demand labeled samples, leading to high costs. This paper introduces a new paradigm toward the universal medical image segmentation, termed ‘One-Prompt Segmentation.’ One-Prompt Segmentation combines the strengths of one-shot and interactive methods. In the inference stage, with just one prompted sample, it can adeptly handle the unseen task in a single forward pass. We train One-Prompt Model on 64 open-source medical datasets, accompanied by the collection of over 3,000 clinician-labeled prompts. Tested on 14 previously unseen datasets, the One-Prompt Model showcases superior zero-shot segmentation capabilities, outperforming a wide range of related methods.
Introduction
Medical image segmentation is notoriously difficult because of the sheer variety of imaging modalities (CT, MRI, Ultrasound) and anatomical targets. While foundation models like the Segment Anything Model (SAM) have shown incredible zero-shot capabilities, they present significant drawbacks in clinical settings. Interactive models require a user prompt for every single image, which is prohibitively time-consuming for 3D volumes. Conversely, few-shot methods require full expert-level segmentation masks as supportive examples, which are expensive and slow to obtain.
To address these issues, the authors propose One-Prompt Segmentation. In this paradigm, a user prompts only one representative image to "teach" the model the current task. The model then applies this knowledge to all subsequent query images in a single forward pass, effectively bridging the gap between interactive flexibility and one-shot efficiency.
Methods
The One-Prompt Model architecture centers on a specialized decoder designed to fuse information from a "template" (the prompted image) and a "query" (the image to be segmented).
Architectural Components
- One-Prompt Former: This module uses cross-attention to integrate prompted template features into the query image's segmentation process. It captures both global context and fine details by processing features across multiple scales.
- Prompt-Parser: This component mixes prompt embeddings, query features, and template features to create an adaptive attentive mask. It utilizes Gaussian Masking to handle uncertainty in medical targets, preserving high-activation areas while eliminating low-confidence regions.
- Diverse Prompt Support: Unlike models limited to points or boxes, this model supports four types: Click, BBox, Doodle, and SegLab (full masks). Doodles are highlighted as a particularly user-friendly way to prompt irregular shapes like the pancreas.
Datasets and Training
The authors curated a collection of 78 open-source medical datasets. The model was trained on 64 of these datasets, utilizing over 3,000 clinician-labeled prompts to ensure the model learned from realistic, expert-level interactions. The remaining 14 datasets were held out as "unseen tasks" to rigorously verify the model's zero-shot generalization capabilities across various organs and modalities.
Key Results
- Superior Zero-Shot Performance: On unseen tasks, the One-Prompt model achieved an average Dice score of 64.0%, significantly outperforming medical adaptations of SAM such as MedSAM (53.9%) and MSA (50.3%).
- Significant Time Savings: The user-cost time to segment a new task is reduced to an average of 2.28 seconds (the time to prompt one image), compared to 27.47 seconds for traditional few-shot methods requiring full masks.
- Stability: The model demonstrated high stability, with performance variance staying below 13% even when different random templates were used to prompt the same task.
Limitations and Future Work
Despite its strengths, the model exhibits template sensitivity; in tasks with highly diverse anatomical structures, the choice of the template image can significantly impact performance. There is also a performance gap between low-quality and expert-level prompts. Future research will focus on scaling the training datasets and exploring more complex prompt-fusion mechanisms to further push the boundaries of universal medical image segmentation.
Summary updated