cs.LGMar 24, 2026

Bounding Box Anomaly Scoring for simple and efficient Out-of-Distribution detection

Authors: Mohamed Bahi Yahiaoui, Geoffrey Daniel, Loïc Giraldi, Jérémie Bruyelle, Julyan Arbel

Organizations: CEA, DES, IRESNE, DEC, SESC, Saint-Paul-lez-Durance, 13115, France · Université Paris-Saclay, CEA, SGLS, Gif-sur-Yvette, 91190, France · Université Grenoble Alpes, Inria, CNRS, Grenoble INP, LJK, Grenoble, 38000, France

Abstract

Out-of-distribution (OOD) detection aims to identify inputs that differ from the training distribution in order to reduce unreliable predictions by deep neural networks. Among post-hoc feature-space approaches, OOD detection is commonly performed by approximating the in-distribution support in the representation space of a pretrained network. Existing methods often reflect a trade-off between compact parametric models, such as Mahalanobis-based scores, and more flexible but reference-based methods, such as k-nearest neighbors. Bounding-box abstraction provides an attractive intermediate perspective by representing in-distribution support through compact axis-aligned summaries of hidden activations. In this paper, we introduce Bounding Box Anomaly Scoring (BBAS), a post-hoc OOD detection method that leverages bounding-box abstraction. BBAS combines graded anomaly scores based on interval exceedances, monitoring variables adapted to convolutional layers, and decoupled clustering and box construction for richer and multi-layer representations. Experiments on image-classification benchmarks show that BBAS provides robust separation between in-distribution and out-of-distribution samples while preserving the simplicity, compactness, and updateability of the bounding-box approach.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detection

    Mar 24, 2026Shreen Gul, Mohamed Elmahallawy, Ardhendu Tripathy +1OOD Detection

  2. A Robust Out-of-Distribution Detection Framework via Synergistic Smoothing

    May 5, 2026Maria Stoica, Abdelrahman Hekal, Alessio LomuscioAdversarial RobustnessOOD Detection

  3. Sparse Autoencoders for Interpretable Out-of-Distribution Detection

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