arXiv:2609.08281cs.CV2026-09

用SAM3模型零样本检测未知物体,提升真实场景下目标检测的安全性。

SAM3-O2D2: Zero-Shot Object Out-of-Distribution Detection by Object Class Prompting of the SAM3-Image Model

  • 仅用检测器预测类别作为提示,让SAM3判断物体是否在分布内。
  • 在Pascal-VOC和BDD100K上达新SOTA,AuROC超前0.05以上。
  • 无需扩散生成,推理高效,适合实时系统部署。

目标检测在医疗影像、监控和自动驾驶等领域表现优异,但在真实场景中面对未见物体时容易过度自信,带来安全隐患。为解决此问题,需有效检测分布外(OOD)物体。现有方法多利用CLIP等基础模型的语义知识进行后验零样本检测,但通常在特征空间评估,易受定位误差和外观变化影响。且当前最先进方法在推理时需耗时的扩散过程。本文提出SAM3-O2D2,高效利用SAM3-image基础模型实现零样本物体OOD检测:仅以检测器预测类别为提示,对比检测器与SAM3在相同位置的预测结果。若SAM3也检测到对应物体,则为分布内(ID);否则视为分布外(OOD)。实验表明,该方法显著超越现有零样本SOTA,在Pascal-VOC和BDD100K上的分布内数据集及MS-COCO和OpenImages上的分布外数据集上均取得新的最优AuROC和FPR95指标。

原文摘要 · Abstract (English)

Object detectors have shown remarkable performance in various fields, among these medical imaging, surveillance, and autonomous driving. However, they are prone to overconfidence when encountering unseen objects in real-world deployments, causing potential safety issues. To address this, detecting out-of-distribution (OOD) objects is essential for reliable object detection. Modern approaches leverage the broad semantic knowledge of foundation models such as CLIP for post-hoc few- and zero-shot OOD detection. However, these methods typically perform OOD assessment in feature space, which can be sensitive to object detector localization errors and variations in object appearance. Moreover, the current state-of-the-art (SOTA) zero-shot method performs computationally costly diffusion in inference. In this work, for our proposed zero-shot object OOD detection method SAM3-O2D2, we employ the SAM3-image foundation model in an efficient manner. Specifically, we prompt SAM3 only with the object detector's predicted classes and compare the predictions of the object detector and SAM3. An object is in-distribution (ID), if SAM3 also detects an object at the corresponding location. If SAM3 does not detect the prompted object, this indicates a mismatch between the detector's prediction and the image content, suggesting that the object is OOD. Experimental results show that our method significantly surpasses the so-far zero-shot SOTA method. Specifically, we achieve new SOTA AuROC and FPR95 metrics over both ID datasets Pascal-VOC and BDD100K and both OOD datasets MS-COCO and OpenImages.

零样本检测OOD检测SAM3目标检测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。