A Unified Model for Multi-class Anomaly Detection
Zhiyuan You, Lei Cui, Yujun Shen, Kai Yang, Xin Lu, Yu Zheng, Xinyi Le

TL;DR
UniAD introduces a unified multi-class anomaly detection model that overcomes common shortcut issues with innovative layer design, neighbor attention, and feature jittering, achieving state-of-the-art results on multiple datasets.
Contribution
The paper presents a novel unified framework for multi-class anomaly detection that incorporates query decoders, neighbor masked attention, and feature jittering to improve detection accuracy.
Findings
Surpasses state-of-the-art on MVTec-AD and CIFAR-10 datasets.
Achieves 96.5% anomaly detection accuracy on 15 categories in MVTec-AD.
Significantly improves anomaly localization performance.
Abstract
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…
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
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Network Security and Intrusion Detection · COVID-19 diagnosis using AI
