The Best of Both Worlds: On the Dilemma of Out-of-distribution Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection is essential for model trustworthiness which aims to sensitively identify semantic OOD samples and robustly generalize for covariate-shifted OOD samples. However, we discover that the superior OOD detection performance of state-of-the-art methods is achieved by secretly sacrificing the OOD generalization ability. Specifically, the classification accuracy of these models could deteriorate dramatically when they encounter even minor noise. This phenomenon contradicts the goal of model trustworthiness and severely restricts their applicability in real-world scenarios. What is the hidden reason behind such a limitation? In this work, we theoretically demystify the ``textitsensitive-robust'' dilemma that lies in many existing OOD detection methods. Consequently, a theory-inspired algorithm is induced to overcome such a dilemma. By decoupling the uncertainty learning objective from a Bayesian perspective, the conflict between OOD detection and OOD generalization is naturally harmonized and a dual-optimal performance could be expected. Empirical studies show that our method achieves superior performance on standard benchmarks. To our best knowledge, this work is the first principled OOD detection method that achieves state-of-the-art OOD detection performance without compromising OOD generalization ability. Our code is available at hrefhttps://github.com/QingyangZhang/DULhttps://github.com/QingyangZhang/DUL.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 58 references that are in the map. First posted on arXiv 12 Oct 2024.
Builds on
9 of 58 references.
References · 9
- 2019Invariant Risk Minimizationcited by 1,854
- 2016Concrete Problems in AI Safetycited by 1,642
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 179
- 2023ID-like Prompt Learning for Few-Shot Out-of-Distribution Detectioncited by 42
- 2015End-to-end Convolutional Network for Saliency Predictioncited by 5
Built on by
Not cited yet.