[Paper Review] Reducing Network Agnostophobia
The paper introduces Entropic Open-Set and Objectosphere losses to improve open-set recognition by creating high entropy for unknowns and separating known from unknown samples via feature magnitude, with OSCR-based evaluation and public code.
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.
Motivation & Objective
- Motivate the problem of unknown inputs (agnostophobia) in real-world deployments of deep nets.
- Develop loss functions that improve robustness to unseen classes without relying solely on a background class.
- Propose an evaluation metric (OSCR) tailored for open-set scenarios.
- Demonstrate improvements over softmax thresholding and background-class baselines on MNIST/CIFAR datasets.
Proposed method
- Define Entropic Open-Set loss to maximize softmax entropy for background samples.
- Extend to Objectosphere loss by additionally minimizing the deep feature magnitude of unknowns while keeping knowns with large magnitudes.
- Theoretically prove that the Entropic Open-Set loss is minimized when unknown representations collapse to zero magnitude and equal class logits.
- Show that Objectosphere enforces a margin in feature magnitude between known and unknown samples.
- Evaluate using Open-Set Classification Rate (OSCR) curves to compare rejection and recognition performance.
Experimental results
Research questions
- RQ1Can softmax thresholding and background-class approaches be outperformed by losses that shape feature representations?
- RQ2Do Entropic Open-Set and Objectosphere losses yield higher entropy for unknowns and larger magnitude separation for knowns vs unknowns?
- RQ3Is there a principled evaluation metric that fairly compares open-set methods (OSCR) across datasets?
Key findings
- Entropic Open-Set loss increases entropy for unknown/background samples and improves handling of unknown inputs.
- Objectosphere loss further increases softmax entropy and enforces larger magnitude separation between known and unknown samples.
- Both losses outperform softmax thresholding and background-class baselines on MNIST/ CIFAR-10 derived tasks with unknowns from Devanagari, NotMNIST, CIFAR-100, and SVHN.
- The OSCR curve provides a threshold-based evaluation focusing on known vs unknown rejection and correct known-class classification.
- Experiments show higher CCR at fixed FPRs for Entropic Open-Set and Objectosphere compared to baselines across multiple datasets.
- Code implementing the approach is publicly available.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.