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

Reducing Network Agnostophobia

About

Agnostophobia, the fear of the unknown, can be experienced by deep learning engineers while applying their networks to real-world applications. Unfortunately, network behavior is not well defined for inputs far from a networks training set. In an uncontrolled environment, networks face many instances that are not of interest to them and have to be rejected in order to avoid a false positive. This problem has previously been tackled by researchers by either a) thresholding softmax, which by construction cannot return "none of the known classes", or b) using an additional background or garbage class. In this paper, we show that both of these approaches help, but are generally insufficient when previously unseen classes are encountered. We also introduce a new evaluation metric that focuses on comparing the performance of multiple approaches in scenarios where such unseen classes or unknowns are encountered. Our major contributions are simple yet effective Entropic Open-Set and Objectosphere losses that train networks using negative samples from some classes. These novel losses are designed to maximize entropy for unknown inputs while increasing separation in deep feature space by modifying magnitudes of known and unknown samples. Experiments on networks trained to classify classes from MNIST and CIFAR-10 show that our novel loss functions are significantly better at dealing with unknown inputs from datasets such as Devanagari, NotMNIST, CIFAR-100, and SVHN.

Akshay Raj Dhamija, Manuel G\"unther, Terrance E. Boult• 2018

Related benchmarks

TaskDatasetResultRank
OOD DetectionMVTec Metal Nut Dissimilar
AUROC0.6875
90
OOD DetectionMVTec Pill (Similar)
AUROC71.67
90
OOD DetectionMVTec Pill (Dissimilar)
AUROC62.49
90
OOD DetectionISIC Ink Artefacts (Similar)
AUROC75.12
70
OOD DetectionISIC Colour Chart Artefacts Similar
AUROC62.4
40
OOD DetectionISIC Colour Chart Artefacts (Dissimilar)
AUROC0.5814
40
OOD DetectionISIC Colour Chart Artefacts Synth Similar
AUROC0.6147
40
OOD DetectionISIC Ink Artefacts (Dissimilar)
AUROC52.91
40
OOD DetectionISIC Colour Chart Artefacts, Synth Dissimilar
AUROC46.5
40
OOD DetectionMVTec Metal Nut - Similar artifacts (test)
AUROC85.23
30
Showing 10 of 15 rows

Other info

Follow for update