A Less Biased Evaluation of Out-of-distribution Sample Detectors

Alireza Shafaei, Mark Schmidt, James J. Little
9/13/2018
60 citations
cs.LGcs.CVstat.ML

Official code: ashafaei/OD-test (62 stars, Python, MIT, PyTorch, last commit 2023-11-06).

Abstract

In the real world, a learning system could receive an input that is unlike anything it has seen during training. Unfortunately, out-of-distribution samples can lead to unpredictable behaviour.

Show full abstract

We need to know whether any given input belongs to the population distribution of the training/evaluation data to prevent unpredictable behaviour in deployed systems. A recent surge of interest in this problem has led to the development of sophisticated techniques in the deep learning literature. However, due to the absence of a standard problem definition or an exhaustive evaluation, it is not evident if we can rely on these methods. What makes this problem different from a typical supervised learning setting is that the distribution of outliers used in training may not be the same as the distribution of outliers encountered in the application. 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 more reliable strategy to assess progress on this problem. We present an exhaustive evaluation of a broad set of methods from related areas on image classification tasks. Contrary to the existing results, we show that for realistic applications of high-dimensional images the previous techniques have low accuracy and are not reliable in practice.

View on arXivView PDF

Code Implementations(1)

ashafaei/OD-testOfficial100%
PyTorchMIT

OD-test: A Less Biased Evaluation of Out-of-Distribution (Outlier) Detectors (PyTorch)

6211Python, ShellSep 12, 20183 years agoMIT
anomaly-detectiondeep-learningevaluation-frameworkin-distributionod-test+2 more

Similar Papers

Cite this paper

@article{shafaei2018less,
  title  = {A Less Biased Evaluation of Out-of-distribution Sample Detectors},
  author = {Alireza Shafaei and Mark Schmidt and James J. Little},
  year   = {2018},
  eprint = {1809.04729},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.04729}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.04729.svg)](https://codeofpaper.com/paper/1809.04729)

Discussion