Hierarchical VAEs Know What They Don't Know
Jakob Drachmann Havtorn, Jes Frellsen, Søren Hauberg, Lars Maaløe
Abstract
Deep generative models have been demonstrated as state-of-the-art density estimators. Yet, recent work has found that they often assign a higher likelihood to data from outside the training distribution. This seemingly paradoxical behavior has caused concerns over the quality of the attained density estimates. In the context of hierarchical variational autoencoders, we provide evidence to explain this behavior by out-of-distribution data having in-distribution low-level features. We argue that this is both expected and desirable behavior. With this insight in hand, we develop a fast, scalable and fully unsupervised likelihood-ratio score for OOD detection that requires data to be in-distribution across all feature-levels. We benchmark the method on a vast set of data and model combinations and achieve state-of-the-art results on out-of-distribution 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.
18 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
- Conditional Image Generation by Conditioning Variational Auto-Encoders cites NVAE: A Deep Hierarchical Variational Autoencoder
- Conditional Image Generation by Conditioning Variational Auto-Encoders cites Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
- Conditional Image Generation by Conditioning Variational Auto-Encoders cites Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Images
- Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE cites NVAE: A Deep Hierarchical Variational Autoencoder
- Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE cites Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
- Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
- Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based Model cites NVAE: A Deep Hierarchical Variational Autoencoder
- Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based Model cites Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
- 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
- A Geometric Explanation of the Likelihood OOD Detection Paradox cites NVAE: A Deep Hierarchical Variational Autoencoder
- A Geometric Explanation of the Likelihood OOD Detection Paradox cites Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE
- A Geometric Explanation of the Likelihood OOD Detection Paradox cites Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Features
- A Geometric Explanation of the Likelihood OOD Detection Paradox cites Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
Cited by top-tier papers18
- Conditional Image Generation by Conditioning Variational Auto-EncodersWilliam Harvey, Saeid Naderiparizi, Frank WoodICLR 2022 · 36 citations
- NPCL: Neural Processes for Uncertainty-Aware Continual LearningSaurav Jha, Dong Gong, He Zhao, Lina YaoNeurIPS 2023 · 27 citations
- Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAEYewen Li, Chaojie Wang, Xiaobo Xia, Tongliang Liu et al.NeurIPS 2022 · 26 citations
- Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based ModelZhisheng Xiao, Tian HanNeurIPS 2022 · 24 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
Builds on5
- NVAE: A Deep Hierarchical Variational AutoencoderArash Vahdat, Jan KautzNeurIPS 2020 · 1,141 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
- Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoderZhisheng Xiao, Qing Yan, Yali AmitNeurIPS 2020 · 234 citations
- Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and FeaturesRobin Schirrmeister, Yuxuan Zhou, Tonio Ball, Dan ZhangNeurIPS 2020 · 102 citations
- Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on ImagesRewon ChildICLR 2021 · 45 citations
Related papers
- Understanding Failures in Out-of-Distribution Detection with Deep Generative ModelsLily H. Zhang, Mark Goldstein, Rajesh RanganathICML 2021 · 129 citations
- Further Analysis of Outlier Detection with Deep Generative ModelsZiyu Wang, Bin Dai, David P. Wipf, Jun ZhuNeurIPS 2020 · 45 citations
- Multiscale Score Matching for Out-of-Distribution DetectionAhsan Mahmood, Junier Oliva, Martin Andreas StynerICLR 2021 · 41 citations
- Robust outlier detection by de-biasing VAE likelihoodsKushal Chauhan, Barath Mohan Umapathi, Pradeep Shenoy, Manish Gupta et al.CVPR 2022 · 8 citations
- Density-driven Regularization for Out-of-distribution DetectionWenjian Huang, Hao Wang, Jiahao Xia, Chengyan Wang et al.NeurIPS 2022 · 17 citations
