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

Normal-Abnormal Guided Generalist Anomaly Detection

About

Generalist Anomaly Detection (GAD) aims to train a unified model on an original domain that can detect anomalies in new target domains. Previous GAD methods primarily use only normal samples as references, overlooking the valuable information contained in anomalous samples that are often available in real-world scenarios. To address this limitation, we propose a more practical approach: normal-abnormal-guided generalist anomaly detection, which leverages both normal and anomalous samples as references to guide anomaly detection across diverse domains. We introduce the Normal-Abnormal Generalist Learning (NAGL) framework, consisting of two key components: Residual Mining (RM) and Anomaly Feature Learning (AFL). RM extracts abnormal patterns from normal-abnormal reference residuals to establish transferable anomaly representations, while AFL adaptively learns anomaly features in query images through residual mapping to identify instance-aware anomalies. Our approach effectively utilizes both normal and anomalous references for more accurate and efficient cross-domain anomaly detection. Extensive experiments across multiple benchmarks demonstrate that our method significantly outperforms existing GAD approaches. This work represents the first to adopt a mixture of normal and abnormal samples as references in generalist anomaly detection. The code and datasets are available at https://github.com/JasonKyng/NAGL.

Yuexin Wang, Xiaolei Wang, Yizheng Gong, Jimin Xiao• 2025

Related benchmarks

TaskDatasetResultRank
Anomaly LocalizationMVTec AD
Pixel AUROC96.1
534
Anomaly DetectionBraTS
Image-level AUROC75.1
90
Anomaly DetectionVisA
AUROC (Image-level)91.5
79
Anomaly DetectionMVTec AD
P-AUROC0.971
74
Anomaly DetectionMPDD
I-AUROC83.1
63
Anomaly DetectionBTAD
Image-level AUROC94
63
Anomaly DetectionMVTec AD
AUROC (Image-level)94.5
45
Anomaly DetectionAITEX--
44
Anomaly DetectionMPDD Hard
Image AUROC76.6
8
Anomaly DetectionMVTecAD Hard
Image AUROC95.1
8
Showing 10 of 10 rows

Other info

Follow for update