Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

Rui Huang, Yixuan Li• 2021

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
AUROC98.15
219
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9540.63
204
Out-of-Distribution DetectionTextures
AUROC0.8123
168
Out-of-Distribution DetectionPlaces
FPR9549.54
142
Out-of-Distribution DetectionPlaces with ImageNet-1k OOD In-distribution (test)
FPR9549.54
99
Near-OOD DetectionCIFAR-100 Near-OOD (test)
AUROC80.4
93
OOD DetectionPlaces (OOD)
AUROC0.8906
93
OOD DetectionCIFAR-10
FPR@9562.9
85
OOD DetectionSUN (OOD)
AUROC92.01
81
Near-OOD DetectionCIFAR-10
AUROC71.45
71
Showing 10 of 27 rows

Other info

Code

Follow for update