FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flows
Not on the map. Why?
Abstract (arXiv)
Unsupervised anomaly detection and localization is crucial to the practical application when collecting and labeling sufficient anomaly data is infeasible. Most existing representation-based approaches extract normal image features with a deep convolutional neural network and characterize the corresponding distribution through non-parametric distribution estimation methods. The anomaly score is calculated by measuring the distance between the feature of the test image and the estimated distribution. However, current methods can not effectively map image features to a tractable base distribution and ignore the relationship between local and global features which are important to identify anomalies. To this end, we propose FastFlow implemented with 2D normalizing flows and use it as the probability distribution estimator. Our FastFlow can be used as a plug-in module with arbitrary deep feature extractors such as ResNet and vision transformer for unsupervised anomaly detection and localization. In training phase, FastFlow learns to transform the input visual feature into a tractable distribution and obtains the likelihood to recognize anomalies in inference phase. Extensive experimental results on the MVTec AD dataset show that FastFlow surpasses previous state-of-the-art methods in terms of accuracy and inference efficiency with various backbone networks. Our approach achieves 99.4% AUC in anomaly detection with high inference efficiency.
Key facts. Cited by 225 papers in the map (data through 7 Oct 2026). Builds on 24 of its 34 references that are in the map. First posted on arXiv 15 Nov 2021.
Builds on
24 of 34 references.
References · 24
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 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
- 2014NICE: Non-linear Independent Components Estimationcited by 1,052
- 2016Conditional Image Generation with PixelCNN Decoderscited by 859
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2021Going deeper with Image Transformerscited by 759
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
12 more
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
- 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
- 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
- 2020Classification-Based Anomaly Detection for General Datacited by 210
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2018Latent Space Autoregression for Novelty Detectioncited by 149
- 2020Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detectioncited by 115
Built on by
Citing papers per year: 2022: 27; 2023: 57; 2024: 61; 2025: 43; 2026: 37.
225 papers.
Sort:
By area:
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
- 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 138
- 2023APRIL-GAN: A Zero-/Few-Shot Anomaly Classification and Segmentation Method for CVPR 2023 VAND Workshop Challenge Tracks 1&2: 1st Place on Zero-shot AD and 4th Place on Few-shot ADcited by 128
- 2024RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detectioncited by 116
- 2022Back to the Feature: Classical 3D Features are (Almost) All You Need for 3D Anomaly Detectioncited by 92
- 2023BMAD: Benchmarks for Medical Anomaly Detectioncited by 81
- 2023PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flowcited by 74
- 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
38 more
- 2022PNI : Industrial Anomaly Detection using Position and Neighborhood Informationcited by 69
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
- 2024Towards Generalizable Tumor Synthesiscited by 65
- 2023IM-IAD: Industrial Image Anomaly Detection Benchmark in Manufacturingcited by 64
- 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
- 2022Prototypical Residual Networks for Anomaly Detection and Localizationcited by 56
- 2023Anomaly Detection with Conditioned Denoising Diffusion Modelscited by 56
- 2022The Eyecandies Dataset for Unsupervised Multimodal Anomaly Detection and Localizationcited by 55
- 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
- 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detectioncited by 46
- 2023PAD: A Dataset and Benchmark for Pose-agnostic Anomaly Detectioncited by 46
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2023EasyNet: An Easy Network for 3D Industrial Anomaly Detectioncited by 43
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2023Multimodal Industrial Anomaly Detection by Crossmodal Feature Mappingcited by 41
- 2023Cheating Depth: Enhancing 3D Surface Anomaly Detection via Depth Simulationcited by 33
- 2023DiAD: A Diffusion-based Framework for Multi-class Anomaly Detectioncited by 33
- 2023Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detectioncited by 32
- 2024Unsupervised Continual Anomaly Detection with Contrastively-learned Promptcited by 31
- 2022MAEDAY: MAE for few and zero shot AnomalY-Detectioncited by 30
- 2023ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detectioncited by 30
- 2024PointAD: Comprehending 3D Anomalies from Points and Pixels for Zero-shot 3D Anomaly Detectioncited by 29
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
- 2025The MVTec AD 2 Dataset: Advanced Scenarios for Unsupervised Anomaly Detectioncited by 28
- 2024MedIAnomaly: A comparative study of anomaly detection in medical imagescited by 25
- 2023Unsupervised Pathology Detection: A Deep Dive Into the State of the Artcited by 24
- 2023Learning Off-Road Terrain Traversability with Self-Supervisions Onlycited by 24
- 2024M3DM-NR: RGB-3D Noisy-Resistant Industrial Anomaly Detection via Multimodal Denoisingcited by 24
- 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 24
- 2023Industrial Anomaly Detection with Domain Shift: A Real-world Dataset and Masked Multi-scale Reconstructioncited by 22
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
- 2022A Survey on Unsupervised Anomaly Detection Algorithms for Industrial Imagescited by 21
- 2023Learning Global-Local Correspondence with Semantic Bottleneck for Logical Anomaly Detectioncited by 21
- 2024Tackling Structural Hallucination in Image Translation with Local Diffusioncited by 21
- 2022MIAD: A Maintenance Inspection Dataset for Unsupervised Anomaly Detectioncited by 19
- 2022Reconstruction from edge image combined with color and gradient difference for industrial surface anomaly detectioncited by 18
- 2023Contextual Affinity Distillation for Image Anomaly Detectioncited by 18
- 2024Supervised Anomaly Detection for Complex Industrial Imagescited by 18
50 most cited of 225 All 225 (JSON)
- 2026TED:Text-Axis Evidence Decomposition for Prompted Anomaly Localization30 Sep 2026
- 2026Spatial Attention Supervision for Defect Localization: Exploiting Ground-Truth Masks as Training Signal in Diffusion-Augmented Defect Detection5 Sep 2026
- 2026GuidedFlow: An Attention-Guided Framework for Anomaly Detection in Additive Manufacturing24 Aug 2026
- 2026Low Cost Two-Stage Fabric Defect Detection at the Edge12 Aug 2026
- 2026MVFM-3DAD: Multi-view Flow Matching for 3D Anomaly Detection via Density Proxy Estimation12 Aug 2026
- 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detection7 Aug 2026
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detection3 Aug 2026
- 2026LiZAD: A Lightweight Zero-Shot Anomaly Detection Framework for Industrial Manufacturing2 Jul 2026
- 2026μFlow: Leveraging Average Images for Improving Generalisation of Deepfake Faces Detectors29 Jun 2026
- 2026LogiCo: A Unified Framework for Logical and Structural Anomaly Detection27 Jun 2026
- 2026DeCoFlow: Structural Decomposition of Normalizing Flows for Continual Anomaly Detection25 Jun 2026
- 2026Hypergraph Normal World Models for Logical Visual Anomaly Detection24 Jun 2026
38 more
- 2026MATCH: Flow Matching for Multi-View Anomaly Detection23 Jun 2026
- 2026MambaADv2: Evolving Duality-enhanced State Space Model for Unsupervised Anomaly Detection22 Jun 2026
- 2026From Local Geometry to Global Pseudo Labeling for Robust Positive Unlabeled Learning under Covariate Shift29 May 2026
- 2026IndusAgent: Reinforcing Open-Vocabulary Industrial Anomaly Detection with Agentic Tools20 May 2026
- 2026Two Steps Are All You Need: Efficient 3D Point Cloud Anomaly Detection with Consistency Models6 May 2026
- 2026ZSG-IAD: A Multimodal Framework for Zero-Shot Grounded Industrial Anomaly Detection20 Apr 2026
- 2026AD4AD: Benchmarking Visual Anomaly Detection Models for Safer Autonomous Driving16 Apr 2026
- 2026Failure Identification in Imitation Learning Via Statistical and Semantic Filtering15 Apr 2026
- 2026Novel Anomaly Detection Scenarios and Evaluation Metrics to Address the Ambiguity in the Definition of Normal Samples8 Apr 2026
- 2026Continual Visual Anomaly Detection on the Edge: Benchmark and Efficient Solutions7 Apr 2026
- 2026URA-Net: Uncertainty-Integrated Anomaly Perception and Restoration Attention Network for Unsupervised Anomaly Detection24 Mar 2026
- 2026Exploring Multimodal Prompts For Unsupervised Continuous Anomaly Detection23 Mar 2026
- 2026AdapTS: Lightweight Teacher-Student Approach for Multi-Class and Continual Visual Anomaly Detection18 Mar 2026
- 2026TinyGLASS: Real-Time Self-Supervised In-Sensor Anomaly Detection17 Mar 2026
- 2026VAD4Space: Visual Anomaly Detection for Planetary Surface Imagery14 Mar 2026
- 2026Integration of deep generative Anomaly Detection algorithm in high-speed industrial line8 Mar 2026
- 2026Dual Distillation for Few-Shot Anomaly Detection2 Mar 2026
- 2026SubspaceAD: Training-Free Few-Shot Anomaly Detection via Subspace Modeling26 Feb 2026
- 2026BAAF: Universal Transformation of One-Class Classifiers for Unsupervised Image Anomaly Detection13 Feb 2026
- 2026Mitigating the Likelihood Paradox in Flow-based OOD Detection via Entropy Manipulation10 Feb 2026
- 2026Multi-AD: Cross-Domain Unsupervised Anomaly Detection for Medical and Industrial Applications5 Feb 2026
- 2026PatchFlow: Leveraging a Flow-Based Model with Patch Features5 Feb 2026
- 2026VTFusion: A Vision-Text Multimodal Fusion Network for Few-Shot Anomaly Detection23 Jan 2026
- 2026SSVP: Synergistic Semantic-Visual Prompting for Industrial Zero-Shot Anomaly Detection14 Jan 2026
- 2026GCR: Geometry-Consistent Routing for Task-Agnostic Continual Anomaly Detection5 Jan 2026
- 2025Explainable Visual Anomaly Detection via Concept Bottleneck Models25 Nov 2025
- 2025Commonality in Few: Few-Shot Multimodal Anomaly Detection via Hypergraph-Enhanced Memory8 Nov 2025
- 2025An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data Contamination24 Oct 2025
- 2025Capability of using the normalizing flows for extraction rare gamma events in the TAIGA experiment23 Oct 2025
- 2025Dinomaly2: A Unified Framework for Unsupervised Image Anomaly Detection20 Oct 2025
- 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classification10 Oct 2025
- 2025ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning28 Sep 2025
- 2025AutoDetect: Designing an Autoencoder-based Detection Method for Poisoning Attacks on Object Detection Applications in the Military Domain3 Sep 2025
- 2025SALAD -- Semantics-Aware Logical Anomaly Detection2 Sep 2025
- 2025PMODE: Theoretically Grounded and Modular Mixture Modeling29 Aug 2025
- 2025No Label Left Behind: A Unified Surface Defect Detection Model for all Supervision Regimes26 Aug 2025
- 2025Towards Continual Visual Anomaly Detection in the Medical Domain25 Aug 2025
- 2025Wavelet-Enhanced PaDiM for Industrial Anomaly Detection22 Aug 2025
50 newest of 225 All 225 (JSON)
- 2023Anomaly Detection with Conditioned Denoising Diffusion Modelscited by 56
- 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detectioncited by 46
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2023DiAD: A Diffusion-based Framework for Multi-class Anomaly Detectioncited by 33
- 2024Tackling Structural Hallucination in Image Translation with Local Diffusioncited by 21
- 2023LafitE: Latent Diffusion Model with Feature Editing for Unsupervised Multi-class Anomaly Detectioncited by 13
- 2024Dynamic Addition of Noise in a Diffusion Model for Anomaly Detectioncited by 10
- 2022Unsupervised Visual Defect Detection with Score-Based Generative Modelcited by 7
- 2024Generative AI in Vision: A Survey on Models, Metrics and Applicationscited by 4
- 2024Adversarially Robust Industrial Anomaly Detection Through Diffusion Modelcited by 3
- 2025HDM: Hybrid Diffusion Model for Unified Image Anomaly Detectioncited by 1
- 2024Objective and Interpretable Breast Cosmesis Evaluation with Attention Guided Denoising Diffusion Anomaly Detection Modelcited by 0
12 most cited of 19 All 19 (JSON)
- 2026MVFM-3DAD: Multi-view Flow Matching for 3D Anomaly Detection via Density Proxy Estimation12 Aug 2026
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detection3 Aug 2026
- 2026μFlow: Leveraging Average Images for Improving Generalisation of Deepfake Faces Detectors29 Jun 2026
- 2026MATCH: Flow Matching for Multi-View Anomaly Detection23 Jun 2026
- 2026Two Steps Are All You Need: Efficient 3D Point Cloud Anomaly Detection with Consistency Models6 May 2026
- 2025Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detection7 Aug 2025
- 2025HDM: Hybrid Diffusion Model for Unified Image Anomaly Detection26 Feb 2025
- 2024Adversarially Robust Industrial Anomaly Detection Through Diffusion Model9 Aug 2024
- 2024Tackling Structural Hallucination in Image Translation with Local Diffusion9 Apr 2024
- 2024CT-3DFlow : Leveraging 3D Normalizing Flows for Unsupervised Detection of Pathological Pulmonary CT scans27 Mar 2024
- 2024Objective and Interpretable Breast Cosmesis Evaluation with Attention Guided Denoising Diffusion Anomaly Detection Model28 Feb 2024
- 2024Generative AI in Vision: A Survey on Models, Metrics and Applications26 Feb 2024
12 newest of 19 All 19 (JSON)
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
- 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 138
- 2023APRIL-GAN: A Zero-/Few-Shot Anomaly Classification and Segmentation Method for CVPR 2023 VAND Workshop Challenge Tracks 1&2: 1st Place on Zero-shot AD and 4th Place on Few-shot ADcited by 128
- 2024RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detectioncited by 116
- 2022Back to the Feature: Classical 3D Features are (Almost) All You Need for 3D Anomaly Detectioncited by 92
- 2023BMAD: Benchmarks for Medical Anomaly Detectioncited by 81
- 2023PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flowcited by 74
- 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
12 most cited of 200 All 200 (JSON)
- 2026Spatial Attention Supervision for Defect Localization: Exploiting Ground-Truth Masks as Training Signal in Diffusion-Augmented Defect Detection5 Sep 2026
- 2026GuidedFlow: An Attention-Guided Framework for Anomaly Detection in Additive Manufacturing24 Aug 2026
- 2026Low Cost Two-Stage Fabric Defect Detection at the Edge12 Aug 2026
- 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detection7 Aug 2026
- 2026LiZAD: A Lightweight Zero-Shot Anomaly Detection Framework for Industrial Manufacturing2 Jul 2026
- 2026LogiCo: A Unified Framework for Logical and Structural Anomaly Detection27 Jun 2026
- 2026DeCoFlow: Structural Decomposition of Normalizing Flows for Continual Anomaly Detection25 Jun 2026
- 2026Hypergraph Normal World Models for Logical Visual Anomaly Detection24 Jun 2026
- 2026From Local Geometry to Global Pseudo Labeling for Robust Positive Unlabeled Learning under Covariate Shift29 May 2026
- 2026ZSG-IAD: A Multimodal Framework for Zero-Shot Grounded Industrial Anomaly Detection20 Apr 2026
- 2026AD4AD: Benchmarking Visual Anomaly Detection Models for Safer Autonomous Driving16 Apr 2026
- 2026Novel Anomaly Detection Scenarios and Evaluation Metrics to Address the Ambiguity in the Definition of Normal Samples8 Apr 2026
12 newest of 200 All 200 (JSON)