Skip to main content
QUICK REVIEW

[Paper Review] Does Your Model Know the Digit 6 Is Not a Cat? A Less Biased Evaluation of "Outlier" Detectors

Alireza Shafaei, Mark Schmidt|arXiv (Cornell University)|Sep 13, 2018
Anomaly Detection Techniques and ApplicationsComputer Science36 citations
TL;DR

This paper proposes OD-test, a three-dataset evaluation framework to fairly assess out-of-distribution (OOD) detection methods in image classification. By separating training, in-distribution validation, and diverse OOD test sets, it reveals that existing methods perform poorly on realistic high-dimensional image OOD detection, exposing critical limitations in current benchmarks and model reliability.

ABSTRACT

In the real world, a learning system could receive an input that looks nothing like anything it has seen during training, and this can lead to unpredictable behaviour. We thus need to know whether any given input belongs to the population distribution of the training data to prevent unpredictable behaviour in deployed systems. A recent surge of interest on this problem has led to the development of sophisticated techniques in the deep learning literature. However, due to the absence of a standardized problem formulation or an exhaustive evaluation, it is not evident if we can rely on these methods in practice. What makes this problem different from a typical supervised learning setting is that we cannot model the diversity of out-of-distribution samples in practice. The distribution of outliers used in training may not be the same as the distribution of outliers encountered in the application. Therefore, classical approaches that learn inliers vs. outliers with only two datasets can yield optimistic results. We introduce OD-test, a three-dataset evaluation scheme as a practical and more reliable strategy to assess progress on this problem. The OD-test benchmark provides a straightforward means of comparison for methods that address the out-of-distribution sample detection problem. We present an exhaustive evaluation of a broad set of methods from related areas on image classification tasks. Furthermore, we show that for realistic applications of high-dimensional images, the existing methods have low accuracy. Our analysis reveals areas of strength and weakness of each method.

Motivation & Objective

  • Address the lack of standardized, reliable evaluation for out-of-distribution (OOD) detection in deep learning.
  • Highlight the flaw in classical two-dataset approaches that overestimate OOD detection performance due to mismatched outlier distributions.
  • Provide a practical, reproducible evaluation scheme that better reflects real-world deployment conditions.
  • Evaluate a broad range of OOD detection methods on image classification tasks using a more realistic and diverse outlier distribution.
  • Expose the limitations of current methods when tested on high-dimensional, realistic image data, especially with semantically similar but out-of-distribution inputs like '6' vs. 'cat'.

Proposed method

  • Propose OD-test, a three-dataset evaluation protocol: training set, in-distribution validation set, and a diverse OOD test set.
  • Use standard image classification datasets (e.g., CIFAR-10, SVHN) for in-distribution data and a curated set of OOD images from diverse sources.
  • Ensure the OOD test set includes semantically similar but out-of-distribution examples (e.g., digit '6' as a cat-like object) to test model robustness.
  • Evaluate OOD detectors using standard metrics such as AUROC and FPR at 95% TPR across multiple models and architectures.
  • Design the benchmark to be modular and extensible, allowing future methods to be evaluated under consistent, realistic conditions.
  • Emphasize the importance of using a diverse, non-representative OOD distribution to avoid overfitting to specific outlier patterns.

Experimental results

Research questions

  • RQ1How do current OOD detection methods perform when evaluated on a realistic, diverse OOD test set that differs from the training outlier distribution?
  • RQ2To what extent do classical two-dataset evaluation schemes overestimate the true OOD detection performance due to distributional mismatch?
  • RQ3How do methods perform on semantically similar but out-of-distribution inputs, such as a digit '6' being misclassified as a 'cat'?
  • RQ4What are the key failure modes of existing OOD detection methods when applied to high-dimensional image data?
  • RQ5Can a standardized, three-dataset benchmark improve the reliability and comparability of OOD detection evaluations?

Key findings

  • Existing OOD detection methods show significantly lower performance on the proposed OD-test benchmark compared to standard two-dataset evaluations.
  • Many models fail to distinguish between semantically similar but out-of-distribution inputs, such as a digit '6' being misclassified as a 'cat', revealing a critical flaw in robustness.
  • The performance gap between standard benchmarks and the OD-test highlights the over-optimism of prior evaluations due to mismatched outlier distributions.
  • Even state-of-the-art methods achieve only moderate AUROC scores (e.g., below 0.85) on the OD-test, indicating substantial room for improvement.
  • The diversity and realism of the OOD test set in OD-test expose weaknesses in current methods that are not visible in simpler benchmarks.
  • The three-dataset scheme provides a more reliable and practical evaluation framework that better reflects real-world deployment challenges.

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.