Energy-based Out-of-distribution Detection
Weitang Liu, Xiaoyun Wang, John D. Owens, Yixuan Li
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 530 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On the Importance of Gradients for Detecting Distributional Shifts in the Wild 引用了 Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
- On the Importance of Gradients for Detecting Distributional Shifts in the Wild 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- On the Importance of Gradients for Detecting Distributional Shifts in the Wild 引用了 Self-Supervised Learning for Generalizable Out-of-Distribution Detection
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic Space
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic Space 引用了 Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
- MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic Space 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic Space 引用了 Self-Supervised Learning for Generalizable Out-of-Distribution Detection
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic Space
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 Self-Supervised Learning for Generalizable Out-of-Distribution Detection
- Open-Set Recognition: A Good Closed-Set Classifier is All You Need 引用了 Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
引用它的顶会 Paper530
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 次引用
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 次引用
- Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 次引用
- Efficient Test-Time Model Adaptation without ForgettingShuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Yaofo Chen 等ICML 2022 · 579 次引用
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 次引用
它引用的 Paper6
- Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud 等ICLR 2020 · 643 次引用
- Input Complexity and Out-of-distribution Detection with Likelihood-based Generative ModelsJoan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia 等ICLR 2020 · 307 次引用
- Self-Supervised Learning for Generalizable Out-of-Distribution DetectionSina Mohseni, Mandar Pitale, J. B. S. Yadawa, Zhangyang WangAAAI 2020 · 229 次引用
- MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic SpaceRui Huang, Yixuan LiCVPR 2021
- Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution DataYen-Chang Hsu, Yilin Shen, Hongxia Jin, Zsolt KiraCVPR 2020
相关 Paper
- Dual Energy-Based Model with Open-World Uncertainty Estimation for Out-of-distribution DetectionQi Chen, Hu DingCVPR 2025
- EGonc : Energy-based Open-Set Node Classification with substitute UnknownsQin Zhang, Zelin Shi, Shirui Pan, Junyang Chen 等NeurIPS 2024 · 2 次引用
- Hybrid Energy Based Model in the Feature Space for Out-of-Distribution DetectionMarc Lafon, Elias Ramzi, Clément Rambour, Nicolas ThomeICML 2023 · 14 次引用
- GEN: Pushing the Limits of Softmax-Based Out-of-Distribution DetectionXixi Liu, Yaroslava Lochman, Christopher ZachCVPR 2023
- FEVER-OOD: Free Energy Vulnerability Elimination for Robust Out-of-Distribution DetectionBrian K. S. Isaac-Medina, Mauricio Che, Yona Falinie Binti A. Gaus, Samet Akcay 等ICCV 2025 · 2 次引用
