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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 23 code samples harvested from 5 repositories linked to this paper: 20 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 1 honoured, 2 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 1 sample from 1 repository, 1 ran (0 with no instrument failure; 1 where Syntology's instrument failed); community (archive-listed): 22 samples from 4 repositories, 19 ran (14 with no instrument failure; 5 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 16 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 20 samples that ran has no recorded date.

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

facebookresearch/segment-anything officialmentioned in paperpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
HibaKob/MicroBundlePillarTrack mentioned on GitHubpytorchMITSyntology: 12 samples, 10 ran (0 instrument-failed) · 2 unverified report
IDEA-Research/Grounded-Segment-Anything mentioned on GitHubpytorchSyntology: 3 samples, 3 ran (1 instrument-failed) · 0 unverified report
ZE-WEN/DendriteSAM mentioned on GitHubpytorchSyntology: not harvested report
arnab39/equiadapt mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Shifting the Paradigm: A Diffeomorphism Between Time Series Data Manifolds for... (arXiv:2502.19921; that paper's own run record: 11 ran (of which 2 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 3 unverified); nothing checks that they implement this paper's method. report
camenduru/grounded-segment-anything-colab mentioned on GitHubUnlicenseSyntology: not harvested report
chwilms/sos mentioned on GitHubpytorchGPL-3.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to SOS: Segment Object System for Open-World Instance Segmentation With Object Priors (arXiv:2409.14627; that paper's own run record: 0 ran · 7 unverified); nothing checks that they implement this paper's method. report
computational-cell-analytics/medico-sam mentioned on GitHubpytorchMITSyntology: 5 samples, 4 ran (3 instrument-failed) · 1 unverified report
computational-cell-analytics/micro-sam mentioned on GitHubpytorchMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Faster Segment Anything: Towards Lightweight SAM for Mobile Applications (arXiv:2306.14289; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
computational-cell-analytics/patho-sam mentioned on GitHubpytorchMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Segment Anything for Histopathology (arXiv:2502.00408; that paper's own run record: 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
computational-cell-analytics/peft-sam mentioned on GitHubpytorchMITSyntology: not harvested report
coradlut/bi-jros mentioned on GitHubpytorchSyntology: not harvested report
geekyutao/inpaint-anything mentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Inpaint Anything: Segment Anything Meets Image Inpainting (arXiv:2304.06790; that paper's own run record: 8 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 0 honoured, 0 violated, 5 with no contract checked; 3 where Syntology's instrument failed) · 3 unverified); nothing checks that they implement this paper's method. report
harrytea/detect-anyshadow mentioned on GitHubpytorchSyntology: 2 samples, 2 ran (1 instrument-failed) · 0 unverified report
huggingface/transformers mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Attention Is All You Need (arXiv:1706.03762; that paper's own run record: 610 ran (of which 293 constructed an object rather than computing a result; 529 with no instrument failure: 45 honoured, 15 violated, 469 with no contract checked; 81 where Syntology's instrument failed) · 336 unverified), HuggingFace's Transformers: State-of-the-art Natural Language Processing (arXiv:1910.03771; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 3 where Syntology's instrument failed) · 0 unverified), DeBERTa: Decoding-enhanced BERT with Disentangled Attention (arXiv:2006.03654; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 2 honoured, 1 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 9 unverified) and 1 more (every one in this page's JSON twin); nothing checks that they implement this paper's method. report
ksugar/samapi mentioned on GitHubpytorchBSD-3-ClauseSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Faster Segment Anything: Towards Lightweight SAM for Mobile Applications (arXiv:2306.14289; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
lancasterli/refsam mentioned on GitHubpytorchSyntology: not harvested report
li-qingyun/sam-mmrotate mentioned on GitHubpytorchSyntology: not harvested report
martinsbruveris/tensorflow-image-models mentioned on GitHubtfSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to MLP-Mixer: An all-MLP Architecture for Vision (arXiv:2105.01601; that paper's own run record: 114 ran (of which 77 constructed an object rather than computing a result; 104 with no instrument failure: 2 honoured, 1 violated, 101 with no contract checked; 10 where Syntology's instrument failed) · 20 unverified); nothing checks that they implement this paper's method. report
philippendres/CellPilot mentioned on GitHubpytorchSyntology: not harvested report
sqhuang0103/samreg mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Segment Anything in High Quality (arXiv:2306.01567; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 14 unverified); nothing checks that they implement this paper's method. report
umass-foundation-model/3d-llm mentioned on GitHubpytorchMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to 3D-LLM: Injecting the 3D World into Large Language Models (arXiv:2307.12981; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 1 violated, 0 with no contract checked; 5 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method. report
ux-decoder/segment-everything-everywhere-all-at-once mentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to LLaVA-Interactive: An All-in-One Demo for Image Chat, Segmentation, Generation and Editing (arXiv:2311.00571; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 5 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
vineet2104/hifics mentioned on GitHubpytorchSyntology: not harvested report
vitae-transformer/samrs mentioned on GitHubpytorchSyntology: not harvested report
xinghaochen/tinysam mentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to TinySAM: Pushing the Envelope for Efficient Segment Anything Model (arXiv:2312.13789; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 3 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method. report
2023-MindSpore-4/Code12 mindsporeSyntology: not harvested report
PaddlePaddle/PaddleSeg paddleSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to EdgeFlow: Achieving Practical Interactive Segmentation with Edge-Guided Flow (arXiv:2109.09406; that paper's own run record: 5 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
aim-uofa/matcher pytorchNOASSERTIONSyntology: not harvested report
kornia/kornia pytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer (arXiv:2110.02178; that paper's own run record: 53 ran (of which 31 constructed an object rather than computing a result; 44 with no instrument failure: 1 honoured, 0 violated, 43 with no contract checked; 9 where Syntology's instrument failed) · 15 unverified); nothing checks that they implement this paper's method. report
pwc-1/Paper-10 mindsporeSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large... (arXiv:2403.07714; that paper's own run record: 11 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 2 violated, 6 with no contract checked; 3 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method. report
syscv/sam-hq pytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Segment Anything in High Quality (arXiv:2306.01567; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 14 unverified); nothing checks that they implement this paper's method. 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

23 samples harvested: 20 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 1 honoured, 2 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
2ran · violated contract
3ran · our draft was wrong
3ran; the contract check could not run
11ran
3unverified

Licence: 2 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. For 2 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

facebookresearch/segment-anything official repository 1 sample, 1 ran (1 instrument-failed) · 0 unverified
get_amg_kwargs scripts/amg.py ran · our draft was wrong Apache-2.0 (permissive) · a8051baeec435042 · report fixture: signature args:Args/0/? · returned dict · level recorded 2026-09-22
HibaKob/MicroBundlePillarTrack community (archive-listed) 12 samples, 10 ran (0 instrument-failed) · 2 unverified
apply_otsu_thresh src/microbundlepillartrack/pillar_analysis.py ran MIT (permissive) · 8d9679be271d4b38 · report fixture: signature array:ndarray/2/int · returned ndarray · level recorded 2026-09-24
check_frame_low_contrast src/microbundlepillartrack/create_pillar_mask.py ran fingerprinted MIT (permissive) · 45dc7a1f3636a6c8 · report fixture: signature img:ndarray/2/int · returned bool · level recorded 2026-09-24
compute_otsu_thresh src/microbundlepillartrack/pillar_analysis.py ran MIT (permissive) · 1fda4dacb4806edc · report fixture: signature array:ndarray/2/int · returned int64 · level recorded 2026-09-24
image_folder_to_path_list src/microbundlepillartrack/image_analysis.py ran MIT (permissive) · c349ec599a048d0d · report fixture: signature folder_path:PosixPath/0/? · returned list · level recorded 2026-09-24
label_regions src/microbundlepillartrack/create_pillar_mask.py ran MIT (permissive) · afe29ffaba40716e · report fixture: signature binary_img:ndarray/2/int · returned list · level recorded 2026-09-24
read_all_tiff src/microbundlepillartrack/image_analysis.py ran MIT (permissive) · 8834474b0ab07f80 · report fixture: signature path_list:list/1/PosixPath · returned list · level recorded 2026-09-24
rename_folder src/microbundlepillartrack/pillar_analysis.py ran MIT (permissive) · c0246065ce1b33b4 · report fixture: signature folder_path:PosixPath/0/?, folder_name:str/0/str, new_folder_name:str/0/str · returned PosixPath · level recorded 2026-09-24
resize_expand_sequence finetune_SAM/finetune_microbundle_SAM_script.py ran MIT (permissive) · d1d0fd96d4844bd5 · report fixture: signature img_array:list/1/ndarray, size:int/0/int · returned ndarray · level recorded 2026-09-24
resize_sequence finetune_SAM/finetune_microbundle_SAM_script.py ran MIT (permissive) · 45fc1f3231e37cd7 · report fixture: signature img_array:ndarray/4/int, size:int/0/int · returned ndarray · level recorded 2026-09-24
txt_file_to_csv tutorials/text_file_to_csv_file.py ran MIT (permissive) · bb3c76fbb6e98e5e · report fixture: signature folder_path:PosixPath/0/?, file_name:str/0/str · returned PosixPath · level recorded 2026-09-24
read_tiff src/microbundlepillartrack/image_analysis.py unverified MIT (permissive) · 2325d8c44e5d9cf8 · report
txt_results_to_mean_max_csv tutorials/output_summary_reults_csv.py unverified MIT (permissive) · df2f44871adc6846 · report
IDEA-Research/Grounded-Segment-Anything community (archive-listed) 3 samples, 3 ran (1 instrument-failed) · 0 unverified
list_sum EfficientSAM/EdgeSAM/common.py ran · violated contract fingerprinted Apache-2.0 (permissive) · 57deafe250be5b10 · report fixture: signature x:list/1/int · returned int · level recorded 2026-09-22
val2list EfficientSAM/EdgeSAM/common.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · f1073b4e93f4484c · report fixture: signature x:int/0/int, repeat_time:int/0/int · returned list · level recorded 2026-09-22
val2tuple EfficientSAM/EdgeSAM/common.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7a8e24c5db77ad97 · report fixture: signature x:list/1/int, min_len:int/0/int, idx_repeat:int/0/int · returned tuple · level recorded 2026-09-22
computational-cell-analytics/medico-sam community (archive-listed) 5 samples, 4 ran (3 instrument-failed) · 1 unverified
calculate_dice_score medico_sam/evaluation/evaluation.py ran fingerprinted MIT (permissive) · a4a2d81002368f50 · report fixture: signature input_:Tensor/2/float, target:Tensor/2/float, eps:float/0/float · returned Tensor · level recorded 2026-09-24
get_rel_pos in 54 papers
census: 3 implementations from 6 papers, 3 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
medico_sam/models/sam_med2d/image_encoder.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant MIT (permissive) · 733d7f0bedcb74c2 · report fixture: signature q_size:int/0/int, k_size:int/0/int, rel_pos:Tensor/2/float · returned Tensor · level recorded, date not recorded
window_partition in 377 papers
census: 13 implementations from 17 papers, 5 distinct outputs across 3 buckets, one shared input per bucket
medico_sam/models/sam_med2d/image_encoder.py ran; the contract check could not run (RAISES) · metamorphic tier: deterministic fingerprinted MIT (permissive) here; the stored copy is pointer only · 105fa08885dc36cc · report fixture: signature x:Tensor/4/float, window_size:int/0/int · returned tuple · level recorded 2026-09-22
window_unpartition in 56 papers medico_sam/models/sam_med2d/image_encoder.py ran; the contract check could not run (RAISES) MIT (permissive) here; the stored copy is pointer only · 27be441cc8213e52 · report fixture: signature windows:Tensor/4/float, window_size:int/0/int, pad_hw:tuple/1/int, hw:tuple/1/int · returned Tensor · level recorded 2026-09-26
get_monai_models medico_sam/models/monai_models.py unverified MIT (permissive) · ada1ce39af7d60ef · report
harrytea/detect-anyshadow community (archive-listed) 2 samples, 2 ran (1 instrument-failed) · 0 unverified
get_training_files sam_finetune.py ran · our draft was wrong MIT (permissive) · 3c0c7ead4d811dd1 · report fixture: signature path:str/0/str · returned list · level recorded 2026-09-22
run_example demo_app.py ran · violated contract fingerprinted MIT (permissive) · 8ef94ab3cad34e94 · report fixture: signature video_input:Tensor/5/float · returned Tensor · level recorded 2026-09-22

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