Papers › SAM-Med3D: Towards General-purpose Segmentation Models for Volumetric Medical Images

SAM-Med3D: Towards General-purpose Segmentation Models for Volumetric Medical Images

23 Oct 2023arXiv:2310.15161archive 2025-07-28

Haoyu Wang, Sizheng Guo, Jin Ye, Zhongying Deng, Junlong Cheng, Tianbin Li, Jianpin Chen, Yanzhou Su, Ziyan Huang, Yiqing Shen, Bin Fu, Shaoting Zhang, Junjun He, Yu Qiao

Existing volumetric medical image segmentation models are typically task-specific, excelling at specific target but struggling to generalize across anatomical structures or modalities. This limitation restricts their broader clinical use. In this paper, we introduce SAM-Med3D for general-purpose segmentation on volumetric medical images. Given only a few 3D prompt points, SAM-Med3D can accurately segment diverse anatomical structures and lesions across various modalities. To achieve this, we gather and process a large-scale 3D medical image dataset, SA-Med3D-140K, from a blend of public sources and licensed private datasets. This dataset includes 22K 3D images and 143K corresponding 3D masks. Then SAM-Med3D, a promptable segmentation model characterized by the fully learnable 3D structure, is trained on this dataset using a two-stage procedure and exhibits impressive performance on both seen and unseen segmentation targets. We comprehensively evaluate SAM-Med3D on 16 datasets covering diverse medical scenarios, including different anatomical structures, modalities, targets, and zero-shot transferability to new/unseen tasks. The evaluation shows the efficiency and efficacy of SAM-Med3D, as well as its promising application to diverse downstream tasks as a pre-trained model. Our approach demonstrates that substantial medical resources can be utilized to develop a general-purpose medical AI for various potential applications. Our dataset, code, and models are available at https://github.com/uni-medical/SAM-Med3D.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.15161")

Code

Syntology Ran 7 of 14 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

uni-medical/sam-med3d officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 7 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
6ran
7unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from uni-medical/sam-med3d. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_next_click3D_torch uni-medical/sam-med3d/utils/click_method.py official repository ran Apache-2.0 (permissive) · 5319e20cdab18b32 · report
get_next_click3D_torch_no_gt uni-medical/sam-med3d/utils/click_method.py official repository ran Apache-2.0 (permissive) · c0a019683e8f8f94 · report
get_rel_pos uni-medical/sam-med3d/segment_anything/modeling/image_encoder.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 733d7f0bedcb74c2 · report
window_partition uni-medical/sam-med3d/segment_anything/modeling/image_encoder.py official repository ran fingerprinted Apache-2.0 (permissive) · c71a8b97aab37f0a · report
window_partition3D uni-medical/sam-med3d/segment_anything/modeling/image_encoder3D.py official repository ran Apache-2.0 (permissive) · dd47975703efb3d2 · report
window_unpartition uni-medical/sam-med3d/segment_anything/modeling/image_encoder.py official repository ran Apache-2.0 (permissive) · 28e31974913a3064 · report
window_unpartition3D uni-medical/sam-med3d/segment_anything/modeling/image_encoder3D.py official repository ran Apache-2.0 (permissive) · 6070079ba9c357d8 · report
build_sam3D_vit_b uni-medical/sam-med3d/segment_anything/build_sam3D.py official repository unverified Apache-2.0 (permissive) · c40a5f71e5f13edc · report
build_sam3D_vit_h uni-medical/sam-med3d/segment_anything/build_sam3D.py official repository unverified Apache-2.0 (permissive) · d0dd75537fcd6623 · report
build_sam3D_vit_l uni-medical/sam-med3d/segment_anything/build_sam3D.py official repository unverified Apache-2.0 (permissive) · 0e52565027a9e6b9 · report
build_sam_vit_b uni-medical/sam-med3d/segment_anything/build_sam.py official repository unverified Apache-2.0 (permissive) · c1d0ad3fa15c7719 · report
build_sam_vit_h uni-medical/sam-med3d/segment_anything/build_sam.py official repository unverified Apache-2.0 (permissive) · 670eef4f7f0733c1 · report
build_sam_vit_l uni-medical/sam-med3d/segment_anything/build_sam.py official repository unverified Apache-2.0 (permissive) · 66dcf215ad57f76b · report
get_next_click3D_torch_no_gt_naive uni-medical/sam-med3d/utils/click_method.py official repository unverified Apache-2.0 (permissive) · 8978da605c3303f9 · report

Tasks

3D ArchitectureImage SegmentationMedical Image SegmentationSegmentationSemantic SegmentationVolumetric Medical Image Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SAM

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections