A Closer Look at Generalized BH Algorithm for Out-of-Distribution Detection
Xinsong Ma, Jie Wu, Weiwei Liu
Abstract
Out-of-distribution (OOD) detection is a crucial task in reliable and safety-critical applications. Previous studies primarily focus on developing score functions while neglecting the design of decision rules based on these scores. A recent work (Ma et al., 2024) is the first to highlight this issue and proposes the generalized BH (g-BH) algorithm to address it. The g-BH algorithm relies on empirical p-values, with the calibrated set playing a central role in their computation. However, the impact of calibrated set on the performance of g-BH algorithm has not been thoroughly investigated. This paper aims to uncover the underlying mechanisms between them. Theoretically, we demonstrate that conditional expectation of true positive rate (TPR) on calibrated set for the g-BH algorithm follows a beta distribution, which depends on the prescribed level and size of calibrated set. This indicates that a small calibrated set tends to degrade the performance of g-BH algorithm. To address the limitation of g-BH algorithm on small calibrated set, we propose a novel ensemble g-BH (eg-BH) algorithm which integrates various empirical p-values for making decisions. Finally, extensive experimental results validate the effectiveness of our theoretical findings and demonstrate the superiority of our method over g-BH algorithm on small calibrated set.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Mitigating Neural Network Overconfidence with Logit Normalization cites Energy-based Out-of-distribution Detection
- Mitigating Neural Network Overconfidence with Logit Normalization cites Detecting Out-of-Distribution Examples with Gram Matrices
- Mitigating Neural Network Overconfidence with Logit Normalization cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Mitigating Neural Network Overconfidence with Logit Normalization
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
Cited by top-tier papers3
- Generalization Bounds for Out-of-distribution GeneralizationXin Zou, Xiuwen Gong, Weiwei LiuICML 2026 · 14 citations
- TrustworthyQENN: A Quantum Evidential Neural Network Based on Complex-Valued Contrastive Learning for Uncertainty Pattern ClassificationXiaolong Chen, Fuyuan Xiao, Xiaohong Zhang, Zehong Cao et al.ICML 2026
- Two-Layer Convolutional Autoencoders Trained on Normal Data Provably Detect Unseen AnomaliesYanbo Chen, Weiwei LiuICLR 2026
Builds on18
- 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
- Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng et al.ICML 2022 · 386 citations
- Detecting Out-of-Distribution Examples with Gram MatricesChandramouli Shama Sastry, Sageev OoreICML 2020 · 275 citations
Related papers
- A Provable Decision Rule for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2024 · 4 citations
- An Online Statistical Framework for Out-of-Distribution DetectionXinsong Ma, Xin Zou, Weiwei LiuICML 2025
- On the SAC-BL Algorithm for Anomaly DetectionXinsong Ma, Jie Wu, Weiwei LiuNeurIPS 2025
- GEN: Pushing the Limits of Softmax-Based Out-of-Distribution DetectionXixi Liu, Yaroslava Lochman, Christopher ZachCVPR 2023
- Is Out-of-Distribution Detection Learnable?Zhen Fang, Yixuan Li, Jie Lu, Jiahua Dong et al.NeurIPS 2022 · 188 citations
