HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Outlier Exposure with Confidence Control for Out-of-Distribution Detection

Aristotelis-Angelos Papadopoulos; Mohammad Reza Rajati; Nazim Shaikh; Jiamian Wang

Outlier Exposure with Confidence Control for Out-of-Distribution Detection

Abstract

Deep neural networks have achieved great success in classification tasks during the last years. However, one major problem to the path towards artificial intelligence is the inability of neural networks to accurately detect samples from novel class distributions and therefore, most of the existent classification algorithms assume that all classes are known prior to the training stage. In this work, we propose a methodology for training a neural network that allows it to efficiently detect out-of-distribution (OOD) examples without compromising much of its classification accuracy on the test examples from known classes. We propose a novel loss function that gives rise to a novel method, Outlier Exposure with Confidence Control (OECC), which achieves superior results in OOD detection with OE both on image and text classification tasks without requiring access to OOD samples. Additionally, we experimentally show that the combination of OECC with state-of-the-art post-training OOD detection methods, like the Mahalanobis Detector (MD) and the Gramian Matrices (GM) methods, further improves their performance in the OOD detection task, demonstrating the potential of combining training and post-training methods for OOD detection.

Code Repositories

nazim1021/OOD-detection-using-OECC
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
out-of-distribution-detection-on-202-layer GRUs + OECC
AUROC: 99.18
out-of-distribution-detection-on-cifar-10ResNet 34 + OECC+GM
AUROC: 99.7
out-of-distribution-detection-on-cifar-10-vsWide 40-2 + OECC
AUPR: 82.0
AUROC: 94.9
out-of-distribution-detection-on-cifar-100WRN 40-2 + OECC
FPR95: 28.89
out-of-distribution-detection-on-cifar-100-vsWRN 40-2 + OECC
AUPR: 35.2
AUROC: 78.7
out-of-distribution-detection-on-cifar-100-vs-8OECC + MD
AUROC: 98.7
out-of-distribution-detection-on-imagenetResNet 34 + OE
AUROC: 92.5
out-of-distribution-detection-on-ms-1m-vs-ijbResNeXt 50 + OE
AUROC: 52.6

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
Outlier Exposure with Confidence Control for Out-of-Distribution Detection | Papers | HyperAI