U-Flow: A U-shaped Normalizing Flow for Anomaly Detection with Unsupervised Threshold
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
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2016Density estimation using Real NVPcited by 2,042
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
- 2014NICE: Non-linear Independent Components Estimationcited by 1,058
- 2021Multiscale Vision Transformerscited by 897
27 more
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2021Going deeper with Image Transformerscited by 764
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
- 2017Future Frame Prediction for Anomaly Detection -- A New Baselinecited by 391
- 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
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 264
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 223
- 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
- 2018i-RevNet: Deep Invertible Networkscited by 137
- 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
- 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
- 2019Association of genomic subtypes of lower-grade gliomas with shape features automatically extracted by a deep learning algorithmcited by 77
- 2022Anomalib: A Deep Learning Library for Anomaly Detectioncited by 75
- 2020DFR: Deep Feature Reconstruction for Unsupervised Anomaly Segmentationcited by 54
- 2021Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localizationcited by 32
- 2021Semi-orthogonal Embedding for Efficient Unsupervised Anomaly Segmentationcited by 26
- 2022Reconstructed Student-Teacher and Discriminative Networks for Anomaly Detectioncited by 11
- 2018Image Anomalies: a Review and Synthesis of Detection Methodscited by 10
- 2019Reducing Anomaly Detection in Images to Detection in Noisecited by 2
- 2022A Contrario multi-scale anomaly detection method for industrial quality inspectioncited by 2
Built on by
Citing papers per year: 2023: 5; 2024: 4; 2025: 4; 2026: 3.
16 papers.
Sort:
By area:
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
- 2025Anomaly Detection and Generation with Diffusion Models: A Surveycited by 8
- 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
- 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformerscited by 6
- 2024RAD: A Dataset and Benchmark for Real-Life Anomaly Detection with Robotic Observationscited by 5
- 2024AUPIMO: Redefining Visual Anomaly Detection Benchmarks with High Speed and Low Tolerancecited by 4
- 2023Dissolving Is Amplifying: Towards Fine-Grained Anomaly Detectioncited by 3
- 2024FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentationcited by 2
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
- 2023CL-Flow:Strengthening the Normalizing Flows by Contrastive Learning for Better Anomaly Detectioncited by 0
4 more
- 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classificationcited by 0
- 2026Two Steps Are All You Need: Efficient 3D Point Cloud Anomaly Detection with Consistency Modelscited by 0
- 2026Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervisioncited by 0
- 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detectioncited by 0
- 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detection7 Aug 2026
- 2026Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervision8 Jun 2026
- 2026Two Steps Are All You Need: Efficient 3D Point Cloud Anomaly Detection with Consistency Models6 May 2026
- 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classification10 Oct 2025
- 2025Foundation Models and Transformers for Anomaly Detection: A Survey21 Jul 2025
- 2025Anomaly Detection and Generation with Diffusion Models: A Survey11 Jun 2025
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defects6 Mar 2025
- 2024FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentation29 Nov 2024
- 2024RAD: A Dataset and Benchmark for Real-Life Anomaly Detection with Robotic Observations1 Oct 2024
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detection15 Jul 2024
- 2024AUPIMO: Redefining Visual Anomaly Detection Benchmarks with High Speed and Low Tolerance3 Jan 2024
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detection16 Nov 2023
4 more
- 2023CL-Flow:Strengthening the Normalizing Flows by Contrastive Learning for Better Anomaly Detection12 Nov 2023
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval13 Aug 2023
- 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformers6 Jun 2023
- 2023Dissolving Is Amplifying: Towards Fine-Grained Anomaly Detection28 Feb 2023
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
- 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
- 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformerscited by 6
- 2024RAD: A Dataset and Benchmark for Real-Life Anomaly Detection with Robotic Observationscited by 5
- 2024AUPIMO: Redefining Visual Anomaly Detection Benchmarks with High Speed and Low Tolerancecited by 4
- 2023Dissolving Is Amplifying: Towards Fine-Grained Anomaly Detectioncited by 3
- 2024FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentationcited by 2
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
- 2023CL-Flow:Strengthening the Normalizing Flows by Contrastive Learning for Better Anomaly Detectioncited by 0
- 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classificationcited by 0
- 2026Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervisioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detection7 Aug 2026
- 2026Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervision8 Jun 2026
- 2025On Uniformly Scaling Flows: A Density-Aligned Approach to Deep One-Class Classification10 Oct 2025
- 2025Foundation Models and Transformers for Anomaly Detection: A Survey21 Jul 2025
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defects6 Mar 2025
- 2024FlowCLAS: Enhancing Normalizing Flow Via Contrastive Learning For Anomaly Segmentation29 Nov 2024
- 2024RAD: A Dataset and Benchmark for Real-Life Anomaly Detection with Robotic Observations1 Oct 2024
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detection15 Jul 2024
- 2024AUPIMO: Redefining Visual Anomaly Detection Benchmarks with High Speed and Low Tolerance3 Jan 2024
- 2023CL-Flow:Strengthening the Normalizing Flows by Contrastive Learning for Better Anomaly Detection12 Nov 2023
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval13 Aug 2023
- 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformers6 Jun 2023
12 newest of 13 All 13 (JSON)