[Paper Review] Are all outliers alike? On Understanding the Diversity of Outliers for Detecting OODs
This paper proposes a taxonomy of out-of-distribution (OOD) samples based on their source and nature of uncertainty—such as aleatoric vs epistemic uncertainty, distance from predicted class vs tied distribution, and principal vs non-principal component uncertainty. It introduces an integrated OOD detection method that combines multiple signatures, achieving state-of-the-art performance across CIFAR10, SVHN, and MNIST benchmarks with AUROC scores up to 99.89% on CIFAR100 and 99.41% on SVHN.
Deep neural networks (DNNs) are known to produce incorrect predictions with very high confidence on out-of-distribution (OOD) inputs. This limitation is one of the key challenges in the adoption of deep learning models in high-assurance systems such as autonomous driving, air traffic management, and medical diagnosis. This challenge has received significant attention recently, and several techniques have been developed to detect inputs where the model's prediction cannot be trusted. These techniques use different statistical, geometric, or topological signatures. This paper presents a taxonomy of OOD outlier inputs based on their source and nature of uncertainty. We demonstrate how different existing detection approaches fail to detect certain types of outliers. We utilize these insights to develop a novel integrated detection approach that uses multiple attributes corresponding to different types of outliers. Our results include experiments on CIFAR10, SVHN and MNIST as in-distribution data and Imagenet, LSUN, SVHN (for CIFAR10), CIFAR10 (for SVHN), KMNIST, and F-MNIST as OOD data across different DNN architectures such as ResNet34, WideResNet, DenseNet, and LeNet5.
Motivation & Objective
- To address the limitation of existing OOD detection methods that assume all outliers are alike and fail to detect diverse outlier types.
- To identify and classify OOD samples based on distinct uncertainty types: aleatoric vs epistemic, distance from predicted class vs tied distribution, and uncertainty in principal vs non-principal components.
- To demonstrate that current uniform detection approaches fail on specific outlier types, even with strong empirical performance on standard benchmarks.
- To develop and validate an integrated OOD detection framework that combines multiple detection signatures to improve robustness across diverse outlier types.
- To provide empirical evidence through ablation studies on ResNet34, WideResNet, DenseNet, and LeNet5 across multiple datasets including ImageNet, LSUN, and F-MNIST.
Proposed method
- Proposes a taxonomy of OOD inputs based on three dimensions: aleatoric vs epistemic uncertainty, distance from predicted class vs distance from the tied training distribution, and uncertainty in principal vs non-principal components with low variance.
- Employs multiple detection signatures: Mahalanobis distance (Mahala), k-Nearest Neighbors (KNN), SPB (score-based prediction), ODIN, PCA, and trust scores.
- Integrates these signatures into a single detection framework by combining their confidence scores using a weighted ensemble strategy.
- Uses a top-down inference approach to detect OODs based on distance from the predicted class distribution and the tied training distribution.
- Applies temperature scaling and input perturbations in the ODIN method, and uses feature-level reconstruction and density estimation for additional signals.
- Validates the integrated method across multiple DNN architectures and in-distribution/out-of-distribution dataset combinations, including CIFAR10, SVHN, MNIST, KMNIST, F-MNIST, ImageNet, and LSUN.
Experimental results
Research questions
- RQ1Are all OOD outliers detectable by a single uniform detection method, or do different types of outliers require different detection strategies?
- RQ2How do existing OOD detection methods perform across different types of outliers as defined by uncertainty type and spatial distribution?
- RQ3Can an integrated detection framework combining multiple signatures improve OOD detection performance across diverse outlier types?
- RQ4What is the relative contribution of different uncertainty types—aleatoric, epistemic, principal component, and non-principal component—to OOD detection failure?
- RQ5To what extent does the proposed integrated method outperform state-of-the-art baselines like ODIN and Mahalanobis distance on diverse OOD benchmarks?
Key findings
- The integrated OOD detection method achieves the highest AUROC of 99.89% on CIFAR100 with ResNet34, significantly outperforming ODIN (68.01%) and PCA (97.81% with PCA).
- On SVHN with DenseNet, the integrated method achieves 99.11% AUPR (IN/OUT), surpassing ODIN (84.32%) and PCA (86.62%).
- For SVHN on ResNet34, the integrated method achieves 99.89% AUROC on CIFAR100, compared to 68.01% for ODIN and 97.81% for PCA.
- The method achieves 97.36% DTACC (TPR=95%) on CIFAR100 with ResNet34, outperforming ODIN (67.26%) and PCA (94.52%).
- The ablation study shows that combining Mahalanobis distance (tied and class-specific) and KNN-based methods yields the best performance across all benchmarks.
- The study demonstrates that ODIN and PCA fail significantly on certain outlier types, especially those with low variance in non-principal components, validating the need for a multi-signature approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.