HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

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

Shiyu Liang; Yixuan Li; R. Srikant

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

Abstract

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%.

Code Repositories

facebookresearch/odin
Official
pytorch
Mentioned in GitHub
remic-othr/openmibood
pytorch
Mentioned in GitHub
JoonHyung-Park/ODIN
pytorch
Mentioned in GitHub
kingjamessong/rankfeat
pytorch
Mentioned in GitHub
guyAmit/GLOD
pytorch
Mentioned in GitHub
ericjang/odin
pytorch
Mentioned in GitHub
jun-cen/unified_open_set_recognition
pytorch
Mentioned in GitHub
ShiyuLiang/odin-pytorch
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
out-of-distribution-detection-on-imagenetResNet 34 + ODIN
AUROC: 90.8
out-of-distribution-detection-on-ms-1m-vs-ijbResNeXt 50 + ODIN
AUROC: 61.3

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