MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Space

Rui Huang, Yixuan Li
5/5/2021
cs.CVcs.LG

Official code: deeplearning-wisc/large_scale_ood (102 stars, Apache-2.0, last commit 2021-06-28).

Abstract

Detecting out-of-distribution (OOD) inputs is a central challenge for safely deploying machine learning models in the real world. Existing solutions are mainly driven by small datasets, with low resolution and very few class labels (e.g., CIFAR). As a result, OOD detection for large-scale image classification tasks remains largely unexplored. In this paper, we bridge this critical gap by proposing a group-based OOD detection framework, along with a novel OOD scoring function termed MOS. Our key idea is to decompose the large semantic space into smaller groups with similar concepts, which allows simplifying the decision boundaries between in- vs. out-of-distribution data for effective OOD detection. Our method scales substantially better for high-dimensional class space than previous approaches. We evaluate models trained on ImageNet against four carefully curated OOD datasets, spanning diverse semantics. MOS establishes state-of-the-art performance, reducing the average FPR95 by 14.33% while achieving 6x speedup in inference compared to the previous best method.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Space

10212Shell, PythonFeb 26, 20215 years agoApache-2.0

Cite this paper

@article{huang2021mos,
  title  = {MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Space},
  author = {Rui Huang and Yixuan Li},
  year   = {2021},
  eprint = {2105.01879},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.01879}
}

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

Discussion