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

11/22/2022
by   Matias Tailanian, et al.
11

In this work we propose a non-contrastive method for anomaly detection and segmentation in images, that benefits both from a modern machine learning approach and a more classic statistical detection theory. The method consists of three phases. First, features are extracted by making use of a multi-scale image Transformer architecture. Then, these features are fed into a U-shaped Normalizing Flow that lays the theoretical foundations for the last phase, which computes a pixel-level anomaly map, and performs a segmentation based on the a contrario framework. This multiple hypothesis testing strategy permits to derive a robust automatic detection threshold, which is key in many real-world applications, where an operational point is needed. The segmentation results are evaluated using the Intersection over Union (IoU) metric, and for assessing the generated anomaly maps we report the area under the Receiver Operating Characteristic curve (ROC-AUC) at both image and pixel level. For both metrics, the proposed approach produces state-of-the-art results, ranking first in most MvTec-AD categories, with a mean pixel-level ROC- AUC of 98.74 trained models are available at https://github.com/mtailanian/uflow.

READ FULL TEXT

page 1

page 3

page 8

page 14

page 15

page 16

page 17

page 18

research
05/24/2023

Multiresolution Feature Guidance Based Transformer for Anomaly Detection

Anomaly detection is represented as an unsupervised learning to identify...
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
03/31/2023

Visual Anomaly Detection via Dual-Attention Transformer and Discriminative Flow

In this paper, we introduce the novel state-of-the-art Dual-attention Tr...
research
07/28/2022

SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentation

Visual anomaly detection is commonly used in industrial quality inspecti...
research
03/30/2023

Incremental Self-Supervised Learning Based on Transformer for Anomaly Detection and Localization

In the machine learning domain, research on anomaly detection and locali...
research
05/08/2023

Is AUC the best measure for practical comparison of anomaly detectors?

The area under receiver operating characteristics (AUC) is the standard ...
research
07/23/2022

Contrastive Monotonic Pixel-Level Modulation

Continuous one-to-many mapping is a less investigated yet important task...

Please sign up or login with your details

Forgot password? Click here to reset