Energy-based Out-of-distribution Detection
Weitang Liu, Xiaoyun Wang, John D. Owens, Yixuan Li

TL;DR
This paper introduces an energy-based framework for out-of-distribution detection that outperforms traditional softmax confidence scores by better distinguishing in- and out-of-distribution samples, improving safety in machine learning deployment.
Contribution
It proposes a unified energy score approach for OOD detection that is theoretically aligned with input density and adaptable to pre-trained classifiers and training procedures.
Findings
Energy scores outperform softmax confidence in OOD detection.
Using energy reduces false positive rate by 18.03% on CIFAR-10.
Energy-based training surpasses existing state-of-the-art methods.
Abstract
Determining whether inputs are out-of-distribution (OOD) is an essential building block for safely deploying machine learning models in the open world. However, previous methods relying on the softmax confidence score suffer from overconfident posterior distributions for OOD data. We propose a unified framework for OOD detection that uses an energy score. We show that energy scores better distinguish in- and out-of-distribution samples than the traditional approach using the softmax scores. Unlike softmax confidence scores, energy scores are theoretically aligned with the probability density of the inputs and are less susceptible to the overconfidence issue. Within this framework, energy can be flexibly used as a scoring function for any pre-trained neural classifier as well as a trainable cost function to shape the energy surface explicitly for OOD detection. On a CIFAR-10 pre-trained…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications · Domain Adaptation and Few-Shot Learning
MethodsDropout · Batch Normalization · Average Pooling · *Communicated@Fast*How Do I Communicate to Expedia? · Residual Connection · Convolution · Wide Residual Block · Global Average Pooling · Kaiming Initialization · WideResNet
