SAM 3

Carion 2025 · Paper

One-line summary — Unifies detection, segmentation, and tracking of all instances of a visual concept — prompted by a short noun phrase, image exemplars, or both — in images and video, roughly doubling the accuracy of existing systems on the new Promptable Concept Segmentation task while still improving on SAM 2’s visual-prompt segmentation.

Problem

SAM and SAM 2 segment one object per prompt from points/boxes/masks — they cannot answer “segment all cats in this video”. SAM 3 formalizes Promptable Concept Segmentation (PCS): given an image or short video (≤30 s) and a concept prompt — a simple noun phrase (“yellow school bus”), positive/negative exemplar boxes, or both — detect, segment, and track every matching instance with persistent identities, refinable interactively. Text is deliberately restricted to atomic noun phrases (long referring expressions are delegated to an MLLM wrapper), yet an open vocabulary is intrinsically ambiguous (polysemy, subjective modifiers, boundary ambiguity), so evaluation uses three expert annotations per phrase and accepts multiple valid interpretations. No dataset existed at the required concept diversity — model and data engine had to be built together, again.

Method & architecture

A DETR-based detector and a SAM 2-style tracker share a single aligned Perception Encoder (PE) vision-language backbone; the decoupling avoids task conflict, since the detector must be identity-agnostic while the tracker’s job is separating identities:

M^t=propagate(Mt1),Ot=detect(It,P),Mt=match_and_update(M^t,Ot)\hat{\mathcal{M}}_t = \mathrm{propagate}(\mathcal{M}_{t-1}), \quad \mathcal{O}_t = \mathrm{detect}(I_t, P), \quad \mathcal{M}_t = \mathrm{match\_and\_update}(\hat{\mathcal{M}}_t, \mathcal{O}_t)

Data engine (four phases, human + AI in the loop): AI annotators propose noun phrases and adversarial hard negatives from a 22.4M-node Wikidata-based ontology; SAM 3 proposes candidate masks; fine-tuned Llama 3.2 AI verifiers perform mask-quality and exhaustivity verification at near-human accuracy, roughly doubling annotation throughput and steering humans to the hardest failures. Yield: SA-Co/HQ — 5.2M images, 4M unique noun phrases, 52M masks; a synthetic set of 38M phrases and 1.4B masks; SA-Co/VIDEO — 52.5K videos, 467K masklets; and the SA-Co benchmark — 207K unique phrases over 121K images and videos with hard negatives, >50x more concepts than existing benchmarks. The main metric enforces calibration (predictions only count above 0.5 confidence): cgF1=100pmF1IL_MCC\mathrm{cgF_1} = 100 \cdot \mathrm{pmF_1} \cdot \mathrm{IL\_MCC}.

Results

Why it matters for SLAM

Open-vocabulary mapping pipelines like ConceptGraphs currently bolt together a grounding detector, class-agnostic SAM masks, and CLIP features per frame, then solve cross-frame object association themselves. SAM 3 collapses that detect–segment–track loop into one calibrated model: text-promptable, exhaustive instance masks with persistent identities give object-level mapping its short-horizon data association for free; the presence score is a ready-made existence confidence for deciding map insertion; and exemplar prompts let an operator teach the mapper a rare, domain-specific object online instead of retraining. The honest caveats: SAM 3 knows concepts, not geometry or poses — it is a perception module to feed a mapping backend, not a localizer; PCS is defined on short (≤30 s) clips, so long-term map-level re-association still falls to the SLAM side; and near-real-time holds only around ~5 concurrent tracked objects, with out-of-domain vocabulary a stated limitation.