mlsanityData to 14 Oct 2026

U-Flow: A U-shaped Normalizing Flow for Anomaly Detection with Unsupervised Threshold

arXiv 2211.12353 ↗First posted 22 Nov 2022cs.CVcited by 16

Not on the map. Why?

Abstract (arXiv)

In this work we propose a one-class self-supervised method for anomaly segmentation in images that benefits both from a modern machine learning approach and a more classic statistical detection theory. The method consists of four phases. First, features are extracted using a multi-scale image Transformer architecture. Then, these features are fed into a U-shaped Normalizing Flow (NF) that lays the theoretical foundations for the subsequent phases. The third phase computes a pixel-level anomaly map from the NF embedding, and the last phase performs a segmentation based on the a contrario framework. This multiple hypothesis testing strategy permits the derivation of robust unsupervised detection thresholds, which are crucial in real-world applications where an operational point is needed. The segmentation results are evaluated using the Mean Intersection over Union (mIoU) metric, and for assessing the generated anomaly maps we report the area under the Receiver Operating Characteristic curve (AUROC), as well as the Area Under the Per-Region-Overlap curve (AUPRO). Extensive experimentation in various datasets shows that the proposed approach produces state-of-the-art results for all metrics and all datasets, ranking first in most MVTec-AD categories, with a mean pixel-level AUROC of 98.74%. Code and trained models are available at https:// github.com/mtailanian/uflow.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 39 of its 70 references that are in the map. First posted on arXiv 22 Nov 2022.

Builds on

39 of 70 references.

References · 39

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
  8. 2015Variational Inference with Normalizing Flowscited by 2,170
  9. 2016Density estimation using Real NVPcited by 2,042
  10. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
  11. 2014NICE: Non-linear Independent Components Estimationcited by 1,058
  12. 2021Multiscale Vision Transformerscited by 897
27 more
  1. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
  2. 2021Going deeper with Image Transformerscited by 764
  3. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
  4. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  5. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
  6. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
  7. 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
  8. 2017Future Frame Prediction for Anomaly Detection -- A New Baselinecited by 391
  9. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
  10. 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
  11. 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 264
  12. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
  13. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 223
  14. 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
  15. 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
  16. 2018i-RevNet: Deep Invertible Networkscited by 137
  17. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  18. 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
  19. 2019Association of genomic subtypes of lower-grade gliomas with shape features automatically extracted by a deep learning algorithmcited by 77
  20. 2022Anomalib: A Deep Learning Library for Anomaly Detectioncited by 75
  21. 2020DFR: Deep Feature Reconstruction for Unsupervised Anomaly Segmentationcited by 54
  22. 2021Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localizationcited by 32
  23. 2021Semi-orthogonal Embedding for Efficient Unsupervised Anomaly Segmentationcited by 26
  24. 2022Reconstructed Student-Teacher and Discriminative Networks for Anomaly Detectioncited by 11
  25. 2018Image Anomalies: a Review and Synthesis of Detection Methodscited by 10
  26. 2019Reducing Anomaly Detection in Images to Detection in Noisecited by 2
  27. 2022A Contrario multi-scale anomaly detection method for industrial quality inspectioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 5; 2024: 4; 2025: 4; 2026: 3.

16 papers.

Sort:

By area:

  1. 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
  2. 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
  3. 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
  4. 2025Anomaly Detection and Generation with Diffusion Models: A Surveycited by 8
  5. 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
  6. 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformerscited by 6
  7. 2024RAD: A Dataset and Benchmark for Real-Life Anomaly Detection with Robotic Observationscited by 5
  8. 2024AUPIMO: Redefining Visual Anomaly Detection Benchmarks with High Speed and Low Tolerancecited by 4
  9. 2023Dissolving Is Amplifying: Towards Fine-Grained Anomaly Detectioncited by 3
  10. 2024FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentationcited by 2
  11. 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
  12. 2023CL-Flow:Strengthening the Normalizing Flows by Contrastive Learning for Better Anomaly Detectioncited by 0
4 more
  1. 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classificationcited by 0
  2. 2026Two Steps Are All You Need: Efficient 3D Point Cloud Anomaly Detection with Consistency Modelscited by 0
  3. 2026Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervisioncited by 0
  4. 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detectioncited by 0