FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flows
Jiawei Yu, Ye Zheng, Xiang Wang, Wei Li, Yushuang Wu, Rui Zhao, Liwei, Wu

TL;DR
FastFlow employs 2D normalizing flows as a plug-in module with deep feature extractors to improve unsupervised anomaly detection and localization, achieving state-of-the-art accuracy and efficiency.
Contribution
It introduces FastFlow, a novel method using 2D normalizing flows for effective probability distribution estimation in anomaly detection.
Findings
Achieves 99.4% AUC on MVTec AD dataset.
Surpasses previous methods in accuracy and inference speed.
Compatible with various deep feature extractors like ResNet and vision transformers.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Data-Driven Disease Surveillance · Network Security and Intrusion Detection
MethodsMulti-Head Attention · Attention Is All You Need · *Communicated@Fast*How Do I Communicate to Expedia? · Linear Layer · Batch Normalization · Max Pooling · 1x1 Convolution · Residual Connection · Softmax · Average Pooling
