Manuscript Offprint
arXiv:2609.06785Unified Multi-Layer Subspace Modeling for Cross-Domain OOD Detection
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Gerhard Krumpl, Henning Avenhaus, and Horst Possegger
Institute of Visual Computing, Graz University of Technology, Austria gerhard.krumpl@icg.tugraz.at, possegger@tugraz.at
KESTRELEYE GmbH, Austria
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 (e.g., 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.
Keywords: Out-of-Distribution Detection · Intermediate Layer Feature Fusion
1 Introduction
Machine learning models have demonstrated strong performance across diverse domains [31, 57, 63] and are now widely deployed in real-world systems. Despite their strong in-distribution (ID) accuracy, such models can produce highly confident yet incorrect predictions for inputs that deviate substantially from the training distribution, creating a mismatch between confidence and correctness that may lead to silent and potentially safety-critical failures [24, 51, 54]. This is

(a) Aggregate performance across all benchmarks (top: AUROC↑, bottom: FPR95↓).

(b) Cross-domain AUROC correlation across methods.
Fig. 1: Comprehensive evaluation of post-hoc OOD detection across natural, medical, and industrial benchmarks. (a) Mean AUROC ( ) and FPR95 ( ) averaged over all datasets, OOD splits, and architectures. (b) Cross-domain correlation between ImageNet-1k [14] (OpenOOD [83]) and OpenMIBOOD [19] performance (AUROC). Our PRISM (orange) consistently exhibits strong performance across domains.
particularly concerning in high-consequence applications, where erroneous predictions may directly affect safety or operational reliability [26, 28, 50]. For example, in medical imaging [19], models may fail to deliver accurate diagnoses due to scanner variability or unfamiliar instruments, while in industrial inspection [10,35] systems may misclassify foreign materials as food products or fail to detect damage to machinery or infrastructure during quality control. These limitations motivate out-of-distribution (OOD) detection: identifying inputs outside the training distribution to improve deployment reliability.
Post-hoc OOD detection is particularly attractive in practice because it can be applied to pretrained models without retraining, thereby preserving ID accuracy and avoiding costly re-optimization. Accordingly, a wide range of post-hoc approaches have been proposed, leveraging predicted probabilities [27, 46], output logits [25, 45], or feature embeddings from the penultimate layer [40, 58, 66].
Our motivation arises from the observation that post-hoc OOD performance varies substantially across OOD type and application domains (see Fig. 1) [19, 35]. Recent benchmarks such as OpenMIBOOD [19] and ICONIC-444 [35] provide large-scale OOD evaluations in medical and industrial domains, respectively, and show that methods performing strongly on natural image benchmarks [83] often degrade markedly in these specialized settings.
A key driver of this variability is that post-hoc OOD detection methods typically rely on a single network layer for discrimination, yet the most informative layer depends strongly on the ID dataset and OOD type [19,37]. Consequently, most existing methods largely neglect information in intermediate layers of deep neural networks, implicitly assuming that the final representation alone is sufficient for OOD detection. While deep layers emphasize representations highly specialized for the ID task, intermediate and shallow layers capture complement tary information that can be critical for distinguishing diverse OOD characteristics, which may manifest differently as network depth increases. Other methods exist, but prior multi-layer methods either select a single layer [80], aggregate layer-wise scores [20,37,61], or calibrate aggregation/hyperparameters using synthetic or held-out OOD data [16, 40, 67], introducing additional complexity and OOD dependence. This raises a key question: how can intermediate representations be effectively integrated into a unified OOD detection framework that remains reliable across domains and OOD types without OOD-specific calibration or tuning?
To address this question, we propose PRISM, an architecture-agnostic post-hoc OOD detection method designed for cross-domain robustness. PRISM follows a simple fuse-then-model principle: instead of computing and aggregating layer-wise OOD scores, it first integrates intermediate representations from shallow to deep layers into a unified feature space and then performs statistical modeling once in that fused representation. The fused features are projected into a compact subspace learned solely from ID training data, and PRISM combines complementary distance- and residual-based signals into a single OOD score. This design avoids layer selection, layer-wise aggregation heuristics, and OOD-dependent calibration while retaining the robustness benefits of statistical feature modeling. Our main contributions are as follows:
– We show that layer-wise aggregation and OOD-based calibration is highly sensitive to the chosen validation OOD set, leading to unstable cross-domain behavior.
– We introduce a unified multi-layer subspace modeling principle that eliminates layer selection, score aggregation, and OOD-dependent calibration, while retaining the robustness benefits of statistical feature modeling.
– We evaluate PRISM across natural, medical, and industrial benchmarks under a shared configuration, achieving the best overall mean AUROC and the best average rank across datasets without OOD-based calibration.
Early post-hoc methods derive OOD scores directly from the model output. Probability-based approaches, such as the maximum softmax probability (MSP) [27], identify OOD samples by low prediction confidence. Subsequent works leverage logits directly, including the maximum logit score (MLS) [25] and energy-based OOD detection (EBO) [45]. Several model enhancement approaches further refine output-based detection by modifying activations or weights at inference time, for example, through activation clipping [64] or sparsification [15,65].
Feature-based post-hoc methods instead model the distribution of deep representations and measure deviation using distance or density-based criteria. Mahalanobis distance-based detection [40] fits class-conditional Gaussian distributions to penultimate-layer features and uses the minimum distance to the class means as an OOD score. Several extensions refine this idea by normalizing or using relative scoring [58, 84], while nearest-neighbor approaches [66] exploit local structure in the embedding space. ViM [74] complements feature distances with residual information derived from a principal subspace. Kernel PCA [18] replaces linear PCA with non-linear kernel mappings in the penultimate feature space and uses reconstruction error or distance as an OOD score. Overall, these approaches use the model output, the penultimate layer, or both, thereby ignoring information from intermediate layers. PRISM instead explicitly leverages shallow-to-deep representations by modeling a fused feature hierarchy.
Existing multi-layer strategies typically leverage intermediate feature activations and compute layer-specific OOD scores, which are then aggregated. For example, ATS [37] models activation statistics across layers, while GRAM [61] derives OOD scores from deviations in layer-wise Gram matrices capturing second-order feature correlations. CORES [67] estimates consistency of representations across layers using statistical measures, whereas NAP [55] binarizes intermediate activations and computes Hamming distances to characterize deviations from ID patterns. Similarly, multi-layer Mahalanobis-based approaches [4] extend distance-based detection by estimating class-conditional statistics at multiple depths. While intermediate representations capture complementary information, these strategies introduce additional design choices, aggregation heuristics, or calibration procedures that often rely on OOD or synthetic data and are sensitive to domain shifts.
Recent large-scale OOD detection benchmarks across medical [19] and industrial [35] domains show that many post-hoc methods exhibit substantial performance variation outside the settings in which they were originally developed. In particular, a large fraction of OOD detectors are designed and validated on CIFAR [34] or ImageNet-based [14] benchmarks, where they often perform strongly, but show markedly reduced reliability when transferred to domain-specific scenarios. This suggests that many methods implicitly adapt to the statistical characteristics of the benchmarks on which they are optimized [36, 83]. In contrast, statistical and distance-based approaches that operate directly in feature space have been observed to be more stable across diverse settings, such as architectures and training methodologies, motivating methods that exploit feature geometry in a principled, domain-agnostic manner [36, 52].
Overall, prior post-hoc methods demonstrate the effectiveness of feature-space geometry and multi-layer representations, but they differ substantially in how they incorporate hierarchical information. In this work, we adopt a simple design choice that is underexplored in post-hoc OOD detection. Rather than selecting individual layers or aggregating per-layer scores, we jointly leverage representations from shallow to deep layers and model the dominant ID structure in a low-dimensional subspace. By deriving a single OOD score from this unified representation, our approach avoids aggregation heuristics, OOD-based calibration, and per-benchmark tuning while retaining the robustness benefits of statistical feature modeling.
3 Method
We first formalize the OOD detection problem (Sec. 3.1) and review methods based on Mahalanobis distance as a widely used post-hoc baseline (Sec. 3.2). We then introduce PRISM (Sec. 3.3), which follows a fuse-then-model design: it constructs a unified multi-layer representation, models the in-distribution (ID) structure in a principal subspace, and derives a single OOD score from projected Mahalanobis distance and residual energy.
3.1 Problem Statement
We consider an image input space and a set of class labels . Let denote a classifier pretrained on an ID dataset , where samples are drawn i.i.d. from the joint distribution over . We refer to as the in-distribution (ID) input space and denote its associated label space by . At deployment, the classifier may encounter inputs that do not belong to , defining the out-of-distribution (OOD) input space . We target the semantic OOD regime, where OOD samples belong to classes unseen during training, such that the corresponding label space satisfies .
OOD detection is formulated as a binary decision problem based on a scoring function . An OOD detector is defined as:
where is a threshold typically chosen to retain a high fraction of ID samples (e.g., 95% true positive rate).
3.2 Mahalanobis Distance for OOD Detection
We briefly review Mahalanobis-based OOD detection [40] to establish notation and motivate PRISM's reformulation in a unified fused feature space. Mahalanobis distance is a widely used post-hoc baseline that models ID features using class-conditional Gaussians. Let denote a feature representation extracted from a pretrained classifier, typically from the penultimate layer. Given the ID training set , the class-wise means and shared covariance matrix are estimated as

(a) MDS++ (Shallow)

(b) MDS++ (Deep)

(c) PRISM
Fig. 2: Comparison of OOD score distribution across layer depths. Histograms represent data sampled from PhaKIR (ID) and Cholec80 (Near-OOD) using a ResNet-18. (a) MDS++ applied to the first ResNet-18 block (shallow features). (b) MDS++ applied to the penultimate layer (deep features). (c) PRISM integrates the full architectural hierarchy (shallow to deep features).
where denotes the number of ID samples in class c and N the total number of ID samples. The Mahalanobis distance of a test sample x to class c is
and the final OOD score is computed as the negative of the minimum distance to all class centroids. Although effective, Mahalanobis-based detection is sensitive to the choice of feature representation, as also shown in Fig. 2: applying it to shallow vs. deep layers yields markedly different ID-OOD separation across datasets. A common remedy is to compute Mahalanobis scores at multiple layers and aggregate them, either by averaging or by learning weights (e.g., via logistic regression) using held-out or synthetic OOD data [4,40]. However, while such aggregation can improve performance on specific benchmarks, it is often sensitive to the chosen OOD validation distribution and may not generalize beyond it. As shown in Fig. 3, the layer weights learned by an OOD-calibrated aggregator (MDSEns [40]) vary substantially with the chosen OOD validation set: shallow layers are favored for some medical shifts (e.g., MIDOG [7]), intermediate layers for others (e.g., PhaKIR [59]), and deeper layers for ImageNet-1k [14]; even within the same domain, different near-OOD splits (e.g., SSB-Hard [73] vs. NINCO [11]) lead to distinct optimal layer weights. Together, Figs. 2 and 3 indicate that the preferred representation depth varies substantially across domains or OOD definitions. This highlights a practical deployment trade-off: OOD-calibrated ensembles such as MDSEns can benefit from representative held-out OOD data for layer-weight calibration, but the resulting aggregation may be tied to the calibration distribution. To overcome the need for such calibration, we require an alternative that preserves information across depth without OOD-calibrated aggregation, which we realize in PRISM by fusing representations prior to statistical modeling. With PRISM, we thus prioritize transferable ID-only deployment by estimating all statistics from ID data and using a fixed configuration when representative OOD data are unavailable.

(a) MIDOG (OpenMIBOOD)
(b) PhaKIR (OpenMIBOOD)
(c) ImageNet-1k (OpenOOD)
Fig. 3: Sensitivity of layer aggregation to OOD validation data. For three benchmark tasks: (a) MIDOG, (b) PhaKIR, and (c) ImageNet-1k, we fit linear aggregation weights over ResNet blocks 1–4 using one OOD dataset as validation and evaluate the resulting model across all OOD test sets. The stacked bar plots (top) show the normalized layer weights learned for each calibration dataset, while the bars (bottom) indicate the corresponding mean FPR95 averaged over all OOD datasets.
3.3 PRISM: Projected Representation with Intermediate-layer Subspace Modeling
PRISM is based on a simple principle: instead of computing and aggregating layer-wise OOD scores, we first integrate intermediate representations across network depth into a single feature space and then apply statistical modeling once. The method consists of three steps: (i) construction of a unified multi-layer representation, (ii) approximating its ID structure using principal component analysis (PCA), and (iii) deriving an OOD score from projected Mahalanobis distance and residual energy. All feature statistics, PCA parameters, and class-conditional distributions are estimated using ID training data only. This formulation avoids selecting a single best layer, layer-wise aggregation heuristics, and OOD-dependent calibration.
Multi-Layer Feature Construction. Let denote the feature maps extracted from selected intermediate layers of the classifier . The structure of these activations depends on the underlying architecture. For convolutional neural networks (CNNs), represents spatial feature maps with channels, whereas for Vision Transformers (ViTs), corresponds to a sequence of tokens of dimension . To unify these representations while preserving global context, we apply an architecture-agnostic pooling operator that aggregates over the non-channel dimensions:
In practice, we use global average pooling for CNN feature maps and token averaging for transformer layers, resulting in a single vector per layer. To prevent layers with larger activation magnitudes from dominating the joint representation, each pooled vector is -normalized:
Finally, the normalized representations are concatenated to form a single multi-layer feature vector:
where is the dimensionality of the joint feature space. This construction yields a single feature vector that jointly captures low-level structural and high-level semantic information. This per-layer normalization also reduces architecture- and dataset-dependent scale differences before PCA and subsequent scoring, improving the stability of the downstream projected-distance and residual-energy terms.
Subspace Modeling of ID Data. It is commonly assumed that neural network representations of ID data lie on a low-dimensional manifold and can be well-approximated by a low-dimensional subspace [74, 81]. In PRISM, we apply this assumption to our fused multi-layer representation and model its dominant ID variability with a linear subspace estimated by PCA. Given fused representations from , we compute the global mean and derive the principal subspace from the top eigenvectors of the empirical covariance matrix. This subspace captures the dominant modes of variability of the ID data while discarding low-variance directions that are weakly supported by the training data.
At inference, a feature vector is decomposed into its projection and its orthogonal residual:
Here, captures the alignment with the dominant ID semantic patterns, while captures feature components orthogonal to the ID manifold.
Projected Mahalanobis Distance. PRISM performs class-conditional Mahalanobis modeling directly in the unified projected space of the fused representation, yielding a single score without layer-wise scoring or aggregation. Using the projected coordinates of the ID training data, we estimate class-wise means and a shared covariance matrix in the PCA space. The projected Mahalanobis score for a sample is then defined as
Residual Energy. Even if a sample is close to a class-conditional mean within the principal subspace, it may contain components that are not supported by the learned ID manifold. We capture this via the residual energy
where the equality follows from . The residual energy measures how much of the representation cannot be explained by the ID subspace, serving as a complementary signal that captures novel or unsupported feature directions.
Out-of-Distribution Detection with PRISM. Both and are nonnegative anomaly magnitudes. PRISM combines them into a single score:
This emphasizes samples that deviate from the ID structure both within and outside the principal subspace. We negate the product so that larger indicates more ID-like samples, consistent with Eq. (1). In contrast to weighted sums or learned ensembles, this combination introduces no balancing coefficients and requires no OOD-dependent calibration. We evaluate alternative score combinations in the supplementary material: additive fusion remains competitive but performs slightly worse than the multiplicative rule used in PRISM.
4 Experiments
We evaluate PRISM for cross-domain robustness and architectural generalization. Sec. 4.1 describes the evaluation protocol and benchmarks. In Sec. 4.2, we compare against 22 state-of-the-art post-hoc OOD detection methods across natural, medical, and industrial benchmarks [19,35,83]. Sec. 4.3 reports ablation results and analyzes the computational complexity.
4.1 Experimental Setup
Benchmarks. We evaluate PRISM on three large-scale OOD detection benchmarks: OpenOOD [78,82,83], OpenMIBOOD [19], and ICONIC-444 [35]. These benchmarks cover diverse acquisition settings and semantic granularity across natural images, industrial vision, histopathology, endoscopy, and MRI, enabling systematic evaluation of cross-domain robustness.
OpenOOD includes CIFAR-10/100 [34] and ImageNet-1k [14] as ID datasets. While CIFAR experiments are reported for completeness (see supplementary material), we focus on the large-scale ImageNet-1k task. OpenMIBOOD evaluates cross-domain generalization across three medical tasks: histopathology (MIDOG [7]), endoscopic video (PhaKIR [59]), and brain MRI (OASIS-3 [38]). ICONIC-444 evaluates OOD detection in high-resolution industrial vision systems and comprises four ID tasks (Almond, Wheat, Kernels, and Food-grade).
OpenOOD and OpenMIBOOD define near- and far-OOD splits based on benchmark-specific protocols, while ICONIC-444 also introduces extreme-OOD splits. To enable consistent cross-domain comparison, we standardize the evaluation into near-, far-, and extreme-OOD categories across all benchmarks, strictly adhering to official splits and extending them only where not explicitly defined. Across all tasks, we evaluate 21 OOD datasets spanning natural, medical, and industrial shifts (MNIST [39], FMNIST [76], Tiny ImageNet [69], SVHN [53], Textures [13], Places365 [85], SSB-Hard [73], NINCO [11], iNaturalist [72], OpenImage-O [74], CCAgT [3,6], FNAC 2019 [60], Cholec80 [71], EndoSeg15 [12], EndoSeg18 [2], Kvasir [30], CATARACTS [1], ATLAS [42],
BraTS [8, 9, 49], MDS-Heart [5, 62, 68], CHAOS [32, 33]). A detailed overview of ID tasks, OOD datasets, and their grouping into near-, far-, and extreme-OOD categories is provided in the supplementary material.
Architectures. For the primary evaluation, we use the benchmark-defined backbones: ResNet-18 [23] for CIFAR-10/100, PhaKIR, and ICONIC-444; ResNet-50 is used for ImageNet-1k and MIDOG; and task-specific R(2+1)D [70] for the OASIS-3 brain MRI task. To evaluate architectural robustness, we additionally consider ViT-B/16 [17] and Swin-T [47] on ImageNet-1k, and CCT-7/7x2 [21] and ConvNeXt-S [48] on ICONIC-444.
Layer Selection Strategy & Subspace Dimension. We use an architecture-specific layer-selection rule: for each backbone, we extract features from standard stage/block outputs that are uniformly spaced across depth (stage outputs for convolutional networks; regularly spaced blocks for transformers; layers listed in the supplement). Unless stated otherwise, the PCA dimension is fixed to for all experiments, independent of dataset, domain, or backbone. This avoids benchmark-specific tuning and keeps the protocol strictly ID-only across all evaluations.
Evaluation Metrics. Following established protocol [11,27,35,45,64,83], we report the false positive rate at recall 95% (FPR95) and the area under the receiver operating characteristic curve (AUROC). When reporting aggregated results, we (i) first average over the OOD test sets within each OOD category/task and, then (ii) average across categories/tasks, giving each category/task equal weight.
Evaluation Protocol. All inputs follow the benchmark's default preprocessing and are resized to the input shape required by the corresponding backbone. We compare PRISM against 22 state-of-the-art post-hoc OOD detection methods. For methods requiring ID statistics, we use the training split of the ID dataset. For methods requiring hyperparameter selection, we follow each benchmark's official validation protocol. MDSEns is the only method compared that requires OOD data for calibration; it is included for completeness (as a top-performing OpenMIBOOD [19] reference) and is marked accordingly in the results. Additional implementation details are provided in the supplementary material.
4.2 Benchmark Results
Cross-Domain OOD Detection Performance. Tab. 1 compares PRISM against 22 post-hoc OOD detection methods across all three domains. PRISM achieves the best overall mean AUROC (93.92%), improving over the second-best method (MDS++, 89.13%) by 4.79 points. It is also the only method that consistently remains among the top-performing approaches across all three domains. To further assess robustness beyond dataset averages, Fig. 4 reports AUROC averaged over near-, far-, and extreme-OOD categories. PRISM maintains high AUROC from near- to extreme-OOD, indicating robustness to increasing distributional shifts.
Table 1: AUROC ( ) performance across diverse imaging domains. Comparison of post-hoc OOD detection methods on natural (OpenOOD), medical (OpenMIBOOD), and industrial (ICONIC-444) benchmarks. Values represent the mean AUROC (%) across the benchmark-specific OOD test sets. Standard backbones are employed: ResNet-18 for CIFAR-10/100 (C10, C100), PhaKIR, and ICONIC-444; ResNet-50 for ImageNet-1k (IN-1k) and MIDOG; and R(2+1)D for OASIS-3. The best and second-best results in each column are highlighted in bold and underlined, respectively. * Results of MDSEns should be interpreted with caution, as discussed in Sec. 3.2 and in prior benchmark analyses [19].
| Method | OpenOOD | OpenMIBOOD | ICONIC-444 | Average | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| C10 | C100 | IN-1k | Mean | MIDOG | PhaKIR | OASIS-3 | Mean | Almond | Wheat | Kernels | FG | Mean | ||
| MSP [27] | 87.97 | 78.55 | 77.94 | 81.49 | 64.23 | 39.99 | 69.23 | 57.82 | 75.04 | 39.86 | 86.74 | 90.61 | 73.06 | 70.79 |
| MDS [40] | 88.66 | 63.83 | 89.83 | 80.77 | 78.14 | 73.66 | 98.73 | 83.51 | 97.00 | 98.64 | 96.65 | 88.96 | 95.31 | 86.53 |
| MDSEns [40] | 91.79 | 78.24 | 54.41 | 74.82 | 96.87 | 98.49 | 99.89 | 98.41 | 93.38 | 98.44 | 95.82 | 87.59 | 93.81 | 89.01 |
| GRAM [61] | 91.78 | 85.00 | 85.61 | 87.46 | 89.49 | 36.46 | 99.42 | 75.12 | 97.77 | 98.70 | 97.82 | 95.89 | 97.55 | 86.71 |
| EBO [45] | 87.49 | 81.01 | 41.68 | 70.06 | 66.54 | 32.94 | 65.83 | 55.10 | 64.50 | 26.11 | 84.35 | 94.09 | 67.26 | 64.14 |
| RMDS [58] | 90.36 | 80.66 | 88.62 | 86.54 | 51.30 | 53.65 | 83.66 | 62.87 | 93.11 | 85.55 | 97.32 | 92.10 | 92.02 | 80.48 |
| ReAct [64] | 86.72 | 81.35 | 69.70 | 79.26 | 65.66 | 34.08 | 80.94 | 60.23 | 73.91 | 77.88 | 91.32 | 94.18 | 84.32 | 74.60 |
| MLS [25] | 87.43 | 80.95 | 70.21 | 79.53 | 65.71 | 32.94 | 65.87 | 54.84 | 65.08 | 26.11 | 84.35 | 93.65 | 67.30 | 67.22 |
| VIM [74] | 91.67 | 78.38 | 85.54 | 85.19 | 79.12 | 64.46 | 99.48 | 81.02 | 97.36 | 98.28 | 97.85 | 84.68 | 94.54 | 86.92 |
| KNN [66] | 91.49 | 80.87 | 85.64 | 86.00 | 76.17 | 51.12 | 99.28 | 75.52 | 94.16 | 88.82 | 97.03 | 89.87 | 92.47 | 84.66 |
| DICE [65] | 83.67 | 82.06 | 39.29 | 68.34 | 60.12 | 31.64 | 30.49 | 40.75 | 58.52 | 23.45 | 81.35 | 94.27 | 64.40 | 57.83 |
| FeatNorm [80] | 93.22 | 73.56 | 73.38 | 80.09 | 39.76 | 61.58 | 62.56 | 54.63 | 43.41 | 34.25 | 28.43 | 37.89 | 35.99 | 56.90 |
| ASH-b [15] | 72.99 | 81.08 | 26.17 | 60.08 | 68.94 | 51.10 | 84.37 | 68.14 | 66.86 | 33.33 | 74.22 | 91.12 | 66.38 | 64.87 |
| ASH-a [15] | 79.48 | 82.48 | 69.01 | 76.99 | 65.04 | 53.94 | 87.59 | 68.86 | 66.94 | 61.40 | 84.67 | 94.70 | 76.93 | 74.26 |
| Residual [74] | 86.41 | 52.10 | 84.23 | 74.24 | 80.93 | 76.44 | 98.84 | 85.40 | 96.24 | 98.72 | 95.32 | 54.68 | 86.24 | 81.96 |
| SHE [84] | 90.00 | 81.40 | 79.51 | 83.64 | 76.00 | 55.71 | 96.79 | 76.17 | 93.12 | 93.99 | 95.90 | 91.89 | 93.72 | 84.51 |
| GEN [46] | 88.84 | 81.17 | 87.33 | 85.78 | 63.38 | 41.01 | 69.23 | 57.87 | 75.18 | 40.69 | 87.64 | 93.85 | 74.34 | 72.66 |
| ATS [37] | 90.65 | 82.71 | 74.05 | 82.47 | 80.12 | 57.10 | 92.31 | 76.51 | 90.28 | 86.65 | 87.83 | 85.74 | 87.63 | 82.20 |
| SCALE [77] | 81.91 | 82.18 | 69.02 | 77.70 | 64.40 | 40.95 | 94.20 | 66.52 | 66.11 | 56.74 | 84.64 | 94.67 | 75.54 | 73.25 |
| IDBD [43] | 91.64 | 80.27 | 81.97 | 84.63 | 66.41 | 37.42 | 87.76 | 63.87 | 92.50 | 86.35 | 95.29 | 91.97 | 91.53 | 80.01 |
| MDS++ [52] | 91.08 | 80.53 | 89.88 | 87.16 | 80.72 | 71.69 | 99.88 | 84.09 | 97.04 | 98.79 | 98.12 | 90.54 | 96.12 | 80.13 |
| NCI [44] | 89.09 | 81.18 | 84.60 | 84.96 | 73.34 | 44.74 | 79.38 | 65.82 | 85.54 | 80.21 | 95.38 | 94.50 | 88.91 | 79.90 |
| PRISM (Ours) | 94.50 | 86.62 | 89.96 | 90.36 | 91.02 | 92.02 | 99.98 | 94.85 | 98.39 | 99.56 | 98.14 | 90.13 | 90.56 | 93.92 |
On OpenOOD, PRISM achieves the highest mean AUROC (90.36%), surpassing both GRAM and MDS++, which each perform strongly only on specific subsets (e.g., CIFAR or ImageNet-1k). On OpenMIBOOD, PRISM attains 94.86%, substantially improving over MDS++ (84.09%), and emerges as the strongest ID-only alternative to the OOD-calibrated MDSEns (98.41%). On ICONIC-444, PRISM reaches 96.56%, closely matching the strongest industrial baseline (GRAM, 97.55%) and exceeding MDS++ (96.12%).
In contrast, competing approaches exhibit pronounced domain-dependent variability. For example, MDSEns achieves excellent results on OpenMIBOOD but drops to 54.41% on ImageNet-1k, consistent with the sensitivity of OOD-calibrated aggregation (cf. Fig. 3). GRAM performs strongly on ICONIC-444 (97.55%) yet degrades substantially on medical tasks (75.12%). Other methods, such as FeatNorm and DICE, show competitive performance on selected datasets but fail when transferred to other domains (e.g., DICE: 30.49% on OASIS-3). Overall, these observations suggest that many post-hoc detectors are implicitly tailored to particular benchmark regimes and rely on design choices (e.g., logit-only scoring, fixed-depth features, or OOD-calibrated aggregation) whose effectiveness varies across domains and OOD definitions. Interestingly, we further observe that several logit-based methods (e.g., MLS, SCALE) degrade
Table 2: Ablation of PRISM components and PCA dimensionality. Performance is reported as AUROC (%) (↑) and FPR95 (%) (↓), averaged over all near-, far-, and extreme-OOD test sets across the three benchmarks. For OpenOOD, results are shown on the large-scale ImageNet-1k task. (a) Contribution of projected Mahalanobis distance () and residual energy (). (b) Sensitivity to the PCA projection dimension. Best and second-best results are highlighted in bold and underlined, respectively.
(a) Component ablation.
| OpenOOD | OpenMIBOOD | ICONIC-444 | Average | |||||
|---|---|---|---|---|---|---|---|---|
| AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | |
| ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | |
| ✓ | 89.94 | 35.02 | 91.42 | 32.32 | 95.21 | 16.05 | 92.19 | 29.00 |
| ✓ | 76.39 | 58.20 | 95.72 | 17.21 | 93.82 | 20.30 | 88.64 | 31.90 |
| ✓ | 89.88 | 35.83 | 94.86 | 21.10 | 95.67 | 14.02 | 93.47 | 23.65 |
(b) PCA dimensionality ablation.
| PCA-Dim | OpenOOD | OpenMIBOOD | ICONIC-444 | Average | ||||
|---|---|---|---|---|---|---|---|---|
| AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | |
| 128 | 88.94 | 39.81 | 94.83 | 22.91 | 95.56 | 14.54 | 93.11 | 25.75 |
| 256 | 89.67 | 36.93 | 95.24 | 21.19 | 95.59 | 14.46 | 93.50 | 24.19 |
| 512 | 89.88 | 35.83 | 94.86 | 21.10 | 95.67 | 14.02 | 93.47 | 23.65 |
| 768 | 89.97 | 36.02 | 93.47 | 25.32 | 95.67 | 13.91 | 93.04 | 25.11 |
on extreme-OOD in some settings, underscoring that a larger semantic shift does not necessarily imply easier detection. PRISM instead uses a simple ID-only model of a fused shallow-to-deep representation, reducing opportunities for domain-specific optimization and yielding more consistent cross-domain behavior. This advantage persists beyond the mean AUROC: PRISM achieves the best overall average rank across datasets and shows significant improvements under paired per-dataset comparisons (see supplemental material, Fig. 1). To better understand the remaining errors, we provide a qualitative analysis of false positives in the supplement. Across OpenOOD, many failures arise from ID-OOD overlap, fine-grained semantic ambiguity, or context-dependent cases where the OOD object is visually close to, or only a small part of, an ImageNet-like scene. In medical and industrial benchmarks, errors often reflect subtle near-OOD confusions caused by acquisition artifacts or shared coarse shape, texture, and color attributes between ID and OOD categories. Overall, these failure modes are largely class-consistent and interpretable rather than arbitrary artifacts.
4.3 Ablation Study
Contribution of PRISM components. Tab. 2 analyzes the contribution of the projected Mahalanobis term () and the residual energy term (). The two components exhibit domain-dependent behavior: on OpenOOD and ICONIC-444, the projected term performs strongest, whereas on OpenMIBOOD, the residual term dominates, indicating that OOD deviations manifest differently across domains.
Even when used individually, either term already improves over classical penultimate-layer baselines when computed on the unified multi-layer representation. For comparison, averaged across all large-scale benchmarks, MDS obtains 87.00% AUROC (41.38% FPR95), MDS++ 88.37% (39.44%), and ViM 85.59% (41.79%), all below the single-component PRISM variants. This suggests that the gains do not arise merely from combining two scoring terms, but from modeling a fused representation that preserves complementary low-, mid-, and high-level cues. The projected subspace model then derives the OOD score from ID
Table 3: Performance comparison of post-hoc OOD detection methods across architectures. (a) OpenOOD (ImageNet-1k) using ResNet-50, Swin-T, and ViT-B/16. (b) ICONIC-444 using ResNet-18, CCT-7/7x2, and ConvNeXt-S. Methods are selected based on the mean AUROC across architectures within each benchmark.
| Method | ResNet-50 | Swin-T | ViT-B-16 | Average | ||||
|---|---|---|---|---|---|---|---|---|
| AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | |
| ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | |
| MDS++ [52] | 89.88 | 42.34 | 88.85 | 52.15 | 89.52 | 40.37 | 88.42 | 44.56 |
| RMDS [58] | 88.62 | 47.71 | 88.02 | 55.59 | 88.38 | 53.87 | 88.34 | 52.39 |
| MDS [40] | 89.83 | 36.38 | 87.09 | 57.57 | 86.17 | 52.81 | 87.70 | 48.92 |
| ViM [74] | 85.54 | 41.42 | 88.15 | 49.50 | 83.45 | 50.45 | 85.71 | 47.12 |
| KNN [66] | 85.64 | 51.46 | 84.78 | 66.59 | 86.17 | 50.95 | 85.53 | 56.33 |
| NCI [44] | 84.60 | 52.40 | 86.15 | 61.21 | 84.62 | 66.59 | 85.13 | 60.07 |
| PRISM | 89.96 | 35.36 | 90.91 | 30.60 | 88.72 | 41.51 | 89.88 | 35.83 |
| Method | ResNet-18 | CCT-7/7x2 | ConvNeXt-S | Average | ||||
|---|---|---|---|---|---|---|---|---|
| AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | |
| ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | ↑ | ↓ | |
| GRAM [61] | 97.55 | 8.41 | 88.25 | 34.64 | 96.29 | 15.93 | 94.12 | 19.66 |
| MDS++ [52] | 96.12 | 11.88 | 86.12 | 43.49 | 92.60 | 30.72 | 91.61 | 28.69 |
| ViM [74] | 94.54 | 22.11 | 82.56 | 49.84 | 92.99 | 28.44 | 90.03 | 33.46 |
| MDS [40] | 95.31 | 15.65 | 79.01 | 57.24 | 95.06 | 19.77 | 89.80 | 30.89 |
| SHE [84] | 93.72 | 23.65 | 82.29 | 49.38 | 88.27 | 39.21 | 88.09 | 37.41 |
| Residual [74] | 86.24 | 34.92 | 82.93 | 52.94 | 93.54 | 28.81 | 87.57 | 38.89 |
| PRISM | 96.50 | 9.57 | 94.65 | 16.08 | 95.72 | 16.12 | 95.67 | 14.02 |
(b) ICONIC-444
feature geometry rather than a single layer, OOD-calibrated layer weights, or output confidence.
The two scores capture complementary geometric deviations. The projected Mahalanobis term detects violations of class-conditional structure within the principal ID subspace, while the residual term measures energy outside this subspace. Importantly, OOD deviations are not confined to residual directions: some samples lie outside the learned manifold, whereas others remain within it but violate class-conditional structure. In contrast to ViM, which models residual deviations at a single depth and combines them with a logit-based energy term for ID confidence, PRISM captures both in-subspace class-conditional deviations and off-subspace residual energy within a unified representation.
While each component can dominate on specific benchmarks, their combination achieves the highest overall average AUROC (93.47%) and the most balanced FPR95 (23.65%) across benchmarks, confirming that robust OOD detection requires modeling both types of deviation.
Effect of Projection Dimension. We further analyze the sensitivity to the PCA dimensionality. Performance remains stable across a broad range, with only minor variation in AUROC and FPR95 (see Tab. 2). While the selected value of provides the best overall performance, the dependence on the projection dimension is generally weak, indicating that PRISM does not rely on precise tuning of subspace dimensionality. This further supports the claim that PRISM operates as a stable cross-domain method with weak sensitivity to .
Architectural Generalization. To evaluate architectural robustness, we assess PRISM on diverse backbone families, including convolutional neural networks (ResNet-18/50 [23], ConvNeXt [48]) and transformer-based models (ViT-B/16 [17], Swin-T [47]). As shown in Tab. 3, PRISM consistently ranks among the top-performing methods across both OpenOOD and ICONIC-444, independent of the underlying architecture.
Although Tab. 3 reports only the strongest methods per benchmark for clarity (full results are provided in the supplementary material), notable rank variations remain across architectures and domains. The leading competitors are predominantly geometric and statistic-based approaches operating on penultimate

Fig. 4: AUROC () averaged over near-, far-, and extreme-OOD categories across all three benchmarks. Methods are ordered by overall performance. All values are reported as percentages.

Fig. 5: Relative runtime overhead of PRISM on ImageNet-1k with ResNet-50. Runtime overhead as a percentage (%) of the total inference time compared to the baseline MSP and MDS++ methods.
features, which tend to generalize better across architectural families, consistent with prior findings [36,83]. Our results extend this observation by demonstrating stability not only across architectures but also across distinct domains.
Overall, PRISM maintains strong and consistent performance without specific tuning, confirming that unified multi-layer subspace modeling scales reliably across network designs.
Computational Efficiency. In PRISM, intermediate feature maps are spatially reduced via global pooling, transforming tensors of size into . This compression scales with per layer but eliminates the dependence of the stacked representation on the spatial resolution . Consequently, all subsequent OOD scoring operations operate on resolution-independent feature vectors, ensuring that their computational cost does not increase with image size.
The additional computational cost of PRISM consists of three linear operations: (i) projection into a -dimensional principal subspace with complexity , (ii) Mahalanobis distance computation in the reduced space with , and (iii) residual energy computation with , where denotes the batch size and the number of classes. Since and all computations are implemented as matrix multiplications, these operations scale linearly with and contribute only a bounded relative overhead compared to the backbone forward pass, which itself scales with .
Overhead measures extra inference time beyond the backbone; MSP (max-softmax on logits) has near-zero overhead. For a fair comparison, we optimize the MDS++ implementation analogously to PRISM and evaluate all methods under identical measurement settings. Figure 5 reports the empirical runtime overhead on ImageNet-1k with ResNet-50. Compared to MSP and optimized MDS++, PRISM introduces less than 1.0% additional inference time for batch sizes . Inference time is measured over 1k iterations, preceded by 200 warm-up runs on a synthetic input. These results indicate that multi-layer subspace modeling can be incorporated with negligible practical overhead while significantly boosting robustness.
5 Conclusion
We show that Out-of-Distribution (OOD) detection is influenced by representation depth: neither a single layer nor layer-wise score aggregation is consistently reliable across domains, and aggregation strategies calibrated on one OOD setting do not robustly transfer. This motivates preserving information across representation depths rather than relying on benchmark-specific depth preferences.
PRISM addresses this instability by fusing shallow-to-deep representations into a unified feature space and performing statistical modeling only after fusion, combining projected class-conditional Mahalanobis distance with orthogonal residual energy. As a result, PRISM avoids per-benchmark layer selection, aggregation heuristics, and OOD-based calibration, and delivers consistent state-of-the-art performance across natural, medical, and industrial benchmarks.
We use a fixed, architecture-aware layer sampling strategy and global pooling to ensure a consistent ID-only evaluation protocol. This design abstracts away spatial or token layouts, yielding a unified representation without architecture-specific fusion choices. More task-specific alternatives, such as tuned layer weights or spatially adaptive pooling, could improve individual benchmarks but would introduce additional priors and hyperparameters that may reduce transferability. Our minimal fusion design, therefore, isolates the central hypothesis of PRISM: unified multi-layer ID geometry can improve cross-domain OOD robustness without task-specific tuning or OOD-dependent calibration. Developing adaptive depth or pooling strategies that retain this transferability is an interesting direction for future work.
Acknowledgements
We gratefully acknowledge support from KESTRELEYE GmbH, which provided the core infrastructure and resources throughout the project. HP was partially funded by the AI Ecosystems programme of the Austrian Federal Ministry of Innovation, Mobility and Infrastructure (BMIMI), managed by the Austrian Research Promotion Agency (FFG), under project DOMINO (923575).
References
-
Al Hajj, H., Lamard, M., Conze, P.H., Roychowdhury, S., Hu, X., Maršalkaité, G., Zisimopoulos, O., Dedmari, M.A., Zhao, F., Prellberg, J., Sahu, M., Galdran, A., Araújo, T., Vo, D.M., Panda, C., Dahiya, N., Kondo, S., Bian, Z., Vahdat, A., Bialopetravičius, J., Flouty, E., Qiu, C., Dill, S., Mukhopadhyay, A., Costa, P., Aresta, G., Ramamurthy, S., Lee, S.W., Campilho, A., Zachow, S., Xia, S., Conjeti, S., Stoyanov, D., Armaitis, J., Heng, P.A., Macready, W.G., Cochener, B., Quellec, G.: CATARACTS: Challenge on automatic tool annotation for cataRACT surgery. Med. Image Anal. (2019)
-
Allan, M., Kondo, S., Bodenstedt, S., Leger, S., Kadkhodamohammadi, R., Luengo, I., Fuentes, F., Flouty, E., Mohammed, A., Pedersen, M., et al.: 2018 Robotic Scene Segmentation Challenge. arXiv preprint arXiv:2001.11190 (2020)
-
Amorim, J.G.A., Macarini, L.A.B., Matias, A.V., Cerentini, A., Onofre, F.B.D.M., Onofre, A.S.C., Von Wangenheim, A.: A novel approach on segmentation of agnor-stained cytology images using deep learning. In: Proc. CBMS (2020)
-
Anthony, H., Kamnitsas, K.: On the Use of Mahalanobis Distance for Out-of-distribution Detection with Neural Networks for Medical Imaging. In: Proc. UN-SURE (2023)
-
Antonelli, M., Reinke, A., Bakas, S., Farahani, K., Kopp-Schneider, A., Landman, B.A., Litjens, G., Menze, B., Ronneberger, O., Summers, R.M., et al.: The medical segmentation decathlon. Nature communications (2022)
-
Atkinson Amorim, J.G., Matias, A., Bottamedi, T., Sanches, V., Costa, A.F., Onofre, F., Onofre, A., Wangenheim, A.: CCAgT: Images of Cervical Cells with AgNOR Stain Technique (2022)
-
Aubreville, M., Wilm, F., Stathonikos, N., Breininger, K., Donovan, T.A., Jabari, S., Veta, M., Ganz, J., Ammeling, J., van Diest, P.J., et al.: A comprehensive multi-domain dataset for mitotic figure detection. Scientific data (2023)
-
Baid, U., Ghodasara, S., Mohan, S., Bilello, M., Calabrese, E., Colak, E., Farahani, K., Kalpathy-Cramer, J., Kitamura, F.C., Pati, S., et al.: The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classification. arXiv preprint arXiv:2107.02314 (2021)
-
Bakas, S., Akbari, H., Sotiras, A., Bilello, M., Rozycki, M., Kirby, J.S., Freymann, J.B., Farahani, K., Davatzikos, C.: Advancing the Cancer Genome Atlas Glioma MRI Collections with Expert Segmentation Labels and Radiomic Features. Scientific data (2017)
-
Bergmann, P., Batzner, K., Fauser, M., Sattlegger, D., Steger, C.: The MVTec Anomaly Detection Dataset: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection. In: IJCV (2021)
-
Bitterwolf, J., Mueller, M., Hein, M.: In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation. In: Proc. ICLR Workshops (2023)
-
Bodenstedt, S., Allan, M., Agustinos, A., Du, X., Garcia-Peraza-Herrera, L., Kengott, H., Kurmann, T., Müller-Stich, B., Ourselin, S., Pakhomov, D., et al.: Comparative Evaluation of Instrument Segmentation and Tracking Methods in Minimally Invasive Surgery. arXiv preprint arXiv:1805.02475 (2018)
-
Cimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., Vedaldi, A.: Describing Textures in the Wild. In: Proc. CVPR (2014)
-
Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: ImageNet: A large-scale hierarchical image database. In: Proc. CVPR (2009)
-
Djurisic, A., Bozanic, N., Ashok, A., Liu, R.: Extremely Simple Activation Shaping for Out-of-Distribution Detection. In: Proc. ICLR (2023)
-
Dong, X., Guo, J., Li, A., Ting, W.T., Liu, C., Kung, H.: Neural Mean Discrepancy for Efficient Out-of-Distribution Detection. In: Proc. CVPR (2022)
-
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., Houlsby, N.: An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In: Proc. ICLR (2021)
-
Fang, K., Tao, Q., Lv, K., He, M., Huang, X., YANG, J.: Kernel PCA for Out-of-Distribution Detection. In: NeurIPS (2024)
-
Gutbrod, M., Rauber, D., Nunes, D.W., Palm, C.: OpenMIBOOD: Open Medical Imaging Benchmarks for Out-Of-Distribution Detection. In: Proc. CVPR (2025)
-
Haroush, M., Frostig, T., Heller, R., Soudry, D.: A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural Networks. In: Proc. ICLR (2022)
-
Hassani, A., Walton, S., Shah, N., Abuduweili, A., Li, J., Shi, H.: Escaping the Big Data Paradigm with Compact Transformers. arXiv preprint arXiv:2104.05704 (2022)
-
He, K., Chen, X., Xie, S., Li, Y., Dollár, P., Girshick, R.: Masked Autoencoders Are Scalable Vision Learners. In: Proc. CVPR (2022)
-
He, K., Zhang, X., Ren, S., Sun, J.: Deep Residual Learning for Image Recognition. In: Proc. CVPR (2016)
-
Hein, M., Andriushchenko, M., Bitterwolf, J.: Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problem. In: Proc. CVPR (2019)
-
Hendrycks, D., Basart, S., Mazeika, M., Zou, A., Kwon, J., Mostajabi, M., Steinhardt, J., Song, D.: Scaling Out-of-Distribution Detection for Real-World Settings. In: Proc. ICML (2022)
-
Hendrycks, D., Carlini, N., Schulman, J., Steinhardt, J.: Unsolved Problems in ML Safety. arXiv preprint arXiv:2109.13916 (2021)
-
Hendrycks, D., Gimpel, K.: A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks. In: Proc. ICLR (2017)
-
Hendrycks, D., Mazeika, M.: X-Risk Analysis for AI Research. arXiv preprint arXiv:2206.05862 (2022)
-
Isensee, F., Schell, M., Pfueger, I., Brugnara, G., Bonekamp, D., Neuberger, U., Wick, A., Schlemmer, H.P., Heiland, S., Wick, W., et al.: Automated brain extraction of multisequence MRI using artificial neural networks. Human Brain Mapping (2019)
-
Jha, D., Smedsrud, P.H., Riegler, M.A., Halvorsen, P., De Lange, T., Johansen, D., Johansen, H.D.: Kvasir-seg: A segmented polyp dataset. In: MMM (2020)
-
Jumper, J., Evans, R., Pritzel, A., Green, T., Figurnov, M., Ronneberger, O., Tunyasuvunakool, K., Bates, R., Zídek, A., Potapenko, A., Bridgland, A., Meyer, C., Kohl, S., Ballard, A., Cowie, A., Romera-Paredes, B., Nikolov, S., Jain, R., Adler, J., Hassabis, D.: Highly accurate protein structure prediction with alphafold. Nature (2021)
-
Kavur, A.E., Gezer, N.S., Barış, M., Aslan, S., Conze, P.H., Groza, V., Pham, D.D., Chatterjee, S., Ernst, P., Özkan, S., Baydar, B., Lachinov, D., Han, S., Pauli, J., Isensee, F., Perkonigg, M., Sathish, R., Rajan, R., Sheet, D., Dovletov, G., Speck, O., Nürnberger, A., Maier-Hein, K.H., Bozdağ Akar, G., Ünal, G., Dicle, O., Selver, M.A.: Chaos challenge - combined (ct-mr) healthy abdominal organ segmentation. Med. Image Anal. (2021)
-
Kavur, A.E., Selver, M.A., Dicle, O., Barış, M., Gezer, N.S.: CHAOS - Combined (CT-MR) Healthy Abdominal Organ Segmentation Challenge Data (2019)
-
Krizhevsky, A., Hinton, G.E.: Learning Multiple Layers of Features from Tiny Images. Master's thesis, Department of Computer Science, University of Toronto (2009)
-
Krumpl, G., Avenhaus, H., Possegger, H.: ICONIC-444: A 3.1-Million-Image Dataset for OOD Detection Research. In: Proc. WACV (2026)
-
Krumpl, G., Avenhaus, H., Possegger, H.: One Model, Many Behaviors: Training-Induced Effects on Out-of-Distribution Detection. In: Proc. WACV (2026)
-
Krumpl, G., Avenhaus, H., Possegger, H., Bischof, H.: ATS: Adaptive Temperature Scaling for Enhancing Out-of-Distribution Detection Methods. In: Proc. WACV (2024)
-
LaMontagne, P.J., Benzinger, T.L., Morris, J.C., Keefe, S., Hornbeck, R., Xiong, C., Grant, E., Hassenstab, J., Moulder, K., Vlassenko, A.G., et al.: OASIS-3:
longitudinal neuroimaging, clinical, and cognitive dataset for normal aging and Alzheimer disease. medrxiv (2019)
-
Lecun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based Learning Applied to Document Recognition. IEEE 86(11), 2278–2324 (1998)
-
Lee, K., Lee, K., Lee, H., Shin, J.: A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks. In: NeurIPS (2018)
-
Liang, S., Li, Y., Srikant, R.: Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks. In: Proc. ICLR (2018)
-
Liew, S.L., Lo, B.P., Donnelly, M.R., Zavaliangos-Petropulu, A., Jeong, J.N., Barisano, G., Hutton, A., Simon, J.P., Juliano, J.M., Suri, A., et al.: A large, curated, open-source stroke neuroimaging dataset to improve lesion segmentation algorithms. Scientific data (2022)
-
Liu, L., Qin, Y.: Fast decision boundary based out-of-distribution detector. In: ICML (2024)
-
Liu, L., Qin, Y.: Detecting Out-of-Distribution through the Lens of Neural Collapse. In: Proc. CVPR (2025)
-
Liu, W., Wang, X., Owens, J.D., Li, Y.: Energy-based Out-of-distribution Detection. In: NeurIPS (2020)
-
Liu, X., Lochman, Y., Christopher, Z.: Gen: Pushing the limits of softmax-based out-of-distribution detection. In: Proc. CVPR (2023)
-
Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., Guo, B.: Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. In: Proc. ICCV (2021)
-
Liu, Z., Mao, H., Wu, C.Y., Feichtenhofer, C., Darrell, T., Xie, S.: A ConvNet for the 2020s. In: Proc. CVPR (2022)
-
Menze, B.H., Jakab, A., Bauer, S., Kalpathy-Cramer, J., Farahani, K., Kirby, J.S., Burren, Y., Porz, N., Slotboom, J., Wiest, R., Lanczi, L., Gerstner, E.R., Weber, M., Arbel, T., Avants, B.B., Ayache, N., Buendia, P., Collins, D.L., Cordier, N., Corso, J.J., Criminisi, A., Das, T., Delingette, H., Demiralp, Ç., Durst, C.R., Dojat, M., Doyle, S., Festa, J., Forbes, F., Geremia, E., Glocker, B., Golland, P., Guo, X., Hamamci, A., Iftekharuddin, K.M., Jena, R., John, N.M., Konukoglu, E., Lashkari, D., Mariz, J.A., Meier, R., Pereira, S., Precup, D., Price, S.J., Raviv, T.R., Reza, S.M.S., Ryan, M.T., Sarikaya, D., Schwartz, L.H., Shin, H., Shotton, J., Silva, C.A., Sousa, N.J., Subbanna, N.K., Székely, G., Taylor, T.J., Thomas, O.M., Tustison, N.J., Ünal, G.B., Vasseur, F., Wintermark, M., Ye, D.H., Zhao, L., Zhao, B., Zikic, D., Prastawa, M., Reyes, M., Leemput, K.V.: The Multimodal Brain Tumor Image Segmentation Benchmark (BRATS). IEEE Trans. Med. Imaging (2015)
-
Mohseni, S., Wang, H., Yu, Z., Xiao, C., Wang, Z., Yadawa, J.: Practical Machine Learning Safety: A Survey and Primer. arXiv preprint arXiv:2106.04823 (2021)
-
Moosavi-Dezfooli, S.M., Fawzi, A., Fawzi, O., Frossard, P.: Universal adversarial perturbations. In: Proc. CVPR (2017)
-
Mueller, M., Hein, M.: Mahalanobis++: Improving OOD Detection via Feature Normalization. In: Proc. ICML (2025)
-
Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., Ng, A.Y.: Reading Digits in Natural Images with Unsupervised Feature Learning. NeurIPS Workshops (2011)
-
Nguyen, A.M., Yosinski, J., Clune, J.: Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images. In: Proc. CVPR (2015)
-
Olber, B., Radlak, K., Popowicz, A., M.Szczepankiewicz, Chachula, K.: Detection of out-of-distribution samples using binary neuron activation patterns. In: Proc. CVPR (2023)
-
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., Chintala, S.: PyTorch: An Imperative Style, High-Performance Deep Learning Library. In: NeurIPS (2019)
-
Ramesh, A., Pavlov, M., Goh, G., Gray, S., Voss, C., Radford, A., Chen, M., Sutskever, I.: Zero-Shot Text-to-Image Generation. In: Proc. ICML (2021)
-
Ren, J.J., Fort, S., Liu, J.Z., Roy, A.G., Padhy, S., Lakshminarayanan, B.: A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detection. arXiv preprint arXiv:2106.09022 (2021)
-
Rueckert, T., Rauber, D., Maerkl, R., Klausmann, L., Yildiran, S.R., Gutbrod, M., Nunes, D.W., Moreno, A.F., Luengo, I., Stoyanov, D., Toussaint, N., Cho, E., Kim, H.B., Choo, O.S., Kim, K.Y., Kim, S.T., Arantes, G., Song, K., Zhu, J., Xiong, J., Lin, T., Kikuchi, S., Matsuzaki, H., Kouno, A., Manesco, J.R.R., Papa, J.P., Choi, T.M., Jeong, T.K., Park, J., Alabi, O., Wei, M., Vercauteren, T., Wu, R., Xu, M., Wang, A., Bai, L., Ren, H., Yamlahi, A., Hennighausen, J., Maier-Hein, L., Kondo, S., Kasai, S., Hirasawa, K., Yang, S., Wang, Y., Chen, H., Rodríguez, S., Aparicio, N., Manrique, L., Lyons, J.C., Hosie, O., Ayobi, N., Arbeláez, P., Li, Y., Al Khalil, Y., Nasirihaghighi, S., Speidel, S., Rueckert, D., Feussner, H., Wilhelm, D., Palm, C.: Comparative validation of surgical phase recognition, instrument keypoint estimation, and instrument instance segmentation in endoscopy: Results of the PhaKIR 2024 challenge. Med. Image Anal. (2026)
-
Saikia, A.R., Bora, K., Mahanta, L.B., Das, A.K.: Comparative assessment of CNN architectures for classification of breast FNAC images. Tissue and Cell (2019)
-
Sastry, C.S., Oore, S.: Detecting Out-of-Distribution Examples with Gram Matrices. In: Proc. ICML (2020)
-
Simpson, A.L., Antonelli, M., Bakas, S., Bilello, M., Farahani, K., Van Ginneken, B., Kopp-Schneider, A., Landman, B.A., Litjens, G., Menze, B., et al.: A large annotated medical image dataset for the development and evaluation of segmentation algorithms. arXiv preprint arXiv:1902.09063 (2019)
-
Suhendar, H., Efelina, V., Ziveria, M.: Fruit Quality Classification using Convolutional Neural Network. JPCS (2022)
-
Sun, Y., Guo, C., Li, Y.: ReAct: Out-of-distribution Detection With Rectified Activations. In: NeurIPS (2021)
-
Sun, Y., Li, Y.: DICE: Leveraging Sparsification for Out-of-Distribution Detection. In: Proc. ECCV (2022)
-
Sun, Y., Ming, Y., Zhu, X., Li, Y.: Out-of-distribution Detection with Deep Nearest Neighbors. In: Proc. ICML (2022)
-
Tang, K., Hou, C., Peng, W., Chen, R., Zhu, P., Wang, W., Tian, Z.: CORES: Convolutional Response-based Score for Out-of-distribution Detection. In: Proc. CVPR (2024)
-
Tobon-Gomez, C., Geers, A.J., Peters, J., Weese, J., Pinto, K., Karim, R., Ammar, M., Daoudi, A., Margeta, J., Sandoval, Z.L., Stender, B., Zheng, Y., Zuluaga, M.A., Betancur, J., Ayache, N., Chikh, M.A., Dillenseger, J., Kelm, B.M., Mahmoudi, S., Ourselin, S., Schlaefer, A., Schaeffter, T., Razavi, R., Rhode, K.S.: Benchmark for Algorithms Segmenting the Left Atrium From 3D CT and MRI Datasets. IEEE Trans. Med. Imaging (2015)
-
Torralba, A., Fergus, R., Freeman, W.T.: 80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene Recognition. TPAMI (2008)
-
Tran, D., Wang, H., Torresani, L., Ray, J., LeCun, Y., Paluri, M.: A Closer Look at Spatiotemporal Convolutions for Action Recognition. In: Proc. CVPR (2018)
-
Twinanda, A.P., Shehata, S., Mutter, D., Marescaux, J., de Mathelin, M., Padoy, N.: Endonet: A Deep Architecture for Recognition Tasks on Laparoscopic Videos. IEEE Trans. Medical Imaging (2017)
-
Van Horn, G., Mac Aodha, O., Song, Y., Cui, Y., Sun, C., Shepard, A., Adam, H., Perona, P., Belongie, S.: The INaturalist Species Classification and Detection Dataset. In: Proc. CVPR (2018)
-
Vaze, S., Han, K., Vedaldi, A., Zisserman, A.: Open-Set Recognition: a Good Closed-Set Classifier is All You Need? In: Proc. ICLR (2022)
-
Wang, H., Li, Z., Feng, L., Zhang, W.: ViM: Out-Of-Distribution with Virtual-logit Matching. In: Proc. CVPR (2022)
-
Wightman, R.: Pytorch image models. https://github.com/huggingface/pytorch-image-models (2019). https://doi.org/10.5281/zenodo.4414861, Accessed 26 June 2026
-
Xiao, H., Rasul, K., Vollgraf, R.: Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv preprint arXiv:1708.07747 (2017)
-
Xu, K., Chen, R., Franchi, G., Yao, A.: Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement. In: Proc. ICLR (2024)
-
Yang, J., Wang, P., Zou, D., Zhou, Z., Ding, K., PENG, W., Wang, H., Chen, G., Li, B., Sun, Y., Du, X., Zhou, K., Zhang, W., Hendrycks, D., Li, Y., Liu, Z.: OpenOOD: Benchmarking Generalized Out-of-Distribution Detection. In: NeurIPS Datasets and Benchmarks Track (2022)
-
Yang, J., Zhou, K., Li, Y., Liu, Z.: Generalized Out-of-Distribution Detection: A Survey. arXiv preprint arXiv:2110.11334 (2021)
-
Yu, Y., Shin, S., Lee, S., Jun, C., Lee, K.: Block Selection Method for Using Feature Norm in Out-of-Distribution Detection. In: Proc. CVPR (2023)
-
Zaeemzadeh, A., Bisagno, N., Sambugaro, Z., Conci, N., Rahnavard, N., Shah, M.: Out-of-Distribution Detection Using Union of 1-Dimensional Subspaces. In: Proc. CVPR (2021)
-
Zhang, J., Yang, J., Wang, P., Wang, H., Lin, Y., Zhang, H., Sun, Y., Du, X., Li, Y., Liu, Z., Chen, Y., Li, H.: Openood v1.5: Enhanced benchmark for out-of-distribution detection. arXiv preprint arXiv:2306.09301 (2023)
-
Zhang, J., Yang, J., Wang, P., Wang, H., Lin, Y., Zhang, H., Sun, Y., Du, X., Li, Y., Liu, Z., Chen, Y., Li, H.: OpenOOD v1.5: Enhanced benchmark for out-of-distribution detection. J. of DMLR (2024)
-
Zhang, J., Fu, Q., Chen, X., Du, L., Li, Z., Wang, G., Liu, X., Han, S., Zhang, D.: Out-of-Distribution Detection based on In-Distribution Data Patterns Memorization with Modern Hopfield Energy. In: Proc. ICLR (2023)
-
Zhou, B., Lapedriza, A., Khosla, A., Oliva, A., Torralba, A.: Places: A 10 million Image Database for Scene Recognition. TPAMI (2017)
Unified Multi-Layer Subspace Modeling for Cross-Domain OOD Detection
— Supplementary Material —
This supplementary document provides detailed experimental settings and implementation details (Appendix A) and comprehensive results that support the analyses presented in the main paper (Appendix B).
A Experimental Details
A.1 Implementation Details
Software Setup. Our implementation builds upon the OpenOOD framework [78, 82, 83], which provides standardized evaluation protocols for post-hoc OOD detection. We integrate OpenMIBOOD [19], released as a fork of OpenOOD, and incorporate ICONIC-444 [35] within the same framework to establish a unified evaluation pipeline. This ensures consistent data handling, preprocessing, and experimental protocols across natural, medical, and industrial domains.
In addition, we incorporate several post-hoc OOD detection methods, including FeatNorm [80], ATS [37], and MDS++ [52]. We further extend the framework with support for models from the timm repository [75], enabling evaluation of modern architectures such as ConvNeXt [48] and Vision Transformers [17].
Computational Environment. All experiments were conducted on two servers equipped with an Intel(R) Core(TM) i9-9900X CPU (3.50 GHz) and NVIDIA GPUs, including three RTX A4000, one RTX 3080, and one RTX 2080 Ti. All runtime and throughput benchmarks reported in this paper were measured on an RTX A4000. The systems run Ubuntu 22.04 with Python 3.11.3 and PyTorch 2.7.1, using CUDA 12.6 and cuDNN 9.5.1.
A.2 Benchmark Setup
OOD Category Details. Tab. 4 summarizes the in-distribution (ID) tasks and their corresponding near-, far-, and extreme-OOD splits across all benchmarks.
For OpenOOD and OpenMIBOOD, near- and far-OOD categories strictly follow the official benchmark definitions. ICONIC-444 also defines an extreme-OOD category corresponding to large (semantically unrelated) cross-domain shifts.
For benchmarks without explicitly defined extreme-OOD categories, we introduce extreme-OOD datasets to standardize evaluation across near-, far-, and extreme-OOD categories. These extensions do not modify any official benchmark categories; they simply enable a consistent robustness analysis, since extreme-OOD, often assumed to be easiest due to a larger semantic shift, can still be challenging for some OOD detectors.
Table 4: Detailed benchmark configuration. For each benchmark and in-distribution (ID) dataset, we list the corresponding near-, far-, and extreme-OOD evaluation sets.
| Benchmark | ID Dataset | Near-OOD | Far-OOD | Extreme-OOD |
|---|---|---|---|---|
| OpenOOD [83] | CIFAR-10 [34] | CIFAR-100 [34], Tiny ImageNet [69] | MNIST [39], SVHN [53], Textures [13], Places365 [85] | MIDOG [7], ICONIC-444 [35] |
| CIFAR-100 [34] | CIFAR-10 [34], Tiny ImageNet [69] | MNIST [39], SVHN [53], Textures [13], Places365 [85] | MIDOG [7], ICONIC-444 [35] | |
| ImageNet-1k [14] | SSB-Hard [73], NINCO [11] | iNaturalist [72], Textures [13], OpenImage-O [74] | MNIST [39], FMNIST [76] | |
| OpenMIBOOD [19] | MIDOG [7] | other MIDOG domain shifts not in ID | CCAgT [3,6], FNAC 2019 [60] | PhaKIR [59], ImageNet [14], iNaturalist [72], Textures [13] |
| PhaKIR [59] | Cholee80 [71], EndoSeg15 [12], EndoSeg18 [2] | Kvasir [30], CATARACTS [1] | MIDOG [7], ImageNet [14], iNaturalist [72], Textures [13] | |
| OASIS-3 [38] | ATLAS [42], BraTS [8,9,49], OASIS-CT [38] | MDS-Heart [5,62,68], CHAOS [32,33] | MIDOG [7], MNIST [39], FMNIST [76], Textures [13] | |
| ICONIC-444 [35] | Almond | ICONIC-444 Food (w/o ID) | ICONIC-444 Non-Food | ImageNet [14], iNaturalist [72], Places365 [85], Textures [13] |
| Wheat | ICONIC-444 Food (w/o ID) | ICONIC-444 Non-Food | ImageNet [14], iNaturalist [72], Places365 [85], Textures [13] | |
| Kernels | ICONIC-444 Food (w/o ID) | ICONIC-444 Non-Food | ImageNet [14], iNaturalist [72], Places365 [85], Textures [13] | |
| Food-grade | ICONIC-444 Food (w/o ID) | ICONIC-444 Non-Food | ImageNet [14], iNaturalist [72], Places365 [85], Textures [13] |
For 3D medical data (OASIS-3), 2D OOD datasets are converted to grayscale and replicated along the channel dimension to match the network input format.
Medical Preprocessing (OpenMIBOOD / OASIS-3). We use the official OpenMIBOOD preprocessing for OASIS-3 without modification. This includes resampling all scans to 1mm³ isotropic voxel spacing and skull-stripping with HD-BET [29]. Any additional processing is limited to format compatibility with the evaluated backbones: inputs are resized to the required spatial resolution, and 2D OOD datasets are converted to grayscale and replicated across channels to match the network input format.
Architectures. Tab. 5 summarizes the models and weight sources. The officially released checkpoints for OpenOOD³ (CIFAR-10/100) and OpenMIBOOD⁴ are used. For ImageNet-1k, we employ supervised pretrained models from torchvision [56] and timm [75]. For ICONIC-444, models are trained following the official benchmark protocol.
OOD Detection Methods. All experiments are conducted on OpenOOD, OpenMIBOOD, and ICONIC-444 using a unified evaluation pipeline. Because most OOD detection methods were originally developed and tuned on natural-image benchmarks (CIFAR [34], ImageNet-1k [14]), we perform a benchmark-specific hyperparameter search for methods that require hyperparameter tuning.
We follow the official hyperparameter selection procedures of each benchmark, using the provided ID validation and OOD validation splits where applicable. To ensure fair comparison across benchmarks, we merge the benchmark-specific search ranges such that all parameter values from the original protocols
³ https://github.com/Jingkang50/OpenOOD
⁴ https://github.com/remic-othr/OpenMIBOOD
Table 5: Overview of architectures and their corresponding official checkpoint sources or training protocol across all benchmarks.
| Benchmark | ID Dataset / Task | Architecture | Checkpoint Source / Training |
|---|---|---|---|
| OpenOOD [83] | CIFAR-10 [34] | ResNet-18 [23] | Official OpenOOD checkpoint |
| CIFAR-100 [34] | ResNet-18 [23] | Official OpenOOD checkpoint | |
| ImageNet-1k [14] | ResNet-50 [23] | timm: resnet50.tv2_in1k | |
| Swin-T [47] | torchvision: Swin_T_Weights.IMAGENET1K_V1 | ||
| ViT-B/16 [22] | timm: vit_base_patch16_224.mae_in1k | ||
| OpenMIBOOD [19] | MIDOG [7] | ResNet-50 [23] | Official OpenMIBOOD checkpoint |
| PhaKIR [59] | ResNet-18 [23] | Official OpenMIBOOD checkpoint | |
| OASIS-3 [38] | R(2+1)D [70] | Official OpenMIBOOD checkpoint | |
| ICONIC-444 [35] | Almond | ResNet-18 [23] | Trained following ICONIC-444 protocol |
| CCT-7/7x2 [21] | Trained following ICONIC-444 protocol | ||
| Wheat | ResNet-18 [23] | Trained following ICONIC-444 protocol | |
| CCT-7/7x2 [21] | Trained following ICONIC-444 protocol | ||
| Kernels | ConvNeXt-S [48] | Trained following ICONIC-444 protocol | |
| ResNet-18 [23] | Trained following ICONIC-444 protocol | ||
| Food-grade | CCT-7/7x2 [21] | Trained following ICONIC-444 protocol | |
| ConvNeXt-S [48] | Trained following ICONIC-444 protocol |
are covered. The resulting search spaces and calibration requirements are summarized in Tab. 6.
We restrict our primary evaluation to post-hoc methods that do not require real OOD validation data for calibration. The only exception is MDSEns [40], which requires OOD data to calibrate layer aggregation weights; we include it for completeness as a strong baseline in OpenMIBOOD. FeatNorm [80] generates synthetic OOD samples via jigsaw augmentation applied to ID data and therefore does not require external OOD datasets. All remaining methods are calibrated exclusively on ID training data. For ImageNet-1k, we use 20% of the official training split for ID calibration, following prior work (e.g., [37, 74]), to reduce computational cost while maintaining stable calibration.
For PRISM, PCA is fitted on the ID calibration split using class-balanced subsampling (up to 50k samples). In the resulting PCA space, we estimate class-conditional means and a shared covariance matrix, using ridge regularization , and retain components unless noted otherwise. For ResNet-like (including 3D ResNet variants) and ConvNeXt backbones, we extract the final output of each stage (i.e., each spatial-resolution block), yielding four stage outputs in total. For ViT and Swin-T backbones, we use a uniformly spaced subset of blocks (every second block), resulting in 7 and 5 tapped representations, respectively; for the compact transformer, we tap all blocks (7 representations).
Table 6: Hyperparameter search space and calibration requirements for the considered OOD detection method.
| Method | Cal. data | Hyperparameter search space | ||||
|---|---|---|---|---|---|---|
| ID | OOD | Param 1 | Range | Param 2 | Range | |
| MSP [27] | — | — | — | — | ||
| MDS [40] | ✓ | — | — | — | — | |
| MIDEns [40] | ✓ | ✓ | noise | [0, 0.0025, 0.0014, 0.005] | — | — |
| GRAM [61] | ✓ | — | — | — | ||
| EBO [45] | temperature | [0.1, 0.5, 1.0, 1.5, 2.0] | — | — | ||
| RMDS [58] | ✓ | — | — | — | — | |
| ReAct [64] | ✓ | percentile | [85, 90, 95, 99] | — | — | |
| MLS [25] | — | — | — | — | ||
| VIM [74] | ✓ | dim | [1, 16, 32, 64, 128, 256, 512] | — | — | |
| KNN [66] | ✓ | k | [1, 2, 5, 10, 25, 50, 100, 200, 500, 750, 1000] | — | — | |
| DICE [65] | ✓ | percentile | [60, 65, 70, 75, 80, 85, 90, 95] | — | — | |
| FeatNorm [80] | ✓ | ✓ | — | — | — | |
| ASH-b [15] | percentile | [65, 70, 75, 80, 85, 90, 95] | — | — | ||
| ASH-s [15] | percentile | [65, 70, 75, 80, 85, 90, 95] | — | — | ||
| Residual [74] | ✓ | dim | [64, 128, 256, 512, 1024] | — | — | |
| SHE [84] | ✓ | metric | [inner_product, euclidean, cosine] | — | — | |
| GEN [46] | gamma | [0.01, 0.1, 0.5, 1.0, 2.0, 5.0, 10.0] | M | [1, 2, 3, 4, 5, 6, 7, 50, 100, 200, 500, 1000] | ||
| ATS [37] | ✓ | — | — | — | — | |
| SCALE [77] | percentile | [65, 70, 75, 80, 85, 90, 95] | — | — | ||
| fDBD [43] | ✓ | normalized | [True, False] | — | — | |
| MDS++ [52] | ✓ | — | — | — | — | |
| NCI [44] | ✓ | alpha | [0.0001, 0.001, 0.01, 0.1] | — | — | |
| PRISM (Ours) | ✓ | — | — | — | — | |
B Detailed Results
This section discusses the per-dataset and per-category results reported in the supplementary tables and complements the main paper analysis. Overall, the detailed breakdown confirms three consistent observations: (i) there is no single OOD detection method that is uniformly best across all benchmarks and OOD categories, (ii) PRISM remains consistently among the top-performing methods across highly heterogeneous settings, and (iii) the benchmark-dependent layer-depth trends from the main paper are clearly reflected in the detailed rankings.
No Universally Best Baseline Across Domains. Tabs. 7 to 9 report full per-dataset results for OpenOOD (across all evaluated ID tasks and architectures). For OpenMIBOOD, we report per-task results averaged at the OOD-category level in Tab. 11. For ICONIC-444, where tasks are defined over a shared underlying dataset, we report task-averaged results in Tab. 10.
A consistent takeaway from the OpenOOD results (Tabs. 7 to 9) is that strong performance on one natural-image setting does not necessarily transfer to others: method rankings can change substantially across OOD datasets and across near-, far-, and extreme- OOD categories. In other words, methods that are highly competitive on a subset of near-OOD datasets can be overtaken on far- or extreme-OOD datasets, and vice versa.
On CIFAR-10/100 (see Tabs. 7 and 8), PRISM achieves the strongest aggregated performance (CIFAR-10: 94.50% AUROC; CIFAR-100: 86.62% AUROC), improving over competitive baselines in the overall mean. At the same time, the per-dataset columns show that no method achieves the best performance across all OOD datasets: different baselines obtain isolated wins on specific near- or far-OOD datasets, confirming substantial method re-ranking at the dataset level.
A similar pattern holds on ImagNet-1k (see Tab. 9). In the ResNet-50 setting, PRISM achieves a strong overall mean of 89.96% AUROC and 35.36% FPR95, and remains competitive across the diverse OOD sets. However, the detailed breakdown also highlights depth dependence on challenging near-OOD: on SSB-Hard, PRISM attains 68.82% AUROC / 82.70% FPR95, while deep-feature baselines such as RMDS achieve higher AUROC and substantially lower FPR95 on this specific near-OOD set (e.g., 75.47% AUROC; 70.78% FPR95). Conversely, PRISM is very strong on several far- and extreme-OOD sets, illustrating that the best representation depth and score vary with OOD characteristics. Overall, these results reinforce our central motivation: when deployment OOD characteristics are unknown a priori, integrating information across representation depth provides a robust default and reduces sensitivity to OOD-specific depth preferences.
For OpenMIBOOD, Tab. 11 reports task-wise results for MIDOG, PhaKIR, and OASIS-3, broken down by the three OOD-categories, along with task-wise means and the overall mean. In contrast to the natural-image benchmarks, the detailed results on these medical tasks exhibit depth dependence that aligns with the main manuscript: OOD-relevant cues are often captured in shallow-to-intermediate representations, and methods that exploit multi-depth information perform better. Consistent with this, PRISM achieves strong performance across all three tasks under an ID-only protocol, and MDSEns is also among the strongest methods. At the same time, the per-task breakdown highlights substantial cross-task re-ranking: for example, GRAM performs competitively on MIDOG (83.20% AUROC) but drops sharply on PhaKIR (36.46% AUROC). Finally, as emphasized in the main paper, MDSEns requires real OOD validation data to calibrate aggregation weights and should therefore be interpreted separately from purely ID-calibrated post-hoc methods.
For ICONIC-444, Tab. 10 reports results averaged over the four tasks (Almond, Wheat, Kernels, Food-grade) and broken down by OOD-category and specific OOD test sets, for three backbones (ResNet-18, CCT-7/7x2, ConvNeXt-S). Here, we observe behavior similar to the medical benchmark, with methods that leverage intermediate layers also showing better performance. While GRAM can be extremely strong on ResNet-18 (e.g., 97.55 AUROC; 8.41% FPR95), it drops substantially on CCT-7/7x2 (88.75% AUROC; 34.64%), indicating sensitivity to architecture. In contrast, PRISM remains consistently strong across all three backbones, yielding the best architecture-average AUROC of 95.67%.
Rank-based Statistical Comparison. To quantify performance consistency across heterogeneous settings, we additionally report the mean AUROC rank of each method across N = 140 OOD datasets (see Fig. 6). Each evaluation unit corresponds to a single OOD dataset, yielding (N=140) paired units across all methods. Within each unit, methods are ranked by AUROC (higher is better), and mean ranks are computed across units.
A Friedman test rejects the null hypothesis of equal performance across methods (). PRISM achieves the best mean rank (3.04, 95% CI [2.48, 3.61]), substantially ahead of the next-best methods GRAM (mean rank
6 G. Krumpl et al. Table 7: Performance of OOD detection methods for a ResNet-18 backbone trained on CIFAR-10. Method Near Far Extreme CIFAR-100 Tiny ImageNet MNIST Places365 SVHN Textures ICONIC-444 MIDOG Average AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ MSP [27] 87.16 60.60 88.85 56.85 92.53 47.03 89.03 56.15 91.31 53.33 89.94 54.96 81.41 61.25 89.02 61.68 87.97 57.69 MDS [40] 83.62 69.54 84.85 69.34 89.94 63.84 85.01 68.45 91.37 55.65 92.68 40.55 95.33 29.45 88.68 65.56 88.66 58.02 MDSEns [40] 84.75 67.18 86.19 66.71 93.94 43.02 86.15 67.42 91.30 52.09 91.69 40.01 100.00 0.00 98.28 10.08 91.79 40.87 GRAM [61] 82.67 55.88 84.71 52.17 96.27 26.99 86.02 50.06 98.21 8.04 94.65 23.26 99.73 0.00 96.00 23.56 91.78 30.96 EBO [45] 86.19 51.19 88.70 44.42 94.26 27.10 89.51 41.72 91.28 40.86 89.40 43.58 78.39 61.25 89.47 48.08 87.49 46.93 RMDS [58] 88.80 55.17 90.74 50.04 93.20 43.56 91.54 45.46 91.63 54.03 92.16 47.34 88.02 64.05 90.33 60.43 90.36 54.15 ReAct [64] 85.86 52.29 88.25 46.51 92.96 31.58 90.32 42.35 88.90 46.98 89.31 45.34 78.57 64.97 86.91 57.44 86.72 50.72 MLS [25] 86.19 51.67 88.63 45.52 93.99 29.16 89.36 43.03 91.21 41.72 89.38 44.13 78.50 60.52 89.31 49.64 87.43 47.73 ViM [74] 87.91 55.30 89.70 51.47 94.55 34.24 89.91 50.20 94.16 35.90 95.13 27.53 93.22 30.00 92.29 47.05 91.67 42.96 KNN [66] 89.88 50.85 91.74 45.46 94.55 34.84 92.07 42.77 92.77 47.90 93.40 40.74 89.20 58.96 91.69 55.11 91.49 48.92 DICE [65] 82.57 56.46 85.20 50.64 92.77 31.08 85.85 47.73 88.96 44.75 84.85 51.38 72.08 65.47 85.95 54.18 83.67 52.37 FeatNorm [80] 83.37 67.94 87.61 58.36 99.43 2.08 89.14 54.11 98.81 6.42 94.98 24.50 99.45 2.51 98.34 9.37 93.32 30.29 ASH-b [15] 73.71 63.60 76.12 60.05 82.52 49.00 79.99 54.95 72.51 66.59 77.06 59.55 64.24 72.38 67.83 76.30 72.99 64.56 ASH-s [15] 78.68 55.87 81.20 51.63 88.37 38.23 84.26 46.55 80.16 54.51 81.90 50.12 72.44 61.54 77.19 61.22 79.48 54.16 Residual [74] 80.44 73.83 80.96 74.29 87.80 67.02 81.11 74.14 89.65 60.03 90.76 45.70 95.46 29.68 86.93 64.86 86.41 61.02 SHE [84] 88.66 56.87 90.32 52.53 92.76 45.87 90.60 51.09 91.30 54.10 91.93 48.81 87.62 60.56 90.14 60.45 90.00 55.06 GEN [46] 87.87 51.88 89.88 46.35 94.16 31.42 90.25 44.75 92.22 42.56 90.94 43.85 81.34 60.02 90.18 51.97 88.84 48.59 ATS [37] 80.07 62.42 82.13 61.13 99.02 4.34 80.67 62.17 95.29 21.37 92.65 30.34 100.00 0.00 97.90 11.08 90.65 32.29 SCALE [77] 80.91 54.93 83.55 49.93 90.18 36.66 86.53 44.02 83.56 52.63 83.60 49.48 74.30 62.15 80.77 59.34 81.91 52.96 fDBD [43] 89.57 51.03 91.60 45.11 94.60 32.51 92.08 42.95 92.67 44.85 93.15 40.69 89.78 55.10 92.62 48.10 91.64 46.64 MDS++ [52] 87.28 55.83 88.95 52.56 95.41 27.55 89.22 50.20 94.53 32.74 94.69 29.06 91.99 41.26 91.34 51.65 91.08 45.18 NCI [44] 87.83 54.88 89.49 50.34 91.93 41.49 90.34 49.41 90.58 51.64 91.96 45.17 85.71 58.57 89.12 55.40 89.09 52.17 PRISM (Ours) 88.38 53.91 89.94 50.73 97.87 12.54 90.11 48.93 95.79 25.72 96.73 18.60 100.00 0.00 98.43 9.10 94.50 27.77 Table 8: Performance of OOD detection methods for a ResNet-18 backbone trained on CIFAR-100. Method Near Far Extreme CIFAR-10 Tiny ImageNet MNIST Places365 SVHN Textures ICONIC-444 MIDOG Average AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ MSP [27] 78.49 79.85 82.12 74.53 75.64 87.65 79.27 79.31 79.02 78.67 77.57 80.73 83.35 74.86 71.59 90.70 78.55 80.52 MDS [40] 56.00 95.91 61.57 94.29 67.97 93.46 63.18 93.24 70.60 90.24 76.13 73.09 68.61 87.86 57.87 97.63 63.83 91.78 MDSEns [40] 57.16 95.38 65.66 92.47 88.55 61.05 67.00 91.07 83.36 71.00 85.88 51.37 93.00 7.36 91.24 47.92 78.24 63.40 GRAM [61] 73.46 81.52 78.05 76.86 85.76 61.63 77.04 78.10 92.35 37.95 89.68 47.46 99.94 0.00 86.16 64.74 85.00 55.95 EBO [45] 79.20 80.07 82.93 74.12 78.35 87.39 79.75 79.98 82.31 76.56 78.74 80.17 86.88 69.64 77.50 86.72 81.01 78.77 RMDS [58] 77.80 82.72 82.57 75.46 79.41 84.70 83.38 67.17 85.08 62.70 83.69 64.86 80.21 91.13 77.58 78.95 80.66 78.00 ReAct [64] 78.77 80.46 82.89 74.25 77.97 86.69 79.90 80.61 83.19 75.80 80.06 79.88 87.14 67.96 78.72 83.71 81.35 77.98 MLS [25] 79.21 80.01 82.93 74.02 78.31 87.35 79.77 79.95 82.20 77.03 78.73 80.23 86.70 70.98 77.35 87.41 80.95 79.12 ViM [74] 74.42 87.40 79.69 81.79 78.47 83.85 79.16 81.19 82.25 77.33 84.08 64.09 80.72 81.69 73.48 94.04 78.38 83.02 KNN [66] 77.97 80.88 83.64 73.83 80.98 83.34 80.19 78.31 83.78 70.15 80.97 74.57 87.66 70.16 72.99 89.70 80.87 77.96 DICE [65] 77.86 81.36 80.72 79.76 79.59 81.30 77.91 83.10 84.95 69.24 77.66 79.44 87.85 58.32 85.86 63.26 82.06 73.21 FeatNorm [80] 45.61 98.07 49.98 95.65 95.57 31.64 53.69 94.83 93.44 33.19 81.03 57.58 93.96 31.80 89.97 61.99 73.56 66.02 ASH-b [15] 76.48 79.92 79.92 75.88 76.68 81.00 78.77 79.23 85.72 65.63 80.98 73.49 88.88 58.07 80.10 81.96 81.08 74.25 ASH-s [15] 79.18 79.24 82.49 74.55 80.14 81.67 80.49 78.05 85.62 66.17 81.38 74.13 90.14 57.60 79.26 83.80 82.48 74.20 Residual [74] 44.58 97.13 48.03 96.24 59.21 94.95 49.42 95.73 57.54 93.38 66.23 78.07 59.00 89.63 44.77 98.26 52.10 93.72 SHE [84] 77.23 81.37 83.02 74.52 80.83 80.76 80.33 76.65 84.71 66.19 84.10 67.17 88.48 68.39 74.68 88.09 81.40 76.29 GEN [46] 79.29 79.98 83.27 73.19 78.46 87.92 80.16 79.33 82.38 76.78 79.21 79.70 87.26 69.68 77.11 87.27 81.17 78.66 ATS [37] 71.49 86.63 75.61 82.71 95.62 27.40 70.80 87.44 92.87 36.83 84.84 61.11 99.96 0.01 77.13 73.85 82.71 58.27 SCALE [77] 79.24 79.41 82.74 74.12 79.69 83.26 80.50 77.92 84.92 68.42 80.80 75.44 89.22 61.43 78.93 84.28 82.18 75.29 fDBD [43] 78.39 80.34 83.96 72.24 78.76 87.99 79.84 79.32 80.80 80.36 81.27 78.04 86.14 77.99 72.81 93.99 80.27 81.24 MDS++ [52] 71.70 86.55 76.54 83.72 82.39 76.32 76.65 81.45 87.03 59.78 87.07 53.92 91.80 45.06 76.55 84.20 80.53 72.54 NCI [44] 78.36 80.30 83.54 72.90 79.56 85.51 80.85 78.13 83.16 75.23 83.79 72.30 86.63 74.21 74.84 92.89 81.18 79.31 PRISM (Ours) 70.59 89.05 77.65 82.26 92.42 45.95 77.21 81.22 91.19 41.48 93.21 30.89 100.00 0.00 94.48 31.36 86.62 50.40 6.29, 95% CI [5.33, 7.25]) and MDS++ (mean rank 6.33, 95% CI [5.74, 6.92]). Using a Nemenyi post-hoc test at α = 0.05, the critical difference is (CD = 2.08); the rank gaps between PRISM and both GRAM (∆ = 3.25) and MDS++ (∆ = 3.29) exceed this threshold, indicating statistically significant improvements in average rank. These results support our claim that PRISM is not only strong on average but also consistently top-ranked across diverse OOD datasets. Qualitative Error Analysis Across Benchmarks To complement the quantitative results, we qualitatively inspect high-confidence false accepts (OOD samples assigned high ID-likeness) across all three benchmark families. For the ImageNet-based OpenOOD setting, we report examples from SSB-hard, Textures, and NINCO (see Figs. 7 to 9); for the medical and industrial settings, we

Fig. 6: Mean-rank comparison (AUROC) across OOD datasets. Average rank of OOD detection methods computed over OOD datasets. Error bars show 95% CIs; lower rank is better.
show near- and far-OOD examples on OpenMIBOOD/PhaKIR and ICONIC-444/almond (see Figs. 10 and 11).
Across the ImageNet-based OpenOOD test sets, many of the most confident false accepts are consistent with either (i) ID-OOD overlap/contamination or (ii) inherently fine-grained semantic ambiguity, rather than a clear distribution shift. Prior work on NINCO reports substantial overlap for commonly used ImageNet OOD sets such as SSB-hard and Textures and motivates the construction of a more carefully curated alternative [11]. This effect is most pronounced on SSB-hard, where we observe a larger performance gap, with multiple OOD samples that are visually near-indistinguishable from canonical ImageNet concepts (e.g., touch football → football helmet, cruise liner → ocean liner, hot air balloon → balloon). The SSB-hard example black olives further illustrates a granularity mismatch between OOD labels and ImageNet semantics: although the annotation focuses on an ingredient, the overall image depicts a typical pizza instance, so the detector's assignment to the ImageNet class pizza is semantically reasonable. Even on the Textures dataset (where performance is strong), false accepts often correspond to texture attributes that naturally occur in ImageNet classes (e.g., striped/freckled aligning with zebra/banana), highlighting that OOD can become ill-defined when the ID taxonomy is comparatively coarse while OOD labels are highly fine-grained. NINCO is explicitly curated to reduce shortcut cues, and indeed many remaining false accepts are more genuinely fine-grained or context-dependent; nevertheless, we still observe occasional overlap-like cases in this large-scale, scene-centric setting (e.g., waffles → waffle iron when a prominent waffle is present, or hippopus → snorkel when a snorkel is visible in the background), and several of the hardest NINCO examples correspond to highly fine-grained categories and small/secondary objects. In addition, some NINCO false accepts arise because the nominally OOD object occupies only a small region of the image (e.g., glass of milk mapped to the ImageNet class ice lolly), while the overall scene is dominated by the person interacting with the object (a child drinking milk vs. eating an ice lolly), making the ID/OOD decision inherently context-dependent.
In contrast, on OpenMIBOOD/PhaKIR and ICONIC-444/almond, the selected near- and far-OOD false accepts are largely free of obvious ID contamination and instead reflect real near-OOD confusions: subtle appearance changes, blur and acquisition artifacts, or highly similar shape/texture/color between ID and OOD categories (see Figs. 10 and 11). Beyond fine-grained visual similarity, these errors also reveal how the underlying ID task structure influences OOD behavior. For PhaKIR, the near-OOD sets remain laparoscopic scenes but introduce distribution shifts via different instruments and procedures (Cholec80, EndoSeg15), whereas the far-OOD set includes a different medical field without surgical tools (Kvasir). Consequently, borderline errors often reflect whether the image exhibits instrument-specific cues learned from the ID task: images with weak or absent instrument evidence tend to be absorbed by the broad non-instrument mode, while images with tool-like structures may be mapped to the closest instrument-related ID class. A similar effect appears on ICONIC-444/almond: among the seven ID classes, almond shell fragment is visually more distinctive than the fine-grained almond categories, and almond blanched is the only predominantly white class, making OOD samples that share these coarse attributes harder to separate from ID. Taken together with the ImageNet-based analysis above, these results highlight that different application domains induce qualitatively different failure modes (overlap/ambiguity vs. fine-grained confusions and category-structure effects), reinforcing the importance of evaluating OOD detectors on a diverse set of benchmarks for reliable interpretation. Across all settings, PRISM's false accepts remain largely class-consistent and interpretable, supporting its robustness as a post-hoc detector.
Feature Fusion Ablations and Efficiency. For completeness, we report an ablation of PRISM and representative baselines, where all numbers denote the average over all large-scale benchmarks (AUROC/FPR95). While strong methods such as MDS++ and ViM achieve (88.37%/39.44%) and (85.59%/41.79%), PRISM improves to (93.47%/23.65%), indicating that aggregating shallow-to-deep information into a single hierarchical embedding yields a more stable ID geometry than single-layer or logit-based scores (e.g., MSP (70.60%/74.10%), EBO (60.70%/78.22%)). In addition, we ablate the pre-PCA feature normalization: removing per-layer normalization before stacking and PCA substantially degrades performance to (87.87%/36.82%), showing that normalization is critical for stable fusion across layers with different feature scales. Ablations confirm that both fusion and subspace modeling contribute: a Mahalanobis detector on the fused vector is slightly weaker (92.81%/24.84%), and a per-layer MDS++ variant with uniform aggregation degrades further (90.12%/32.06%). We also tested combining the projected Mahalanobis and residual components using an additive rule after score normalization to account for different magnitudes, but this performs slightly worse (93.24%/24.21%). We therefore adopt multiplicative fusion, which avoids the additional ID statistics required for normalization while yielding the best overall performance. Beyond OOD detection performance, PRISM's PCA compression yields a compact representation (e.g., ), thereby reducing the complexity of covariance estimation compared

Fig. 7: Qualitative analysis for OpenOOD (ImageNet-1k / SSB-hard). For each column, the top row shows an OOD sample from the SSB-hard split, with its original OOD class label annotated in blue (parentheses). The two rows below show two ID ImageNet examples from the ID class predicted by the Mahalanobis component of our detector (i.e., the class achieving the minimum Mahalanobis distance in PCA space), with the corresponding predicted ID class label annotated in red.
to operating on the full stacked feature dimension. Finally, PRISM avoids the overhead of layer-wise modeling: per-layer Mahalanobis approaches must estimate and evaluate class-conditional statistics separately for each layer (e.g., for ImageNet-1k, 1000 class means per layer, plus repeated distance computations), whereas PRISM fits a single set of class-conditional statistics in the fused space after one PCA projection, making it simpler and typically more efficient.
Summary. Taken together, the detailed tables and rank-based analysis reinforce the main practical conclusion: there is no universally best post-hoc OOD detector across domains and OOD types, but PRISM provides a robust ID-only default by integrating complementary information across representation depth, thereby reducing sensitivity to benchmark-specific depth preferences and improving consistency across natural, medical, and industrial settings. Additionally, this comprehensive evaluation demonstrates the importance of a diverse evaluation framework (e.g., application domains, OOD categories) for validating and comparing OOD detection methods.

Fig. 8: Qualitative analysis for OpenOOD (ImageNet-1k / Textures). For each column, the top row shows an OOD sample from the Textures split, with its original OOD class label annotated in blue (parentheses). The two rows below show two ID ImageNet examples from the ID class predicted by the Mahalanobis component of our detector (i.e., the class achieving the minimum Mahalanobis distance in PCA space), with the corresponding predicted ID class label annotated in red.

Fig. 9: Qualitative analysis for OpenOOD (ImageNet-1k / NINCO). For each column, the top row shows an OOD sample from the NINCO split, with its original OOD class label annotated in blue (parentheses). The two rows below show two ID ImageNet examples from the ID class predicted by the Mahalanobis component of our detector (i.e., the class achieving the minimum Mahalanobis distance in PCA space), with the corresponding predicted ID class label annotated in red.
PRISM: Multi-Layer OOD Detection 11 Table 9: Performance of OOD detection methods on ImageNet-1k using three backbones: ResNet-50, ViT-B/16, and Swin-T. Metrics are reported in % (higher is better for AUROC; lower is better for FPR95, indicated by ↑ / ↓). The best and second-best results for each OOD dataset (i.e., each column) are shown in bold or underlined, respectively. Method Near Far Extreme SSB-Hard NINCO iNaturalist Textures OpenImage-O MNIST FashionMNIST Average AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ResNet-50 MSP [27] 68.32 85.50 76.73 76.15 84.80 59.68 77.34 70.50 82.29 67.07 78.39 78.01 81.22 62.81 77.94 72.33 MDS [40] 70.44 81.32 82.58 70.13 95.25 26.25 93.57 26.16 92.14 43.12 99.75 0.03 98.90 3.13 89.83 36.38 MDSEns [40] 43.20 97.98 51.52 95.82 58.17 97.52 75.37 65.95 56.26 91.98 54.65 100.00 50.58 99.94 54.41 94.01 GRAM [61] 68.21 81.38 76.76 71.78 84.66 61.78 94.29 26.65 82.52 63.70 96.33 22.11 98.01 10.31 85.61 47.83 EBO [45] 54.10 95.16 54.68 94.62 51.16 98.09 49.14 95.48 53.78 95.76 16.46 100.00 22.11 100.00 41.68 97.11 RMDS [58] 75.47 70.78 86.12 58.89 91.52 50.18 83.92 69.26 89.28 59.96 98.04 8.39 95.61 28.62 88.62 47.71 ReAct [64] 62.94 92.95 67.30 90.25 62.69 95.24 74.80 83.33 71.24 85.51 72.01 99.00 76.78 94.51 69.70 92.13 MLS [25] 65.55 86.54 72.85 78.72 80.37 67.29 71.35 74.03 77.70 71.21 62.02 92.29 67.87 78.21 70.21 79.58 ViM [74] 57.94 89.85 72.15 80.95 92.15 39.71 95.01 23.14 89.80 48.59 99.81 0.03 98.67 3.43 85.54 41.42 KNN [66] 62.93 90.69 78.30 77.92 86.05 71.36 93.77 22.42 86.39 63.03 99.64 0.01 95.51 35.60 85.64 51.46 DICE [65] 49.60 98.24 46.46 99.20 44.16 99.92 47.52 97.60 41.45 99.67 24.65 100.00 26.26 100.00 39.29 99.26 FeatNorm [80] 67.80 84.06 66.40 81.73 50.13 96.60 68.34 68.80 52.82 90.28 95.12 47.44 96.74 15.89 73.38 66.60 ASH-b [15] 40.51 99.14 31.40 99.78 28.73 99.98 34.98 98.14 26.17 99.91 11.45 100.00 13.75 100.00 26.17 99.60 ASH-s [15] 64.52 86.87 71.39 79.74 80.19 65.31 71.08 71.45 76.12 71.47 60.05 93.30 66.50 79.74 69.01 79.75 Residual [74] 55.27 90.85 69.77 82.99 90.28 43.11 94.38 23.90 87.63 51.80 99.79 0.01 99.00 1.64 84.23 42.45 SHE [84] 69.22 81.23 77.25 70.57 81.31 50.56 83.85 54.88 74.03 66.34 88.97 48.83 82.16 65.92 79.51 63.51 GEN [46] 70.37 85.74 82.23 72.75 92.65 40.56 85.36 62.38 89.36 59.31 97.29 15.26 95.88 21.50 87.33 50.57 ATS [37] 54.55 93.96 66.64 84.90 73.04 86.92 78.19 66.98 71.78 83.68 86.08 84.86 88.36 75.55 74.05 82.94 SCALE [77] 64.58 86.88 71.46 79.76 80.17 65.58 71.05 71.84 76.19 71.58 60.02 93.43 66.46 79.99 69.02 79.90 fDBD [43] 58.80 91.21 71.70 85.39 86.42 65.17 86.53 59.75 85.37 69.75 94.84 38.47 94.26 41.42 81.97 64.38 MDS++ [52] 75.44 69.48 86.43 60.20 91.81 48.81 94.65 23.37 90.46 53.99 97.38 7.89 95.43 32.39 89.88 42.34 NCI [44] 61.54 88.02 74.47 78.13 91.90 37.61 90.89 37.44 88.72 52.05 95.85 29.23 94.76 34.28 84.60 52.40 PRISM (Ours) 68.82 82.70 83.39 70.32 93.63 36.30 97.78 9.36 91.41 43.07 99.61 0.00 99.40 0.00 89.96 35.36 Swin-T MSP [27] 71.78 83.37 81.72 71.07 89.86 48.22 83.27 62.34 85.77 61.15 90.34 54.91 83.64 64.03 83.35 64.64 MDS [40] 68.58 87.42 81.65 77.45 93.55 40.71 89.79 50.95 91.02 51.82 94.54 44.95 94.87 39.94 87.09 57.57 MDSEns [40] 42.75 97.77 36.49 99.00 37.56 99.93 34.90 93.66 40.92 96.94 54.48 100.00 58.61 97.96 44.65 98.07 GRAM [61] 58.92 87.21 61.57 82.28 73.51 71.81 70.94 72.27 65.94 80.23 85.16 54.41 91.99 35.81 72.98 68.21 EBO [45] 68.21 82.48 78.25 71.41 85.13 59.75 78.96 62.48 79.86 65.13 77.05 89.97 62.25 90.74 74.73 76.58 RMDS [58] 71.62 81.58 84.77 69.11 95.54 23.31 89.24 51.16 92.13 43.24 93.98 49.05 93.11 55.30 88.02 55.59 ReAct [64] 69.27 85.68 81.96 74.83 90.00 58.21 87.03 55.17 87.67 61.03 88.86 83.42 81.62 78.89 83.03 73.18 MLS [25] 70.44 81.86 80.89 68.29 88.99 47.66 81.68 59.03 83.72 59.61 86.31 64.71 73.31 72.62 80.09 66.39 ViM [74] 68.57 85.44 81.99 72.29 95.08 30.13 93.69 34.90 92.93 40.32 95.95 28.43 94.59 40.60 88.15 49.50 KNN [66] 64.17 90.28 79.03 80.46 88.82 65.91 90.53 46.10 88.50 63.20 95.76 26.91 91.14 85.10 84.78 66.59 DICE [65] 59.26 90.53 67.57 85.93 69.51 85.18 81.68 53.95 71.33 77.55 77.91 93.24 58.47 92.37 68.59 84.42 FeatNorm [80] 49.26 95.59 50.22 95.95 68.67 89.62 45.04 96.84 53.83 94.77 5.82 100.00 12.16 100.00 38.19 96.50 ASH-b [15] 45.87 97.40 47.07 97.84 46.62 98.51 41.66 98.95 45.64 98.90 32.77 100.00 26.25 99.98 40.21 98.80 ASH-s [15] 44.58 96.58 33.33 99.42 23.03 99.90 20.26 99.90 21.95 99.79 8.64 100.00 7.33 100.00 22.89 99.29 Residual [74] 65.20 87.32 78.15 77.07 93.42 38.16 92.38 40.45 91.17 47.07 95.22 35.64 94.79 38.80 86.33 53.77 SHE [84] 70.61 76.45 82.52 62.29 92.67 34.35 88.82 46.28 88.02 50.31 97.96 11.32 89.02 46.64 86.63 47.33 GEN [46] 72.75 84.44 85.18 68.57 94.23 34.61 88.15 55.02 90.56 52.08 95.90 27.58 90.60 45.77 87.73 53.47 ATS [37] 61.10 88.92 72.49 76.37 82.91 67.39 85.03 55.16 70.41 81.36 99.23 0.35 99.01 2.10 81.79 50.61 SCALE [77] 64.64 84.10 72.47 76.93 78.60 71.03 68.52 74.96 71.18 75.83 62.76 97.26 52.97 95.24 66.39 83.57 fDBD [43] 65.93 88.75 80.12 78.64 90.91 56.35 88.35 56.86 89.48 60.50 94.31 46.19 94.24 43.09 85.63 62.08 MDS++ [52] 73.66 70.54 87.02 55.25 97.27 11.17 92.64 35.83 93.81 33.73 94.32 51.61 88.93 81.68 88.85 52.15 NCI [44] 68.95 84.85 82.92 71.36 92.21 47.23 88.33 56.07 89.78 57.29 94.28 45.01 90.55 58.98 86.15 61.21 PRISM (Ours) 70.12 78.94 85.55 58.43 95.51 22.84 97.25 11.98 93.85 32.53 99.79 0.00 98.93 1.35 90.91 30.60 ViT-B-16 MSP [27] 74.17 78.90 81.64 65.47 91.20 41.23 72.17 70.25 86.94 51.70 42.84 97.70 54.51 89.95 70.00 73.47 MDS [40] 64.55 92.06 79.60 82.79 88.72 71.12 90.43 49.63 87.18 71.75 97.21 6.26 98.09 7.45 86.17 52.81 MDSEns [40] 64.33 88.70 51.91 91.87 40.19 99.24 76.49 66.80 47.51 92.02 91.67 88.49 96.51 19.60 68.98 76.78 GRAM [61] 68.45 83.31 78.17 72.04 88.98 49.09 81.69 59.63 84.21 60.28 91.64 59.32 88.48 55.29 82.78 63.77 EBO [45] 66.85 81.82 63.72 81.73 70.07 82.35 47.96 90.85 70.11 78.87 16.76 99.99 14.19 100.00 47.82 88.60 RMDS [58] 71.23 86.96 84.92 72.89 92.77 48.85 90.44 47.73 90.60 58.88 95.42 36.40 96.19 23.36 88.38 53.87 ReAct [64] 68.28 82.29 67.48 79.98 74.97 78.49 58.77 86.84 76.45 73.65 24.06 99.99 27.20 100.00 54.52 86.93 MLS [25] 73.69 77.92 78.95 66.83 89.79 43.70 67.01 73.53 85.20 52.54 32.97 98.91 41.17 95.48 64.69 75.39 ViM [74] 57.01 92.18 72.57 84.44 85.76 69.16 91.17 43.62 84.39 69.81 98.16 0.99 98.77 3.36 83.45 50.45 KNN [66] 62.76 92.30 80.18 80.81 88.01 70.68 91.50 42.54 87.88 65.47 98.23 1.75 97.60 11.70 86.17 50.95 DICE [65] 53.14 94.11 50.37 92.72 54.83 93.11 65.82 81.82 57.23 89.61 66.86 94.96 79.86 77.17 61.47 89.22 FeatNorm [80] 55.04 95.47 71.13 84.78 87.44 59.58 69.81 78.39 73.63 86.45 83.51 85.00 69.23 95.86 72.14 85.12 ASH-b [15] 40.09 97.60 46.03 96.89 51.16 98.08 49.75 94.67 50.13 97.00 17.00 99.92 59.68 99.12 43.92 97.78 ASH-s [15] 53.69 91.83 40.45 97.81 34.24 99.73 26.10 99.44 36.19 99.16 16.70 100.00 7.58 100.00 30.46 98.09 Residual [74] 53.84 93.37 69.58 86.63 82.76 74.95 90.23 47.13 81.18 74.79 98.32 0.63 99.00 1.28 81.70 52.19 SHE [84] 72.92 78.25 83.61 62.14 93.65 34.04 88.59 48.10 90.76 44.75 97.38 12.61 91.81 42.61 87.95 46.70 GEN [46] 74.30 78.39 81.46 65.32 91.58 39.47 70.96 71.47 87.12 50.01 40.86 98.81 50.72 94.76 68.96 74.10 ATS [37] 61.60 89.67 68.28 85.01 73.78 88.31 70.84 82.69 72.60 81.61 73.07 94.52 70.85 96.91 69.77 89.09 SCALE [77] 66.58 82.09 61.14 84.64 65.10 87.83 45.41 92.62 65.80 84.53 17.86 99.99 11.60 100.00 45.79 90.56 fDBD [43] 63.93 88.25 80.02 74.96 89.68 57.29 88.20 53.90 88.69 57.04 88.68 81.75 91.81 52.58 83.69 68.28 MDS++ [52] 70.78 79.73 85.01 65.71 94.81 29.41 92.03 42.50 92.15 44.53 97.98 2.82 97.35 16.35 89.52 40.37 NCI [44] 67.82 85.50 82.69 69.86 91.07 49.84 87.80 53.72 89.87 52.34 89.04 75.85 89.01 64.40 84.62 66.59 PRISM (Ours) 66.28 87.87 82.22 72.56 91.20 52.78 95.00 25.93 90.27 54.11 99.95 0.00 99.82 0.09 88.76 41.51
12 G. Krumpl et al. Table 10: Average OOD detection performance per method and OOD test set using three backbones: Resnet-18, CCT-7/7x2, and ConvNeXt-S. Results are reported as the mean over the four tasks (Almond, Wheat, Kernels, and Food-grade). Arrows (↑/↓) indicate whether higher or lower values are better. Additionally, the best and second-best results in each column are highlighted in bold and underlined, respectively. All values are reported as percentages. Method Near Far Extreme Mean Mean ImageNet-1k iNaturalist Textures Places365 Mean Average AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 AUROC FPR95 ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ResNet-18 MSP [27] 72.86 72.12 74.85 64.22 76.06 55.12 64.79 62.83 68.46 64.08 76.59 53.52 71.48 58.89 73.06 65.07 MDS [40] 89.14 32.15 97.03 14.25 99.73 0.54 99.86 0.15 99.72 0.99 99.74 0.45 99.76 0.53 95.31 15.65 MDSEns [40] 87.94 28.82 97.15 10.01 96.65 3.63 98.34 1.76 93.34 6.99 97.04 3.29 96.34 3.92 93.81 14.25 GRAM [61] 94.27 19.03 98.38 6.20 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 97.55 8.41 EBO [45] 73.37 60.43 73.47 52.02 60.61 55.63 46.60 63.56 52.34 61.91 60.24 56.68 54.95 59.45 67.26 57.30 RMDS [58] 86.45 37.59 89.95 30.43 99.67 1.30 99.84 0.52 99.43 2.92 99.71 1.04 99.66 1.45 92.02 23.16 ReAct [64] 80.66 58.08 83.78 50.07 91.51 37.53 84.94 56.39 85.78 49.26 91.86 38.27 88.52 45.36 84.32 51.17 MLS [25] 73.08 61.10 73.46 52.21 61.01 55.30 47.02 63.49 52.60 61.90 60.79 56.29 55.36 59.24 67.30 57.52 ViM [74] 89.09 32.07 95.90 24.43 98.46 10.97 98.99 7.50 98.88 7.33 98.15 13.55 98.62 9.84 94.54 22.11 KNN [66] 85.71 53.26 94.17 40.91 97.54 26.89 97.77 25.48 97.23 29.12 97.59 26.45 97.53 26.98 92.47 40.39 DICE [65] 71.65 59.49 72.72 50.72 52.65 60.32 42.42 65.73 47.85 63.99 52.36 60.27 48.82 62.58 64.40 57.60 FeatNorm [80] 41.92 89.83 63.61 68.71 2.41 99.21 0.67 99.84 5.10 97.44 1.63 99.45 2.45 98.99 35.99 85.84 ASH-b [15] 70.48 81.14 72.01 72.53 61.27 68.36 48.22 73.46 55.73 70.69 61.37 69.31 56.65 70.45 66.38 74.71 ASH-s [15] 78.67 57.70 82.77 45.43 74.90 55.21 59.00 63.08 68.08 60.47 75.37 55.95 69.34 58.68 76.93 53.93 Residual [74] 82.09 45.60 86.69 37.28 89.02 22.70 91.41 22.45 92.05 18.48 87.29 23.85 89.94 21.87 86.24 34.92 SHE [84] 88.11 40.26 93.84 26.20 99.26 4.20 99.64 1.96 98.64 8.19 99.35 3.60 99.22 4.49 93.72 23.65 GEN [46] 74.73 65.40 76.18 55.25 76.84 51.93 65.17 59.97 69.10 60.99 77.34 50.78 72.11 55.92 74.34 58.85 ATS [37] 77.51 71.20 85.67 52.54 99.81 0.33 99.64 0.45 99.51 1.61 99.87 0.14 99.71 0.63 87.63 41.46 SCALE [77] 78.17 57.68 81.70 46.17 72.34 54.84 56.20 63.03 66.32 60.54 72.10 55.66 66.74 58.52 75.54 54.12 fDBD [43] 85.96 47.21 90.02 38.38 98.72 5.37 99.14 2.99 97.63 10.70 98.92 4.37 98.60 5.86 91.53 30.48 MDS++ [52] 90.53 24.85 97.86 10.72 99.98 0.07 99.99 0.04 99.96 0.12 99.98 0.04 99.98 0.07 96.12 11.88 NCI [44] 83.49 54.80 85.88 43.81 97.54 10.74 97.88 9.90 96.21 19.96 97.78 9.34 97.35 12.49 88.91 37.03 PRISM (Ours) 91.47 21.08 98.19 8.53 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 96.56 9.87 CCT-7/7x2 MSP [27] 73.89 75.02 77.40 70.77 76.78 54.53 75.09 55.12 76.55 62.38 75.63 53.05 76.01 56.27 75.77 67.35 MDS [40] 74.24 68.10 78.38 61.61 82.14 44.39 86.85 40.77 86.82 38.76 81.88 44.17 84.42 42.02 79.01 57.24 MDSEns [40] 59.02 79.76 72.10 65.32 33.09 67.63 30.62 70.05 29.49 71.05 33.34 67.35 31.63 69.02 54.25 71.37 GRAM [61] 79.54 59.27 86.71 44.65 99.99 0.00 100.00 0.00 99.99 0.00 99.99 0.00 99.99 0.00 88.75 34.64 EBO [45] 72.61 70.79 77.09 65.58 75.12 48.53 74.45 48.83 73.20 56.92 74.52 46.81 74.32 50.27 74.68 62.21 RMDS [58] 75.07 62.58 75.75 64.94 87.00 35.76 88.60 34.49 87.92 36.31 87.20 35.97 87.68 35.63 79.50 54.38 ReAct [64] 72.26 70.80 77.13 65.45 74.86 49.58 74.18 48.83 73.04 57.27 74.31 47.56 74.10 50.81 74.49 62.35 MLS [25] 72.53 70.85 77.05 65.51 75.21 48.79 74.44 49.06 73.30 57.18 74.57 47.11 74.38 50.54 74.65 62.30 ViM [74] 76.75 68.58 84.59 56.03 84.12 27.00 87.88 23.79 90.23 22.42 83.19 26.43 86.35 24.91 82.56 49.84 KNN [66] 76.96 61.53 82.96 58.97 82.16 33.80 83.91 31.30 85.08 37.06 81.07 32.31 83.06 33.62 80.99 51.37 DICE [65] 67.12 80.46 78.95 63.25 71.03 68.07 73.22 61.71 70.83 67.40 70.90 68.16 71.49 66.34 72.52 70.02 FeatNorm [80] 65.91 80.92 66.88 72.11 99.10 5.98 98.12 14.87 98.75 8.48 99.10 5.58 98.77 8.73 77.19 53.92 ASH-b [15] 53.12 95.00 52.89 94.39 54.40 76.13 54.70 76.24 57.50 79.01 53.25 75.79 54.96 76.79 53.66 88.73 ASH-s [15] 72.08 74.51 77.04 71.22 74.18 58.19 74.38 58.91 72.16 65.49 74.25 55.23 73.74 59.46 74.29 68.39 Residual [74] 75.29 73.43 82.96 58.55 87.07 33.96 93.62 21.23 94.81 18.21 86.65 33.97 90.54 26.84 82.93 52.94 SHE [84] 78.02 61.43 86.12 50.37 81.98 38.93 82.97 32.24 84.73 37.60 81.24 36.58 82.73 36.34 82.29 49.38 GEN [46] 76.49 65.45 80.08 59.00 77.25 44.86 75.96 44.31 77.13 51.14 75.90 44.43 76.56 46.19 77.71 56.88 ATS [37] 72.43 72.24 77.64 67.68 99.99 0.02 99.99 0.00 99.97 0.02 99.99 0.00 99.99 0.01 83.35 46.64 SCALE [77] 73.06 71.14 77.82 65.33 76.97 49.27 76.68 48.57 75.07 56.96 76.48 47.27 76.30 50.52 75.73 62.33 fDBD [43] 77.87 62.70 84.09 54.87 80.11 37.23 79.83 33.55 81.88 40.62 79.00 35.63 80.21 36.76 80.72 51.44 MDS++ [52] 79.82 60.22 87.48 46.85 89.53 24.94 92.35 22.48 94.00 20.88 88.42 25.25 91.07 23.39 86.12 43.49 NCI [44] 71.94 69.56 78.75 64.04 74.81 48.47 74.59 48.65 73.74 56.37 74.73 45.81 74.47 49.83 75.05 61.14 PRISM (Ours) 87.31 34.27 96.63 13.97 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 94.65 16.08 ConvNeXt-S MSP [27] 80.59 62.22 86.60 52.50 78.29 47.66 77.13 46.31 81.01 45.13 77.00 46.73 78.36 46.46 81.85 53.72 MDS [40] 90.39 32.15 95.91 21.78 98.80 5.91 98.70 6.72 99.32 2.03 98.70 6.80 98.88 5.37 95.06 19.77 MDSEns [40] 92.37 21.90 97.66 8.44 74.99 25.02 74.99 25.01 74.11 26.01 74.99 25.01 74.77 25.26 88.27 18.53 GRAM [61] 91.80 32.14 97.08 15.65 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 96.29 15.93 EBO [45] 74.37 67.26 81.32 56.45 68.00 68.73 67.46 64.81 72.08 56.98 67.68 67.09 68.81 64.40 74.83 62.70 RMDS [58] 86.13 45.57 90.28 35.67 91.14 23.00 87.17 26.68 92.44 21.56 89.43 25.56 90.05 24.20 88.82 35.15 ReAct [64] 74.28 67.34 81.23 56.98 67.93 68.67 67.30 64.67 72.20 56.86 67.51 67.46 68.73 64.41 74.75 62.91 MLS [25] 74.38 67.22 81.33 56.43 68.05 68.20 67.51 64.48 72.13 56.70 67.73 66.61 68.85 64.00 74.85 62.55 ViM [74] 87.86 38.78 93.68 33.58 97.67 13.89 95.83 17.09 98.36 7.57 97.79 13.23 97.42 12.95 92.99 28.44 KNN [66] 85.94 45.97 89.41 39.88 88.68 25.83 83.96 26.49 90.89 23.39 86.89 26.86 87.60 25.64 87.65 37.16 DICE [65] 62.70 88.26 65.53 92.57 54.03 96.17 49.41 98.17 59.92 90.72 52.92 97.13 54.07 95.55 60.77 92.13 FeatNorm [80] 45.42 91.13 65.06 69.42 11.88 94.56 12.48 96.04 27.58 82.91 8.40 96.44 15.09 92.49 41.86 84.35 ASH-b [15] 46.54 95.67 41.90 98.64 46.12 96.31 48.30 96.78 51.70 93.75 48.54 96.40 48.67 95.81 45.70 96.71 ASH-s [15] 75.52 71.18 81.54 66.21 68.64 86.19 68.24 84.22 74.05 71.09 67.62 86.65 69.64 82.04 75.57 73.14 Residual [74] 89.78 34.81 94.35 29.70 95.80 23.90 97.16 22.74 97.74 16.54 95.26 24.50 96.49 21.92 93.54 28.81 SHE [84] 85.25 48.50 89.70 40.61 90.37 29.34 88.37 28.56 91.74 25.49 88.94 30.70 89.85 28.52 88.27 39.21 GEN [46] 80.74 55.62 86.94 44.42 75.95 42.68 74.24 39.46 79.38 39.21 74.17 42.09 75.93 40.86 81.20 46.97 ATS [37] 77.81 67.50 85.86 52.54 99.67 0.07 99.66 0.01 99.71 0.04 99.65 0.03 99.67 0.04 87.78 40.02 SCALE [77] 73.70 69.95 80.76 60.48 66.46 73.46 65.76 68.83 72.09 59.80 65.89 71.12 67.55 68.30 74.00 66.24 fDBD [43] 84.36 50.68 88.34 43.84 83.33 34.32 79.37 31.33 86.01 30.45 80.80 35.03 82.38 32.78 85.03 42.43 MDS++ [52] 88.55 42.75 93.49 31.90 96.03 17.00 93.89 22.06 97.57 11.06 95.52 19.90 95.75 17.51 92.60 30.72 NCI [44] 76.18 65.31 82.16 56.33 70.82 66.69 70.74 62.39 74.10 56.58 70.53 62.92 71.55 62.15 76.63 61.26 PRISM (Ours) 91.06 29.34 96.32 19.03 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 100.00 0.00 95.79 16.12

Fig. 10: Qualitative analysis on OpenMIBOOD/PhaKIR. For each column, the top row shows an OOD sample annotated with the source OOD dataset (blue). The two rows below show two ID examples from the Mahalanobis-predicted ID class (red; argmin Mahalanobis distance in PCA space), illustrating which ID category each OOD sample is mapped to.

Fig. 11: ICONIC-444/almond qualitative examples. For each column, the top row shows an OOD sample with its OOD class label (blue), and the two rows below show two ID examples from the Mahalanobis-predicted ID class (red; argmin Mahalanobis distance in PCA space).
G. Krumpf et al.
Table 11: Average OOD detection performance for the OpenMIBOOD benchmark, measured as FPR at 95% TPR, reported per method and OOD category (near, far, and extreme. Arrows ( ) indicate whether higher or lower values are better. Additionally, the best and second-best results in each column are highlighted in bold and underlined, respectively. All values are reported as percentages. : Results of MDSEns should be interpreted with caution, as discussed in the main manuscript and in prior benchmark analyses [19].
| Method | MIDOG | PhaKIR | OASIS-3 | Average | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Near | Far | Extreme | Mean | Near | Far | Extreme | Mean | Near | Far | Extreme | Mean | Average | ||||||||||||||
| AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | AUROC | FPR95 | |
| MSP [27] | 55.90 | 90.51 | 80.91 | 71.45 | 55.87 | 91.13 | 64.23 | 84.36 | 50.14 | 96.21 | 32.50 | 97.65 | 37.32 | 97.96 | 39.99 | 97.27 | 54.56 | 93.62 | 79.16 | 89.17 | 73.97 | 83.24 | 69.23 | 88.68 | 57.82 | 90.10 |
| MDS [40] | 63.21 | 81.00 | 90.91 | 41.60 | 80.30 | 62.95 | 78.14 | 61.85 | 76.49 | 70.30 | 51.48 | 91.14 | 93.02 | 21.38 | 73.66 | 60.94 | 96.19 | 30.57 | 100.00 | 0.00 | 100.00 | 0.00 | 98.73 | 10.19 | 83.51 | 44.33 |
| MDSEns [40] | 90.60 | 21.83 | 100.00 | 0.00 | 100.00 | 0.00 | 96.87 | 7.28 | 97.05 | 21.24 | 98.41 | 15.85 | 100.00 | 0.00 | 98.49 | 12.36 | 99.67 | 2.31 | 100.00 | 0.00 | 100.00 | 0.00 | 99.89 | 0.77 | 98.41 | 6.80 |
| GRAM [61] | 83.20 | 95.05 | 92.44 | 95.10 | 92.83 | 93.39 | 89.49 | 94.51 | 14.24 | 99.19 | 12.18 | 98.67 | 82.95 | 61.61 | 36.46 | 86.49 | 98.27 | 8.90 | 100.00 | 0.00 | 100.00 | 0.00 | 99.42 | 2.97 | 75.12 | 61.32 |
| EBO [45] | 56.85 | 88.48 | 84.45 | 52.10 | 58.31 | 86.15 | 66.54 | 75.58 | 40.17 | 95.41 | 34.33 | 96.37 | 24.31 | 98.74 | 32.94 | 96.84 | 50.43 | 97.38 | 70.69 | 91.67 | 76.36 | 71.99 | 65.83 | 87.01 | 55.10 | 86.48 |
| RMDS [58] | 52.23 | 94.64 | 60.68 | 89.41 | 40.97 | 96.78 | 51.30 | 93.61 | 67.71 | 90.67 | 35.47 | 92.69 | 57.76 | 88.66 | 53.65 | 90.67 | 68.97 | 56.84 | 98.40 | 2.78 | 83.62 | 29.53 | 83.66 | 29.71 | 62.87 | 71.33 |
| ReAct [64] | 57.13 | 87.41 | 84.53 | 54.04 | 55.33 | 84.63 | 65.66 | 75.36 | 46.12 | 95.83 | 27.47 | 95.83 | 28.66 | 98.95 | 34.08 | 96.87 | 69.50 | 81.51 | 76.70 | 77.78 | 96.63 | 16.81 | 80.94 | 58.70 | 60.23 | 76.98 |
| MLS [25] | 56.58 | 88.40 | 82.98 | 59.64 | 57.58 | 87.96 | 65.71 | 78.67 | 40.16 | 95.37 | 34.33 | 96.35 | 24.32 | 98.72 | 32.94 | 96.81 | 50.53 | 96.93 | 70.78 | 91.67 | 76.31 | 71.74 | 65.87 | 86.78 | 54.84 | 87.42 |
| VIM [74] | 64.35 | 82.79 | 93.11 | 39.62 | 79.90 | 66.45 | 79.12 | 62.95 | 62.70 | 91.04 | 43.26 | 87.68 | 87.43 | 26.51 | 64.46 | 68.41 | 98.45 | 9.01 | 100.00 | 0.00 | 100.00 | 0.00 | 99.48 | 3.00 | 81.02 | 44.79 |
| KNN [66] | 61.63 | 85.31 | 90.18 | 48.92 | 76.69 | 75.30 | 76.17 | 69.85 | 55.42 | 94.39 | 37.76 | 93.98 | 60.19 | 76.17 | 51.12 | 88.18 | 97.83 | 13.66 | 100.00 | 0.00 | 100.00 | 0.00 | 99.28 | 4.55 | 75.52 | 54.19 |
| DICE [65] | 54.15 | 92.69 | 79.08 | 66.50 | 47.12 | 96.12 | 60.12 | 85.10 | 53.32 | 93.31 | 22.64 | 98.59 | 18.95 | 96.47 | 31.64 | 96.12 | 26.57 | 99.95 | 23.85 | 100.00 | 41.04 | 89.00 | 30.49 | 96.32 | 40.75 | 92.51 |
| FeatNorm [80] | 53.07 | 93.02 | 39.99 | 95.08 | 26.20 | 98.62 | 39.76 | 95.57 | 41.03 | 99.90 | 78.48 | 91.68 | 65.24 | 76.73 | 61.58 | 89.44 | 37.97 | 86.72 | 62.00 | 50.00 | 87.71 | 31.41 | 62.56 | 56.04 | 54.63 | 80.35 |
| ASH-b [15] | 57.79 | 86.88 | 86.47 | 49.53 | 62.57 | 84.61 | 68.94 | 73.68 | 40.05 | 95.17 | 60.02 | 95.00 | 53.23 | 96.05 | 51.10 | 95.41 | 70.07 | 84.28 | 88.06 | 52.78 | 94.96 | 25.91 | 84.37 | 54.32 | 68.14 | 74.47 |
| ASH+s [15] | 56.02 | 88.10 | 82.70 | 58.52 | 56.40 | 87.36 | 65.04 | 78.00 | 40.15 | 94.20 | 65.08 | 94.28 | 56.59 | 94.13 | 53.94 | 94.20 | 76.14 | 55.99 | 91.06 | 45.00 | 95.57 | 0.00 | 87.59 | 33.66 | 68.86 | 68.62 |
| Residual [74] | 65.77 | 82.53 | 92.35 | 43.33 | 84.66 | 59.09 | 80.93 | 61.65 | 76.99 | 68.69 | 57.33 | 88.69 | 95.00 | 17.56 | 76.44 | 58.31 | 96.53 | 32.77 | 100.00 | 0.00 | 100.00 | 0.00 | 98.84 | 10.92 | 85.40 | 43.63 |
| SHE [84] | 61.80 | 85.86 | 91.09 | 47.57 | 75.11 | 76.72 | 76.00 | 70.05 | 50.35 | 96.99 | 47.42 | 94.65 | 69.35 | 78.95 | 55.71 | 90.20 | 90.71 | 47.42 | 99.67 | 2.50 | 100.00 | 0.00 | 96.79 | 16.64 | 76.17 | 58.96 |
| CEN [46] | 55.46 | 91.46 | 79.78 | 77.84 | 54.88 | 92.81 | 63.38 | 87.37 | 51.53 | 93.13 | 32.67 | 97.71 | 38.83 | 94.93 | 41.01 | 95.26 | 54.56 | 93.62 | 79.16 | 89.17 | 73.97 | 83.24 | 69.23 | 88.68 | 57.87 | 90.43 |
| ATS [37] | 67.56 | 79.61 | 93.88 | 35.88 | 78.90 | 52.69 | 80.12 | 56.06 | 59.06 | 89.61 | 34.76 | 95.52 | 77.49 | 47.33 | 57.10 | 77.49 | 84.00 | 35.05 | 93.00 | 25.00 | 99.92 | 0.00 | 92.31 | 20.02 | 76.51 | 51.19 |
| SCALE [77] | 55.71 | 88.96 | 82.03 | 60.32 | 55.47 | 88.29 | 64.40 | 79.19 | 38.97 | 94.73 | 46.82 | 95.16 | 37.08 | 97.65 | 40.95 | 95.85 | 84.36 | 36.90 | 98.23 | 10.00 | 100.00 | 0.00 | 94.20 | 15.63 | 66.52 | 63.56 |
| FDBD [43] | 58.33 | 87.80 | 83.03 | 61.69 | 57.89 | 84.45 | 66.41 | 77.98 | 50.11 | 95.68 | 27.54 | 95.60 | 34.62 | 98.61 | 37.42 | 96.63 | 75.34 | 87.83 | 93.34 | 50.00 | 94.60 | 42.14 | 87.76 | 59.99 | 63.87 | 78.20 |
| MDS++ [52] | 63.06 | 84.21 | 94.91 | 29.42 | 84.18 | 63.58 | 80.72 | 59.07 | 56.52 | 98.38 | 66.57 | 89.18 | 91.98 | 35.58 | 71.69 | 74.38 | 99.63 | 1.78 | 100.00 | 0.00 | 100.00 | 0.00 | 99.88 | 0.59 | 84.09 | 44.68 |
| NCI [44] | 60.81 | 84.84 | 90.46 | 43.62 | 68.73 | 77.93 | 73.34 | 68.80 | 49.63 | 95.07 | 27.52 | 98.38 | 57.08 | 97.35 | 44.74 | 96.93 | 70.33 | 98.06 | 79.46 | 97.22 | 88.34 | 90.75 | 79.38 | 95.34 | 65.82 | 87.03 |
| PRISM (Ours) | 76.23 | 77.99 | 99.91 | 0.69 | 99.84 | 0.78 | 91.99 | 26.46 | 85.37 | 75.29 | 92.45 | 35.04 | 99.99 | 0.01 | 92.69 | 36.78 | 99.94 | 0.21 | 100.00 | 0.00 | 100.00 | 0.00 | 99.98 | 0.07 | 94.86 | 21.10 |
G. Krumpf et al.