mlsanityData to 7 Oct 2026

FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flows

arXiv 2111.07677 ↗First posted 15 Nov 2021cs.CVcited by 225

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  4. 2015Variational Inference with Normalizing Flowscited by 2,161
  5. 2016Density estimation using Real NVPcited by 2,029
  6. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
  7. 2014NICE: Non-linear Independent Components Estimationcited by 1,052
  8. 2016Conditional Image Generation with PixelCNN Decoderscited by 859
  9. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
  10. 2021Going deeper with Image Transformerscited by 759
  11. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
  12. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
12 more
  1. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
  2. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
  3. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  4. 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
  5. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  6. 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
  7. 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
  8. 2020Classification-Based Anomaly Detection for General Datacited by 210
  9. 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
  10. 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
  11. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  12. 2020Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detectioncited by 115

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 27; 2023: 57; 2024: 61; 2025: 43; 2026: 37.

225 papers.

Sort:

By area:

  1. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
  2. 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
  3. 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
  4. 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
  5. 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 138
  6. 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
  7. 2024RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detectioncited by 116
  8. 2022Back to the Feature: Classical 3D Features are (Almost) All You Need for 3D Anomaly Detectioncited by 92
  9. 2023BMAD: Benchmarks for Medical Anomaly Detectioncited by 81
  10. 2023PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flowcited by 74
  11. 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
  12. 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
38 more
  1. 2022PNI : Industrial Anomaly Detection using Position and Neighborhood Informationcited by 69
  2. 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
  3. 2024Towards Generalizable Tumor Synthesiscited by 65
  4. 2023IM-IAD: Industrial Image Anomaly Detection Benchmark in Manufacturingcited by 64
  5. 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
  6. 2022Prototypical Residual Networks for Anomaly Detection and Localizationcited by 56
  7. 2023Anomaly Detection with Conditioned Denoising Diffusion Modelscited by 56
  8. 2022The Eyecandies Dataset for Unsupervised Multimodal Anomaly Detection and Localizationcited by 55
  9. 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
  10. 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detectioncited by 46
  11. 2023PAD: A Dataset and Benchmark for Pose-agnostic Anomaly Detectioncited by 46
  12. 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
  13. 2023EasyNet: An Easy Network for 3D Industrial Anomaly Detectioncited by 43
  14. 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
  15. 2023Multimodal Industrial Anomaly Detection by Crossmodal Feature Mappingcited by 41
  16. 2023Cheating Depth: Enhancing 3D Surface Anomaly Detection via Depth Simulationcited by 33
  17. 2023DiAD: A Diffusion-based Framework for Multi-class Anomaly Detectioncited by 33
  18. 2023Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detectioncited by 32
  19. 2024Unsupervised Continual Anomaly Detection with Contrastively-learned Promptcited by 31
  20. 2022MAEDAY: MAE for few and zero shot AnomalY-Detectioncited by 30
  21. 2023ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detectioncited by 30
  22. 2024PointAD: Comprehending 3D Anomalies from Points and Pixels for Zero-shot 3D Anomaly Detectioncited by 29
  23. 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
  24. 2025The MVTec AD 2 Dataset: Advanced Scenarios for Unsupervised Anomaly Detectioncited by 28
  25. 2024MedIAnomaly: A comparative study of anomaly detection in medical imagescited by 25
  26. 2023Unsupervised Pathology Detection: A Deep Dive Into the State of the Artcited by 24
  27. 2023Learning Off-Road Terrain Traversability with Self-Supervisions Onlycited by 24
  28. 2024M3DM-NR: RGB-3D Noisy-Resistant Industrial Anomaly Detection via Multimodal Denoisingcited by 24
  29. 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 24
  30. 2023Industrial Anomaly Detection with Domain Shift: A Real-world Dataset and Masked Multi-scale Reconstructioncited by 22
  31. 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
  32. 2022A Survey on Unsupervised Anomaly Detection Algorithms for Industrial Imagescited by 21
  33. 2023Learning Global-Local Correspondence with Semantic Bottleneck for Logical Anomaly Detectioncited by 21
  34. 2024Tackling Structural Hallucination in Image Translation with Local Diffusioncited by 21
  35. 2022MIAD: A Maintenance Inspection Dataset for Unsupervised Anomaly Detectioncited by 19
  36. 2022Reconstruction from edge image combined with color and gradient difference for industrial surface anomaly detectioncited by 18
  37. 2023Contextual Affinity Distillation for Image Anomaly Detectioncited by 18
  38. 2024Supervised Anomaly Detection for Complex Industrial Imagescited by 18

50 most cited of 225 All 225 (JSON)