Fudan's SegAnyPET Beats nnUNet Segmenting Organs Never Seen in Training
A new 3D foundation model tackles PET imaging with the largest dataset ever built, beating specialized models using a single point prompt.
ProTakeaways
- Fudan researchers released SegAnyPET, the first 3D foundation model built for PET image segmentation.
- PETS-5k dataset contains 5,731 whole-body PET volumes and 1.3M 2D slices, the largest ever.
- Cross Prompting Confident Learning uses prompt-variance uncertainty to rectify noisy labels during training.
- Hits 90.49% Dice with one point prompt, beating SAM-Med3D-turbo by 18.4 points on average.
- Outperforms fully supervised nnUNet and STUNet while remaining promptable and generalizing to unseen organs.
- Struggles with scattered whole-body tumor lesions; auto-prompting for full automation is future work.
Positron Emission Tomography scans have long been the awkward stepchild of medical imaging AI. While computed tomography and MRI enjoy massive labeled datasets and dozens of segmentation models fine-tuned on them, PET has been left behind. A team from Fudan University and the Shanghai Academy of Artificial Intelligence for Science just changed that with SegAnyPET, the first foundation model built specifically for segmenting organs and lesions from PET volumes.
Why PET breaks existing segmentation models
PET is a molecular imaging modality. A radioactive tracer is injected into the patient, typically containing the radioactive isotope fluorine-18 synthesized fluorodeoxyglucose, and the radioactive decay emits positrons that produce gamma photons captured by detectors to create a 3D map of metabolic activity. That map is invaluable for tracking tumors and organ metabolism, but it looks nothing like a CT scan.
Due to the low resolution nature and partial volume effects, PET images exhibit lower image quality and have less distinct boundaries compared to other structural images such as CT scans, which presents a significant challenge for accurate segmentation. The visual difference is stark, and models trained on sharp anatomical edges simply do not know what to do with soft, glowing metabolic blobs.

The Segment Anything Model and its medical descendants have not helped much here. When directly applying SAM without any adaptation, its performance significantly left behind task-specific segmentation models, and despite attempts of fine-tuning and adapting SAM for medical images, these works mostly focus on CT and MRI images with detailed physiological structural information, ignoring PET imaging. The bottleneck was data: annotated PET datasets have historically been tiny and narrow in scope.
Building the largest PET dataset in existence
The team's first contribution is brute-force scale. PETS-5k consists of 5,731 three-dimensional whole-body PET images, encompassing over 1.3M 2D images, which is the largest PET dataset to date. To put that in context, the previously popular AutoPET dataset held around 1,014 volumes and only annotated tumor lesions.
But annotating PET at this scale is prohibitively expensive, so the authors took a two-tier approach:
- HQ Set: 40 training cases plus 60 test cases, hand-refined by two senior experts
- LQ Set: 5,631 cases pre-annotated by a model and a junior annotator, containing potential mislabels
- Target organs: liver, left/right kidney, heart, spleen for training
- Held-out organs: aorta, prostate, and five lung lobes annotated only in the test set to measure generalization
The trick: learning from noisy labels without being fooled
The core methodological contribution is Cross Prompting Confident Learning (CPCL). The problem it solves is well known in medical AI: you have a mountain of noisy labels and a molehill of clean ones, and naively mixing them degrades performance because the noise misleads training.

CPCL exploits a quirk of promptable models: the output heavily relies on the input prompts, and different prompts may cause variances in the segmentation results even when they refer to the same object given the same image. The team uses this variance in two ways.
- Cross prompting consistency: For every image, generate multiple predictions from different prompt points and penalize disagreement between them. This is an unsupervised signal that works even without any label.
- Uncertainty-guided self-rectification: Compute the predictive entropy across those varied prompts to estimate per-voxel uncertainty. Voxels where the model is highly uncertain get their noisy labels flipped, producing a rectified label the network can safely learn from.
Formally, the rectification flips a voxel label whenever its uncertainty exceeds a threshold, effectively treating high-entropy regions as suspected annotation errors. The total loss combines supervised loss on HQ data, the consistency regularizer on LQ data, and the supervised loss against rectified LQ labels, with a ramp-up weight so the noisy signal cannot dominate early training.
Architecture: SAM, but fully 3D
Rather than glue 2D slice predictions together, SegAnyPET operates on volumes end to end. It keeps SAM's three-part structure (image encoder, prompt encoder, mask decoder) but rebuilds each in 3D. The image encoder uses 16 by 16 by 16 patches with a 768-dimensional embedding, learnable 3D absolute positional encoding, and 16 self-attention blocks. The prompt encoder handles sparse point prompts with 3D positional embeddings and dense mask prompts with 3D convolutions. Iterative prompting during training simulates a clinician clicking on error regions.
Results that make the case
The numbers are lopsided. With a single point prompt on the internal test set, SegAnyPET hits 90.49% average Dice across five organs. The next best model, SAM-Med3D-turbo, manages 72.09% with the same single prompt. Even against fully supervised task-specific models like nnUNet (89.83%) and STUNet (89.61%) that were trained specifically for this task, the promptable foundation model comes out ahead.
The generalization results are more striking. On seven organs the model never saw during training, SegAnyPET scores 89.04% Dice with one point, while SAM-Med3D-organ, the strongest baseline, sits at 42.87%. On the fully out-of-distribution AutoPET-Organ external test set, SegAnyPET still leads on most organs. The ablation study confirms CPCL is the driver: swapping it for plain fine-tuning drops unseen-organ Dice from 73.96% to 62.74%.
Where it falls short
The model has one clear weakness the authors admit openly. On whole-body tumor segmentation from the AutoPET dataset, SegAnyPET actually underperforms the slice-by-slice 2D SAM baseline. The reason is structural: the target organs in the task are all continuous entities, while the whole-body tumors in AutoPET dataset are scattered multiple small targets located in various places, so the 3D model cannot directly segment all these scattered tumors out using one or a few prompt points. One point cannot cover dozens of metastases sprinkled across a body.
The other limitation is inherent to promptable segmentation: you still need someone to click. Fully automatic pipelines like nnUNet remove that step. The authors flag auto-prompting via semantic information as future work.
Availability and what to do with it
The authors state the model and code will be released publicly on the project page. For anyone working on FDG-PET analysis (oncology quantification, organ SUV measurement, treatment response tracking), this is likely the strongest starting point available today, especially when you need to segment structures that no existing model was trained on. The CPCL strategy itself is also promising beyond PET, since it requires no architectural changes and could be dropped into any promptable segmentation pipeline that has to cope with mixed-quality annotations.