Understanding Likelihood of Normalizing Flow and Image Complexity through the Lens of Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection is crucial to safety-critical machine learning applications and has been extensively studied. While recent studies have predominantly focused on classifier-based methods, research on deep generative model (DGM)-based methods have lagged relatively. This disparity may be attributed to a perplexing phenomenon: DGMs often assign higher likelihoods to unknown OOD inputs than to their known training data. This paper focuses on explaining the underlying mechanism of this phenomenon. We propose a hypothesis that less complex images concentrate in high-density regions in the latent space, resulting in a higher likelihood assignment in the Normalizing Flow (NF). We experimentally demonstrate its validity for five NF architectures, concluding that their likelihood is untrustworthy. Additionally, we show that this problem can be alleviated by treating image complexity as an independent variable. Finally, we provide evidence of the potential applicability of our hypothesis in another DGM, PixelCNN++.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 31 of its 52 references that are in the map. First posted on arXiv 16 Feb 2024.
Builds on
31 of 52 references.
References · 31
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2015Variational Inference with Normalizing Flowscited by 2,161
- 2016Density estimation using Real NVPcited by 2,029
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2014NICE: Non-linear Independent Components Estimationcited by 1,052
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
19 more
- 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 415
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2018Invertible Residual Networkscited by 364
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2015A note on the evaluation of generative modelscited by 291
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
- 2019Residual Flows for Invertible Generative Modelingcited by 256
- 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2021Understanding Failures in Out-of-Distribution Detection with Deep Generative Modelscited by 89
- 2019Integer Discrete Flows and Lossless Compressioncited by 82
- 2021Provable Guarantees for Understanding Out-of-distribution Detectioncited by 78
- 2020Understanding and Mitigating Exploding Inverses in Invertible Neural Networkscited by 71
- 2020Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Featurescited by 64
- 2019Compression with Flows via Local Bits-Back Codingcited by 34
- 2020Further Analysis of Outlier Detection with Deep Generative Modelscited by 31
- 2022Out-of-distribution Detection via Frequency-regularized Generative Modelscited by 23
- 2020Closing the Dequantization Gap: PixelCNN as a Single-Layer Flowcited by 7
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Zero-Shot Image Anomaly Detection Using Generative Foundation Modelscited by 2
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustnesscited by 0
- 2026Mitigating the Likelihood Paradox in Flow-based OOD Detection via Entropy Manipulationcited by 0
- 2026Why the Counterintuitive Phenomenon of Likelihood Rarely Appears in Tabular Anomaly Detection with Deep Generative Models?cited by 0
- 2026Hybrid Latent-Structural Fusion (HLSF) for Cyber Anomaly Detectioncited by 0
- 2026Hybrid Latent-Structural Fusion (HLSF) for Cyber Anomaly Detection20 Jul 2026
- 2026Why the Counterintuitive Phenomenon of Likelihood Rarely Appears in Tabular Anomaly Detection with Deep Generative Models?10 Feb 2026
- 2026Mitigating the Likelihood Paradox in Flow-based OOD Detection via Entropy Manipulation10 Feb 2026
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2025Zero-Shot Image Anomaly Detection Using Generative Foundation Models30 Jul 2025