A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural Networks
Matan Haroush, Tzviel Frostig, Ruth Heller, Daniel Soudry
Abstract
Background. Commonly, Deep Neural Networks (DNNs) generalize well on samples drawn from a distribution similar to that of the training set. However, DNNs' predictions are brittle and unreliable when the test samples are drawn from a dissimilar distribution. This is a major concern for deployment in real-world applications, where such behavior may come at a considerable cost, such as industrial production lines, autonomous vehicles, or healthcare applications. Contributions. We frame Out Of Distribution (OOD) detection in DNNs as a statistical hypothesis testing problem. Tests generated within our proposed framework combine evidence from the entire network. Unlike previous OOD detection heuristics, this framework returns a -value for each test sample. It is guaranteed to maintain the Type I Error (T1E - incorrectly predicting OOD for an actual in-distribution sample) for test data. Moreover, this allows to combine several detectors while maintaining the T1E. Building on this framework, we suggest a novel OOD procedure based on low-order statistics. Our method achieves comparable or better results than state-of-the-art methods on well-accepted OOD benchmarks, without retraining the network parameters or assuming prior knowledge on the test distribution -- and at a fraction of the computational cost.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ebaad960-92d9-4604-a5d9-a605e35fb8b6Cited by top-tier papers10
- RankFeat: Rank-1 Feature Removal for Out-of-distribution DetectionYue Song, Nicu Sebe, Wei WangNeurIPS 2022 · 76 citations
- Boosting Out-of-distribution Detection with Typical FeaturesYao Zhu, Yuefeng Chen, Chuanlong Xie, Xiaodan Li et al.NeurIPS 2022 · 74 citations
- Faithfulness Measurable Masked Language ModelsAndreas Madsen, Siva Reddy, Sarath ChandarICML 2024 · 6 citations
- Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution DetectionJinglun Li, Xinyu Zhou, Pinxue Guo, Yixuan Sun et al.ICCV 2023 · 5 citations
- Enhancing the Power of OOD Detection via Sample-Aware Model SelectionFeng Xue, Zi He, Yuan Zhang, Chuanlong Xie et al.CVPR 2024 · 3 citations
Builds on4
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution DataYen-Chang Hsu, Yilin Shen, Hongxia Jin, Zsolt KiraCVPR 2020
- Deep Residual Flow for Out of Distribution DetectionEv Zisselman, Aviv TamarCVPR 2020
Related papers
- Self-Supervised Learning for Generalizable Out-of-Distribution DetectionSina Mohseni, Mandar Pitale, J. B. S. Yadawa, Zhangyang WangAAAI 2020 · 229 citations
- A General Framework For Detecting Anomalous Inputs to DNN ClassifiersJayaram Raghuram, Varun Chandrasekaran, Somesh Jha, Suman BanerjeeICML 2021 · 39 citations
- Out-of-Distribution Detection Using Union of 1-Dimensional SubspacesAlireza Zaeemzadeh, Niccolò Bisagno, Zeno Sambugaro, Nicola Conci et al.CVPR 2021
- A Unified Interpretation of Training-Time Out-Of-Distribution DetectionXu Cheng, Xin Jiang, Zechao LiICCV 2025
- Detection of Out-of-Distribution Samples Using Binary Neuron Activation PatternsBartlomiej Olber, Krystian Radlak, Adam Popowicz, Michal Szczepankiewicz et al.CVPR 2023
