A Provable Decision Rule for Out-of-Distribution Detection
Xinsong Ma, Xin Zou, Weiwei Liu
Abstract
Out-of-distribution (OOD) detection task plays the key role in reliable and safety-critical applications. Existing researches mainly devote to designing or training the powerful score function but overlook investigating the decision rule based on the proposed score function. Different from previous work, this paper aims to design a decision rule with rigorous theoretical guarantee and well empirical performance. Specifically, we provide a new insight for the OOD detection task from a hypothesis testing perspective and propose a novel generalized Benjamini Hochberg (g-BH) procedure with empirical p-values to solve the testing problem. Theoretically, the g-BH procedure controls false discovery rate (FDR) at pre-specified level. Furthermore, we derive an upper bound of the expectation of false positive rate (FPR) for the g-BH procedure based on the tailed generalized Gaussian distribution family, indicating that the FPR of g-BH procedure converges to zero in probability. Finally, the extensive experimental results verify the superiority of g-BH procedure over the traditional threshold-based decision rule on several OOD detection benchmarks.
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 206fa61e-925e-46e3-bb19-0376205346efCited by top-tier papers8
- Generalization Bounds for Out-of-distribution GeneralizationXin Zou, Xiuwen Gong, Weiwei LiuICML 2026 · 14 citations
- On the Adversarial Robustness of Benjamini HochbergLouis L. Chen, Roberto Szechtman, Matan SeriNeurIPS 2024 · 2 citations
- Error Analysis of Spherically Constrained Least Squares Reformulation in Solving the Stackelberg Prediction GameXiyuan Li, Weiwei LiuNeurIPS 2024 · 1 citation
- Two-Layer Convolutional Autoencoders Trained on Normal Data Provably Detect Unseen AnomaliesYanbo Chen, Weiwei LiuICLR 2026
- Conformal Anomaly Detection in Event SequencesShuai Zhang, Chuan Zhou, Yang Liu, Peng Zhang et al.ICML 2025
Builds on19
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- Scaling Out-of-Distribution Detection for Real-World SettingsDan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou et al.ICML 2022 · 653 citations
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
- Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng et al.ICML 2022 · 386 citations
Related papers
- An Online Statistical Framework for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2025
- A Closer Look at Generalized BH Algorithm for Out-of-Distribution DetectionXinsong Ma, Jie Wu, Weiwei LiuICML 2025
- Locally Most Powerful Bayesian Test for Out-of-Distribution Detection using Deep Generative ModelsKeunseo Kim, Juncheol Shin, Heeyoung KimNeurIPS 2021 · 23 citations
- A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural NetworksMatan Haroush, Tzviel Frostig, Ruth Heller, Daniel SoudryICLR 2022 · 40 citations
- Conformal Graph-level Out-of-distribution Detection with Adaptive Data AugmentationXixun Lin, Yanan Cao, Nan Sun, Lixin Zou et al.WWW 2025 · 13 citations
