Rethinking Automated Visual Quality Control: A Systematic Benchmark of State-of-the-Art Anomaly Detection Methods for Assembled PCB Inspection
Resumo
This work benchmarks four state-of-the-art unsupervised anomaly detection methods CFA, DFM, FRE, and PatchCore for automated PCB inspection under a strict one-class learning protocol. All models were trained exclusively on nominal samples and evaluated using default configurations to reflect realistic industrial deployment. Experiments on the MVTec AD Transistor dataset and a high-density Raspberry Pi PCB dataset assessed imageand pixel-level performance using AUROC, F1-Score, and AUPRO. PatchCore achieved the strongest image-level discrimination, CFA provided the most balanced detection–localization trade-off, FRE showed sensitivity to localized structural defects, and DFM performed well globally but with weaker boundary precision. Results demonstrate the practical viability of unsupervised deep anomaly detection for modern AOI systems in dynamic manufacturing environments.
Referências
Akcay, S., Ameln, D., Vaidya, A., Lakshmanan, B., Ahuja, N., and Genc, U. (2022). Anomalib: A deep learning library for anomaly detection. In IEEE International Conference on Data Engineering (ICDE).
Batzner, K., Heckler, L., König, R., and Steger, C. (2022). Efficientad: Accurate visual anomaly detection at millisecond-level latencies.
Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2019). MVTec AD — A comprehensive real-world dataset for unsupervised anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
Fawcett, T. (2006). An introduction to roc analysis. Pattern recognition letters, 27(8):861–874.
Lee, S., Lee, S., and Song, B. C. (2022). CFA: Coupled-hypersphere-based feature adaptation for target-oriented anomaly localization. IEEE Access.
Li, C.-L., Sohn, K., Yoon, J., and Pfister, T. (2021). CutPaste: Self-supervised learning for anomaly detection and localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
Pang, G., Shen, C., Cao, L., and Hengel, A. V. D. (2021). Deep learning for anomaly detection: A review. ACM computing surveys (CSUR), 54(2):1–38.
Roth, K., Pemula, L., Zepeda, J., Schölkopf, B., Brox, T., and Gehler, P. (2022). Towards total recall in industrial anomaly detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
Ruff, L., Kauffmann, J. R., Vandermeulen, R. A., Montavon, G., Samek, W., Kloft, M., Dietterich, T. G., and Müller, K.-R. (2021). A unifying review of deep and shallow anomaly detection. Proceedings of the IEEE, 109(5):756–795.
Sasaki, Y. et al. (2007). The truth of the f-measure. Teach Tutor mater, 1(5):1–5.
SNS Insider Pvt Ltd (2025). Printed circuit board (pcb) market to worth usd 117.53 billion by 2032. Accessed: 2026-02-12.
Wang, J., Ma, Y., Zhang, L., Gao, R. X., and Wu, D. (2018). Deep learning for smart manufacturing: Methods and applications. Journal of manufacturing systems, 48:144–156.
