A Unified Model for Multi-class Anomaly Detection

06/08/2022
by   Zhiyuan You, et al.
15

Despite the rapid advance of unsupervised anomaly detection, existing methods require to train separate models for different objects. In this work, we present UniAD that accomplishes anomaly detection for multiple classes with a unified framework. Under such a challenging setting, popular reconstruction networks may fall into an "identical shortcut", where both normal and anomalous samples can be well recovered, and hence fail to spot outliers. To tackle this obstacle, we make three improvements. First, we revisit the formulations of fully-connected layer, convolutional layer, as well as attention layer, and confirm the important role of query embedding (i.e., within attention layer) in preventing the network from learning the shortcut. We therefore come up with a layer-wise query decoder to help model the multi-class distribution. Second, we employ a neighbor masked attention module to further avoid the information leak from the input feature to the reconstructed output feature. Third, we propose a feature jittering strategy that urges the model to recover the correct message even with noisy inputs. We evaluate our algorithm on MVTec-AD and CIFAR-10 datasets, where we surpass the state-of-the-art alternatives by a sufficiently large margin. For example, when learning a unified model for 15 categories in MVTec-AD, we surpass the second competitor on the tasks of both anomaly detection (from 88.1 Code will be made publicly available.

READ FULL TEXT

page 1

page 3

page 7

page 13

page 14

research
07/24/2023

SelFormaly: Towards Task-Agnostic Unified Anomaly Detection

The core idea of visual anomaly detection is to learn the normality from...
research
07/16/2023

LafitE: Latent Diffusion Model with Feature Editing for Unsupervised Multi-class Anomaly Detection

In the context of flexible manufacturing systems that are required to pr...
research
07/24/2019

Motion-Aware Feature for Improved Video Anomaly Detection

Motivated by our observation that motion information is the key to good ...
research
08/09/2023

Multi-Class Deep SVDD: Anomaly Detection Approach in Astronomy with Distinct Inlier Categories

With the increasing volume of astronomical data generated by modern surv...
research
02/20/2023

Unsupervised Layer-wise Score Aggregation for Textual OOD Detection

Out-of-distribution (OOD) detection is a rapidly growing field due to ne...
research
11/16/2022

Anomaly Detection via Multi-Scale Contrasted Memory

Deep anomaly detection (AD) aims to provide robust and efficient classif...
research
10/25/2021

Latent-Insensitive Autoencoders for Anomaly Detection and Class-Incremental Learning

Reconstruction-based approaches to anomaly detection tend to fall short ...

Please sign up or login with your details

Forgot password? Click here to reset