Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Features
Not on the map. Why?
Abstract (arXiv)
Deep generative networks trained via maximum likelihood on a natural image dataset like CIFAR10 often assign high likelihoods to images from datasets with different objects (e.g., SVHN). We refine previous investigations of this failure at anomaly detection for invertible generative networks and provide a clear explanation of it as a combination of model bias and domain prior: Convolutional networks learn similar low-level feature distributions when trained on any natural image dataset and these low-level features dominate the likelihood. Hence, when the discriminative features between inliers and outliers are on a high-level, e.g., object shapes, anomaly detection becomes particularly challenging. To remove the negative impact of model bias and domain prior on detecting high-level differences, we propose two methods, first, using the log likelihood ratios of two identical models, one trained on the in-distribution data (e.g., CIFAR10) and the other one on a more general distribution of images (e.g., 80 Million Tiny Images). We also derive a novel outlier loss for the in-distribution network on samples from the more general distribution to further improve the performance. Secondly, using a multi-scale model like Glow, we show that low-level features are mainly captured at early scales. Therefore, using only the likelihood contribution of the final scale performs remarkably well for detecting high-level feature differences of the out-of-distribution and the in-distribution. This method is especially useful if one does not have access to a suitable general distribution. Overall, our methods achieve strong anomaly detection performance in the unsupervised setting, and only slightly underperform state-of-the-art classifier-based methods in the supervised setting. Code can be found at https://github.com/boschresearch/hierarchical_anomaly_detection.
Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 19; 2023: 7; 2024: 13; 2025: 5; 2026: 6.
64 papers.
Sort:
By area:
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2022ADBench: Anomaly Detection Benchmarkcited by 230
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2021Understanding Failures in Out-of-Distribution Detection with Deep Generative Modelscited by 89
- 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wildcited by 70
- 2021Hierarchical VAEs Know What They Don't Knowcited by 58
- 2022RankFeat: Rank-1 Feature Removal for Out-of-distribution Detectioncited by 52
- 2021Autoencoders for unsupervised anomaly detection in high energy physicscited by 32
- 2021On the Out-of-distribution Generalization of Probabilistic Image Modellingcited by 32
- 2024A Geometric Explanation of the Likelihood OOD Detection Paradoxcited by 22
38 more
- 2023Reversing the Abnormal: Pseudo-Healthy Generative Networks for Anomaly Detectioncited by 18
- 2021On Out-of-distribution Detection with Energy-based Modelscited by 17
- 2021Entropic Issues in Likelihood-Based OOD Detectioncited by 16
- 2023Learning Sample Difficulty from Pre-trained Models for Reliable Predictioncited by 15
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generationcited by 15
- 2022Model-agnostic out-of-distribution detection using combined statistical testscited by 14
- 2024Your Finetuned Large Language Model is Already a Powerful Out-of-distribution Detectorcited by 11
- 2022Falsehoods that ML researchers believe about OOD detectioncited by 8
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedbackcited by 7
- 2021New Methods and Datasets for Group Anomaly Detection From Fundamental Physicscited by 6
- 2022Improving VAE-based Representation Learningcited by 6
- 2022What do we learn? Debunking the Myth of Unsupervised Outlier Detectioncited by 6
- 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
- 2022Out of Distribution Detection on ImageNet-Ocited by 5
- 2022PILC: Practical Image Lossless Compression with an End-to-end GPU Oriented Neural Frameworkcited by 5
- 2024Understanding Likelihood of Normalizing Flow and Image Complexity through the Lens of Out-of-Distribution Detectioncited by 5
- 2024MultiMax: Sparse and Multi-Modal Attention Learningcited by 5
- 2024DAS3D: Dual-modality Anomaly Synthesis for 3D Anomaly Detectioncited by 5
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Modelscited by 5
- 2022Parallel Neural Local Lossless Compressioncited by 4
- 2022When less is more: Simplifying inputs aids neural network understandingcited by 4
- 2022Out-of-Distribution Detection with Class Ratio Estimationcited by 4
- 2024Towards Open-World Object-based Anomaly Detection via Self-Supervised Outlier Synthesiscited by 4
- 2024Your Classifier Can Be Secretly a Likelihood-Based OOD Detectorcited by 4
- 2025RUNA: Object-level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal Representationscited by 4
- 2022Self-Supervised Anomaly Detection by Self-Distillation and Negative Samplingcited by 3
- 2022Positive Difference Distribution for Image Outlier Detection using Normalizing Flows and Contrastive Datacited by 3
- 2022Probing Contextual Diversity for Dense Out-of-Distribution Detectioncited by 3
- 2021Brittle Features May Help Anomaly Detectioncited by 2
- 2021SLA2P: Self-supervised Anomaly Detection with Adversarial Perturbationcited by 2
- 2024Approximations to the Fisher Information Metric of Deep Generative Models for Out-Of-Distribution Detectioncited by 2
- 2022On the Robustness and Anomaly Detection of Sparse Neural Networkscited by 1
- 2022Training Normalizing Flows from Dependent Datacited by 1
- 2023Master's Thesis: Out-of-distribution Detection with Energy-based Modelscited by 1
- 2023SR-OOD: Out-of-Distribution Detection via Sample Repairingcited by 1
- 2023Vacant Holes for Unsupervised Detection of the Outliers in Compact Latent Representationcited by 1
- 2023RankFeat&RankWeight: Rank-1 Feature/Weight Removal for Out-of-distribution Detectioncited by 1
- 2024Advancing Out-of-Distribution Detection through Data Purification and Dynamic Activation Function Designcited by 1
50 most cited of 64 All 64 (JSON)
- 2026OOD Detection for EEG-based Machine Learning in High-Risk Environments18 Aug 2026
- 2026The Signal in the Noise: OOD Detection Through Goodness-of-Fit Testing in Factorised Latent Spaces21 May 2026
- 2026Spatial Autoregressive Modeling of DINOv3 Embeddings for Unsupervised Anomaly Detection3 Mar 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
- 2026DAVIS: OOD Detection via Dominant Activations and Variance for Increased Separation30 Jan 2026
- 2025Enhancing ECG Classification Robustness with Lightweight Unsupervised Anomaly Detection Filters30 Oct 2025
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Models3 Aug 2025
- 2025OCSVM-Guided Representation Learning for Unsupervised Anomaly Detection25 Jul 2025
- 2025RUNA: Object-level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal Representations28 Mar 2025
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generation9 Feb 2025
- 2024DAS3D: Dual-modality Anomaly Synthesis for 3D Anomaly Detection13 Oct 2024
38 more
- 2024Resultant: Incremental Effectiveness on Likelihood for Unsupervised Out-of-Distribution Detection5 Sep 2024
- 2024Your Classifier Can Be Secretly a Likelihood-Based OOD Detector9 Aug 2024
- 2024Towards Open-World Object-based Anomaly Detection via Self-Supervised Outlier Synthesis22 Jul 2024
- 2024Learning Non-Linear Invariants for Unsupervised Out-of-Distribution Detection4 Jul 2024
- 2024MultiMax: Sparse and Multi-Modal Attention Learning3 Jun 2024
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedback25 Apr 2024
- 2024Your Finetuned Large Language Model is Already a Powerful Out-of-distribution Detector7 Apr 2024
- 2024A Geometric Explanation of the Likelihood OOD Detection Paradox27 Mar 2024
- 2024On the Detection of Anomalous or Out-Of-Distribution Data in Vision Models Using Statistical Techniques21 Mar 2024
- 2024Advancing Out-of-Distribution Detection through Data Purification and Dynamic Activation Function Design6 Mar 2024
- 2024Approximations to the Fisher Information Metric of Deep Generative Models for Out-Of-Distribution Detection3 Mar 2024
- 2024Understanding Likelihood of Normalizing Flow and Image Complexity through the Lens of Out-of-Distribution Detection16 Feb 2024
- 2023RankFeat&RankWeight: Rank-1 Feature/Weight Removal for Out-of-distribution Detection23 Nov 2023
- 2023Unsupervised Out-of-Distribution Detection by Restoring Lossy Inputs with Variational Autoencoder5 Sep 2023
- 2023Vacant Holes for Unsupervised Detection of the Outliers in Compact Latent Representation16 Jun 2023
- 2023SR-OOD: Out-of-Distribution Detection via Sample Repairing26 May 2023
- 2023Learning Sample Difficulty from Pre-trained Models for Reliable Prediction20 Apr 2023
- 2023Reversing the Abnormal: Pseudo-Healthy Generative Networks for Anomaly Detection15 Mar 2023
- 2023Master's Thesis: Out-of-distribution Detection with Energy-based Models28 Jan 2023
- 2022EndoBoost: a plug-and-play module for false positive suppression during computer-aided polyp detection in real-world colonoscopy (with dataset)23 Dec 2022
- 2022Falsehoods that ML researchers believe about OOD detection23 Oct 2022
- 2022Training Normalizing Flows from Dependent Data29 Sep 2022
- 2022RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection18 Sep 2022
- 2022Probing Contextual Diversity for Dense Out-of-Distribution Detection30 Aug 2022
- 2022Positive Difference Distribution for Image Outlier Detection using Normalizing Flows and Contrastive Data30 Aug 2022
- 2022On the Robustness and Anomaly Detection of Sparse Neural Networks9 Jul 2022
- 2022ADBench: Anomaly Detection Benchmark19 Jun 2022
- 2022PILC: Practical Image Lossless Compression with an End-to-end GPU Oriented Neural Framework10 Jun 2022
- 2022Out-of-Distribution Detection with Class Ratio Estimation8 Jun 2022
- 2022What do we learn? Debunking the Myth of Unsupervised Outlier Detection8 Jun 2022
- 2022Improving VAE-based Representation Learning28 May 2022
- 2022Radial Autoencoders for Enhanced Anomaly Detection29 Mar 2022
- 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wild8 Mar 2022
- 2022Model-agnostic out-of-distribution detection using combined statistical tests2 Mar 2022
- 2022Out of Distribution Detection on ImageNet-O23 Jan 2022
- 2022Self-Supervised Anomaly Detection by Self-Distillation and Negative Sampling17 Jan 2022
- 2022When less is more: Simplifying inputs aids neural network understanding14 Jan 2022
- 2022Parallel Neural Local Lossless Compression13 Jan 2022
50 newest of 64 All 64 (JSON)
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2022ADBench: Anomaly Detection Benchmarkcited by 230
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2021Understanding Failures in Out-of-Distribution Detection with Deep Generative Modelscited by 89
- 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wildcited by 70
- 2021Hierarchical VAEs Know What They Don't Knowcited by 58
- 2022RankFeat: Rank-1 Feature Removal for Out-of-distribution Detectioncited by 52
- 2021Autoencoders for unsupervised anomaly detection in high energy physicscited by 32
- 2021On the Out-of-distribution Generalization of Probabilistic Image Modellingcited by 32
- 2024A Geometric Explanation of the Likelihood OOD Detection Paradoxcited by 22
12 most cited of 63 All 63 (JSON)
- 2026OOD Detection for EEG-based Machine Learning in High-Risk Environments18 Aug 2026
- 2026The Signal in the Noise: OOD Detection Through Goodness-of-Fit Testing in Factorised Latent Spaces21 May 2026
- 2026Spatial Autoregressive Modeling of DINOv3 Embeddings for Unsupervised Anomaly Detection3 Mar 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
- 2026DAVIS: OOD Detection via Dominant Activations and Variance for Increased Separation30 Jan 2026
- 2025Enhancing ECG Classification Robustness with Lightweight Unsupervised Anomaly Detection Filters30 Oct 2025
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Models3 Aug 2025
- 2025OCSVM-Guided Representation Learning for Unsupervised Anomaly Detection25 Jul 2025
- 2025RUNA: Object-level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal Representations28 Mar 2025
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generation9 Feb 2025
- 2024DAS3D: Dual-modality Anomaly Synthesis for 3D Anomaly Detection13 Oct 2024
12 newest of 63 All 63 (JSON)