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

How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?

About

Machine learning models deployed in the wild can be challenged by out-of-distribution (OOD) data from unknown classes. Recent advances in OOD detection rely on distance measures to distinguish samples that are relatively far away from the in-distribution (ID) data. Despite the promise, distance-based methods can suffer from the curse-of-dimensionality problem, which limits the efficacy in high-dimensional feature space. To combat this problem, we propose a novel framework, Subspace Nearest Neighbor (SNN), for OOD detection. In training, our method regularizes the model and its feature representation by leveraging the most relevant subset of dimensions (i.e. subspace). Subspace learning yields highly distinguishable distance measures between ID and OOD data. We provide comprehensive experiments and ablations to validate the efficacy of SNN. Compared to the current best distance-based method, SNN reduces the average FPR95 by 15.96% on the CIFAR-100 benchmark.

Soumya Suvra Ghosal, Yiyou Sun, Yixuan Li• 2023

Related benchmarks

TaskDatasetResultRank
OOD DetectionCIFAR-10 (ID) vs Places 365 (OOD)
AUROC96.84
117
Out-of-Distribution DetectionCIFAR-10 vs CIFAR-100 (test)
AUROC89.8
93
Out-of-Distribution DetectionCIFAR10 (ID) vs SVHN (OOD)
AUROC97.8
61
Out-of-Distribution DetectionImageNet Far-OOD
AUROC92.28
52
Out-of-Distribution DetectionImageNet-1K Near-OOD OpenOOD v1.5
AUROC81.33
51
Out-of-Distribution DetectionCIFAR10 (ID) / ISUN (OOD) (test)
FPR@956.02
50
Out-of-Distribution DetectionCIFAR-10 In-Dist Texture Out-Dist
AUROC92.91
41
OOD DetectionCIFAR-10 (In-distribution) vs LSUN-R (Out-of-distribution)
FPR9510.93
34
Out-of-Distribution DetectionCIFAR-10 OpenOOD far-OOD (test)
FPR@9529.15
18
Out-of-Distribution DetectionCIFAR-10
Near-OOD FPR9537.21
12
Showing 10 of 12 rows

Other info

Follow for update