Our new X account is live! Follow @wizwand_team for updates
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
FPR@959.28
200
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9540.63
159
Out-of-Distribution DetectionTextures
AUROC0.8123
141
Out-of-Distribution DetectionPlaces
FPR9549.54
110
Out-of-Distribution DetectionPlaces with ImageNet-1k OOD In-distribution (test)
FPR9549.54
99
OOD DetectionPlaces (OOD)
AUROC0.8906
76
OOD DetectionSUN (OOD)
AUROC92.01
72
OOD DetectionImageNet-1K OOD (Average: OpenImage-O, Texture, iNaturalist, ImageNet-O) 1.0 (test)
AUROC90.11
61
Out-of-Distribution DetectionImageNet-1K
FPR@9539.97
59
OOD DetectionTextures (OOD)
AUROC81.23
38
Showing 10 of 19 rows

Other info

Code

Follow for update