SPK:在实时目标检测中激发结构化先验知识以实现可解释的分布外检测

·

研究论文 · 2026/08/21

目标检测器常对训练类别之外的物体产生过度自信的预测,导致所谓的分布外(OoD)幻觉。现有方法通常直接在检测器表示上构建评分函数,或修改检测器以抑制幻觉,但表示中隐含的潜在先验未被充分利用。为此,我们提出结构化先验知识(SPK)框架,显式地从预训练检测器中提取OoD相关先验。SPK利用分布内数据和幻觉诱导样本作为诊断监督,提取检测器决策背后的部分级语义概念,并结合几何和上下文先验,形成紧凑的五维SPK表示用于OoD检测。在多种检测器架构和多个OoD基准上的实验表明,SPK达到了最先进的性能。我们的发现揭示,预训练检测器编码了比通常利用的更丰富的潜在知识,且这些知识可被显式提取并组织成紧凑、结构化、可解释的知识空间,用于预测可靠性分析,为提高检测器可靠性提供了主动途径。代码和数据已公开。

该论文提出了一种新颖的OoD检测方法,通过显式提取检测器中的潜在先验知识,不仅提高了检测性能,还增强了可解释性,为提升目标检测器的可靠性提供了新思路。

Object detectors often produce over-confident predictions for objects outside their training categories, leading to so-called out-of-distribution (OoD) hallucinations. Existing approaches for detecting or mitigating such hallucinations typically either construct scoring functions directly over learned object detector representations or modify the object detector itself to suppress hallucination emergence. However, the latent priors implicitly encoded in these representations remain largely unexplored and have not been explicitly decoded for OoD detection. To uncover and exploit these latent priors, we propose Structured Prior Knowledge (SPK), a hallucination-oriented framework that explicitly elicits OoD-relevant priors from pretrained object detectors. Specifically, SPK leverages in-distribution data and hallucination-inducing samples as diagnostic supervision to elicit part-level semantic concepts underlying object detector decision-making, rather than using them merely for rejection or object detector adaptation. The elicited semantic priors are further integrated with geometric and contextual priors to form a compact five-dimensional SPK representation for OoD detection. Extensive experiments across diverse object detector architectures and multiple OoD benchmarks demonstrate that SPK achieves state-of-the-art OoD detection. Our findings reveal that pretrained object detectors already encode substantially richer latent knowledge than is typically exploited for OoD detection. More importantly, this knowledge can be explicitly elicited and organized into a compact, structured, and interpretable knowledge space for prediction reliability analysis. This suggests a promising proactive route for improving object detector reliability by explicitly uncovering and leveraging latent priors. Code and data are available at: https://gricad-gitlab.univ-grenoble-alpes.fr/dnn-safety/spk

阅读原文

参与讨论