Skip to content
Preprint

Unified Multi-Layer Subspace Modeling for Cross-Domain OOD Detection

Sep 2026 · 0 citations · 82 references
Computer Science

TL;DR

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, achieves consistent state-of-the-art cross-domain OOD detection performance with a single default configuration.

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.

View source

Similar papers

Book Open access Aug 2026

When Models Leave the Training Distribution: A Tutorial on OOD Detection

This tutorial covers recent developments in OOD detection from both theoretical and practical perspectives, including four major categories: (1) post-hoc methods, (2) training-based methods with auxiliary outliers, (3) training methods without auxiliary outliers, and (4) foundation model-based approaches, along with re...

Suranga Seneviratne, Dishanika Denipitiyage, Sanjay Chawla et al. · 0 citations
Open access Aug 2026

Multi-level visual-language models feature learning for generalizable anomaly detection

A Multi-Level Feature Learning (MLFL) framework is proposed to enhance the zero-shot capability of CLIP via hierarchical alignment and introduces a Generalized Prompt Distillation (GPD) module that distills object-aware prompts into a unified representation.

Jianfeng Qiu, Junfa Li, Juan Xie et al. · 0 citations
Conference Aug 2026

HiDD-Net: a hierarchical dual-domain distillation network for efficient deepfake detection

HiDD-Net is proposed, a hierarchical dual-domain distillation framework that combines a teacher network that integrates multi-granularity spatial views via a cross-attention mechanism to explicitly align fine-grained anomalies with global context, and a compact student model that achieves a competitive cross-dataset av...

Linfang Shang, Long-Fei Zhang, Tong-Fei Yuan · 0 citations
#artificial intelligence Preprint Sep 2026

LAYERSCOPE: A Layerwise Characterization of Video and Multimodal Learned Representations

We propose LAYERSCOPE, a label-free, layerwise framework that aims to characterize a model's learned representations in video and multimodal settings. Evaluating downstream performance using representations from final or intermediate layers typically requires large amounts of labeled data, repeated task-specific evalua...

Sandra Arcos-Holzinger, Debashish Chakraborty, Rohita Mocharla et al. · 0 citations
Preprint Sep 2026

Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation

Out-of-distribution (OOD) detection is crucial for safe deployment of medical AI systems, where domain shifts arise across institutions, acquisition protocols, and patient populations. VLMs enable zero-shot OOD detection by embedding images into a language-aligned latent space, where cross-modal similarity serves as a...

Shyam Nandan Rai, Francesco Di Salvo, Sebastian Doerrich et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.