Scaling Out-of-Distribution Detection for Real-World Settings

Dan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou, Joe Kwon +3 more
11/25/2019
cs.CVcs.LG

Official code: hendrycks/anomaly-seg (158 stars, MIT, last commit 2023-02-02).

Abstract

Detecting out-of-distribution examples is important for safety-critical machine learning applications such as detecting novel biological phenomena and self-driving cars. However, existing research mainly focuses on simple small-scale settings. To set the stage for more realistic out-of-distribution detection, we depart from small-scale settings and explore large-scale multiclass and multi-label settings with high-resolution images and thousands of classes. To make future work in real-world settings possible, we create new benchmarks for three large-scale settings. To test ImageNet multiclass anomaly detectors, we introduce the Species dataset containing over 700,000 images and over a thousand anomalous species. We leverage ImageNet-21K to evaluate PASCAL VOC and COCO multilabel anomaly detectors. Third, we introduce a new benchmark for anomaly segmentation by introducing a segmentation benchmark with road anomalies. We conduct extensive experiments in these more realistic settings for out-of-distribution detection and find that a surprisingly simple detector based on the maximum logit outperforms prior methods in all the large-scale multi-class, multi-label, and segmentation tasks, establishing a simple new baseline for future work.

View on arXivView PDF

Code Implementations(1)

MIT

The Combined Anomalous Object Segmentation (CAOS) Benchmark

15820PythonNov 25, 20193 years agoMIT
anomaly-detectioncarla-simulatorml-safetyout-of-distribution-detectionsegmentation

Similar Papers

Cite this paper

@article{hendrycks2019scaling,
  title  = {Scaling Out-of-Distribution Detection for Real-World Settings},
  author = {Dan Hendrycks and Steven Basart and Mantas Mazeika and Andy Zou and Joe Kwon and Mohammadreza Mostajabi and Jacob Steinhardt and Dawn Song},
  year   = {2019},
  eprint = {1911.11132},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11132}
}

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/1911.11132.svg)](https://codeofpaper.com/paper/1911.11132)

Discussion