Skip to yearly menu bar Skip to main content


Enhancing the Power of OOD Detection via Sample-Aware Model Selection

Feng Xue · Zi He · Yuan Zhang · Chuanlong Xie · Zhenguo Li · Falong Tan

Arch 4A-E Poster #247
[ ]
Thu 20 Jun 5 p.m. PDT — 6:30 p.m. PDT


In this work, we offer a novel perspective on detecting out-of-distribution (OOD) samples and propose a sample-aware model selection algorithm by exploring the model zoo.Our algorithm automatically selects pre-trained models for each test input, effectively identifying OOD samples and classifying them. If no model is selected, the test input is classified as an in-distribution (ID) sample.We provide theoretical analysis that demonstrates our approach maintains the true positive rate of ID samples, and accurately identifies OOD samples with a high probability, given a sufficiently large model zoo. We conducted extensive experiments, which showed that our method leverages the complementarity among individual model detectors to consistently improve the effectiveness of OOD sample identification. Compared to baseline methods, our approach improved the relative performance by 65.40\% and 26.96\% on the CIFAR10 and ImageNet benchmarks, respectively.

Live content is unavailable. Log in and register to view live content