Towards Efficient Pixel Labeling for Industrial Anomaly Detection and Localization
About
In the realm of practical Anomaly Detection (AD) tasks, manual labeling of anomalous pixels proves to be a costly endeavor. Consequently, many AD methods are crafted as one-class classifiers, tailored for training sets completely devoid of anomalies, ensuring a more cost-effective approach. While some pioneering work has demonstrated heightened AD accuracy by incorporating real anomaly samples in training, this enhancement comes at the price of labor-intensive labeling processes. This paper strikes the balance between AD accuracy and labeling expenses by introducing ADClick, a novel Interactive Image Segmentation (IIS) algorithm. ADClick efficiently generates "ground-truth" anomaly masks for real defective images, leveraging innovative residual features and meticulously crafted language prompts. Notably, ADClick showcases a significantly elevated generalization capacity compared to existing state-of-the-art IIS approaches. Functioning as an anomaly labeling tool, ADClick generates high-quality anomaly labels (AP $= 94.1\%$ on MVTec AD) based on only $3$ to $5$ manual click annotations per training image. Furthermore, we extend the capabilities of ADClick into ADClick-Seg, an enhanced model designed for anomaly detection and localization. By fine-tuning the ADClick-Seg model using the weak labels inferred by ADClick, we establish the state-of-the-art performances in supervised AD tasks (AP $= 86.4\%$ on MVTec AD and AP $= 78.4\%$, PRO $= 98.6\%$ on KSDD2).
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Localization | MVTec-AD (test) | Pixel AUROC99.6 | 181 | |
| Anomaly Detection | MVTec AD | AUROC (Image-level)99.6 | 45 | |
| Interactive Segmentation | MVTec AD 1.0 (test) | AP94.1 | 14 | |
| Interactive Segmentation | KolektorSDD2 1.0 (test) | AP94.9 | 14 | |
| Unsupervised Anomaly Localization | MVTec AD 1 (test) | PRO97.8 | 11 | |
| Unsupervised Anomaly Detection | MVTec AD 1 | Image AUROC99.7 | 10 | |
| Anomaly Detection | KolektorSDD2 | I_AUROC98 | 4 | |
| Anomaly Localization | KolektorSDD2 | AP78.4 | 4 |