Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

UniADC: A Unified Framework for Anomaly Detection and Classification

About

In this paper, we introduce a novel task termed unified anomaly detection and classification, which aims to simultaneously detect anomalous regions in images and identify their specific categories. Existing methods typically treat anomaly detection and classification as separate tasks, thereby neglecting their inherent correlations and limiting information sharing, which results in suboptimal performance. To address this, we propose UniADC, a model designed to effectively perform both tasks with only a few or even no anomaly images. Specifically, UniADC consists of two key components: a training-free Controllable Inpainting Network and an Implicit-Normal Discriminator. The inpainting network can synthesize anomaly images of specific categories by repainting normal regions guided by anomaly priors, and can also repaint few-shot anomaly samples to augment the available anomaly data. The implicit-normal discriminator addresses the severe challenge of the imbalance between normal and anomalous pixel distributions by implicitly modeling the normal state, achieving precise anomaly detection and classification by aligning fine-grained image features with anomaly-category embeddings. We conduct extensive experiments on four anomaly detection and classification datasets, including MVTec-FS, MTD, WFDD and Real-IAD, and the results demonstrate that UniADC consistently outperforms existing methods in anomaly detection, localization, and classification. The code is available at https://github.com/cnulab/UniADC.

Ximiao Zhang, Min Xu, Zheng Zhang, Yap-Peng Tan, Xiuzhuang Zhou• 2025

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionMVTec FS
I-AUC99.05
32
Anomaly Detection and ClassificationMVTec FS
I-AUC97.65
24
Anomaly Detection and ClassificationMTD
I-AUC93.04
24
Anomaly LocalizationWFDD
I-AUC98.6
24
Anomaly ClassificationReal-IAD few-shot
Accuracy70.44
7
Anomaly DetectionReal-IAD few-shot
I-AUC89.17
7
Anomaly LocalizationMVTec FS
P-AUC98.96
3
Anomaly ClassificationMTD
Accuracy71.34
2
Showing 8 of 8 rows

Other info

Follow for update