Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks

About

We consider the problem of detecting out-of-distribution images in neural networks. We propose ODIN, a simple and effective method that does not require any change to a pre-trained neural network. Our method is based on the observation that using temperature scaling and adding small perturbations to the input can separate the softmax score distributions between in- and out-of-distribution images, allowing for more effective detection. We show in a series of experiments that ODIN is compatible with diverse network architectures and datasets. It consistently outperforms the baseline approach by a large margin, establishing a new state-of-the-art performance on this task. For example, ODIN reduces the false positive rate from the baseline 34.7% to 4.3% on the DenseNet (applied to CIFAR-10) when the true positive rate is 95%.

Shiyu Liang, Yixuan Li, R. Srikant• 2017

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K--
524
Out-of-Distribution DetectioniNaturalist
FPR@956.58
200
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9529.05
159
Out-of-Distribution DetectionTextures
AUROC0.8785
141
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9554.2
137
Out-of-Distribution DetectionPlaces
FPR9555.06
110
Out-of-Distribution DetectionTexture
AUROC93.01
109
Out-of-Distribution DetectionOpenImage-O
AUROC96.86
107
Out-of-Distribution DetectionCIFAR-100
AUROC85.16
107
Out-of-Distribution DetectionCIFAR-10
AUROC93.86
105
Showing 10 of 301 rows
...

Other info

Code

Follow for update