{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,24]],"date-time":"2026-02-24T08:00:28Z","timestamp":1771920028961,"version":"3.50.1"},"reference-count":27,"publisher":"MDPI AG","issue":"24","license":[{"start":{"date-parts":[[2022,12,13]],"date-time":"2022-12-13T00:00:00Z","timestamp":1670889600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004663","name":"National Science and Technology Council (NSTC)","doi-asserted-by":"publisher","award":["MOST 111-2221-E-005-081"],"award-info":[{"award-number":["MOST 111-2221-E-005-081"]}],"id":[{"id":"10.13039\/501100004663","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Metal workpieces are indispensable in the manufacturing industry. Surface defects affect the appearance and efficiency of a workpiece and reduce the safety of manufactured products. Therefore, products must be inspected for surface defects, such as scratches, dirt, and chips. The traditional manual inspection method is time-consuming and labor-intensive, and human error is unavoidable when thousands of products require inspection. Therefore, an automated optical inspection method is often adopted. Traditional automated optical inspection algorithms are insufficient in the detection of defects on metal surfaces, but a convolutional neural network (CNN) may aid in the inspection. However, considerable time is required to select the optimal hyperparameters for a CNN through training and testing. First, we compared the ability of three CNNs, namely VGG-16, ResNet-50, and MobileNet v1, to detect defects on metal surfaces. These models were hypothetically implemented for transfer learning (TL). However, in deploying TL, the phenomenon of apparent convergence in prediction accuracy, followed by divergence in validation accuracy, may create a problem when the image pattern is not known in advance. Second, our developed automated machine-learning (AutoML) model was trained through a random search with the core layers of the network architecture of the three TL models. We developed a retraining criterion for scenarios in which the model exhibited poor training results such that a new neural network architecture and new hyperparameters could be selected for retraining when the defect accuracy criterion in the first TL was not met. Third, we used AutoKeras to execute AutoML and identify a model suitable for a metal-surface-defect dataset. The performance of TL, AutoKeras, and our designed AutoML model was compared. The results of this study were obtained using a small number of metal defect samples. Based on TL, the detection accuracy of VGG-16, ResNet-50, and MobileNet v1 was 91%, 59.00%, and 50%, respectively. Moreover, the AutoKeras model exhibited the highest accuracy of 99.83%. The accuracy of the self-designed AutoML model reached 95.50% when using a core layer module, obtained by combining the modules of VGG-16, ResNet-50, and MobileNet v1. The designed AutoML model effectively and accurately recognized defective and low-quality samples despite low training costs. The defect accuracy of the developed model was close to that of the existing AutoKeras model and thus can contribute to the development of new diagnostic technologies for smart manufacturing.<\/jats:p>","DOI":"10.3390\/s22249783","type":"journal-article","created":{"date-parts":[[2022,12,14]],"date-time":"2022-12-14T03:21:52Z","timestamp":1670988112000},"page":"9783","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":22,"title":["Automated Machine Learning System for Defect Detection on Cylindrical Metal Surfaces"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4065-7731","authenticated-orcid":false,"given":"Yi-Cheng","family":"Huang","sequence":"first","affiliation":[{"name":"Department of Mechanical Engineering, National Chung Hsing University, Taichung City 40227, Taiwan"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kuo-Chun","family":"Hung","sequence":"additional","affiliation":[{"name":"Department of Mechatronics Engineering, National Changhua University of Education, Changhua City 50007, Taiwan"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jun-Chang","family":"Lin","sequence":"additional","affiliation":[{"name":"Department of Mechanical Engineering, National Chung Hsing University, Taichung City 40227, Taiwan"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2022,12,13]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"504","DOI":"10.1126\/science.1127647","article-title":"Reducing the dimensionality of data with neural networks","volume":"313","author":"Hinton","year":"2006","journal-title":"Science"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"Lecun","year":"2015","journal-title":"Nature"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.91"},{"key":"ref_4","unstructured":"Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2\u20134). Tensorflow: A system for large-scale machine learning. Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), Savannah, GA, USA."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Ketkar, N. (2017). Introduction to pytorch. Deep Learning with Python, Apress.","DOI":"10.1007\/978-1-4842-2766-4"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"4279","DOI":"10.1109\/TIE.2017.2764861","article-title":"Novel Leakage Detection by Ensemble CNN-SVM and Graph-Based Localization in Water Distribution Systems","volume":"65","author":"Kang","year":"2017","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Garifulla, M., Shin, J., Kim, C., Kim, W.H., Kim, H.J., Kim, J., and Hong, S. (2021). A Case Study of Quantizing Convolutional Neural Networks for Fast Disease Diagnosis on Portable Medical Devices. Sensors, 22.","DOI":"10.3390\/s22010219"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Arafin, P., Issa, A., and Billah, A.H.M.M. (2022). Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification. Sensors, 22.","DOI":"10.3390\/s22228714"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3361870","article-title":"Layup: Layer-adaptive and multi-type intermediate-oriented memory optimization for GPU-based CNNs","volume":"16","author":"Jiang","year":"2019","journal-title":"ACM Trans. Archit. Code Optim. (TACO)"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"2052009","DOI":"10.1142\/S0218001420520096","article-title":"DevNet: An Efficient CNN Architecture for Handwritten Devanagari Character Recognition","volume":"34","author":"Guha","year":"2020","journal-title":"Int. J. Pattern Recognit. Artif. Intell."},{"key":"ref_11","unstructured":"Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_13","unstructured":"Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"591","DOI":"10.1007\/s12289-019-01496-1","article-title":"Surface defect classification and detection on extruded aluminum profiles using convolutional neural networks","volume":"13","author":"Neuhauser","year":"2020","journal-title":"Int. J. Mater. Form."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"4205","DOI":"10.1007\/s12652-020-01803-8","article-title":"Localization and segmentation of metal cracks using deep learning","volume":"12","author":"Aslam","year":"2021","journal-title":"J. Ambient. Intell. Humaniz. Comput."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5\u20139). U-net: Convolutional networks for biomedical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Munich, Germany.","DOI":"10.1007\/978-3-319-24574-4_28"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Wen, S., Chen, Z., and Li, C. (2018). Vision-based surface inspection system for bearing rollers using convolutional neural networks. Appl. Sci., 8.","DOI":"10.3390\/app8122565"},{"key":"ref_18","unstructured":"Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv."},{"key":"ref_19","first-page":"4217","article-title":"Deep Learning Model for Determining Defects of Vision Inspection Machine Using Only a Few Samples","volume":"32","author":"Jian","year":"2020","journal-title":"Sens. Mater."},{"key":"ref_20","first-page":"100017","article-title":"AutoGenome: An AutoML tool for genomic research","volume":"1","author":"Liu","year":"2021","journal-title":"Artif. Intell. Life Sci."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"153311","DOI":"10.1016\/j.scitotenv.2022.153311","article-title":"Analysis and prediction of water quality using deep learning and auto deep learning techniques","volume":"821","author":"Prasad","year":"2022","journal-title":"Sci. Total Environ."},{"key":"ref_22","first-page":"281","article-title":"Random search for hyper-parameter optimization","volume":"13","author":"Bergstra","year":"2012","journal-title":"J. Mach. Learn. Res."},{"key":"ref_23","unstructured":"Pham, H., Guan, M., Zoph, B., Le, Q., and Dean, J. (2018, January 10\u201315). Efficient neural architecture search via parameters sharing. Proceedings of the International Conference on Machine Learning (PMLR), Stockholm, Sweden."},{"key":"ref_24","first-page":"250","article-title":"Bayes\u2019 Theorem","volume":"194","author":"Swinburne","year":"2004","journal-title":"Rev. Philos. Fr. Etranger"},{"key":"ref_25","unstructured":"Zoph, B., and Le, Q.V. (2016). Neural architecture search with reinforcement learning. arXiv."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Zoph, B., Vasudevan, V., Shlens, J., and Le, Q.V. (2018, January 18\u201323). Learning transferable architectures for scalable image recognition. Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00907"},{"key":"ref_27","unstructured":"Tan, M., and Le, Q. (2019, January 9\u201315). Efficientnet: Rethinking model scaling for convolutional neural networks. Proceedings of the International Conference on Machine Learning (PMLR), Long Beach, CA, USA."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/24\/9783\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:40:33Z","timestamp":1760146833000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/24\/9783"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,12,13]]},"references-count":27,"journal-issue":{"issue":"24","published-online":{"date-parts":[[2022,12]]}},"alternative-id":["s22249783"],"URL":"https:\/\/doi.org\/10.3390\/s22249783","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,12,13]]}}}