Unified Multi-Layer Subspace Modeling for Cross-Domain OOD Detection
Abstract
Out-of-Distribution (OOD) detection remains a fundamental challenge for neural networks, whose predictions can be overconfident on inputs that deviate from the training distribution. Most post-hoc OOD detection methods derive scores from a single representation level (eg., logits or penultimate features) or combine multiple layers via depth selection or OOD-calibrated weighting. However, because OOD shifts are diverse, the most informative representation level can vary strongly across OOD types and domains, making fixed-layer choices and OOD-calibrated aggregation brittle. In this paper, we propose PRISM (Projected Representation with Intermediate-layer Subspace Modeling), a model-agnostic post-hoc OOD detection method that models a unified multi-layer feature representation rather than aggregating independently scored layers. PRISM fuses intermediate and deep features into a single hierarchical embedding, estimates an in-distribution (ID) principal subspace, and then combines two complementary signals: (i) a class-conditional Mahalanobis distance in the projected subspace and (ii) the residual energy orthogonal to the learned manifold. This simple design avoids OOD-tuned layer weighting while capturing both in-subspace semantic deviations and off-subspace anomalies. Across diverse benchmarks spanning natural images, medical imaging, and industrial visual inspection, PRISM achieves consistent state-of-the-art cross-domain OOD detection performance with a single default configuration across all evaluated domains and architectures. We further show that PRISM incurs minimal inference overhead, making it practical for real-world deployment.
Create a lesson
Metadata
- Comments
- ECCV 2026, Code: https://github.com/gkrumpl/prism
Related papers
DuCo: Exploiting Dual Cross-Layer Consistency for Sparse Geometric Attention
Shared title terminologycs.CVLiangyu Xiang, Junyu Gao, Xiaofeng Wang et al.
DocSEAM: Bidirectional Cross-Page Encoding for Multi-Page Document Understanding
Shared title terminologycs.CVHoang-Nhat Nguyen, Chen Change Loy
ACESO: Cross-Modal Distillation for Wearable-Free Freezing of Gait Detection in Parkinsons Disease
Shared title terminologycs.CVAryan Singh, Chandan Biswas
Tracking-by-detection in Multi-object Tracking: Survey and Experiments
Shared title terminologycs.CVYujin Yang, Kyujin Shim, Kangwook Ko et al.
When Semantically Consistent Encoding Meets View-Label Heterogeneity Modeling: A Unified Framework for Incomplete Multi-View Multi-Label Learning
Shared title terminologycs.CVChengliang Liu, Bo Li, Bob Zhang et al.
Unified Vision-Centric Pedestrian Crossing Action Prediction via Adaptive Patch Projection and Proactive Spatial Rectification
Shared title terminologycs.CVYao Tian, Le Yang, Binglu Wang