[译]SAM 3: Segment Anything with Concepts

SAM 3 把提示从单物体扩展到概念:输入名词短语或图像示例,输出所有匹配实例的掩码与唯一身份。检测器与跟踪器共享骨干,presence head 解耦识别与定位;数据引擎以 AI 标注/验证者产出 4M 概念、52M 掩码,图像与视频 PCS 精度较现有系统翻倍。
原文地址:SAM 3: Segment Anything with Concepts
官方实现:facebookresearch/sam3
摘要
We present Segment Anything Model (SAM) 3, a unified model that detects, segments, and tracks objects in images and videos based on concept prompts, which we define as either short noun phrases (e.g., “yellow school bus”), image exemplars, or a combination of both. Promptable Concept Segmentation (PCS) takes such prompts and returns segmentation masks and unique identities for all matching object instances. To advance PCS, we build a scalable data engine that produces a high-quality dataset with 4M unique concept labels, including hard negatives, across images and videos. Our model consists of an image-level detector and a memory-based video tracker that share a single backbone. Recognition and localization are decoupled with a presence head, which boosts detection accuracy. SAM 3 doubles the accuracy of existing systems in both image and video PCS, and improves previous SAM capabilities on visual segmentation tasks. We open source SAM 3 along with our new Segment Anything with Concepts (SA-Co) benchmark for promptable concept segmentation.
我们提出 Segment Anything Model(SAM)3,一个统一的模型,基于概念提示在图像和视频中检测、分割和跟踪物体。概念提示定义为简短的名词短语(如「yellow school bus」)、图像示例,或两者的组合。可提示概念分割(PCS)接收此类提示,为所有匹配的物体实例返回分割掩码和唯一身份。为了推进 PCS,我们构建了一个可扩展的数据引擎,在图像和视频上产出一个高质量数据集,包含 4M 个唯一概念标签(含难负例)。我们的模型由一个图像级检测器和一个基于记忆的视频跟踪器组成,两者共享同一个骨干网络。通过 presence head(存在性头)将识别与定位解耦,提升了检测精度。SAM 3 在图像和视频 PCS 上将现有系统的精度翻倍,并提升了此前 SAM 能力在视觉分割任务上的表现。我们开源 SAM 3,并发布新的 Segment Anything with Concepts(SA-Co)基准,用于可提示概念分割。
引言
The ability to find and segment anything in a visual scene is foundational for multimodal AI, powering applications in robotics, content creation, augmented reality, data annotation, and broader sciences. The SAM series (Kirillov et al., 2023; Ravi et al., 2024) introduced the promptable segmentation task for images and videos, focusing on Promptable Visual Segmentation (PVS) with points, boxes or masks to segment a single object per prompt. While these methods achieved a breakthrough, they did not address the general task of finding and segmenting all instances of a concept appearing anywhere in the input (e.g., all “cats” in a video).
在视觉场景中找到并分割任何事物的能力是多模态 AI 的基础,支撑着机器人、内容创作、增强现实、数据标注和更广泛科学领域的应用。SAM 系列(Kirillov et al., 2023; Ravi et al., 2024)提出了图像和视频的可提示分割任务,聚焦于可提示视觉分割(PVS):用点、框或掩码为每个提示分割单个物体。虽然这些方法取得了突破,但它们没有解决通用任务——找到并分割出现在输入任意位置的概念的全部实例(例如视频中所有的「猫」)。

To fill this gap, we present SAM 3, a model that achieves a step change in promptable segmentation in images and videos, improving PVS relative to SAM 2 and setting a new standard for Promptable Concept Segmentation (PCS). We formalize the PCS task (§2) as taking text and/or image exemplars as input, and predicting instance and semantic masks for every single object matching the concept, while preserving object identities across video frames (see Fig. 1). To focus on recognizing atomic visual concepts, we constrain text to simple noun phrases (NPs) such as “red apple” or “striped cat”. While SAM 3 is not designed for long referring expressions or queries requiring reasoning, we show that it can be straightforwardly combined with a Multimodal Large Language Model (MLLM) to handle more complex language prompts. Consistent with previous SAM versions, SAM 3 is fully interactive, allowing users to resolve ambiguities by adding refinement prompts to guide the model towards their intended output.
为了填补这一空白,我们提出 SAM 3,一个在图像和视频可提示分割上实现阶跃式改变的模型:相对 SAM 2 提升 PVS,并为可提示概念分割(PCS)树立新标准。我们将 PCS 任务(§2)形式化为:以文本和/或图像示例为输入,为每个匹配概念的物体预测实例掩码和语义掩码,同时跨视频帧保持物体身份(见 Fig. 1)。为了聚焦于识别原子视觉概念,我们将文本限制为简单名词短语(NP),如「red apple」或「striped cat」。虽然 SAM 3 不是为长指代表达式或需要推理的查询设计的,但我们表明它可以与多模态大语言模型(MLLM)直接组合,以处理更复杂的语言提示。与此前的 SAM 版本一致,SAM 3 完全可交互,允许用户通过添加细化提示来消除歧义,引导模型输出用户想要的结果。
Our model (§3) consists of a detector and a tracker that share a vision encoder (Bolya et al., 2025). The detector is a DETR-based (Carion et al., 2020) model conditioned on text, geometry, and image exemplars. To address the challenge of open-vocabulary concept detection, we introduce a separate presence head to decouple recognition and localization, which is especially effective when training with challenging negative phrases. The tracker inherits the SAM 2 transformer encoder-decoder architecture, supporting video segmentation and interactive refinement. The decoupled design for detection and tracking avoids task conflict, as the detector needs to be identity agnostic, while the tracker’s main objective is to separate identities in the video.
我们的模型(§3)由一个检测器和一个跟踪器组成,两者共享视觉编码器(Bolya et al., 2025)。检测器是基于 DETR(Carion et al., 2020)的模型,以文本、几何和图像示例为条件。为了应对开放词汇概念检测的挑战,我们引入一个单独的 presence head,将识别与定位解耦,这在用具有挑战性的负短语训练时尤其有效。跟踪器继承 SAM 2 的 Transformer 编码器-解码器架构,支持视频分割和交互式细化。检测和跟踪的解耦设计避免了任务冲突:检测器需要对身份不敏感,而跟踪器的主要目标是在视频中区分身份。
To unlock major performance gains, we build a human- and model-in-the-loop data engine (§4) that annotates a large and diverse training dataset. We innovate upon prior data engines in three key ways: (i) media curation: we curate more diverse media domains than past approaches that rely on homogeneous web sources, (ii) label curation: we significantly increase label diversity and difficulty by leveraging an ontology and multimodal LLMs as “AI annotators” to generate noun phrases and hard negatives, (iii) label verification: we double annotation throughput by fine-tuning MLLMs to be effective “AI verifiers” that achieve near-human accuracy. Starting from noisy media-phrase-mask pseudo-labels, our data engine checks mask quality and exhaustivity using both human and AI verifiers, filtering out correctly labeled examples and identifying challenging error cases. Human annotators then focus on fixing these errors by manually correcting masks. This enables us to annotate high-quality training data with 4M unique phrases and 52M masks, and a synthetic dataset with 38M phrases and 1.4B masks. We additionally create the Segment Anything with Concepts (SA-Co) benchmark for PCS (§5) containing 207K unique concepts with exhaustive masks in 120K images and 1.7K videos, > 50× more concepts than existing benchmarks.
为了释放大幅性能提升,我们构建了一个人工与模型在环的数据引擎(§4),标注大规模、多样化的训练数据集。我们在三个关键方面对先前的数据引擎做出创新:(i) 媒体策展:相比依赖同质网页来源的过往方法,我们策展了更多样化的媒体领域;(ii) 标签策展:利用本体(ontology)和作为「AI 标注员」的多模态 LLM 生成名词短语和难负例,大幅提升标签的多样性和难度;(iii) 标签验证:微调 MLLM 成为高效的「AI 验证者」,达到接近人类的精度,使标注吞吐量翻倍。从带噪声的媒体-短语-掩码伪标签出发,我们的数据引擎使用人工和 AI 验证者检查掩码质量和穷尽性,过滤正确标注的样本并识别有挑战性的错误案例。随后人工标注员专注于通过手动修正掩码来修复这些错误。这使我们能够标注 4M 个唯一短语和 52M 个掩码的高质量训练数据,以及 38M 个短语和 1.4B 个掩码的合成数据集。我们还为 PCS 创建了 Segment Anything with Concepts(SA-Co)基准(§5),包含 207K 个唯一概念、120K 图像和 1.7K 视频上的穷尽掩码,概念数量比现有基准多 50 倍以上。
Our experiments (§6) show that SAM 3 sets a new state-of-the-art in promptable segmentation, e.g., reaching a zero-shot mask AP of 48.8 on LVIS vs. the current best of 38.5, surpassing baselines on our new SA-Co benchmark by at least 2× (see examples in Fig. 2), and improving upon SAM 2 on visual prompts. Ablations (§A) verify that the choice of backbone, novel presence head, and adding hard negatives all boost results, and establish scaling laws on the PCS task for both our high-quality and synthetic datasets. We open-source the SA-Co benchmark and release the SAM 3 checkpoints and inference code. On an H200 GPU, SAM 3 runs in 30 ms for a single image with 100+ detected objects. In video, the inference latency scales with the number of objects, sustaining near real-time performance for ∼5 concurrent objects. We review related work in §7; next, we dive into the task.
我们的实验(§6)表明,SAM 3 在可提示分割上树立了新的最先进水平,例如在 LVIS 上达到 48.8 的零样本 mask AP(当前最佳为 38.5),在我们新的 SA-Co 基准上至少以 2 倍的优势超越基线(示例见 Fig. 2),并在视觉提示上优于 SAM 2。消融实验(§A)验证了骨干网络的选择、新的 presence head 以及加入难负例都能提升结果,并为我们的高质量数据集和合成数据集在 PCS 任务上建立了缩放规律。我们开源 SA-Co 基准,并发布 SAM 3 检查点和推理代码。在 H200 GPU 上,SAM 3 对包含 100+ 检测物体的单张图像运行耗时 30 ms。在视频中,推理延迟随物体数量缩放,对约 5 个并发物体保持近实时性能。我们在 §7 中回顾相关工作;接下来深入任务本身。
可提示概念分割
We define the Promptable Concept Segmentation task as follows: given an image or short video (≤30 secs), detect, segment and track all instances of a visual concept specified by a short text phrase, image exemplars, or a combination of both. We restrict concepts to those defined by simple noun phrases (NPs) consisting of a noun and optional modifiers. Noun-phrase prompts (when provided) are global to all frames of the image/video, while image exemplars can be provided on individual frames as positive or negative bounding boxes to iteratively refine the target masks (see Fig. 3).
我们如下定义可提示概念分割任务:给定一张图像或一段短视频(≤30 秒),检测、分割并跟踪由短文本短语、图像示例或两者组合指定的视觉概念的全部实例。我们将概念限制为由名词和可选修饰语组成的简单名词短语(NP)。名词短语提示(如果提供)对图像/视频的所有帧全局生效,而图像示例可以在单个帧上以正或负边界框的形式提供,用于迭代细化目标掩码(见 Fig. 3)。

All prompts must be consistent in their category definition, or the model’s behavior is undefined; e.g., “fish” cannot be refined with subsequent exemplar prompts of just the tail; instead the text prompt should be updated. Exemplar prompts are particularly useful when the model initially misses some instances, or when the concept is rare.
所有提示的类别定义必须一致,否则模型的行为未定义;例如「fish」不能用只包含尾巴的后续示例提示来细化,而应该更新文本提示。当模型最初遗漏一些实例,或概念比较罕见时,示例提示尤其有用。
Our vocabulary includes any simple noun phrase groundable in a visual scene, which makes the task intrinsically ambiguous. There can be multiple interpretations of phrases arising from polysemy (“mouse” device vs. animal), subjective descriptors (“cozy”, “large”), vague or context-dependent phrases that may not even be groundable (“brand identity”), boundary ambiguity (whether ‘mirror’ includes the frame) and factors such as occlusion and blur that obscure the extent of the object. While similar issues appear in large closed-vocabulary corpora (e.g., LVIS (Gupta et al., 2019)), they are alleviated by carefully curating the vocabulary and setting a clear definition of all the classes of interest. We address the ambiguity problem by collecting test annotations from three experts, adapting the evaluation protocol to allow multiple valid interpretations (§E.3), designing the data pipeline/guidelines to minimize ambiguity in annotation, and an ambiguity module in the model (§C.2).
我们的词表包括任何可以在视觉场景中落地的简单名词短语,这使得任务本身具有歧义性。短语可能有多种解释,源于多义词(「mouse」指设备还是动物)、主观描述词(「cozy」、「large」)、模糊或依赖语境甚至无法落地的短语(「brand identity」)、边界歧义(「mirror」是否包含镜框),以及遮挡和模糊等使物体范围不清晰的因素。虽然类似问题出现在大型闭集词表语料中(如 LVIS(Gupta et al., 2019)),它们可以通过精心策展词表并为所有感兴趣的类别设定清晰定义来缓解。我们通过以下方式处理歧义问题:从三位专家收集测试标注、调整评估协议以允许多种有效解释(§E.3)、设计数据流水线/指南以最小化标注中的歧义,以及模型中的歧义模块(§C.2)。
模型
SAM 3 is a generalization of SAM 2, supporting the new PCS task (§2) as well as the PVS task. It takes concept prompts (simple noun phrases, image exemplars) or visual prompts (points, boxes, masks) to define the objects to be (individually) segmented spatio-temporally. Image exemplars and visual prompts can be iteratively added on individual frames to refine the target masks—false positive and false negative objects can be removed or added respectively using image exemplars and an individual mask(let) can be refined using PVS in the style of SAM 2. Our architecture is broadly based on the SAM and (M)DETR (Carion et al., 2020; Kamath et al., 2021) series. Fig. 4 shows the SAM 3 architecture, consisting of a dual encoder-decoder transformer—a detector for image-level capabilities—which is used in combination with a tracker and memory for video. The detector and tracker ingest vision-language inputs from an aligned Perception Encoder (PE) backbone (Bolya et al., 2025). We present an overview below, see §C for details.
SAM 3 是 SAM 2 的泛化,同时支持新的 PCS 任务(§2)和 PVS 任务。它接收概念提示(简单名词短语、图像示例)或视觉提示(点、框、掩码),定义要在时空上(逐个)分割的物体。图像示例和视觉提示可以在单个帧上迭代添加,以细化目标掩码——误报和漏报物体可以分别用图像示例移除或添加,单个 mask(let) 可以用 SAM 2 风格的 PVS 细化。我们的架构大体基于 SAM 和 (M)DETR(Carion et al., 2020; Kamath et al., 2021)系列。Fig. 4 展示了 SAM 3 架构:一个双编码器-解码器 Transformer——检测器负责图像级能力——与跟踪器和记忆组合用于视频。检测器和跟踪器从对齐的 Perception Encoder(PE)骨干(Bolya et al., 2025)接收视觉-语言输入。下面给出概述,细节见 §C。

检测器架构
The architecture of the detector follows the general DETR paradigm. The image and text prompt are first encoded by PE and image exemplars, if present, are encoded by an exemplar encoder. We refer to the image exemplar tokens and text tokens jointly as “prompt tokens”. The fusion encoder then accepts the unconditioned embeddings from the image encoder and conditions them by cross-attending to the prompt tokens. The fusion is followed by a DETR-like decoder, where learned object queries cross-attend to the conditioned image embeddings from the fusion encoder.
检测器架构遵循通用的 DETR 范式。图像和文本提示首先由 PE 编码,图像示例(如果有)由示例编码器编码。我们将图像示例 token 和文本 token 统称为「提示 token」。随后融合编码器接收来自图像编码器的无条件嵌入,并通过交叉注意力关注提示 token 对其进行条件化。融合之后是一个类似 DETR 的解码器,学习到的物体查询交叉关注来自融合编码器的条件化图像嵌入。
Each decoder layer predicts a classification logit for each object query (in our case, a binary label of whether the object corresponds to the prompt), and a delta from the bounding box predicted by the previous level, following Zhu et al. (2020). We use box-region-positional bias (Lin et al., 2023) to help focalize the attention on each object, but unlike recent DETR models, we stick to vanilla attention. During training, we adopt dual supervision from DAC-DETR (Hu et al., 2023), and the Align loss (Cai et al., 2024). The mask head is adapted from MaskFormer (Cheng et al., 2021). In addition, we also have a semantic segmentation head, which predicts a binary label for every pixel in the image, indicating whether or not it corresponds to the prompt. See §C for details.
每个解码器层为每个物体查询预测一个分类 logit(在我们的情况下,是一个二值标签,表示该物体是否对应提示),并遵循 Zhu et al. (2020) 预测相对上一层边界框的增量。我们使用 box-region-positional bias(Lin et al., 2023)帮助注意力聚焦在每个物体上,但与近期的 DETR 模型不同,我们坚持使用 vanilla attention。训练时,我们采用来自 DAC-DETR(Hu et al., 2023)的双重监督和 Align loss(Cai et al., 2024)。掩码头改编自 MaskFormer(Cheng et al., 2021)。此外,我们还有一个语义分割头,为图像中的每个像素预测二值标签,表示其是否对应提示。细节见 §C。
Presence Token
It can be difficult for each of the proposal queries to both recognize (what) and localize (where) an object in the image/frame. For the recognition component, contextual cues from the entire image are important. However, forcing proposal queries to understand the global context can be counterproductive, as it conflicts with the inherently local nature of the localization objective. We decouple the recognition and localization steps by introducing a learned global presence token. This token is solely responsible for predicting whether the target concept in the form of a noun phrase (NP) is present in the image/frame, i.e. p(NP is present in input). Each proposal query qi only needs to solve the localization problem p(qi is a match | NP is present in input). The final score for each proposal query is the product of its own score and the presence score.
让每个提议查询同时识别(是什么)和定位(在哪里)图像/帧中的物体可能很困难。对识别组件来说,来自整个图像的上下文线索很重要。然而,强制提议查询理解全局上下文可能适得其反,因为它与定位目标固有的局部性相冲突。我们通过引入一个学习到的全局 presence token 来解耦识别和定位步骤。这个 token 只负责预测目标概念(名词短语 NP 形式)是否出现在图像/帧中,即
图像示例与交互性
SAM 3 supports image exemplars, given as a pair—a bounding box and an associated binary label (positive or negative)—which can be used in isolation or to supplement the text prompt. The model then detects all the instances that match the prompt. For example, given a positive bounding box on a dog, the model will detect all dogs in the image. This is different from the PVS task in SAM 1 and 2, where a visual prompt yields only a single object instance. Each image exemplar is encoded separately by the exemplar encoder using an embedding for the position, an embedding for the label, and ROI-pooled visual features, then concatenated and processed by a small transformer. The resulting prompt is concatenated to the text prompt to comprise the prompt tokens. Image exemplars can be interactively provided based on errors in current detections to refine the output.
SAM 3 支持图像示例,以「边界框 + 关联的二值标签(正或负)」的对给出,可以单独使用或补充文本提示。模型随后检测与提示匹配的所有实例。例如,给定狗上的一个正边界框,模型将检测图像中的所有狗。这不同于 SAM 1 和 2 中的 PVS 任务——视觉提示只产生单个物体实例。每个图像示例由示例编码器单独编码:位置嵌入、标签嵌入和 ROI 池化的视觉特征,随后拼接并由一个小型 Transformer 处理。生成的提示与文本提示拼接,组成提示 token。图像示例可以根据当前检测中的错误交互式地提供,以细化输出。
跟踪器与视频架构
Given a video and a prompt P, we use the detector and a tracker (see Fig. 4) to detect and track objects corresponding to the prompt throughout the video. On each frame, the detector finds new objects Ot and the tracker propagates masklets Mt−1 (spatial-temporal masks) from frames at the previous time t −1 to their new locations M̂t on the current frame at time t. We use a matching function to associate propagated masklets M̂t with new object masks emerging in the current frame Ot,
给定一段视频和提示 P,我们使用检测器和跟踪器(见 Fig. 4)在整个视频中检测和跟踪对应提示的物体。在每一帧上,检测器找到新物体
$$\hat{M}t = \text{propagate}(M{t-1}), \quad O_t = \text{detect}(I_t, P), \quad M_t = \text{match_and_update}(\hat{M}_t, O_t)$$
以 SAM 2 风格传播跟踪物体
A masklet is initialized for every object detected on the first frame. Then, on each subsequent frame, the tracker module predicts the new masklet locations M̂t of those already-tracked objects based on their previous locations Mt−1 through a single-frame propagation step similar to the video object segmentation task in SAM 2. The tracker shares the same image/frame encoder (PE backbone) as the detector. After training the detector, we freeze PE and train the tracker as in SAM 2, including a prompt encoder, mask decoder, memory encoder, and a memory bank that encodes the object’s appearance using features from the past frames and conditioning frames (frames where the object is first detected or user-prompted). The memory encoder is a transformer with self-attention across visual features on the current frame and cross-attention from the visual features to the spatial memory features in the memory bank. We describe details of our video approach in §C.3.
为第一帧上检测到的每个物体初始化一个 masklet。随后在每一帧上,跟踪器模块基于已跟踪物体先前的位置
During inference, we only retain frames where the object is confidently present in the memory bank. The mask decoder is a two-way transformer between the encoder hidden states and the output tokens. To handle ambiguity, we predict three output masks for every tracked object on each frame along with their confidence, and select the most confident output as the predicted mask on the current frame.
推理期间,我们只在记忆库中保留物体确信存在的帧。掩码解码器是编码器隐藏状态与输出 token 之间的双向 Transformer。为了处理歧义,我们在每一帧上为每个已跟踪物体预测三个输出掩码及其置信度,并选择最置信的输出作为当前帧的预测掩码。
基于检测的匹配与更新
After obtaining the tracked masks M̂t, we match them with the current frame detections Ot through a simple IoU based matching function (§C.3) and add them to Mt on the current frame. We further spawn new masklets for all newly detected objects that are not matched. The merging might suffer from ambiguities, especially in crowded scenes. We address this with two temporal disambiguation strategies outlined next.
获得跟踪掩码
First, we use temporal information in the form of a masklet detection score (§C.3) to measure how consistently a masklet is matched to a detection within a temporal window (based on the number of past frames where it was matched to a detection). If a masklet’s detection score falls below a threshold, we suppress it. Second, we use the detector outputs to resolve specific failure modes of the tracker due to occlusions or distractors. We periodically re-prompt the tracker with high-confidence detection masks Ot, replacing the tracker’s own predictions M̂t. This ensures that the memory bank has recent and reliable references (other than the tracker’s own predictions).
首先,我们使用时序信息——masklet 检测分数(§C.3)——衡量一个 masklet 在时间窗口内与检测匹配的一致性(基于它在过去帧中被匹配到检测的帧数)。如果 masklet 的检测分数低于阈值,我们抑制它。其次,我们使用检测器输出解决跟踪器因遮挡或干扰物而产生的特定失败模式。我们周期性地用高置信度检测掩码
用视觉提示细化实例
After obtaining the initial set of masks (or masklets), SAM 3 allows refining individual masks(lets) using positive and negative clicks. Specifically, given the user clicks, we apply the prompt encoder to encode them, and feed the encoded prompt into the mask decoder to predict an adjusted mask. In videos the mask is then propagated across the entire video to obtain a refined masklet.
获得初始掩码(或 masklet)集合后,SAM 3 允许使用正负点击细化单个 mask(let)。具体来说,给定用户点击,我们应用提示编码器对其编码,并将编码后的提示输入掩码解码器以预测调整后的掩码。在视频中,该掩码随后传播到整个视频,得到细化后的 masklet。
训练阶段
We train SAM 3 in four stages that progressively add data and capabilities: 1) Perception Encoder (PE) pre-training, 2) detector pre-training, 3) detector fine-tuning, and 4) tracker training with a frozen backbone. See §C.4.1 for details.
我们分四个阶段训练 SAM 3,逐步增加数据和能力:1) Perception Encoder(PE)预训练,2) 检测器预训练,3) 检测器微调,4) 冻结骨干的跟踪器训练。细节见 §C.4.1。
数据引擎
Achieving a step change in PCS with SAM 3 requires training on a large, diverse set of concepts and visual domains, beyond existing datasets (see Fig. 12). We build an efficient data engine that iteratively generates annotated data via a feedback loop with SAM 3, human annotators, and AI annotators, actively mining media-phrase pairs on which the current version of SAM 3 fails to produce high-quality training data to further improve the model. By delegating certain tasks to AI annotators—models that match or surpass human accuracy—we more than double the throughput compared to a human-only annotation pipeline. We develop the data engine in four phases, with each phase increasing the use of AI models to steer human effort to the most challenging failure cases, alongside expanding visual domain coverage. Phases 1-3 focus only on images, with Phase 4 expanding to videos. We describe the key steps here; details and metrics are in §D.
用 SAM 3 实现 PCS 的阶跃式改变,需要在超越现有数据集的大规模、多样化概念和视觉领域上训练(见 Fig. 12)。我们构建了一个高效的数据引擎:通过 SAM 3、人工标注员和 AI 标注员之间的反馈循环迭代生成标注数据,主动挖掘当前版本 SAM 3 无法产出高质量训练数据的媒体-短语对,以进一步改进模型。通过将某些任务委托给 AI 标注员——与人类精度相当或超越人类的模型——我们相比纯人工标注流水线将吞吐量提升一倍以上。我们分四个阶段开发数据引擎,每个阶段都增加 AI 模型的使用,将人工精力引导到最具挑战性的失败案例上,同时扩展视觉领域覆盖。阶段 1-3 只聚焦图像,阶段 4 扩展到视频。这里描述关键步骤;细节和指标见 §D。

数据引擎组件
Media inputs (image or video) are mined from a large pool with the help of a curated ontology. An AI model proposes noun phrases (NPs) describing visual concepts, followed by another model (e.g., SAM 3) that generates candidate instance masks for each proposed NP. The proposed masks are verified by a two-step process: first, in Mask Verification (MV) annotators accept or reject masks based on their quality and relevance to the NP. Second, in Exhaustivity Verification (EV) annotators check if all instances of the NP have been masked in the input. Any media-NP pairs that did not pass the exhaustivity check are sent to a manual correction stage, where humans add, remove or edit masks (using SAM 1 in a browser based tool), or use “group” masks for small, hard to separate objects. Annotators may reject ungroundable or ambiguous phrases.
媒体输入(图像或视频)在策展本体的帮助下从大型池中挖掘。一个 AI 模型提出描述视觉概念的名词短语(NP),随后另一个模型(如 SAM 3)为每个提议的 NP 生成候选实例掩码。提议的掩码通过两步流程验证:首先,在掩码验证(MV)中,标注员根据掩码质量及其与 NP 的相关性接受或拒绝掩码。其次,在穷尽性验证(EV)中,标注员检查 NP 的所有实例是否都已在输入中被掩码。任何未通过穷尽性检查的媒体-NP 对被送到人工修正阶段,由人工添加、移除或编辑掩码(在基于浏览器的工具中使用 SAM 1),或对小的、难以分开的物体使用「组」掩码。标注员可以拒绝无法落地或存在歧义的短语。
阶段 1:人工验证
We first randomly sample images and NP proposal with a simple captioner and parser. The initial mask proposal model is SAM 2 prompted with the output of an off-the-shelf open-vocabulary detector, and initial verifiers are human. In this phase, we collected 4.3M image-NP pairs as the initial SA-Co/HQ dataset. We train SAM 3 on this data and use it as the mask proposal model for the next phase.
我们首先用简单的图像描述器和解析器随机采样图像和 NP 提议。初始掩码提议模型是 SAM 2,用现成开放词汇检测器的输出提示;初始验证者是人类。在这一阶段,我们收集了 4.3M 个图像-NP 对,作为最初的 SA-Co/HQ 数据集。我们在这些数据上训练 SAM 3,并将其用作下一阶段的掩码提议模型。
阶段 2:人工 + AI 验证
In this next phase, we use human accept/reject labels from the MV and EV tasks collected in Phase 1 to fine-tune Llama 3.2 (Dubey et al., 2024) to create AI verifiers that automatically perform the MV and EV tasks. These models receive image-phrase-mask triplets and output multiple-choice ratings of mask quality or exhaustivity. This new auto-verification process allows our human effort to be focused on the most challenging cases. We continue to re-train SAM 3 on newly collected data and update it 6 times. As SAM 3 and AI verifiers improve, a higher proportion of labels are auto-generated, further accelerating data collection. The introduction of AI verifiers for MV and EV roughly doubles the data engine’s throughput vs. human annotators. We refer to §A.4 for detailed analysis of how AI verifiers improve the data engine’s throughput. We further upgrade the NP proposal step to a Llama-based pipeline that also proposes hard negative NPs adversarial to SAM 3. Phase 2 adds 122M image-NP pairs to SA-Co/HQ.
在下一阶段,我们使用阶段 1 中收集的 MV 和 EV 任务的人工接受/拒绝标签微调 Llama 3.2(Dubey et al., 2024),创建自动执行 MV 和 EV 任务的 AI 验证者。这些模型接收图像-短语-掩码三元组,输出掩码质量或穷尽性的多选评分。这一新的自动验证流程使人工精力得以聚焦于最具挑战性的案例。我们继续在新收集的数据上重新训练 SAM 3,更新了 6 次。随着 SAM 3 和 AI 验证者的改进,更高比例的标签被自动生成,进一步加速数据收集。MV 和 EV 的 AI 验证者的引入使数据引擎的吞吐量相比人工标注员大约翻倍。AI 验证者如何提升数据引擎吞吐量的详细分析见 §A.4。我们进一步将 NP 提议步骤升级为基于 Llama 的流水线,该流水线还提议对抗 SAM 3 的难负例 NP。阶段 2 为 SA-Co/HQ 增加了 122M 个图像-NP 对。
阶段 3:规模化与领域扩展
In the third phase, we use AI models to mine increasingly challenging cases and broaden domain coverage in SA-Co/HQ to 15 datasets (Fig. 15). A domain is a unique distribution of text and visual data. In new domains, the MV AI verifier performs well zero-shot, but the EV AI verifier needs to be improved with modest domain-specific human supervision. We also expand concept coverage to long-tail, fine-grained concepts by extracting NPs from the image alt-text where available and by mining concepts from a 22.4M node SA-Co ontology (§D.2) based on Wikidata (17 top-level categories, 72 sub-categories). We iterate SAM 3 training 7 times and AI verifiers 3 times, and add 19.5M image-NP pairs to SA-Co/HQ.
在第三阶段,我们使用 AI 模型挖掘越来越有挑战性的案例,并将 SA-Co/HQ 的领域覆盖扩展到 15 个数据集(Fig. 15)。领域是文本和视觉数据的独特分布。在新领域中,MV AI 验证者零样本表现良好,但 EV AI 验证者需要用适度的领域特定人工监督来改进。我们还通过从图像 alt-text(可用时)提取 NP,以及从基于 Wikidata 的 22.4M 节点 SA-Co 本体(§D.2)(17 个顶级类别、72 个子类别)中挖掘概念,将概念覆盖扩展到长尾、细粒度概念。我们迭代训练 SAM 3 7 次、AI 验证者 3 次,为 SA-Co/HQ 增加了 19.5M 个图像-NP 对。
阶段 4:视频标注
This phase extends the data engine to video. We use a mature image SAM 3 to collect targeted quality annotations that capture video-specific challenges. The data mining pipeline applies scene/motion filters, content balancing, ranking, and targeted searches. Video frames are sampled (randomly or by object density) and sent to the image annotation flow (from phase 3). Masklets (spatio-temporal masks) are produced with SAM 3 (now extended to video) and post-processed via deduplication and removal of trivial masks. Because video annotation is more difficult, we concentrate humans on likely failures by favoring clips with many crowded objects and tracking failures. The collected video data SA-Co/VIDEO consists of 52.5K videos and 467K masklets. See §D.6 for details.
这一阶段将数据引擎扩展到视频。我们使用成熟的图像版 SAM 3 收集有针对性的高质量标注,捕捉视频特有的挑战。数据挖掘流水线应用场景/运动过滤、内容平衡、排序和定向搜索。视频帧被采样(随机或按物体密度)并送入图像标注流程(来自阶段 3)。Masklet(时空掩码)由 SAM 3(现已扩展到视频)生成,并通过去重和移除平凡掩码进行后处理。由于视频标注更困难,我们通过偏好包含许多拥挤物体和跟踪失败的片段,将人工集中到可能的失败上。收集的视频数据 SA-Co/VIDEO 包含 52.5K 个视频和 467K 个 masklet。细节见 §D.6。
Segment Anything with Concepts(SA-Co)数据集
训练数据
We collect three image datasets for the PCS task: (i) SA-Co/HQ, the high-quality image data collected from the data engine in phases 1-4, (ii) SA-Co/SYN, a synthetic dataset of images labeled by a mature data engine (phase 3) without human involvement, and (iii) SA-Co/EXT, 15 external datasets that have instance mask annotations, enriched with hard negatives using our ontology pipeline. Notably in the SA-Co/HQ dataset we annotate 5.2M images and 4M unique NPs, making it the largest high-quality open-vocab segmentation dataset. We also annotate a video dataset, SA-Co/VIDEO, containing 52.5K videos and 24.8K unique NPs, forming 134K video-NP pairs. The videos on average have 84.1 frames at 6 fps. See §E.1 for details including full statistics, comparison with existing datasets and the distribution of concepts.
我们为 PCS 任务收集三个图像数据集:(i) SA-Co/HQ,数据引擎阶段 1-4 收集的高质量图像数据;(ii) SA-Co/SYN,由成熟数据引擎(阶段 3)在无人工参与下标注的合成图像数据集;(iii) SA-Co/EXT,15 个具有实例掩码标注的外部数据集,用我们的本体流水线补充难负例。值得注意的是,SA-Co/HQ 数据集标注了 5.2M 张图像和 4M 个唯一 NP,是最大的高质量开放词汇分割数据集。我们还标注了一个视频数据集 SA-Co/VIDEO,包含 52.5K 个视频和 24.8K 个唯一 NP,形成 134K 个视频-NP 对。视频平均有 84.1 帧,6 fps。细节见 §E.1,包括完整统计、与现有数据集的比较和概念分布。
SA-Co 基准
The SA-Co evaluation benchmark has 207K unique phrases, 121K images and videos, and over 3M media-phrase pairs with hard negative labels to test open-vocabulary recognition. It has 4 splits: SA-Co/Gold has seven domains and each image-NP pair is annotated by three different annotators (used to measure human performance); SA-Co/Silver has ten domains and only one human annotation per image-NP pair; SA-Co/Bronze and SA-Co/Bio are nine existing datasets either with existing mask annotations or masks generated by using boxes as prompts to SAM 2. The SA-Co/VEval benchmark has three domains and one annotator per video-NP pair. See Tab. 28 for dataset statistics and Fig. 6 for example annotations.
SA-Co 评估基准有 207K 个唯一短语、121K 张图像和视频、超过 3M 个带难负例标签的媒体-短语对,用于测试开放词汇识别。它有 4 个划分:SA-Co/Gold 有 7 个领域,每个图像-NP 对由三位不同的标注员标注(用于衡量人类性能);SA-Co/Silver 有 10 个领域,每个图像-NP 对只有一份人工标注;SA-Co/Bronze 和 SA-Co/Bio 是 9 个现有数据集,要么已有掩码标注,要么用框提示 SAM 2 生成掩码。SA-Co/VEval 基准有 3 个领域,每个视频-NP 对一名标注员。数据集统计见 Tab. 28,标注示例见 Fig. 6。

指标
We aim to measure the usefulness of the model in downstream applications. Detection metrics such as average precision (AP) do not account for calibration, which means that models can be difficult to use in practice. To remedy this, we only evaluate predictions with confidence above 0.5, effectively introducing a threshold that mimics downstream usages and enforces good calibration. The PCS task can be naturally split into two sub-tasks, localization and classification. We evaluate localization using positive micro F1 (pmF1) on positive media-phrase pairs with at least one ground-truth mask. Classification is measured with image-level Matthews Correlation Coefficient (IL_MCC) which ranges in [−1, 1] and evaluates binary prediction at the image level (“is the object present?”) without regard for mask quality. Our main metric, classification-gated F1 (cgF1), combines these as follows: cgF1 = 100 ∗ pmF1 ∗ IL_MCC. Full definitions are in §E.3.
我们的目标是衡量模型在下游应用中的实用性。平均精度(AP)等检测指标不考虑校准,这意味着模型在实践中可能难以使用。为此,我们只评估置信度高于 0.5 的预测,实际上引入了一个模拟下游用法并强制良好校准的阈值。PCS 任务可以自然拆分为两个子任务:定位和分类。我们使用正 micro F1(pmF1)在至少有一个真值掩码的正媒体-短语对上评估定位。分类用图像级 Matthews 相关系数(IL_MCC)衡量,范围在 [−1, 1],在图像级评估二值预测(「物体是否出现?」)而不考虑掩码质量。我们的主要指标,分类门控 F1(cgF1),将两者组合如下:cgF1 = 100 ∗ pmF1 ∗ IL_MCC。完整定义见 §E.3。
歧义处理
We collect 3 annotations per NP on SA-Co/Gold. We measure oracle accuracy comparing each prediction to all ground truths and selecting the best score. See §E.3.
我们在 SA-Co/Gold 上为每个 NP 收集 3 份标注。我们测量 oracle 精度:将每个预测与所有真值比较并选择最佳分数。见 §E.3。
实验
We evaluate SAM 3 across image and video segmentation, few-shot adaptation to detection and counting benchmarks, and segmentation with complex language queries with SAM 3 + MLLM. We also show a subset of ablations, with more in §A. References, more results and details are in §F.
我们在图像和视频分割、检测和计数基准上的少样本适配,以及 SAM 3 + MLLM 的复杂语言查询分割上评估 SAM 3。我们还展示一部分消融实验,更多见 §A。参考文献、更多结果和细节见 §F。
图像 PCS(文本提示)
We evaluate instance segmentation, box detection, and semantic segmentation on external and our benchmarks. SAM 3 is prompted with a single NP at a time, and predicts instance masks, bounding boxes, or semantic masks. As baselines, we evaluate OWLv2, GroundingDino (gDino), and LLMDet on box detection, and prompt SAM 1 with their boxes to evaluate segmentation. We also compare to APE, DINO-X, and Gemini 2.5 Flash, a generalist LLM. Tab. 1 shows that zero-shot, SAM 3 sets a new state-of-the-art on closed-vocabulary COCO, COCO-O and on LVIS boxes, and is significantly better on LVIS masks. On open-vocabulary SA-Co/Gold SAM 3 achieves more than double the cgF1 score of the strongest baseline OWLv2⋆, and 74% of the estimated human performance. The improvements are even higher on the other SA-Co splits. Open vocabulary semantic segmentation results on ADE-847, PascalConcept-59, and Cityscapes (val set) show that SAM 3 outperforms APE, a strong specialist baseline. See §F.1 for details.
我们在外部基准和自有基准上评估实例分割、框检测和语义分割。SAM 3 每次用一个 NP 提示,预测实例掩码、边界框或语义掩码。作为基线,我们在框检测上评估 OWLv2、GroundingDino(gDino)和 LLMDet,并用它们的框提示 SAM 1 以评估分割。我们还与 APE、DINO-X 和通用 LLM Gemini 2.5 Flash 比较。Tab. 1 显示,零样本下 SAM 3 在闭集 COCO、COCO-O 和 LVIS 框上树立了新的最先进水平,在 LVIS 掩码上显著更好。在开放词汇 SA-Co/Gold 上,SAM 3 的 cgF1 分数达到最强基线 OWLv2⋆ 的两倍以上,达到估计人类性能的 74%。在其他 SA-Co 划分上提升更高。ADE-847、PascalConcept-59 和 Cityscapes(验证集)上的开放词汇语义分割结果表明,SAM 3 超越了强专家基线 APE。细节见 §F.1。



少样本适配
We evaluate zero- and few-shot transfer of SAM 3 on ODinW13 and RF100-VL, with their original labels as prompts. We do not perform any prompt tuning. We fine-tune SAM 3 without mask loss, and report average bbox mAP in Tab. 2. SAM 3 achieves state-of-the-art 10-shot performance, surpassing in-context prompting in Gemini and object detection experts (gDino); more details in §F.3. RF-100VL contains domains with specialized prompts that are out of SAM 3’s current scope, but SAM 3 adapts through fine-tuning more efficiently than baselines.
我们以原始标签作为提示,在 ODinW13 和 RF100-VL 上评估 SAM 3 的零样本和少样本迁移。我们不进行任何提示调优。我们在无掩码损失的情况下微调 SAM 3,并在 Tab. 2 中报告平均 bbox mAP。SAM 3 实现了最先进的 10-shot 性能,超越 Gemini 中的上下文提示和物体检测专家(gDino);更多细节见 §F.3。RF-100VL 包含专业提示的领域,超出 SAM 3 当前的范围,但 SAM 3 通过微调比基线更高效地适配。
1 个示例的 PCS
We first evaluate image exemplars using a single input box sampled at random from the ground truth. This can be done only on “positive” data, where each prompted object appears in the image. We report the corresponding AP+ in Tab. 3 across three settings: text prompt (T), exemplar image (I), and both text and image (T+I); SAM 3 outperforms prior state-of-the-art T-Rex2 by a healthy margin on COCO (+18.3), LVIS (+10.3), and ODinW (+20.5). See §F.2 for more details and results on SA-Co/Gold.
我们首先评估图像示例:从真值中随机采样单个输入框。这只能在「正」数据上进行,即每个被提示的物体都出现在图像中。我们在 Tab. 3 中报告相应的 AP+,覆盖三种设置:文本提示(T)、示例图像(I)以及文本和图像(T+I);SAM 3 在 COCO(+18.3)、LVIS(+10.3)和 ODinW(+20.5)上以可观的优势超越先前最先进的 T-Rex2。更多细节和 SA-Co/Gold 上的结果见 §F.2。

K 个示例的 PCS
Next, we evaluate SAM 3 in an interactive setting, simulating collaboration with a human annotator. Starting with a text prompt, we iteratively add one exemplar prompt at a time: missed ground truths are candidate positive prompts, false positive detections are candidate negative prompts. Results (Fig. 7) are compared to a perfect PVS baseline, where we simulate the user manually fixing errors using ideal box-to-mask corrections. SAM 3’s PCS improves cgF1 more quickly, as it generalizes from exemplars (e.g., detecting or suppressing similar objects), while PVS only corrects individual instances. After 3 clicks, interactive PCS outperforms text-only by +21.6 cgF1 points and PVS refinement by +2.0. Performance plateaus after 4 clicks, as exemplars cannot fix poor-quality masks. Simulating a hybrid switch to PVS at this point yields gains, showing complementary.
接下来,我们在交互式设置下评估 SAM 3,模拟与人工标注员的协作。从文本提示开始,我们每次迭代添加一个示例提示:遗漏的真值是候选正提示,误报检测是候选负提示。结果(Fig. 7)与一个完美 PVS 基线比较:模拟用户使用理想的框到掩码修正手动修复错误。SAM 3 的 PCS 更快地提升 cgF1,因为它从示例中泛化(例如检测或抑制相似物体),而 PVS 只修正单个实例。3 次点击后,交互式 PCS 比纯文本高出 +21.6 cgF1 点,比 PVS 细化高出 +2.0。性能在 4 次点击后趋于平台期,因为示例无法修复低质量的掩码。在此刻模拟切换到 PVS 的混合方案能带来收益,显示两者互补。
物体计数
We evaluate on object counting benchmarks CountBench and PixMo-Count to compare with several MLLMs using Accuracy (%) and Mean Absolute Error (MAE) from previous technical reports and our own evaluations. See Tab. 4 for results and §F.4 for more evaluation details. Compared to MLLMs, SAM 3 not only achieves good object counting accuracy, but also provides object segmentation that most MLLMs cannot provide.
我们在物体计数基准 CountBench 和 PixMo-Count 上评估,使用先前技术报告和我们自己评估中的准确率(%)和平均绝对误差(MAE)与几个 MLLM 比较。结果见 Tab. 4,更多评估细节见 §F.4。与 MLLM 相比,SAM 3 不仅实现了良好的物体计数精度,还提供了大多数 MLLM 无法提供的物体分割。

视频 PCS(文本提示)
We evaluate video segmentation with text prompts on both our SA-Co/VEval benchmark and existing public benchmarks. For SA-Co/VEval, we report cgF1 and pHOTA metrics (defined in §F.5) across its subsets (SA-V, YT-Temporal-1B, SmartGlasses). For public benchmarks, we use their official metrics. Baselines include GLEE, an open-vocabulary image and video segmentation model, “LLMDet + SAM 3 Tracker” (replacing our detector with LLMDet), and “SAM 3 Detector + T-by-D” (replacing our tracker with an association module based on the tracking-by-detection paradigm). In Tab. 5, SAM 3 largely outperforms these baselines, especially on benchmarks with a very large number of noun phrases. On SA-Co/VEval it reaches over 80% of human pHOTA. See §F.5 for more details.
我们在自有 SA-Co/VEval 基准和现有公开基准上评估文本提示的视频分割。对于 SA-Co/VEval,我们报告其子集(SA-V、YT-Temporal-1B、SmartGlasses)上的 cgF1 和 pHOTA 指标(定义见 §F.5)。对于公开基准,我们使用其官方指标。基线包括 GLEE(开放词汇图像和视频分割模型)、「LLMDet + SAM 3 跟踪器」(用 LLMDet 替换我们的检测器)和「SAM 3 检测器 + T-by-D」(用基于检测式跟踪范式的关联模块替换我们的跟踪器)。在 Tab. 5 中,SAM 3 大幅超越这些基线,尤其是在名词短语数量非常大的基准上。在 SA-Co/VEval 上,它达到人类 pHOTA 的 80% 以上。更多细节见 §F.5。

PVS
We evaluate SAM 3 on a range of visual prompting tasks, including Video Object Segmentation (VOS) and interactive image segmentation. Tab. 6 compares SAM 3 to recent state-of-the-art methods on the VOS task. SAM 3 achieves significant improvements over SAM 2 on most benchmarks, particularly on the challenging MOSEv2 dataset, where SAM 3 outperforms prior work by 6.5 points. For the interactive image segmentation task, we evaluate SAM 3 on the 37 datasets benchmark introduced in Ravi et al. (2024). As shown in Tab. 7, SAM 3 outperforms SAM 2 on average mIoU. See also §F.6 and Fig. 21 for interactive video segmentation.
我们在一系列视觉提示任务上评估 SAM 3,包括视频目标分割(VOS)和交互式图像分割。Tab. 6 在 VOS 任务上将 SAM 3 与近期最先进方法比较。SAM 3 在大多数基准上相比 SAM 2 实现显著提升,尤其是在具有挑战性的 MOSEv2 数据集上,SAM 3 超越先前工作 6.5 个点。对于交互式图像分割任务,我们在 Ravi et al. (2024) 提出的 37 数据集基准上评估 SAM 3。如 Tab. 7 所示,SAM 3 在平均 mIoU 上超越 SAM 2。交互式视频分割另见 §F.6 和 Fig. 21。


SAM 3 Agent
We experiment with an MLLM that uses SAM 3 as a tool to segment more complex text queries (see Fig. 25). The MLLM proposes noun phrase queries to prompt SAM 3 and analyzes the returned masks, iterating until the masks are satisfactory. Tab. 8 shows that this “SAM 3 Agent” evaluated zero-shot on ReasonSeg and OmniLabel surpasses prior work without training on any referring expression segmentation or reasoning segmentation data. SAM 3 Agent also outperforms previous zero-shot results on RefCOCO+ and RefCOCOg. SAM 3 can be combined with various MLLMs, with the same set of the system prompts for all those MLLMs, showing SAM 3’s robustness. See §G for more details.
我们实验了一个将 SAM 3 作为工具来分割更复杂文本查询的 MLLM(见 Fig. 25)。MLLM 提出名词短语查询来提示 SAM 3,并分析返回的掩码,迭代直到掩码令人满意。Tab. 8 显示,这个「SAM 3 Agent」在 ReasonSeg 和 OmniLabel 上零样本评估,未在任何指代表达式分割或推理分割数据上训练,就超越了先前工作。SAM 3 Agent 还超越了 RefCOCO+ 和 RefCOCOg 上先前的零样本结果。SAM 3 可以与各种 MLLM 组合,对所有 MLLM 使用同一套系统提示,展示了 SAM 3 的鲁棒性。更多细节见 §G。

精选消融
In Tab. 9 we report a subset of the more extensive ablations from §A. Note that the ablated models are from different, shorter training runs than the model evaluated above. The presence head boosts cgF1 by +1.5 (9a), improving image-level recognition measured by IL_MCC by +0.05. Tab. 9b shows that adding hard negatives significantly improves the model performance, most notably the image-level IL_MCC from 0.44 to 0.68. Tab. 9c shows that synthetic (SYN) training data improves over the external (EXT) by +8.8 cgF1 and our high-quality (HQ) annotations add +14.6 cgF1 on top of this baseline. We present detailed data scaling laws of both types of data in §A.2, showing their effectiveness on both in-domain and out-of-domain test sets. In Tab. 9d, we show how AI verifiers can improve pseudo-labels. Replacing the presence score from SAM 3 with that score from the exhaustivity verification (EV) AI verifier boosts cgF1 by +7.2. Using the mask verification (MV) AI verifier to remove bad masks adds another 1.1 points. Overall, AI verifiers close half of the gap between SAM 3’s and human performance.
在 Tab. 9 中,我们报告 §A 中更广泛消融的一个子集。注意,消融模型来自与上述评估模型不同的、更短的训练过程。presence head 将 cgF1 提升 +1.5(9a),将图像级识别(IL_MCC 衡量)提升 +0.05。Tab. 9b 显示,加入难负例显著提升模型性能,最明显的是图像级 IL_MCC 从 0.44 到 0.68。Tab. 9c 显示,合成(SYN)训练数据相比外部(EXT)数据提升 +8.8 cgF1,我们的高质量(HQ)标注在此基线上再增加 +14.6 cgF1。我们在 §A.2 中展示了两种数据的详细数据缩放规律,表明它们在域内和域外测试集上都有效。在 Tab. 9d 中,我们展示了 AI 验证者如何改进伪标签。用穷尽性验证(EV)AI 验证者的分数替换 SAM 3 的 presence 分数,将 cgF1 提升 +7.2。使用掩码验证(MV)AI 验证者移除坏掩码再增加 1.1 个点。总体而言,AI 验证者弥合了 SAM 3 与人类性能之间差距的一半。

领域适配消融
With domain-specific synthetic data generated by SAM 3 + AI verifiers, we show that one can significantly improve performance on a new domain without any human annotation. We hold out one of the SA-Co domains, “Food&drink”, from training SAM 3 and AI verifiers. We then use three variants of training data for the novel “Food&drink” domain: high-quality AI+human annotations as in SA-Co/HQ (referred to as SA-Co/HQ-Food), synthetic annotations as in SA-Co/SYN, using AI but no humans (SA-Co/SYN-Food), and pseudo-labels generated before the AI verification step, i.e. skipping both AI verifiers and humans (PL-Food). Fig. 8 plots performance on the “Food&drink” test set of the SA-Co/Gold benchmark as each type of training data is scaled up. We mix the domain specific data and high-quality general domain data at a 1:1 ratio. PL-Food provides some improvement compared to the baseline SAM 3 (zero-shot), but is far below the other variants due to its lower quality. HQ-Food and SYN-Food show similar scaling behavior, with SYN-Food slightly lower but eventually catching up, without incurring any human annotation cost. This points to a scalable way to improve performance on new data distributions. More details are in §A.3.
利用 SAM 3 + AI 验证者生成的领域特定合成数据,我们表明可以在没有任何人工标注的情况下显著提升新领域上的性能。我们从 SAM 3 和 AI 验证者的训练中留出 SA-Co 的一个领域「Food&drink」。随后为新领域「Food&drink」使用三种训练数据变体:SA-Co/HQ 中的高质量 AI+人工标注(称为 SA-Co/HQ-Food)、SA-Co/SYN 中的合成标注(使用 AI 但无人工,SA-Co/SYN-Food),以及在 AI 验证步骤之前生成的伪标签,即跳过 AI 验证者和人工(PL-Food)。Fig. 8 绘制了随着每种训练数据的规模扩大,SA-Co/Gold 基准「Food&drink」测试集上的性能。我们将领域特定数据与高质量通用领域数据按 1:1 比例混合。PL-Food 相比基线 SAM 3(零样本)提供了一些提升,但由于质量较低,远低于其他变体。HQ-Food 和 SYN-Food 显示相似的缩放行为,SYN-Food 略低但最终赶上,且不产生任何人工标注成本。这指向一种可扩展的提升新数据分布性能的方式。更多细节见 §A.3。

相关工作
可提示与交互式视觉分割
SAM (Kirillov et al., 2023) introduces “promptable” image segmentation with interactive refinement. While the original task definition included text prompts, they were not fully developed. SAM 2 (Ravi et al., 2024) extended the promptable visual segmentation task to video, allowing refinement points on any frame. SAM 3 inherits geometry-based segmentation while extending to include text and image exemplar prompts to segment all instances of a concept in images and videos.
SAM(Kirillov et al., 2023)提出了带交互式细化的「可提示」图像分割。虽然原始任务定义包含文本提示,但它们并未得到充分开发。SAM 2(Ravi et al., 2024)将可提示视觉分割任务扩展到视频,允许在任意帧上细化点。SAM 3 继承了几何分割,同时扩展加入文本和图像示例提示,以分割图像和视频中一个概念的所有实例。
图像中的开放词汇检测与分割
Open-Vocabulary Detection and Segmentation in Images exhaustively labels every instance of an open-vocabulary object category with a coarse bounding box (detection) or a fine-grained pixel mask (segmentation). Recent open-vocabulary (OV) detection (Gu et al., 2021; Minderer et al., 2022) and segmentation (Ding et al., 2022; Liang et al., 2023) methods leverage large-scale vision-language encoders such as CLIP (Radford et al., 2021) to handle categories described by arbitrary text, even those never seen during training. While DETR (Carion et al., 2020) is limited to a closed set of categories seen during training, MDETR (Kamath et al., 2021) evolves the approach to condition on raw text queries. Image exemplars used as prompts to specify the desired object category (e.g., DINOv (Li et al., 2023a), T-Rex2 (Jiang et al., 2024)) present a practical alternative to text, but fall short in conveying the abstract concept of objects as effectively as text prompts. We introduce a new benchmark for OV segmentation with > 100× more unique concepts than prior work.
图像中的开放词汇检测与分割为开放词汇物体类别的每个实例穷尽地标注粗略边界框(检测)或细粒度像素掩码(分割)。近期的开放词汇(OV)检测(Gu et al., 2021; Minderer et al., 2022)和分割(Ding et al., 2022; Liang et al., 2023)方法利用 CLIP(Radford et al., 2021)等大规模视觉-语言编码器处理任意文本描述的类别,包括训练期间从未见过的类别。虽然 DETR(Carion et al., 2020)局限于训练期间见过的闭集类别,MDETR(Kamath et al., 2021)演进该方法,以原始文本查询为条件。用作提示来指定目标物体类别的图像示例(如 DINOv(Li et al., 2023a)、T-Rex2(Jiang et al., 2024))是文本的实用替代方案,但在传达物体的抽象概念方面不如文本提示有效。我们引入一个新的 OV 分割基准,唯一概念数量比先前工作多 100 倍以上。
视觉定位
Visual Grounding localizes a language expression referring to a region of the image with a box or mask. (Plummer et al., 2020) introduces phrase detection as both deciding whether the phrase is relevant to an image and localizing it. GLIP (Li et al., 2022b) and GroundingDino (Liu et al., 2023) formulate object detection as phrase grounding, unifying both tasks during training. MQ-GLIP (Xu et al., 2023) adds image exemplars to text as queries. Building on this trend toward models supporting multiple tasks and modalities, GLEE (Wu et al., 2024a) allows text phrases, referring expressions, and visual prompts for category and instance grounding in both images and videos. Unlike SAM 3, GLEE does not support exemplars or interactive refinement. LISA (Lai et al., 2024) allows segmentation that requires reasoning, while OMG-LLaVa (Zhang et al., 2024a) and GLaMM (Rasheed et al., 2024) generate natural language responses interleaved with corresponding segmentation masks, with GLaMM accepting both textual and optional image prompts as input. Some general-purpose MLLMs can output boxes and masks (Gemini2.5 (Comanici et al., 2025)) or points (Molmo (Deitke et al., 2025)). SAM 3 can be used as a “vision tool” in combination with an MLLM (§6).
视觉定位用框或掩码定位指向图像中某个区域的语言表达。(Plummer et al., 2020) 提出短语检测:既判断短语是否与图像相关,又定位它。GLIP(Li et al., 2022b)和 GroundingDino(Liu et al., 2023)将物体检测形式化为短语定位,训练期间统一两个任务。MQ-GLIP(Xu et al., 2023)将图像示例作为查询加入文本。沿着这一支持多任务和多模态的模型趋势,GLEE(Wu et al., 2024a)允许文本短语、指代表达式和视觉提示,在图像和视频中进行类别和实例定位。与 SAM 3 不同,GLEE 不支持示例或交互式细化。LISA(Lai et al., 2024)支持需要推理的分割,而 OMG-LLaVa(Zhang et al., 2024a)和 GLaMM(Rasheed et al., 2024)生成与相应分割掩码交织的自然语言回复,其中 GLaMM 接受文本和可选的图像提示作为输入。一些通用 MLLM 可以输出框和掩码(Gemini2.5(Comanici et al., 2025))或点(Molmo(Deitke et al., 2025))。SAM 3 可以作为「视觉工具」与 MLLM 组合使用(§6)。
多目标跟踪与分割
Multi-Object Tracking and Segmentation methods identify object instances in video and track them, associating each with a unique ID. In tracking-by-detection methods, detection is performed independently on each frame to produce boxes and confidence scores, followed by association of boxes using motion-based and appearance-based matching as in SORT (Bewley et al., 2016; Wojke et al., 2017), Tracktor (Bergmann et al., 2019), ByteTrack (Zhang et al., 2022c), SAM2MOT (Jiang et al., 2025), or OC-SORT (Cao et al., 2023). An alternative is an end-to-end trainable architecture that jointly detects and associates objects, e.g., TrackFormer (Meinhardt et al., 2022), TransTrack (Sun et al., 2020), or MOTR (Zeng et al., 2022). TrackFormer uses a DETR-like encoder-decoder that initializes new tracks from static object queries and auto-regressively follows existing tracks with identity-preserving track queries. A challenge with joint models is the conflict between detection and tracking (Feichtenhofer et al., 2017; Yu et al., 2023a), where one needs to focus on semantics while the other on disentangling identities, even if their spatial locations overlap over time. SAM 3 is a strong image detector tightly integrated into a tracker to segment concepts in videos.
多目标跟踪与分割方法识别视频中的物体实例并跟踪它们,为每个关联唯一 ID。在检测式跟踪方法中,检测在每一帧上独立执行以产生框和置信度分数,随后使用基于运动和基于外观的匹配关联框,如 SORT(Bewley et al., 2016; Wojke et al., 2017)、Tracktor(Bergmann et al., 2019)、ByteTrack(Zhang et al., 2022c)、SAM2MOT(Jiang et al., 2025)或 OC-SORT(Cao et al., 2023)。另一种选择是端到端可训练架构,联合检测和关联物体,如 TrackFormer(Meinhardt et al., 2022)、TransTrack(Sun et al., 2020)或 MOTR(Zeng et al., 2022)。TrackFormer 使用类似 DETR 的编码器-解码器:从静态物体查询初始化新轨迹,并用保持身份的轨迹查询自回归地跟随现有轨迹。联合模型的一个挑战是检测与跟踪之间的冲突(Feichtenhofer et al., 2017; Yu et al., 2023a):一个需要聚焦语义,另一个需要解开身份,即使它们的空间位置随时间重叠。SAM 3 是一个强大的图像检测器,与跟踪器紧密集成,以在视频中分割概念。
结论
We present Segment Anything with Concepts, enabling open-vocabulary text and image exemplars as prompts in interactive segmentation. Our principal contributions are: (i) introducing the PCS task and SA-Co benchmark, (ii) an architecture that decouples recognition, localization and tracking and extends SAM 2 to solve concept segmentation while retaining visual segmentation capabilities, (iii) a high-quality, efficient data engine that leverages the complimentary strengths of human and AI annotators. SAM 3 achieves state-of-the-art results, doubling performance over prior systems for PCS on SA-Co in images and videos. That said, our model has several limitations. For example, it struggles to generalize to out-of-domain terms, which could be mitigated by automatic domain expansion but requires extra training. We discuss this and other limitations of our model in §B. We believe SAM 3 and the SA-Co benchmark will be important milestones and pave the way for future research and applications in computer vision.
我们呈现 Segment Anything with Concepts,在交互式分割中启用开放词汇文本和图像示例作为提示。我们的主要贡献是:(i) 提出 PCS 任务和 SA-Co 基准;(ii) 一个将识别、定位和跟踪解耦的架构,扩展 SAM 2 以解决概念分割,同时保留视觉分割能力;(iii) 一个高质量、高效的数据引擎,利用人工和 AI 标注员的互补优势。SAM 3 实现了最先进的结果,在 SA-Co 上图像和视频 PCS 的性能比先前系统翻倍。话虽如此,我们的模型有若干局限。例如,它难以泛化到域外术语,这可以通过自动领域扩展来缓解,但需要额外训练。我们在 §B 中讨论这一局限和模型的其他局限。我们相信 SAM 3 和 SA-Co 基准将成为重要的里程碑,为计算机视觉的未来研究和应用铺平道路。