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

11/15/2021
by   Jiawei Yu, et al.
21

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

READ FULL TEXT

page 3

page 7

page 9

page 10

page 11

research
06/04/2022

CAINNFlow: Convolutional block Attention modules and Invertible Neural Networks Flow for anomaly detection and localization tasks

Detection of object anomalies is crucial in industrial processes, but un...
research
11/22/2022

Image Anomaly Detection and Localization with Position and Neighborhood Information

Anomaly detection and localization are essential in many areas, where co...
research
09/03/2016

Deep-Anomaly: Fully Convolutional Neural Network for Fast Anomaly Detection in Crowded Scenes

The detection of abnormal behaviours in crowded scenes has to deal with ...
research
11/01/2022

Siamese Transition Masked Autoencoders as Uniform Unsupervised Visual Anomaly Detector

Unsupervised visual anomaly detection conveys practical significance in ...
research
07/27/2021

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

Unsupervised anomaly detection with localization has many practical appl...
research
08/06/2022

HaloAE: An HaloNet based Local Transformer Auto-Encoder for Anomaly Detection and Localization

Unsupervised anomaly detection and localization is a crucial task as it ...
research
08/29/2023

A Comprehensive Augmentation Framework for Anomaly Detection

Data augmentation methods are commonly integrated into the training of a...

Please sign up or login with your details

Forgot password? Click here to reset