SAM 3: Segment Anything with Concepts
- Publication
- ICLR 2026Conference
- First submitted to arXiv
- arXiv:2511.16719
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{segmentationsam32025,
title = {{SAM 3: Segment Anything with Concepts}},
author = {Nicolas Carion and Laura Gustafson and Yuan-Ting Hu and Shoubhik Debnath and Ronghang Hu and Didac Suris and Chaitanya Ryali and Kalyan Vasudev Alwala and Haitham Khedr and Andrew Huang and Jie Lei and Tengyu Ma and Baishan Guo and Arpit Kalla and Markus Marks and Joseph Greer and Meng Wang and Peize Sun and Roman Rädle and Triantafyllos Afouras and Effrosyni Mavroudi and Katherine Xu and Tsung-Han Wu and Yu Zhou and Liliane Momeni and Rishi Hazra and Shuangrui Ding and Sagar Vaze and Francois Porcher and Feng Li and Siyuan Li and Aishwarya Kamath and Ho Kei Cheng and Piotr Dollár and Nikhila Ravi and Kate Saenko and Pengchuan Zhang and Christoph Feichtenhofer},
year = {2025},
eprint = {2511.16719},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2511.16719}
}
SAM lets you click once on a photo and cut out that object; SAM 2 moved the same thing to video, where one click has it follow the object through every frame after. In both generations, one prompt corresponds to one object.
If what you want is "every hard hat in this construction-site video," SAM 2 makes you click them one at a time. SAM 3 wants you to type just a short phrase, such as "hard hat", and have it cut out every one in the frame, and in video also give each one a fixed ID. Meta released this paper in November 2025, together with the weights and a new evaluation dataset.

The left half is what the previous two generations do, which the paper calls Promptable Visual Segmentation (PVS): the prompt is a point, a box or a mask, one object at a time. The right half is Promptable Concept Segmentation (PCS), newly defined in this paper, where the prompt is a concept and what comes back is every matching instance. In the "a striped cat" image, each matching cat is cut out separately; the "a round cell" image also adds positive and negative exemplar boxes, picking out the round ones from a mass of cells.
Defining the Problem
The input to PCS is an image or a video of up to 30 seconds, plus a concept prompt. There are two kinds of concept prompt, which can be used alone or together. One is a simple noun phrase, a noun plus a few modifiers, such as "yellow school bus" or "striped cat"; the other is an image exemplar, a box drawn on the image and marked as a positive or negative example. The output is a mask for every matching instance, and in video the identities must also stay fixed.
The authors deliberately restrict the text to noun phrases. SAM 3 doesn't handle referring expressions like "the person in red sitting on the left" or questions that need reasoning; the paper separately demonstrates how to hand those to a multimodal large model to break down.
Models for open-vocabulary detection have been around for a while. Models like Grounding DINO take text in and put boxes out, which are then handed to SAM to turn into masks; DINOv and T-Rex2 can take visual examples as prompts.
These models do reasonably well on COCO and LVIS. The trouble is that once the vocabulary grows, the difficulty moves somewhere else. Given a noun phrase, a model first has to decide whether the thing is in the image at all, and only then where to put the box. In the SA-Co/Gold evaluation set the authors built, 84.4% of the "image, phrase" pairs are negatives, where the thing the phrase describes simply isn't in the image. Open-vocabulary detectors are used to finding a few "best matches" in every image, and on data like this they easily scatter false positives everywhere.
The phrases themselves can be ambiguous too. Is "mouse" the computer kind or the animal? How big does "large" have to be? Does "mirror" include the frame? These questions come up less often in datasets like LVIS, whose categories were carefully curated, but once the vocabulary is open they're unavoidable.
A Different Yardstick
The evaluation has to change as well. Traditional AP computes a precision-recall curve for each category and then averages them. With two hundred thousand concepts, most concepts appear only once or twice in the test set, and the averaged number is mostly noise. AP also doesn't care whether the scores are well calibrated, yet in actual use you always have to pick a threshold to decide whether to output something.
So the authors look only at predictions with confidence above 0.5, and split the task into two parts.
- Localization: computed only on images where the phrase actually appears. Predictions and ground truth are bipartite-matched, F1 is computed at each IoU threshold from 0.5 to 0.95 in steps of 0.05, and the results are averaged; this is called pmF1.
- Classification: looks only at the image as a whole. If the phrase is in the image and the model outputs something, that counts as correct; if the phrase isn't there but the model outputs something anyway, that counts as wrong. This is summarized with the Matthews correlation coefficient and called IL_MCC. It ranges from −1 to 1 and pays no attention at all to how well the masks are drawn.
The main metric, cgF1, is the product of the two, multiplied by 100. With SAM 3's ablation numbers on SA-Co/Gold, pmF1 is 0.659 and IL_MCC is 0.82, giving . However precisely a model draws its boxes, if it outputs things haphazardly on negatives, IL_MCC drops close to 0 and cgF1 goes to zero along with it.
Solving the Problem
Detector Plus Tracker

The architecture diagram falls into three groups by color. The green text and image encoders come from Meta's Perception Encoder (PE), a set of encoders trained contrastively on 5.4 billion image-text pairs, so their image and text features are already aligned. The blue tracker and memory bank are carried over from SAM 2. The yellow detector is new in this generation.
The detector and tracker share the same image encoder but split into two paths. The authors' reason is that their goals conflict. The detector should ignore identity, boxing every single thing that looks like a penguin; the tracker has to recognize individuals, keeping straight which penguin is which even when two of them look the same.
The whole model has about 850 million parameters, with about 450 million in the image encoder, about 300 million in the text encoder, and about 100 million in the detector and tracker combined. The vast majority of the parameters go into understanding images and understanding text.
Inside the Detector

Let's follow one image through it. The image enters PE at a resolution of 1008 × 1008 and is cut into 14 × 14 patches, giving 72 × 72 tokens; of the 32 layers, only 4 use global attention, and the rest compute separately within each of 3 × 3 windows.
On the prompt side, the text phrase passes through the text encoder to become text tokens. For an image exemplar, the box's position, its positive or negative label and the image features ROI-pooled from inside the box are combined and passed through a small Transformer to become exemplar tokens. Concatenated, the two form the prompt tokens.
The Multimodal Decoder in the figure corresponds to the fusion encoder in the paper's text, with 6 layers. Here the image tokens cross-attend to the prompt tokens and become image features that "already know what to look for." The Detector Decoder after it has the standard DETR structure. Its 200 object queries read these features and refine the boxes once per layer, and in the end each query outputs a box and a score, while the mask head follows MaskFormer's approach.
Presence Token: Whether First, Then Where
In the top right of the figure, next to the 200 detector queries, sits an extra green dot labeled presence token. This is SAM 3's main change to the detector.
An ordinary DETR has each query answer directly, "Does the thing I've boxed match this phrase?" That question actually bundles two things together, whether the thing the phrase describes is in this image, and whether what I've boxed is that thing. The former requires looking at the whole image; the latter only needs a look at the query's own neighborhood. Force every query to handle both, and the global view and the local view pull against each other.
SAM 3 splits the probability. Let be the event "what query has boxed matches the phrase," and the event "the thing the phrase describes is in this image":
The second term on the right is the presence token's job. It goes through the decoder together with the object queries and ends in a classification head that outputs a single score shared by the whole image. Each query only has to answer the first term: given that the phrase really is in the image, is the thing it has boxed that thing?
Let's try "red umbrella" on two images. The first is a sunny street scene; nobody is holding an umbrella, but someone is carrying a red backpack. Query 37 locks onto the backpack and gives it a conditional score of 0.80, meaning "if there really is a red umbrella in this image, this is the most likely one." The presence token, having looked at the whole image, gives 0.04. The product is 0.032, below 0.5, so nothing is output.
The second is a rainy day with three red umbrellas on the street. Presence is 0.97, and the queries on the three umbrellas score 0.92, 0.88 and 0.75; multiplied out, that's 0.89, 0.85 and 0.73, so all three are output. The query on the backpack scores only 0.20, which comes to under 0.2 after multiplying, so it isn't output.
Training follows the same split. When the phrase isn't in the image, only the presence score is supervised toward "absent," and the individual query scores take no loss at all. The authors compared this with the usual DETR approach of pushing every query toward negative on negative samples, which drops cgF1 from 54.0 to 52.2. The split has a side benefit too. For tasks like counting, where the target is known to be present, presence can simply be set to 1, leaving only each query's localization score.
When a Phrase Has Two Readings
If a phrase in the training data is annotated two ways, half one way and half the other, the answer that minimizes the loss is to output both, each with 50% confidence. The user then gets two sets of masks that overlap and contradict each other.
The authors add an ambiguity head, in the same way SAM 1 and SAM 2 deal with click ambiguity. Two experts are trained, and each time only the one with the smaller loss receives the gradient, so each expert learns one reading; the paper's example is "large circular shape." At inference, another classification head decides which expert to trust. With this mechanism, overlapping instances drop by 15%.
Moving to Video
On every frame, the detector searches afresh for objects matching the phrase, while the tracker propagates each masklet from the previous frame (a masklet being one object's masks strung together over time) to this frame. The two sides' masks are matched by IoU; matched masklets are updated, and anything newly found by the detector starts a new masklet.
This alone still makes mistakes in crowded scenes, so the authors add several temporal checks.
- Delayed confirmation: each frame's result is output only after the next 15 frames have been seen, a delay of about half a second for 30 fps video. A newly appeared masklet counts only if, within those 15 frames, at least half of the frames agree with the detections.
- Duplicate removal: when the tracker briefly loses an object that the detector can still see, an extra masklet gets opened on the same object. If two masklets keep matching the same detection box, the one that appeared later is deleted.
- Output suppression: if a confirmed masklet has, since it appeared, more frames that fail to match a detection than frames that match, its output is cleared for the time being, but it stays in the tracker; if it later keeps matching detections again, it can reappear.
- Periodic reset: every 16 frames, if a detection and a tracking result overlap heavily and both scores are 0.8 or above, the tracker is reinitialized with the detection mask, ensuring the memory bank holds a recent, reliable reference.
The paper gives an example of why output suppression helps. The phrase is "a woman," and someone walks in from the edge of the frame. At first only a hand is visible, the detector can't tell whether it belongs to a man or a woman, and it may open a masklet. Once the whole person has walked into the frame and clearly doesn't match, the detector stops boxing them, the masklet's mismatches with detections pile up, and its output is cleared.
Data Engine

The model's design isn't especially complicated; most of the engineering effort goes into data. The pipeline first picks images from the media pool, has a model propose noun phrases, has the SAM 3 version of the moment propose masks, and then runs two verifications. One checks each mask's quality and whether it matches the phrase; the other checks whether every instance of the phrase has been annotated. Only what fails goes to humans for correction.
The data engine went through four phases.
- Human verification: candidates are produced with SAM 2 plus an off-the-shelf open-vocabulary detector and all verified by humans, accumulating 4.3 million "image, phrase" pairs.
- AI verification: Llama 3.2 is fine-tuned on the human judgments from the first phase to make two AI verifiers, one for each of the two checks above, leaving human effort for the hard cases only. This step roughly doubles annotation throughput. This phase also starts having Llama deliberately propose hard negatives, phrases for things that aren't in the image but are easily mistaken for something that is. It adds 122 million pairs.
- Wider coverage: expanded to 15 data sources, mining long-tail concepts from a Wikidata-based ontology of 22.4 million nodes.
- Video: the mature image version of SAM 3 is used to annotate video, with human effort concentrated on crowded clips where tracks are easily lost.
In the final training data, the high-quality image portion has 5.2 million images, 4 million unique phrases and 52 million masks; there is also synthetic data with no human involvement at all, with 38 million phrases and 1.4 billion masks; and there are 52.5K videos. The SA-Co evaluation set has 207K unique phrases, more than 50 times as many as earlier evaluation sets.
Discussion
Concept Segmentation on Images
| Model | SA-Co/Gold cgF1 | LVIS mask AP |
|---|---|---|
| Human | 72.8 | – |
| OWLv2★ | 24.6 | 43.4 |
| DINO-X | 21.3 | 38.5 |
| Gemini 2.5 | 13.0 | – |
| LLMDet-L | 6.5 | 36.3 |
| SAM 3 | 54.1 | 48.5 |
Compiled from Table 1 of the paper, all zero-shot evaluations; ★ marks partial training on LVIS.
On SA-Co/Gold, SAM 3's cgF1 is more than twice that of the strongest baseline, OWLv2★, and about 74% of the human score. The human score here comes from the most consistent of the pairings among three annotators, which amounts to a human upper bound; the model's score likewise compares its predictions against each of the three annotations and takes the best. Even so, humans reach only 72.8, because three people simply don't annotate the same phrase in exactly the same way.
On the traditional LVIS benchmark, its mask AP is 48.5. Break down the SA-Co/Gold scores and DINO-X has a pmF1 of 55.2, so its boxes aren't bad, but its IL_MCC is only 0.38, leaving a cgF1 of just 21.3; SAM 3's IL_MCC is 0.82. What opens up the gap is mainly the "is it in the image at all" step.
Exemplars as Prompts
| Dataset | T-Rex2 (exemplar) | SAM 3 (exemplar) | SAM 3 (text + exemplar) |
|---|---|---|---|
| COCO | 58.5 | 76.8 | 78.1 |
| LVIS | 65.8 | 76.0 | 78.4 |
| ODinW13 | 61.8 | 82.2 | 81.8 |
Compiled from Table 3 of the paper, with one box picked at random from the ground truth as the exemplar and AP evaluated on positives only.
Given a single exemplar box, SAM 3 beats T-Rex2 by roughly 10 to 20 points on all three datasets. Exemplars can also be added one at a time. The authors simulate an annotator who starts from a text prompt, adds a positive box for each miss they see and a negative box for each false positive:

The blue line is PCS exemplar prompting; the orange line is PVS, correcting the instances one by one. Over the first few interactions the blue line rises much faster, because one negative box can suppress every similar-looking false positive at once, and one positive box can also bring back other missed instances of the same kind along the way, whereas PVS can fix only one object per interaction. After 3 prompts, PCS is 21.6 points above text alone. After 4, the blue line flattens out, since exemplars can't fix poorly drawn masks; switching to PVS at that point to fix them one by one pushes the curve higher still.
Unlike T-Rex2, SAM 3 takes exemplar boxes drawn on the very image being detected, to correct that image's results; it offers no interface for "take a box from image A and find the same kind of thing in image B." A thread on the official GitHub is devoted to exactly this question, and by mid-2026 it had gathered over seventy comments. The community worked out on its own a way to save prompt features and reuse them, and reported that point prompts carry over to other images better than box prompts, because the box encoding carries position information. There has been no official response.
Video
| Setting | SA-V cgF1 | SA-V pHOTA | BURST HOTA |
|---|---|---|---|
| Human | 53.1 | 70.5 | – |
| LLMDet + SAM 3 tracker | 2.3 | 30.1 | 33.3 |
| SAM 3 detector + traditional association | 25.7 | 55.7 | 39.7 |
| SAM 3 | 30.3 | 58.0 | 44.5 |
Compiled from Table 5 of the paper, SA-V being the test split of SA-Co/VEval.
The two baselines split up the credit very clearly. Swap the detector for LLMDet while keeping SAM 3's tracker, and cgF1 falls to just 2.3; the detector is the decisive half. Keep SAM 3's detector but switch to traditional detect-then-match association, and cgF1 is 25.7; SAM 3's tracker adds another 4.6 points. The temporal checks described earlier also contribute. On the YT-Temporal test set, cgF1 is 47.3 with all of them turned off and 50.8 with them on.
There are also cases where traditional association does better. In the full table in the appendix, on the dashcam video of BDD100K, traditional association gets a TETA of 51.0 against 47.2 for SAM 3. In scenes dominated by cars and pedestrians, with many small objects, one SAM 2 memory per object isn't necessarily worth the cost.
Did the Earlier Capabilities Regress?
With a new encoder and an added detector, does the original click-based segmentation still work? In video object segmentation, SAM 3 beats SAM 2.1 on all seven benchmarks the authors tested. On the hardest, MOSEv2, it gets 60.3, while in the same table SAMURAI gets 51.1 and SAM 2.1 gets 47.9. Mind the training conditions on this one. SAM 3's video training data includes the training sets of MOSEv2, DAVIS 2017 and YouTube-VOS 2019, whereas SAM 2.1 is zero-shot on MOSEv2.
For interactive segmentation on photos, SAM 3 and SAM 2.1 come out even, 66.1 against 66.4 with 1 click and 85.1 against 84.3 with 5 clicks. Speed, though, drops from 93.0 to 43.5 images per second; the bigger encoder comes at a price.
Which Designs Help
The paper's ablations use models trained for a shorter time, so the numbers can only be compared within the same table.
- Presence token: cgF1 goes from 50.7 to 52.2 and IL_MCC from 0.77 to 0.82. pmF1 actually falls from 65.4 to 63.4, so the gain comes entirely from the "is it there" half.
- Hard negatives: training with 30 extra phrases per image for things not in the image raises IL_MCC from 0.44 to 0.68 and cgF1 from 28.3 to 43.0.
- Data: external datasets alone give 23.7, adding synthetic data gives 32.8, adding high-quality data gives 45.5, and using everything gives 47.4.
- AI verifiers: replacing SAM 3's own presence score with the completeness verifier's judgment raises cgF1 from 54.0 to 61.2; using the mask verifier to discard bad masks as well brings it to 62.3. Humans are at 72.8, so the AI verifiers close half the gap.
- Encoder: under the same training, PE gets a cgF1 of 43.2, DINOv2 35.3, and Hiera, which SAM 2 uses, 32.8. Pairing PE with a text encoder that isn't aligned with it also drops the score to 38.1.
Point 4 also explains why the data engine can expand on its own. The authors held out the entire "food and drink" domain from training, then filled it in separately with human annotations and with synthetic data involving no humans at all. The two scaling curves almost overlap, with the synthetic data just getting off to a slightly slower start.
Handing Complex Queries to a Large Model
For requests beyond noun phrases, the authors have a multimodal large model act as an agent that breaks the question into individual noun phrases, sends them to SAM 3, looks at the returned masks, and rephrases and tries again if it isn't satisfied. This SAM 3 Agent wasn't trained on any reasoning-segmentation data. On the ReasonSeg test set it reaches 74.0 gIoU paired with Gemini 2.5 Pro and 70.8 with the open-source Qwen2.5-VL 72B, against a previous best of 61.3.
Limitations and Follow-Up
The limitations the authors list are quite specific. Rare, fine-grained concepts such as aircraft models or medical terms, and unusual imagery such as thermal images, all fare poorly zero-shot and need a small amount of annotation or synthetic data from the data engine to adapt. The text side only takes simple noun phrases; anything with more than one or two attributes has to go to a large model.
Video cost grows linearly with the number of objects, because every object has its own SAM 2-style memory. The paper says a single image with 100-plus objects takes about 30 ms on an H200, but to sustain 30 frames per second on video, tracking 10 objects takes 2 H200s, 28 objects take 4, and 64 take 8. Objects also share no information with one another, so ambiguity in crowded scenes can only be handled by the rules described earlier.
The second version of the paper, released in March 2026 together with SAM 3.1, introduced Object Multiplex, which groups objects 16 at a time so that each group shares one pass of memory computation. On a single H100, it is about 7% slower with one object, pulls ahead from two objects up, and is 5.2 times faster when tracking 128 objects.
On the deployment side, the weights are released under Meta's own SAM License, and access has to be requested on Hugging Face before downloading. Besides cross-image exemplars, the most heavily discussed issues on GitHub include ONNX and TensorRT export, how to fine-tune, whether there's a smaller version, and running out of GPU memory during video inference.
Conclusion
Going from "click once, cut one" to "say a word, cut them all," SAM 3's biggest changes are in the detector and the data. The model gains a presence token, which hands "is it in the image" and "which one is it" to different parts to answer; the data comes from an engine in which AI verifiers share the human workload, piling up four million phrases deliberately laced with large numbers of "not in the image" negatives. In the ablations, adding hard negatives and adding high-quality data each bring gains of more than ten points, while the presence token brings 1.5; the tables use different models, so the numbers can't be subtracted directly, but the difference in magnitude is obvious.
If you want to put it straight to use, cost is what you have to weigh. On images it's fast; on video, every additional object adds another memory, and in crowded traffic scenes it even falls behind traditional association. The second version's Multiplex is already tackling that, and for niche domains the paper's answer is a small amount of annotation or letting the data engine synthesize data of its own.