Training OOD Detectors in their Natural Habitats
Julian Katz-Samuels, Julia B. Nakhleh, Robert D. Nowak, Yixuan Li
Abstract
Out-of-distribution (OOD) detection is important for machine learning models deployed in the wild. Recent methods use auxiliary outlier data to regularize the model for improved OOD detection. However, these approaches make a strong distributional assumption that the auxiliary outlier data is completely separable from the in-distribution (ID) data. In this paper, we propose a novel framework that leverages wild mixture data-that naturally consists of both ID and OOD samples. Such wild data is abundant and arises freely upon deploying a machine learning classifier in their natural habitats. Our key idea is to formulate a constrained optimization problem and to show how to tractably solve it. Our learning objective maximizes the OOD detection rate, subject to constraints on the classification error of ID data and on the OOD error rate of ID examples. We extensively evaluate our approach on common OOD detection tasks and demonstrate superior performance. Code is available at https: //github.com/jkatzsam/woods_ood .
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.
46 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 POEM: Out-of-Distribution Detection with Posterior Sampling
- POEM: Out-of-Distribution Detection with Posterior Sampling cites Mitigating Neural Network Overconfidence with Logit Normalization
- Mitigating Neural Network Overconfidence with Logit Normalization cites Energy-based Out-of-distribution Detection
- Mitigating Neural Network Overconfidence with Logit Normalization cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Mitigating Neural Network Overconfidence with Logit Normalization cites ReAct: Out-of-distribution Detection With Rectified Activations
- 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
- POEM: Out-of-Distribution Detection with Posterior Sampling cites Energy-based Out-of-distribution Detection
- POEM: Out-of-Distribution Detection with Posterior Sampling cites ReAct: Out-of-distribution Detection With Rectified Activations
- POEM: Out-of-Distribution Detection with Posterior Sampling cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Out-of-Distribution Detection with Deep Nearest Neighbors cites POEM: Out-of-Distribution Detection with Posterior Sampling
- On the Importance of Gradients for Detecting Distributional Shifts in the Wild cites Energy-based Out-of-distribution Detection
- Provable Dynamic Fusion for Low-Quality Multimodal Data cites POEM: Out-of-Distribution Detection with Posterior Sampling
- Provable Dynamic Fusion for Low-Quality Multimodal Data cites Energy-based Out-of-distribution Detection
- ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
- ReAct: Out-of-distribution Detection With Rectified Activations cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
- Out-of-Distribution Detection with Deep Nearest Neighbors cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
- Dream the Impossible: Outlier Imagination with Diffusion Models cites Mitigating Neural Network Overconfidence with Logit Normalization
- Dream the Impossible: Outlier Imagination with Diffusion Models cites POEM: Out-of-Distribution Detection with Posterior Sampling
- Dream the Impossible: Outlier Imagination with Diffusion Models cites Energy-based Out-of-distribution Detection
- Dream the Impossible: Outlier Imagination with Diffusion Models cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Dream the Impossible: Outlier Imagination with Diffusion Models cites ReAct: Out-of-distribution Detection With Rectified Activations
- Dream the Impossible: Outlier Imagination with Diffusion Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
Cited by top-tier papers46
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng et al.ICML 2022 · 386 citations
- POEM: Out-of-Distribution Detection with Posterior SamplingYifei Ming, Ying Fan, Yixuan LiICML 2022 · 151 citations
- Provable Dynamic Fusion for Low-Quality Multimodal DataQingyang Zhang, Haitao Wu, Changqing Zhang, Qinghua Hu et al.ICML 2023 · 143 citations
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 citations
Builds on11
- 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
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
- Deep Semi-Supervised Anomaly DetectionLukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Alexander Binder et al.ICLR 2020 · 678 citations
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
Related papers
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection?Xuefeng Du, Zhen Fang, Ilias Diakonikolas, Yixuan LiICLR 2024 · 39 citations
- Out-Of-Distribution Detection with Diversification (Provably)Haiyun Yao, Zongbo Han, Huazhu Fu, Xi Peng et al.NeurIPS 2024 · 9 citations
- Non-parametric Outlier SynthesisLeitian Tao, Xuefeng Du, Jerry Zhu, Yixuan LiICLR 2023 · 6 citations
- Exploiting Mixed Unlabeled Data for Detecting Samples of Seen and Unseen Out-of-Distribution ClassesYi-Xuan Sun, Wei WangAAAI 2022 · 5 citations
- Mining In-distribution Attributes in Outliers for Out-of-distribution DetectionYutian Lei, Luping Ji, Pei LiuAAAI 2025 · 3 citations
