Qiyu Chen, Huiyuan Luo, Haiming Yao, Wei Luo, Zhen Qu, Chengkan Lv, Zhengtao Zhang
Anomaly detection plays a vital role in the inspection of industrial images. Most existing methods require separate models for each category, resulting in multiplied deployment costs. This highlights the challenge of developing a unified model for multi-class anomaly detection. However, the significant increase in inter-class interference leads to severe missed detections. Furthermore, the intra-class overlap between normal and abnormal samples, particularly in synthesis-based methods, cannot be ignored and may lead to over-detection. To tackle these issues, we propose a novel Center-aware Residual Anomaly Synthesis (CRAS) method for multi-class anomaly detection. CRAS leverages center-aware residual learning to couple samples from different categories into a unified center, mitigating the effects of inter-class interference. To further reduce intra-class overlap, CRAS introduces distance-guided anomaly synthesis that adaptively adjusts noise variance based on normal data distribution. Experimental results on diverse datasets and real-world industrial applications demonstrate the superior detection accuracy and competitive inference speed of CRAS. The source code and the newly constructed dataset are publicly available at https://github.com/cqylunlun/CRAS.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Anomaly Detection | MPDD | Detection AUROC | 98.8 | CRAS |
| Anomaly Detection | MPDD | Segmentation AUROC | 98.7 | CRAS |
| Anomaly Detection | ITDD | Detection AUROC | 99.6 | CRAS |
| Anomaly Detection | ITDD | Segmentation AUROC | 98 | CRAS |
| Anomaly Detection | MVTec AD | Detection AUROC | 99.7 | CRAS |
| Anomaly Detection | MVTec AD | Segmentation AUROC | 98.4 | CRAS |
| Anomaly Detection | VisA | Detection AUROC | 97 | CRAS |
| Anomaly Detection | VisA | Segmentation AUROC | 98.4 | CRAS |
| Anomaly Detection | MVTec AD | Detection AUROC | 98.3 | CRAS |
| Anomaly Detection | MVTec AD | Segmentation AUROC | 98 | CRAS |
| Anomaly Detection | ITDD | Detection AUROC | 99.4 | CRAS |
| Anomaly Detection | ITDD | Segmentation AUROC | 97.8 | CRAS |