Collaborative Discrepancy Optimization for Reliable Image Anomaly Localization
About
Most unsupervised image anomaly localization methods suffer from overgeneralization because of the high generalization abilities of convolutional neural networks, leading to unreliable predictions. To mitigate the overgeneralization, this study proposes to collaboratively optimize normal and abnormal feature distributions with the assistance of synthetic anomalies, namely collaborative discrepancy optimization (CDO). CDO introduces a margin optimization module and an overlap optimization module to optimize the two key factors determining the localization performance, i.e., the margin and the overlap between the discrepancy distributions (DDs) of normal and abnormal samples. With CDO, a large margin and a small overlap between normal and abnormal DDs are obtained, and the prediction reliability is boosted. Experiments on MVTec2D and MVTec3D show that CDO effectively mitigates the overgeneralization and achieves great anomaly localization performance with real-time computation efficiency. A real-world automotive plastic parts inspection application further demonstrates the capability of the proposed CDO. Code is available on https://github.com/caoyunkang/CDO.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Detection | VisA | AUROC99 | 199 | |
| Anomaly Localization | MVTec-AD (test) | Pixel AUROC98.1 | 181 | |
| Anomaly Detection | MVTec 3D-AD 1.0 (test) | -- | 107 | |
| Anomaly Detection | MVTec AD | Overall AUROC96.8 | 83 | |
| Anomaly Detection | MVTec-LOCO 1.0 (test) | ROC-AUC (Total)78.1 | 53 | |
| Image-level Anomaly Detection | BTAD | AUROC97.6 | 39 | |
| Industrial Image Anomaly Detection | BTAD (test) | Image AUROC99.4 | 36 | |
| Pixel-level Anomaly Detection | BTAD | AUROC98.1 | 30 | |
| Image-level Anomaly Detection | MVTec AD | AUROC97.1 | 28 | |
| Image-level Anomaly Detection | DAGM | AUROC0.951 | 28 |