cs.CVAug 19, 2026

SPK: Eliciting Structured Prior Knowledge for Interpretable Out-of-Distribution Detection in Real-Time Object Detection

Authors: Changshun Wu, Weicheng He, Xiaowei Huang, Saddek Bensalem

Organizations: University of Liverpool, UK · Université Grenoble Aples, France · CSX-AI, France

Abstract

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

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Sparse Autoencoders for Interpretable Out-of-Distribution Detection

    Jul 13, 2026Ayush Karmacharya, Luke Luschwitz, Lucia Romero +2OOD Detection

  2. Knowledge-Guided Failure Prediction: Detecting When Object Detectors Miss Safety-Critical Objects

    Mar 26, 2026Jakob Paul Zimmermann, Gerrit Holzbach, David LerchObject DetectionAnomaly Detection

  3. PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliability

    Sep 10, 2026Vipul Bansal, Himanshu Buckchash, Balasubramanian Raman +1Distribution Shift RobustnessOOD Detection