Papers › Segment Anything

Segment Anything

5 Apr 2023ICCV 2023 1arXiv:2304.02643archive 2025-07-28

Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Dollár, Ross Girshick

We introduce the Segment Anything (SA) project: a new task, model, and dataset for image segmentation. Using our efficient model in a data collection loop, we built the largest segmentation dataset to date (by far), with over 1 billion masks on 11M licensed and privacy respecting images. The model is designed and trained to be promptable, so it can transfer zero-shot to new image distributions and tasks. We evaluate its capabilities on numerous tasks and find that its zero-shot performance is impressive -- often competitive with or even superior to prior fully supervised results. We are releasing the Segment Anything Model (SAM) and corresponding dataset (SA-1B) of 1B masks and 11M images at https://segment-anything.com to foster research into foundation models for computer vision.

PaperPDFConference PDFCodeCode 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="2304.02643")

Code

Syntology Ran 8 of 23 code samples harvested from 5 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 3 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 22 samples from 4 repositories, 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.

32 repositories listed; official and paper-mentioned ones first.

facebookresearch/segment-anything officialmentioned in paperpytorch report
HibaKob/MicroBundlePillarTrack mentioned on GitHubpytorchMIT report
IDEA-Research/Grounded-Segment-Anything mentioned on GitHubpytorch report
ZE-WEN/DendriteSAM mentioned on GitHubpytorch report
arnab39/equiadapt mentioned on GitHubpytorch report
camenduru/grounded-segment-anything-colab mentioned on GitHubUnlicense report
chwilms/sos mentioned on GitHubpytorchGPL-3.0 report
computational-cell-analytics/medico-sam mentioned on GitHubpytorchMIT report
computational-cell-analytics/micro-sam mentioned on GitHubpytorchMIT report
computational-cell-analytics/patho-sam mentioned on GitHubpytorchMIT report
computational-cell-analytics/peft-sam mentioned on GitHubpytorchMIT report
coradlut/bi-jros mentioned on GitHubpytorch report
geekyutao/inpaint-anything mentioned on GitHubpytorchApache-2.0 report
harrytea/detect-anyshadow mentioned on GitHubpytorch report
huggingface/transformers mentioned on GitHubpytorch report
ksugar/samapi mentioned on GitHubpytorchBSD-3-Clause report
lancasterli/refsam mentioned on GitHubpytorch report
li-qingyun/sam-mmrotate mentioned on GitHubpytorch report
philippendres/CellPilot mentioned on GitHubpytorch report
sqhuang0103/samreg mentioned on GitHubpytorch report
umass-foundation-model/3d-llm mentioned on GitHubpytorchMIT report
ux-decoder/segment-everything-everywhere-all-at-once mentioned on GitHubpytorchApache-2.0 report
vineet2104/hifics mentioned on GitHubpytorch report
vitae-transformer/samrs mentioned on GitHubpytorch report
xinghaochen/tinysam mentioned on GitHubpytorchApache-2.0 report
aim-uofa/matcher pytorchNOASSERTION report
syscv/sam-hq pytorchApache-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

23 samples harvested; 8 ran; 1 honoured the contract we drafted; 15 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 · honoured contract
2ran · violated contract
3ran · our draft was wrong
2ran · fixture could not drive it
15unverified

Licence: 0 of the 23 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 5 repositories linked to this paper, official or community; each sample names its own and says which. “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_amg_kwargs facebookresearch/segment-anything/scripts/amg.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a8051baeec435042 · report
get_rel_pos computational-cell-analytics/medico-sam/medico_sam/models/sam_med2d/image_encoder.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 733d7f0bedcb74c2 · report
get_training_files harrytea/detect-anyshadow/sam_finetune.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 3c0c7ead4d811dd1 · report
list_sum IDEA-Research/Grounded-Segment-Anything/EfficientSAM/EdgeSAM/common.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · 57deafe250be5b10 · report
run_example harrytea/detect-anyshadow/demo_app.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 8ef94ab3cad34e94 · report
val2list IDEA-Research/Grounded-Segment-Anything/EfficientSAM/EdgeSAM/common.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · f1073b4e93f4484c · report
val2tuple IDEA-Research/Grounded-Segment-Anything/EfficientSAM/EdgeSAM/common.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7a8e24c5db77ad97 · report
window_partition computational-cell-analytics/medico-sam/medico_sam/models/sam_med2d/image_encoder.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 105fa08885dc36cc · report
apply_otsu_thresh HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/pillar_analysis.py community (archive-listed) unverified MIT (permissive) · 8d9679be271d4b38 · report
calculate_dice_score computational-cell-analytics/medico-sam/medico_sam/evaluation/evaluation.py community (archive-listed) unverified MIT (permissive) · a4a2d81002368f50 · report
check_frame_low_contrast HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/create_pillar_mask.py community (archive-listed) unverified MIT (permissive) · 45dc7a1f3636a6c8 · report
compute_otsu_thresh HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/pillar_analysis.py community (archive-listed) unverified MIT (permissive) · 1fda4dacb4806edc · report
get_monai_models computational-cell-analytics/medico-sam/medico_sam/models/monai_models.py community (archive-listed) unverified MIT (permissive) · ada1ce39af7d60ef · report
image_folder_to_path_list HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/image_analysis.py community (archive-listed) unverified MIT (permissive) · c349ec599a048d0d · report
label_regions HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/create_pillar_mask.py community (archive-listed) unverified MIT (permissive) · afe29ffaba40716e · report
read_all_tiff HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/image_analysis.py community (archive-listed) unverified MIT (permissive) · 8834474b0ab07f80 · report
read_tiff HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/image_analysis.py community (archive-listed) unverified MIT (permissive) · 2325d8c44e5d9cf8 · report
rename_folder HibaKob/MicroBundlePillarTrack/src/microbundlepillartrack/pillar_analysis.py community (archive-listed) unverified MIT (permissive) · c0246065ce1b33b4 · report
resize_expand_sequence HibaKob/MicroBundlePillarTrack/finetune_SAM/finetune_microbundle_SAM_script.py community (archive-listed) unverified MIT (permissive) · d1d0fd96d4844bd5 · report
resize_sequence HibaKob/MicroBundlePillarTrack/finetune_SAM/finetune_microbundle_SAM_script.py community (archive-listed) unverified MIT (permissive) · 45fc1f3231e37cd7 · report
txt_file_to_csv HibaKob/MicroBundlePillarTrack/tutorials/text_file_to_csv_file.py community (archive-listed) unverified MIT (permissive) · bb3c76fbb6e98e5e · report
txt_results_to_mean_max_csv HibaKob/MicroBundlePillarTrack/tutorials/output_summary_reults_csv.py community (archive-listed) unverified MIT (permissive) · df2f44871adc6846 · report
window_unpartition computational-cell-analytics/medico-sam/medico_sam/models/sam_med2d/image_encoder.py community (archive-listed) unverified MIT (permissive) · 27be441cc8213e52 · report

Tasks

Event-based Object SegmentationImage SegmentationRobot Manipulation GeneralizationSegmentationSemantic SegmentationVisual PromptingZero-Shot Instance Segmentation

Datasets

Introduced by this paper, per the archive.

SA-1B

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Event-based Object Segmentation MVSEC-SEG SAM mIoU 0.26 #8 of 8 Archive leaderboard report
Event-based Object Segmentation RGBE-SEG SAM mIoU 0.26 #8 of 8 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: SAM

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