arXiv:2606.22537cs.CV2026-06中稿 · ECCV

用负标签引导注意力与评分,提升视觉语言模型在异常检测中的表现

NegAS: Negative Label Guided Attention and Scoring for Out-of-Distribution Object Detection with Vision-Language Models

论文配图:NegAS: Negative Label Guided Attention and Scoring for Out-of-Distribution Object Detection with Vision-Language Models
图 1 · 摘自论文原文
  • 引入负标签引导注意力模块,让模型关注潜在异常区域
  • 设计适配sigmoid输出的异常评分函数,显著降低误报率
  • 适用于多种视觉语言模型,尤其适合安全关键场景

分布外(OOD)检测对保障安全关键应用中目标检测系统的鲁棒性至关重要。现有研究多集中于单模态检测器或基于视觉语言模型(VLM)的分类器,而基于VLM的目标检测器在OOD场景下的潜力尚未充分探索。本文首次尝试构建基于VLM的OOD目标检测方法。我们发现两个核心挑战:(i) 文本引导注意力会强化已知类别前景,但对背景统一处理,导致潜在的OOD区域未被有效利用;(ii) sigmoid多标签输出与softmax式OOD评分不兼容,需设计匹配的评分机制。为此,提出负标签引导注意力与评分(NegAS)。针对挑战(i),设计负标签引导注意力模块(NegA),使用大语言模型生成的视觉相似但语义不同的负标签,引导注意力聚焦潜在的OOD背景区域;针对挑战(ii),提出新型sigmoid-based OOD评分函数(NegS),融合已知与负标签,使已知类响应强、异常类响应弱。大量实验表明,该方法在保持已知类准确率的同时大幅提升OOD检测性能,例如在COCO数据集上将FPR95降低11.4%,在OpenImages上降低25.5%。尽管最初为密集型VLM检测器如YOLO-World设计,我们成功将其应用于基于查询的视觉语言模型框架Grounding DINO,并取得显著提升,验证了框架的通用性。

原文摘要 · Abstract (English)

Out-of-Distribution (OOD) detection is essential for ensuring the robustness and reliability of object detection systems deployed in safety-critical applications. While prior research has mainly focused on uni-modal detectors or vision-language model (VLM) based classifiers, the potential of VLM-based object detectors in OOD scenarios remains underexplored. In this work, we take the first step toward building OOD object detection methods upon VLMs. We identify two challenges specific to VLM detectors: (i) their text-guided attention enhances foreground with ID labels but treats background uniformly, leaving potential OOD regions unexploited for separating in-distribution (ID) from OOD instances; and (ii) their sigmoid-based multi-label outputs are incompatible with softmax-based OOD scores, calling for scoring functions consistent with VLM probabilistic outputs. Hence, we introduce Negative Label Guided Attention and Scoring (NegAS). To address (i), we propose a negative label guided attention module (NegA), where LLM-generated, visually-similar but semantically-different negative labels are used to guide attention toward potential OOD background regions. To address (ii), we introduce a novel sigmoid-based OOD scoring function (NegS) that leverages both ID and negative labels, producing strong responses for ID instances and suppressed responses for OOD ones. Extensive experiments demonstrate that our approach improves OOD detection performance by a large margin while maintaining ID accuracy, e.g., reducing the FPR95 by 11.4% on the COCO dataset and 25.5% on the OpenImages dataset compared to the baseline model. While initially designed for dense VLM detectors like YOLO-World, we successfully adapt NegAS to Grounding DINO, a query-based VLM transformer and achieve significant improvements, demonstrating the generalizability of our framework.

异常检测视觉语言模型目标检测负样本

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