arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.03759cs.LGcs.AI
收藏

基于能量的分布外检测

Energy-based Out-of-distribution Detection

University of California, San Diego(加州大学圣迭戈分校);University of California, Davis(加州大学戴维斯分校);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Weitang Liu, Xiaoyun Wang, John D. Owens, Yixuan Li

摘要:

确定输入是否是分布外(OOD)是在开放世界中安全部署机器学习模型的基本构建块。然而,以前的方法依赖于softmax置信度得分遭受过度自信的后验分布的OOD数据。我们提出了一个统一的框架OOD检测,使用能量分数。我们表明,能量分数比使用softmax分数的传统方法更好地区分分布内和分布外的样本。与softmax置信度得分不同,能量得分理论上与输入的概率密度一致,并且不太容易受到过度自信问题的影响。在这个框架内,能量可以灵活地用作任何预先训练的神经分类器的评分函数以及可训练的成本函数,以明确地为OOD检测塑造能量表面。在CIFAR-10预训练的WideResNet上,与softmax置信度得分相比,使用能量得分将平均FPR(TPR 95%)降低了18.03%。通过基于能量的训练,我们的方法在常见的基准测试中表现优于最先进的方法。

英文摘要:

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 WideResNet, using the energy score reduces the average FPR (at TPR 95%) by 18.03% compared to the softmax confidence score. With energy-based training, our method outperforms the state-of-the-art on common benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑