TL;DR
Text-prompted medical segmentation promises a simple workflow: type "liver" or "pancreas tumor" and get a 3D mask. In practice, however, models that ace benchmarks often fall apart on new hospital datasets or even when a CT scan is preprocessed slightly differently. Dr. SAM3 solves this without changing a single layer of Meta's SAM3 architecture—simply by rebalancing how medical volumes are sampled during training and how slices are sequenced during inference, it achieves state-of-the-art zero-shot transfer across CT, MR, and PET scans while training over 30× faster than comparable baselines.
What Problem Does This Paper Address?
If you train a segmentation model on a massive public medical benchmark, you might expect it to work out of the box on a new clinic's scans. Unfortunately, that rarely happens. Existing text-prompted models—including recent medical adaptations of SAM3—suffer massive accuracy drops when tested on external datasets. Even worse, they are fragile to routine preprocessing choices: changing how raw CT Hounsfield units are windowed into 8-bit images can cause top baselines to lose up to 37 Dice points.
The authors trace this failure not to SAM3's architecture, but to four practical mismatches when adapting a video/image foundation model to 3D medical volumes:
- Modality imbalance: CT scans dominate public datasets (over 81% of slices), drowning out MR, ultrasound, and PET.
- Rare targets: Small or uncommon tumors appear in only a handful of volumes.
- Skipped anatomy: SAM3's video tracker samples frames with random strides, which easily skips over small lesions.
- Prompt collisions: Propagating one mask per text prompt lets different prompts claim the exact same voxels.
Methods
Dr. SAM3 keeps SAM3's pretrained weights and architecture untouched, splitting adaptation into two phases:
- Phase 1: Detector Adaptation (Dr. SAM3-D). The authors fine-tune the image encoder, text encoder, and detector on 2D axial slices using five targeted sampling rules:
- Modality-balanced volume caps limit slices per CT and MR volume so CT's share drops from 81.7% to ~30%.
- Density-triggered patch splitting divides dense slices (over 200 instances, like microscopy vessels) into quadrants.
- Modality-prefixed prompts prepend the modality to the organ name (e.g.,
"CT Liver"vs."MR Liver"). - Volume-level repeat factor sampling oversamples volumes containing rare classes.
- Negative-slice capping limits empty slices to 20% per modality (mainly taming PET, which is nearly half empty slices).
- Phase 2: Tracker Adaptation (Dr. SAM3-T). Freezing the detector, they fine-tune the mask-propagation tracker on 8-slice clips. Instead of random strides, clips use adjacent slices (stride = 1), run from the center slice outward toward both ends, and use masked padding so short target sequences aren't discarded.
- Cross-View Label Voting. When running Dr. SAM3-T, any voxel claimed by multiple prompts is resolved by letting coronal and sagittal passes of the same axially trained model vote alongside the axial pass.
Datasets
- Training & In-Distribution: MedSegFM, a public 5-modality benchmark (CT, MR, ultrasound, PET, microscopy) spanning 75 datasets and 257 modality-prefixed classes.
- External Zero-Shot Transfer:
- RAOS-Real: 93 CT volumes (12 abdominal organs), tested under three different CT intensity conversions.
- LiQA: 30 MR volumes (liver).
- QUADRA-HC: 96 PET scans (4 organs). Crucially, MedSegFM's only PET dataset labels lesions, not organs—making PET organ segmentation a true unseen-pair test.
Key Insights and Ideas
- You don't need a new architecture to fix domain shift. Simply fixing what slices the model sees and how it steps through 3D volumes outperforms complex architectural adapters.
- Cross-modal feature alignment explains PET transfer. Even though Dr. SAM3 never saw labeled organs in PET during training, its image encoder naturally clusters the same organ together across CT, MR, and PET (94.6% nearest-neighbor organ match, compared to 78.8% for vanilla SAM3).
- Pretrained SAM3 features resist intensity shifts. All SAM3-initialized models varied by at most 10.2 Dice points across different CT windowing conventions, whereas non-SAM3 baselines lost 17.9 to 37.0 points. Dr. SAM3-D is the only one that combines this stability with high accuracy.
Key Results
- External Transfer: Without fine-tuning, Dr. SAM3-D leads all evaluated text-prompted models on RAOS-Real CT (78.92 Dice) and LiQA MR (93.07 Dice). On QUADRA-HC PET, both Dr. SAM3-D and Dr. SAM3-T hit ~45 Dice, while every baseline scores below 10.
- CT Windowing Robustness: Across three CT intensity conversions, Dr. SAM3-D's accuracy shifts by just 2.10 Dice points, whereas BiomedParse-V, Medal-S, and Text3DSAM drop by 17.91, 31.61, and 36.96 points, respectively.
- In-Distribution (MedSegFM): Dr. SAM3-D achieves the highest mean instance F1 (40.48) overall and the highest mean semantic Dice (77.76) among models trained on public medical data. Dr. SAM3-T excels on small CT/MR tumors and lesions (52.8 class-macro F1 vs. 42.1 for Dr. SAM3-D).
- Efficiency: Adapting Dr. SAM3-D takes just 160 GPU-hours—32× to 60× fewer than Medal-S (5,171) and BiomedParse-V (9,600)—and runs ~7× to 160× faster at inference.
Limitations and Future Work
The authors note that their PET organ evaluation on QUADRA-HC is exploratory because the reference masks were generated automatically from paired CT scans rather than manually annotated. Additionally, while Dr. SAM3-T's mask propagation shines on small CT and MR lesions, it is slower at inference than slice-wise Dr. SAM3-D (30.3s vs. 1.4s per volume) and slightly trails it on semantic classes, PET, and microscopy.
Summary updated