TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Lo...

CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flows

Denis Gudovskiy, Shun Ishizaka, Kazuki Kozuka

2021-07-27Anomaly SegmentationUnsupervised Anomaly DetectionAnomaly DetectionAnomaly Classification
PaperPDFCodeCode(official)Code

Abstract

Unsupervised anomaly detection with localization has many practical applications when labeling is infeasible and, moreover, when anomaly examples are completely missing in the train data. While recently proposed models for such data setup achieve high accuracy metrics, their complexity is a limiting factor for real-time processing. In this paper, we propose a real-time model and analytically derive its relationship to prior methods. Our CFLOW-AD model is based on a conditional normalizing flow framework adopted for anomaly detection with localization. In particular, CFLOW-AD consists of a discriminatively pretrained encoder followed by a multi-scale generative decoders where the latter explicitly estimate likelihood of the encoded features. Our approach results in a computationally and memory-efficient model: CFLOW-AD is faster and smaller by a factor of 10x than prior state-of-the-art with the same input setting. Our experiments on the MVTec dataset show that CFLOW-AD outperforms previous methods by 0.36% AUROC in detection task, by 1.12% AUROC and 2.5% AUPRO in localization task, respectively. We open-source our code with fully reproducible experiments.

Results

TaskDatasetMetricValueModel
Anomaly DetectionMVTec ADDetection AUROC98.26CFLOW-AD
Anomaly DetectionMVTec ADFPS27CFLOW-AD
Anomaly DetectionMVTec ADSegmentation AUPRO94.6CFLOW-AD
Anomaly DetectionMVTec ADSegmentation AUROC98.62CFLOW-AD
Anomaly DetectionVisADetection AUROC91.5CFLOW
Anomaly DetectionGoodsADAUPR75.3CFLOW-AD
Anomaly DetectionGoodsADAUROC71.2CFLOW-AD
2D ClassificationGoodsADAUPR75.3CFLOW-AD
2D ClassificationGoodsADAUROC71.2CFLOW-AD
Anomaly ClassificationGoodsADAUPR75.3CFLOW-AD
Anomaly ClassificationGoodsADAUROC71.2CFLOW-AD

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15Adversarial Activation Patching: A Framework for Detecting and Mitigating Emergent Deception in Safety-Aligned Transformers2025-07-12Towards High-Resolution 3D Anomaly Detection: A Scalable Dataset and Real-Time Framework for Subtle Industrial Defects2025-07-10seMCD: Sequentially implemented Monte Carlo depth computation with statistical guarantees2025-07-08