Out-of-Distribution Detection with Hyperspherical Energy
Abstract
The ability to detect if inputs are out-of-distribution (OOD) is essential to guarantee the reliability and safety of machine learning models that are deployed in an open environment. Recent studies have shown that an energy-based score is effective. However, unconstrained energy scores from a model trained with cross-entropy loss may not necessarily reflect the log-likelihood. To address this limitation, we introduce a novel hyperspherical energy score that connects energy with hyperspherical representations. By modeling hyperspherical representations using von Mises-Fisher distribution, our method provides a more accurate interpretation from a log-likelihood perspective, making it an efficient OOD detection indicator. Our method consistently achieves competitive performance on popular OOD detection benchmarks. On the large-scale ImageNet-1k benchmark, our method is more than 10 times faster than the KNN-based score, while simultaneously reducing the average FPR95 by 11.85%.
BibTeX
@misc{burapacheep2024out,
author = {Jirayu Burapacheep and Yixuan Li},
title = {{Out-of-Distribution Detection with Hyperspherical Energy}},
year = {2024},
url = {https://openreview.net/forum?id=6sfRRcynDy},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.
Loading related content...