Skip to main content
Back

Fudan's SegAnyPET Cuts Cancer Scan Annotation Time by 82%

A promptable 3D foundation model trained on 11,041 whole-body PET scans handles organ and lesion segmentation with a single point click.

Pro

  • SegAnyPET is the first 3D foundation model built specifically for whole-body PET segmentation, released on GitHub.
  • Trained on PETWB-Seg11K: 11,041 whole-body PET scans with 59,831 masks from multi-center, multi-tracer cohorts.
  • Uses SAM-style architecture rebuilt in 3D with point and mask prompts for interactive segmentation.
  • Beats SAM-Med3D, SegVol, VISTA3D on PET tasks; matches specialist nnUNet with 5 point prompts.
  • Cuts radiologist annotation time by roughly 82% in lymphoma and lung cancer studies.
  • Weights available on Hugging Face; struggles with distributed lesions requiring individual prompts.

Positron emission tomography sits at a strange spot in medical AI. It is the go-to imaging modality for spotting metabolic activity in tumors, brains, and hearts, yet the segmentation models that automate CT and MRI analysis mostly fall apart when pointed at a PET volume. A team from Fudan University, Zhejiang University, and the University of Bern is trying to close that gap with SegAnyPET, a 3D promptable foundation model built specifically for whole-body PET imaging.

The paper pairs the model with PETWB-Seg11K, which the authors describe as the largest PET segmentation collection assembled to date. The dataset comprises 11,041 3D whole-body PET scans with 59,831 segmentation masks for model development. That scale matters because, until now, publicly available PET segmentation datasets have been narrow oncological benchmarks with a few hundred cases each.

Why PET breaks existing segmentation models

CT and MRI produce sharp anatomical boundaries. PET produces something closer to a heatmap of biochemistry, showing where a radioactive tracer accumulates in tissue. That makes it powerful for detecting disease before structural changes appear, but bad for algorithms that were trained to trace crisp organ edges.

Existing foundation models are primarily optimized to delineate the well-defined anatomical boundaries inherent in structural scans, so they lack the specific representational capacity required to interpret the diffuse, metabolism-driven signal distributions and low spatial resolution typical of PET. The authors quantify this in their comparisons. Text-prompted models like SAT collapse to a Dice score near zero on PET organ segmentation. Point-prompted 3D models such as SAM-Med3D and VISTA3D perform better but still trail badly, largely because their training corpora are dominated by structural CT and MRI.

Overview of PETWB-Seg11K dataset and SegAnyPET architecture with internal and external validation results

Inside the model

SegAnyPET follows the Segment Anything blueprint but is rebuilt as a fully volumetric system rather than a 2D network with 3D adapters. It is a modality-specific 3D foundation model for universal promptable segmentation from PET images. The pipeline has three parts:

  • Image encoder: takes raw volumetric PET input and produces high-dimensional 3D feature embeddings with absolute positional encoding.
  • Prompt encoder: handles both sparse prompts (positive and negative points) and dense prompts (coarse masks), passing them through 3D convolutions, layer normalization, and GELU activations.
  • Mask decoder: fuses image and prompt embeddings through 3D transformer blocks and transposed convolutions to output the final volumetric mask.

Training used 8 NVIDIA A100 80GB GPUs over 500 epochs on 128x128x128 patches, with AdamW, a base learning rate of 8e-5, and a combined Dice plus cross-entropy loss. During training, the number of interactive clicks per iteration was randomly sampled between 1 and 20, forcing the model to work well under sparse and dense prompting alike.

The interaction loop itself is worth flagging. At each step, the system compares the current predicted mask against ground truth, samples new positive points from false-negative regions and new negative points from false-positive regions, then feeds them back with the previous mask embedding. That mirrors what a radiologist would do while correcting a segmentation in the loop.

The dataset that made it possible

PETWB-Seg11K stitches together two open datasets (AutoPET and UDPET) with two private cohorts (PETS-A and PETS-B), all whole-body 18F-FDG PET scans from Chinese, German, and Swiss centers. External validation is split across three additional cohorts, including a PET/MRI dataset and a PSMA-PET prostate cancer dataset, each involving tracers and scanner physics the model never saw during training.

Two model variants are released. The base SegAnyPET is a general-purpose organ and lesion segmenter. SegAnyPET-Lesion is a fine-tuned specialist trained for an additional 200 epochs on lesion-centric data, aimed at small heterogeneous abnormalities like lymphoma nodes.

How it performs

With a single point prompt, SegAnyPET dominates other promptable foundation models. On the internal PETS-Organ benchmark for liver segmentation, it reaches a median Dice of 0.926 with one point, compared to 0.646 for SAM-Med3D and 0.440 for SegVol. On the external UMD-PETMR cohort, which uses PET/MRI attenuation correction rather than PET/CT, it still hits 0.797 Dice for liver versus 0.700 for the next-best foundation model.

Box plot comparison of Dice Similarity Coefficient across organs for SAM-Med3D, SAT, VISTA3D, SegVol, and SegAnyPET

More interesting is the comparison with task-specific specialists. The authors trained nnUNet, STUNet, SwinUNETR, and SegResNet on the same organ annotations. With five point prompts, SegAnyPET matches or beats these dedicated networks on Dice for liver, kidneys, heart, and spleen, while retaining the ability to generalize to unseen targets through prompt-based interaction. Specialist models cannot do that without retraining on new labels.

The clinical payoff and where it still struggles

The team ran a human-in-the-loop annotation study with two nuclear medicine physicians on lymphoma and lung cancer cases. Using SegAnyPET as an interactive assistant cut annotation time by roughly 82% for both experts compared to full manual delineation. That is the kind of number that determines whether a model gets deployed in a hospital or shelved.

The paper is honest about the failure mode. Disseminated diseases like lymphoma produce many small, spatially discrete lesions scattered across the body. A single point prompt cannot capture them all, so users have to click through each lesion sequentially. Even with the SegAnyPET-Lesion variant, Dice scores on lymphoma sit around 0.09 to 0.27, an order of magnitude below organ segmentation performance. The authors suggest that future multimodal PET foundation models combining imaging with text prompts drawn from radiology reports could sidestep this bottleneck.

Getting the model

Both variants are released under the SegAnyPET repo. Weights are hosted on Hugging Face as seganypet_v2.pth and seganypet_lesion.pth, with the earlier ICCV 2025 checkpoint seganypet_v1.pth also available. The AutoPET-Organ subset with expert annotations for 12 organs across 100 cases has been open-sourced, while the private PETS-A and PETS-B cohorts remain under controlled access. Code is adapted from SAM-Med3D and retains a similar promptable-segmentation usage pattern, so anyone already working with 3D SAM variants should be able to plug it in quickly.