HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Rui Huang Yixuan Li

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

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.

Code Repositories

tmlr-group/neglabel
pytorch
Mentioned in GitHub
deeplearning-wisc/gradnorm_ood
pytorch
Mentioned in GitHub
deeplearning-wisc/large_scale_ood
Official
pytorch
Mentioned in GitHub
tmlr-group/class_prior
pytorch
Mentioned in GitHub
ma-kjh/CMA-OoDD
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
out-of-distribution-detection-on-imagenet-1k-10MOS (BiT-S-R101x1)
AUROC: 81.23
FPR95: 60.43
out-of-distribution-detection-on-imagenet-1k-12MOS (BiT-S-R101x1)
AUROC: 90.11
FPR95: 39.97
out-of-distribution-detection-on-imagenet-1k-3MOS (BiT-S-R101x1)
AUROC: 98.15
FPR95: 9.28
out-of-distribution-detection-on-imagenet-1k-8MOS (BiT-S-R101x1)
AUROC: 92.01
FPR95: 40.63
out-of-distribution-detection-on-imagenet-1k-9MOS (BiT-S-R101x1)
AUROC: 89.06
FPR95: 49.54

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp