Skip to main content
QUICK REVIEW

[Paper Review] Detecting OODs as datapoints with High Uncertainty

Ramneet Kaur, Susmit Jha|arXiv (Cornell University)|Aug 13, 2021
Anomaly Detection Techniques and ApplicationsComputer Science36 references8 citations
TL;DR

This paper proposes a novel ensemble-based approach to detect out-of-distribution (OOD) inputs in deep neural networks by combining indicators of both epistemic and aleatoric uncertainty. By classifying OOD detection methods into those relying on high epistemic uncertainty (lack of support from in-distribution data) or high aleatoric uncertainty (high prediction entropy), the authors demonstrate that combining both uncertainty types via an ensemble yields state-of-the-art performance across multiple vision benchmarks, achieving superior AUROC and AUPR scores.

ABSTRACT

Deep neural networks (DNNs) are known to produce incorrect predictions with very high confidence on out-of-distribution inputs (OODs). This limitation is one of the key challenges in the adoption of DNNs 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 detect OODs as datapoints with either high epistemic uncertainty or high aleatoric uncertainty. We demonstrate the difference in the detection ability of these techniques and propose an ensemble approach for detection of OODs as datapoints with high uncertainty (epistemic or aleatoric). We perform experiments on vision datasets with multiple DNN architectures, achieving state-of-the-art results in most cases.

Motivation & Objective

  • To classify existing OOD detection techniques based on whether they rely on epistemic or aleatoric uncertainty.
  • To investigate the limitations of existing OOD detection methods that rely solely on one type of uncertainty.
  • To propose a unified detection framework that combines both epistemic and aleatoric uncertainty indicators for improved OOD detection.
  • To empirically evaluate the proposed ensemble method on standard vision datasets and compare it against state-of-the-art baselines.

Proposed method

  • Classify existing OOD detection techniques into two categories: those detecting OODs via high epistemic uncertainty (e.g., Mahalanobis distance, KNN, ODIN) and those via high aleatoric uncertainty (e.g., entropy-based methods, PCA, Mahalanobis distance with temperature scaling).
  • Propose a novel ensemble detector that combines multiple uncertainty indicators—both epistemic and aleatoric—into a single detection framework.
  • Use a weighted ensemble of detectors, where each detector contributes uncertainty scores based on its underlying mechanism (e.g., Mahalanobis distance for epistemic, softmax entropy for aleatoric).
  • Train and evaluate the ensemble on multiple vision datasets (SVHN, CIFAR-10, CIFAR-100, ImageNet, LSUN) using diverse DNN architectures (ResNet34, DenseNet).
  • Apply temperature scaling and confidence calibration to improve uncertainty estimation in the ensemble model.
  • Use standard metrics such as AUROC, AUPR, TNR at 95% TPR, and DTACC to evaluate performance across different OOD benchmarks.

Experimental results

Research questions

  • RQ1How do existing OOD detection methods differ in their ability to detect OOD samples based on whether they rely on epistemic or aleatoric uncertainty?
  • RQ2Can combining epistemic and aleatoric uncertainty indicators improve OOD detection performance beyond individual methods?
  • RQ3Does an ensemble of detectors, each specialized in detecting OODs via one type of uncertainty, outperform state-of-the-art methods on standard benchmarks?
  • RQ4How robust is the proposed ensemble method across diverse datasets and network architectures?

Key findings

  • The proposed ensemble method achieves state-of-the-art AUROC scores of 98.41 on SVHN, 95.86 on ImageNet, and 97.07 on LSUN, significantly outperforming individual baselines.
  • On SVHN with DenseNet, the ensemble achieved 96.27% AUPR (IN) and 99.39% AUPR (OUT), surpassing the next best method (ODIN) by over 2 percentage points.
  • In ablation studies, combining both epistemic and aleatoric uncertainty indicators consistently improved detection performance over using either type alone.
  • The method achieved 97.28% AUROC and 99.88% AUPR (OUT) on CIFAR-100 with LSUN as OOD, demonstrating strong generalization across diverse OOD distributions.
  • The ensemble approach achieved 90.34% TNR at 95% TPR on SVHN with ResNet34, outperforming Mahalanobis + ODIN (83.20%) and PCA + KNN (65.82%) combinations.
  • The results confirm that epistemic and aleatoric uncertainty are complementary, and their joint modeling significantly enhances OOD detection robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.