HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation

Julian Bitterwolf Maximilian Müller Matthias Hein

In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation

Abstract

Out-of-distribution (OOD) detection is the problem of identifying inputs which are unrelated to the in-distribution task. The OOD detection performance when the in-distribution (ID) is ImageNet-1K is commonly being tested on a small range of test OOD datasets. We find that most of the currently used test OOD datasets, including datasets from the open set recognition (OSR) literature, have severe issues: In some cases more than 50$\%$ of the dataset contains objects belonging to one of the ID classes. These erroneous samples heavily distort the evaluation of OOD detectors. As a solution, we introduce with NINCO a novel test OOD dataset, each sample checked to be ID free, which with its fine-grained range of OOD classes allows for a detailed analysis of an OOD detector's strengths and failure modes, particularly when paired with a number of synthetic "OOD unit-tests". We provide detailed evaluations across a large set of architectures and OOD detection methods on NINCO and the unit-tests, revealing new insights about model weaknesses and the effects of pretraining on OOD detection performance. We provide code and data at https://github.com/j-cb/NINCO.

Code Repositories

robertsi20/Conceptualizing-Uncertainty
pytorch
Mentioned in GitHub
j-cb/ninco
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
out-of-distribution-detection-on-imagenet-1k-13EffNetb7 Relative Cosine Sim
AUROC: 87.9
FPR@95: 53.7
out-of-distribution-detection-on-imagenet-1k-13ViT-B-384 Mahalanobis (pre-trained on IN-21k)
AUROC: 95.0
FPR@95: 27.5
out-of-distribution-detection-on-imagenet-1k-13EffNetv2-M Relative Mahalanobis
AUROC: 88.9
FPR@95: 54.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp