{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T06:05:56Z","timestamp":1783577156699,"version":"3.55.0"},"reference-count":36,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T00:00:00Z","timestamp":1704153600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The occurrence of anomalies on the surface of industrial products can lead to issues such as decreased product quality, reduced production efficiency, and safety hazards. Early detection and resolution of these problems are crucial for ensuring the quality and efficiency of production. The key challenge in applying deep learning to surface defect detection of industrial products is the scarcity of defect samples, which will make supervised learning methods unsuitable for surface defect detection problems. Therefore, it is a reasonable solution to use anomaly detection methods to deal with surface defect detection. Among image-based anomaly detection, reconstruction-based methods are the most commonly used. However, reconstruction-based approaches lack the involvement of defect samples in the training process, posing the risk of a perfect reconstruction of defects by the reconstruction network. In this paper, we propose a reconstruction-based defect detection algorithm that addresses these challenges by utilizing more realistic synthetic anomalies for training. Our model focuses on creating authentic synthetic defects and introduces an auto-encoder image reconstruction network with deep feature consistency constraints, as well as a defect separation network with a large receptive field. We conducted experiments on the challenging MVTec anomaly detection dataset and our trained model achieved an AUROC score of 99.70% and an average precision (AP) score of 99.87%. Our method surpasses recently proposed defect detection algorithms, thereby enhancing the accuracy of surface defect detection in industrial products.<\/jats:p>","DOI":"10.3390\/s24010264","type":"journal-article","created":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T06:04:09Z","timestamp":1704175449000},"page":"264","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":12,"title":["Industrial Product Surface Anomaly Detection with Realistic Synthetic Anomalies Based on Defect Map Prediction"],"prefix":"10.3390","volume":"24","author":[{"given":"Tao","family":"Peng","sequence":"first","affiliation":[{"name":"School of Electrical and Control Engineering, Shaanxi University of Science and Technology, Xi\u2019an 710026, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yu","family":"Zheng","sequence":"additional","affiliation":[{"name":"School of Cyber Engineering, Xidian University, Xi\u2019an 710126, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lin","family":"Zhao","sequence":"additional","affiliation":[{"name":"School of Electrical and Control Engineering, Shaanxi University of Science and Technology, Xi\u2019an 710026, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Enrang","family":"Zheng","sequence":"additional","affiliation":[{"name":"School of Electrical and Control Engineering, Shaanxi University of Science and Technology, Xi\u2019an 710026, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,1,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"103750","DOI":"10.1016\/j.compind.2022.103750","article-title":"Anomaly detection in smart agriculture systems","volume":"143","author":"Catalano","year":"2022","journal-title":"Comput. Ind."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"484","DOI":"10.1016\/j.procir.2019.02.123","article-title":"Anomaly detection with convolutional neural networks for industrial surface inspection","volume":"79","author":"Staar","year":"2019","journal-title":"Procedia CIRP"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Moso, J.C., Cormier, S., de Runz, C., Fouchal, H., and Wandeto, J.M. (2021). Anomaly detection on data streams for smart agriculture. Agriculture, 11.","DOI":"10.3390\/agriculture11111083"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Roth, K., Pemula, L., Zepeda, J., Sch\u00f6lkopf, B., Brox, T., and Gehler, P. (2022, January 18\u201324). Towards total recall in industrial anomaly detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.01392"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Qin, K., Wang, Q., Lu, B., Sun, H., and Shu, P. (2022). Flight anomaly detection via a deep hybrid model. Aerospace, 9.","DOI":"10.3390\/aerospace9060329"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Memarzadeh, M., Akbari Asanjan, A., and Matthews, B. (2022). Robust and Explainable Semi-Supervised Deep Learning Model for Anomaly Detection in Aviation. Aerospace, 9.","DOI":"10.3390\/aerospace9080437"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Albasheer, H., Md Siraj, M., Mubarakali, A., Elsier Tayfour, O., Salih, S., Hamdan, M., Khan, S., Zainal, A., and Kamarudeen, S. (2022). Cyber-attack prediction based on network intrusion detection systems for alert correlation techniques: A survey. Sensors, 22.","DOI":"10.3390\/s22041494"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"102675","DOI":"10.1016\/j.cose.2022.102675","article-title":"A systematic literature review of methods and datasets for anomaly-based network intrusion detection","volume":"116","author":"Yang","year":"2022","journal-title":"Comput. Secur."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Akcay, S., Atapour-Abarghouei, A., and Breckon, T.P. (2018, January 2\u20136). Ganomaly: Semi-supervised anomaly detection via adversarial training. Proceedings of the Computer Vision\u2014ACCV 2018: 14th Asian Conference on Computer Vision, Perth, Australia. Revised Selected Papers, Part III 14.","DOI":"10.1007\/978-3-030-20893-6_39"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Zavrtanik, V., Kristan, M., and Sko\u010daj, D. (2021, January 20\u201325). Draem-a discriminatively trained reconstruction embedding for surface anomaly detection. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Nashville, TN, USA.","DOI":"10.1109\/ICCV48922.2021.00822"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Li, C.L., Sohn, K., Yoon, J., and Pfister, T. (2021, January 20\u201325). Cutpaste: Self-supervised learning for anomaly detection and localization. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.00954"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2019, January 15\u201320). MVTec AD\u2013A comprehensive real-world dataset for unsupervised anomaly detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00982"},{"key":"ref_13","unstructured":"Tan, J., Hou, B., Batten, J., Qiu, H., and Kainz, B. (2020). Detecting outliers with foreign patch interpolation. arXiv."},{"key":"ref_14","unstructured":"Zimmerer, D., Petersen, J., K\u00f6hler, G., J\u00e4ger, P., Full, P., Ro\u00df, T., Adler, T., Reinke, A., Maier-Hein, L., and Maier-Hein, K. (2020). Medical out-of-distribution analysis challenge. Zenodo."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Schl\u00fcter, H.M., Tan, J., Hou, B., and Kainz, B. (2022, January 23\u201327). Natural synthetic anomalies for self-supervised anomaly detection and localization. Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel.","DOI":"10.1007\/978-3-031-19821-2_27"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Cimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., and Vedaldi, A. (2014, January 23\u201328). Describing textures in the wild. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.","DOI":"10.1109\/CVPR.2014.461"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Schlegl, T., Seeb\u00f6ck, P., Waldstein, S.M., Schmidt-Erfurth, U., and Langs, G. (2017, January 25\u201330). Unsupervised anomaly detection with generative adversarial networks to guide marker discovery. Proceedings of the International Conference on Information Processing in Medical Imaging, Boone, NC, USA.","DOI":"10.1007\/978-3-319-59050-9_12"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"139","DOI":"10.1145\/3422622","article-title":"Generative adversarial networks","volume":"63","author":"Goodfellow","year":"2020","journal-title":"Commun. ACM"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Gudovskiy, D., Ishizaka, S., and Kozuka, K. (2022, January 3\u20138). Cflow-ad: Real-time unsupervised anomaly detection with localization via conditional normalizing flows. Proceedings of the IEEE\/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA.","DOI":"10.1109\/WACV51458.2022.00188"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Rudolph, M., Wehrbein, T., Rosenhahn, B., and Wandt, B. (2022, January 3\u20138). Fully convolutional cross-scale-flows for image-based defect detection. Proceedings of the IEEE\/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA.","DOI":"10.1109\/WACV51458.2022.00189"},{"key":"ref_21","unstructured":"Yu, J., Zheng, Y., Wang, X., Li, W., Wu, Y., Zhao, R., and Wu, L. (2021). Fastflow: Unsupervised anomaly detection and localization via 2d normalizing flows. arXiv."},{"key":"ref_22","unstructured":"Wang, G., Han, S., Ding, E., and Huang, D. (2021). Student-teacher feature pyramid matching for unsupervised anomaly detection. arXiv."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Deng, H., and Li, X. (2022, January 18\u201324). Anomaly detection via reverse distillation from one-class embedding. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.00951"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Defard, T., Setkov, A., Loesch, A., and Audigier, R. (2021, January 28\u201330). Padim: A patch distribution modeling framework for anomaly detection and localization. Proceedings of the International Conference on Pattern Recognition, Bangkok, Thailand.","DOI":"10.1007\/978-3-030-68799-1_35"},{"key":"ref_25","unstructured":"Ahuja, N.A., Ndiour, I., Kalyanpur, T., and Tickoo, O. (2019). Probabilistic modeling of deep features for out-of-distribution and adversarial detection. arXiv."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"78446","DOI":"10.1109\/ACCESS.2022.3193699","article-title":"Cfa: Coupled-hypersphere-based feature adaptation for target-oriented anomaly localization","volume":"10","author":"Lee","year":"2022","journal-title":"IEEE Access"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"600","DOI":"10.1109\/TIP.2003.819861","article-title":"Image quality assessment: From error visibility to structural similarity","volume":"13","author":"Wang","year":"2004","journal-title":"IEEE Trans. Image Process."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Ding, X., Zhang, X., Han, J., and Ding, G. (2022, January 18\u201324). Scaling up your kernels to 31 \u00d7 31: Revisiting large kernel design in cnns. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.01166"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20\u201325). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Doll\u00e1r, P., and Zitnick, C.L. (2014, January 6\u201312). Microsoft coco: Common objects in context. Proceedings of the Computer Vision\u2014ECCV 2014: 13th European Conference, Zurich, Switzerland. Proceedings, Part V 13.","DOI":"10.1007\/978-3-319-10602-1_48"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"302","DOI":"10.1007\/s11263-018-1140-0","article-title":"Semantic understanding of scenes through the ade20k dataset","volume":"127","author":"Zhou","year":"2019","journal-title":"Int. J. Comput. Vis."},{"key":"ref_32","unstructured":"Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5\u20139). U-net: Convolutional networks for biomedical image segmentation. Proceedings of the Medical Image Computing and Computer-Assisted Intervention\u2014MICCAI 2015: 18th International Conference, Munich, Germany. Proceedings, Part III 18."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Lin, T.Y., Goyal, P., Girshick, R., He, K., and Doll\u00e1r, P. (2017, January 22\u201329). Focal loss for dense object detection. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.","DOI":"10.1109\/ICCV.2017.324"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Akcay, S., Ameln, D., Vaidya, A., Lakshmanan, B., Ahuja, N., and Genc, U. (2022, January 16\u201319). Anomalib: A deep learning library for anomaly detection. Proceedings of the 2022 IEEE International Conference on Image Processing (ICIP), Bordeaux, France.","DOI":"10.1109\/ICIP46576.2022.9897283"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2020, January 13\u201319). Uninformed students: Student-teacher anomaly detection with discriminative latent embeddings. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00424"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"107706","DOI":"10.1016\/j.patcog.2020.107706","article-title":"Reconstruction by inpainting for visual anomaly detection","volume":"112","author":"Zavrtanik","year":"2021","journal-title":"Pattern Recognit."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/1\/264\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T13:38:24Z","timestamp":1760103504000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/1\/264"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,2]]},"references-count":36,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2024,1]]}},"alternative-id":["s24010264"],"URL":"https:\/\/doi.org\/10.3390\/s24010264","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,2]]}}}