Bounding Box Anomaly Scoring for simple and efficient Out-of-Distribution detection
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Near-OOD Detection | CIFAR-100 Near-OOD (test) | AUROC80.26 | 93 | |
| Near-OOD Detection | CIFAR-10 | AUROC90.76 | 71 | |
| Out-of-Distribution Detection | ImageNet Far-OOD | AUROC95.13 | 52 | |
| Out-of-Distribution Detection | ImageNet-1K Near-OOD OpenOOD v1.5 | AUROC83.02 | 51 | |
| OOD Detection | ImageNet-1K | Average FPR9566.17 | 44 | |
| Near-OOD Detection | ImageNet-200 | AUROC84.09 | 36 | |
| Out-of-Distribution Detection | ImageNet FarOOD 1k | AUROC93.03 | 25 | |
| Out-of-Distribution Detection | CIFAR-100 In-Dist FarOOD Aggregate | AUROC0.8865 | 21 | |
| Out-of-Distribution Detection | CIFAR-10 FarOOD | AUROC95.15 | 15 |