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

Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Data

About

Deep neural networks have attained remarkable performance when applied to data that comes from the same distribution as that of the training set, but can significantly degrade otherwise. Therefore, detecting whether an example is out-of-distribution (OoD) is crucial to enable a system that can reject such samples or alert users. Recent works have made significant progress on OoD benchmarks consisting of small image datasets. However, many recent methods based on neural networks rely on training or tuning with both in-distribution and out-of-distribution data. The latter is generally hard to define a-priori, and its selection can easily bias the learning. We base our work on a popular method ODIN, proposing two strategies for freeing it from the needs of tuning with OoD data, while improving its OoD detection performance. We specifically propose to decompose confidence scoring as well as a modified input pre-processing method. We show that both of these significantly help in detection performance. Our further analysis on a larger scale image dataset shows that the two types of distribution shifts, specifically semantic shift and non-semantic shift, present a significant difference in the difficulty of the problem, providing an analysis of when ODIN-like strategies do or do not work.

Yen-Chang Hsu, Yilin Shen, Hongxia Jin, Zsolt Kira• 2020

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
FPR@9561.91
200
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9560.83
159
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9534.45
137
Out-of-Distribution DetectionPlaces
FPR9563.7
110
Out-of-Distribution DetectionTexture
AUROC73.27
109
Out-of-Distribution DetectionCIFAR-100
AUROC94.79
107
Out-of-Distribution DetectionPlaces with ImageNet-1k OOD In-distribution (test)
FPR9563.7
99
Image ClassificationImageNet-100--
84
OOD DetectionCIFAR-100 IND SVHN OOD
AUROC (%)88.98
74
Out-of-Distribution DetectionAverage (iNaturalist, SUN, Places, Textures)
FPR@9566.07
74
Showing 10 of 41 rows

Other info

Follow for update