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

DOS: Diverse Outlier Sampling for Out-of-Distribution Detection

About

Modern neural networks are known to give overconfident prediction for out-of-distribution inputs when deployed in the open world. It is common practice to leverage a surrogate outlier dataset to regularize the model during training, and recent studies emphasize the role of uncertainty in designing the sampling strategy for outlier dataset. However, the OOD samples selected solely based on predictive uncertainty can be biased towards certain types, which may fail to capture the full outlier distribution. In this work, we empirically show that diversity is critical in sampling outliers for OOD detection performance. Motivated by the observation, we propose a straightforward and novel sampling strategy named DOS (Diverse Outlier Sampling) to select diverse and informative outliers. Specifically, we cluster the normalized features at each iteration, and the most informative outlier from each cluster is selected for model training with absent category loss. With DOS, the sampled outliers efficiently shape a globally compact decision boundary between ID and OOD data. Extensive experiments demonstrate the superiority of DOS, reducing the average FPR95 by up to 25.79% on CIFAR-100 with TI-300K.

Wenyu Jiang, Hao Cheng, Mingcai Chen, Chongjun Wang, Hongxin Wei• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy76.04
1952
Image ClassificationCIFAR-100
Accuracy75.72
691
Image ClassificationCIFAR-10
Accuracy94.74
507
OOD DetectionCIFAR-10 (ID) vs Places 365 (OOD)
AUROC96.63
117
OOD DetectionCIFAR-10 IND iSUN OOD
AUROC99.99
82
OOD DetectionTextures (OOD) with CIFAR-10 (ID) (test)
FPR@95128
80
OOD DetectionCIFAR-100 IND SVHN OOD
AUROC (%)97.64
74
OOD DetectionLSUN-Resize (OOD) with CIFAR-10 (ID) (test)
FPR@950.00e+0
70
Out-of-Distribution DetectionCIFAR10 (ID) vs SVHN (OOD)
AUROC99.15
61
OOD DetectionCIFAR-10 IND LSUN C OOD
AUROC99.04
60
Showing 10 of 17 rows

Other info

Follow for update