Understanding Failures in Out-of-Distribution Detection with Deep Generative Models
Lily H. Zhang, Mark Goldstein, Rajesh Ranganath
Abstract
Deep generative models (dgms) seem a natural fit for detecting out-of-distribution (ood) inputs, but such models have been shown to assign higher probabilities or densities to ood images than images from the training distribution. In this work, we explain why this behavior should be attributed to model misestimation. We first prove that no method can guarantee performance beyond random chance without assumptions on which out-distributions are relevant. We then interrogate the typical set hypothesis, the claim that relevant out-distributions can lie in high likelihood regions of the data distribution, and that ood detection should be defined based on the data distribution's typical set. We highlight the consequences implied by assuming support overlap between in- and out-distributions, as well as the arbitrariness of the typical set for ood detection. Our results suggest that estimation error is a more plausible explanation than the misalignment between likelihood-based ood detection and out-distributions of interest, and we illustrate how even minimal estimation error can lead to ood detection failures, yielding implications for future work in deep generative modeling and ood detection.
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.
21 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
- Further Analysis of Outlier Detection with Deep Generative Models cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Learning to Augment Distributions for Out-of-distribution Detection cites Is Out-of-Distribution Detection Learnable?
- Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Features cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Features cites Why Normalizing Flows Fail to Detect Out-of-Distribution Data
- Why Normalizing Flows Fail to Detect Out-of-Distribution Data cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- RbA: Segmenting Unknown Regions Rejected by All cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Boosting Out-of-distribution Detection with Typical Features cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Boosting Out-of-distribution Detection with Typical Features cites Why Normalizing Flows Fail to Detect Out-of-Distribution Data
- Watermarking for Out-of-distribution Detection cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Watermarking for Out-of-distribution Detection cites Why Normalizing Flows Fail to Detect Out-of-Distribution Data
Cited by top-tier papers21
- Is Out-of-Distribution Detection Learnable?Zhen Fang, Yixuan Li, Jie Lu, Jiahua Dong et al.NeurIPS 2022 · 188 citations
- Boosting Out-of-distribution Detection with Typical FeaturesYao Zhu, Yuefeng Chen, Chuanlong Xie, Xiaodan Li et al.NeurIPS 2022 · 74 citations
- RbA: Segmenting Unknown Regions Rejected by AllNazir Nayal, Misra Yavuz, João F. Henriques, Fatma GüneyICCV 2023 · 73 citations
- Learning to Augment Distributions for Out-of-distribution DetectionQizhou Wang, Zhen Fang, Yonggang Zhang, Feng Liu et al.NeurIPS 2023 · 59 citations
- Watermarking for Out-of-distribution DetectionQizhou Wang, Feng Liu, Yonggang Zhang, Jing Zhang et al.NeurIPS 2022 · 44 citations
Builds on4
- Why Normalizing Flows Fail to Detect Out-of-Distribution DataPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonNeurIPS 2020 · 370 citations
- Input Complexity and Out-of-distribution Detection with Likelihood-based Generative ModelsJoan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia et al.ICLR 2020 · 307 citations
- Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and FeaturesRobin Schirrmeister, Yuxuan Zhou, Tonio Ball, Dan ZhangNeurIPS 2020 · 102 citations
- Further Analysis of Outlier Detection with Deep Generative ModelsZiyu Wang, Bin Dai, David P. Wipf, Jun ZhuNeurIPS 2020 · 45 citations
Related papers
- Hierarchical VAEs Know What They Don't KnowJakob Drachmann Havtorn, Jes Frellsen, Søren Hauberg, Lars MaaløeICML 2021 · 87 citations
- A Geometric Explanation of the Likelihood OOD Detection ParadoxHamidreza Kamkari, Brendan Leigh Ross, Jesse C. Cresswell, Anthony L. Caterini et al.ICML 2024 · 20 citations
- Forte : Finding Outliers with Representation Typicality EstimationDebargha Ganguly, Warren Richard Morningstar, Andrew Seohwan Yu, Vipin ChaudharyICLR 2025
- Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoderZhisheng Xiao, Qing Yan, Yali AmitNeurIPS 2020 · 234 citations
- Revisiting flow generative models for Out-of-distribution detectionDihong Jiang, Sun Sun, Yaoliang YuICLR 2022 · 41 citations
