Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Training OOD Detectors in their Natural Habitats

About

Out-of-distribution (OOD) detection is important for machine learning models deployed in the wild. Recent methods use auxiliary outlier data to regularize the model for improved OOD detection. However, these approaches make a strong distributional assumption that the auxiliary outlier data is completely separable from the in-distribution (ID) data. In this paper, we propose a novel framework that leverages wild mixture data, which naturally consists of both ID and OOD samples. Such wild data is abundant and arises freely upon deploying a machine learning classifier in their natural habitats. Our key idea is to formulate a constrained optimization problem and to show how to tractably solve it. Our learning objective maximizes the OOD detection rate, subject to constraints on the classification error of ID data and on the OOD error rate of ID examples. We extensively evaluate our approach on common OOD detection tasks and demonstrate superior performance.

Julian Katz-Samuels, Julia Nakhleh, Robert Nowak, Yixuan Li• 2022

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionCIFAR-100
AUROC92.68
107
Out-of-Distribution DetectionCIFAR-10
AUROC97.32
105
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID LSUN-C semantic OOD & CIFAR-10-C covariate OOD
OOD Accuracy78.75
74
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID Textures semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy83.14
38
Out-of-Distribution Detection and GeneralizationCIFAR-10 ID SVHN semantic OOD CIFAR-10-C covariate OOD
OOD Accuracy52.76
38
Generalized OOD DetectionCIFAR-10 with Places365 (semantic OOD) and CIFAR-10-C (covariate OOD) (test)
OOD Accuracy54.58
38
Out-of-Distribution DetectionImageNet-100
Average FPR9510.5
22
OOD DetectionCIFAR-10 LSUN-Resize semantic OOD + CIFAR-10-C covariate OOD (test)
FPR0.6
22
Out-of-Distribution DetectionImageNet-100 and iNaturalist (test)
OOD Accuracy44.46
3
Showing 9 of 9 rows

Other info

Follow for update