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

COMBOOD: A Semiparametric Approach for Detecting Out-of-distribution Data for Image Classification

About

Identifying out-of-distribution (OOD) data at inference time is crucial for many machine learning applications, especially for automation. We present a novel unsupervised semi-parametric framework COMBOOD for OOD detection with respect to image recognition. Our framework combines signals from two distance metrics, nearest-neighbor and Mahalanobis, to derive a confidence score for an inference point to be out-of-distribution. The former provides a non-parametric approach to OOD detection. The latter provides a parametric, simple, yet effective method for detecting OOD data points, especially, in the far OOD scenario, where the inference point is far apart from the training data set in the embedding space. However, its performance is not satisfactory in the near OOD scenarios that arise in practical situations. Our COMBOOD framework combines the two signals in a semi-parametric setting to provide a confidence score that is accurate both for the near-OOD and far-OOD scenarios. We show experimental results with the COMBOOD framework for different types of feature extraction strategies. We demonstrate experimentally that COMBOOD outperforms state-of-the-art OOD detection methods on the OpenOOD (both version 1 and most recent version 1.5) benchmark datasets (for both far-OOD and near-OOD) as well as on the documents dataset in terms of accuracy. On a majority of the benchmark datasets, the improvements in accuracy resulting from the COMBOOD framework are statistically significant. COMBOOD scales linearly with the size of the embedding space, making it ideal for many real-life applications.

Magesh Rajasekaran, Md Saiful Islam Sajol, Frej Berglind, Supratik Mukhopadhyay, Kamalika Das• 2026

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionCIFAR-10 vs SVHN (test)
AUROC0.9906
137
Out-of-Distribution DetectionImageNet
AUROC81.7
113
Out-of-Distribution DetectionCIFAR-100 SVHN in-distribution out-of-distribution (test)
AUROC97.69
107
OOD DetectionSVHN (test)
AUROC0.967
84
Out-of-Distribution DetectionCIFAR-10 In-Dist Texture Out-Dist
AUROC95.98
57
Out-of-Distribution DetectionCIFAR100 (in) CIFAR10 (out)
AUROC75.39
57
OOD DetectionCIFAR-10 OOD (test)
AUROC83.9
46
Out-of-Distribution DetectionMNIST (In-distribution) vs Fashion-MNIST (OOD) (test)
AUC0.9871
45
Out-of-Distribution DetectionCIFAR-100 (In-distribution) vs CIFAR-10 (OOD) (test)
AUROC78.6
40
Out-of-Distribution DetectionCIFAR10 ID Place365 OOD (test)
AUROC92.27
35
Showing 10 of 43 rows

Other info

Follow for update