Positive Difference Distribution for Image Outlier Detection using Normalizing Flows and Contrastive Data
Not on the map. Why?
Abstract (arXiv)
Detecting test data deviating from training data is a central problem for safe and robust machine learning. Likelihoods learned by a generative model, e.g., a normalizing flow via standard log-likelihood training, perform poorly as an outlier score. We propose to use an unlabelled auxiliary dataset and a probabilistic outlier score for outlier detection. We use a self-supervised feature extractor trained on the auxiliary dataset and train a normalizing flow on the extracted features by maximizing the likelihood on in-distribution data and minimizing the likelihood on the contrastive dataset. We show that this is equivalent to learning the normalized positive difference between the in-distribution and the contrastive feature density. We conduct experiments on benchmark datasets and compare to the likelihood, the likelihood ratio and state-of-the-art anomaly detection methods.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 39 of its 57 references that are in the map. First posted on arXiv 30 Aug 2022.
Builds on
39 of 57 references.
References · 39
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2016Density estimation using Real NVPcited by 2,042
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
27 more
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2018Recognition in Terra Incognitacited by 658
- 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 640
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
- 2019PyOD: A Python Toolbox for Scalable Outlier Detectioncited by 222
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 221
- 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
- 2020Classification-Based Anomaly Detection for General Datacited by 211
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2019Guided Image Generation with Conditional Invertible Neural Networkscited by 147
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 104
- 2021Understanding Failures in Out-of-Distribution Detection with Deep Generative Modelscited by 89
- 2020Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Featurescited by 64
- 2021Autoencoding Under Normalization Constraintscited by 26
- 2021Transformaly -- Two (Feature Spaces) Are Better Than Onecited by 25
- 2018Anomaly Detection for Skin Disease Images Using Variational Autoencodercited by 20
- 2019VELC: A New Variational AutoEncoder Based Model for Time Series Anomaly Detectioncited by 7
- 2019RAD: On-line Anomaly Detection for Highly Unreliable Datacited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1.
3 papers.