UPM Institutional Repository

Research on the construction of an efficient and lightweight online detection method for tiny surface defects through model compression and knowledge distillation


Citation

Chen, Qipeng and Xiong, Qiaoqiao and Huang, Haisong and Tang, Saihong and Liu, Zhenghong (2024) Research on the construction of an efficient and lightweight online detection method for tiny surface defects through model compression and knowledge distillation. Electronics (Switzerland), 13 (2). pp. 1-27. ISSN 2079-9292

Abstract

In response to the current issues of poor real-time performance, high computational costs, and excessive memory usage of object detection algorithms based on deep convolutional neural networks in embedded devices, a method for improving deep convolutional neural networks based on model compression and knowledge distillation is proposed. Firstly, data augmentation is employed in the preprocessing stage to increase the diversity of training samples, thereby improving the model’s robustness and generalization capability. The K-means++ clustering algorithm generates candidate bounding boxes, adapting to defects of different sizes and selecting finer features earlier. Secondly, the cross stage partial (CSP) Darknet53 network and spatial pyramid pooling (SPP) module extract features from the input raw images, enhancing the accuracy of defect location detection and recognition in YOLO. Finally, the concept of model compression is integrated, utilizing scaling factors in the batch normalization (BN) layer, and introducing sparse factors to perform sparse training on the network. Channel pruning and layer pruning are applied to the sparse model, and post-processing methods using knowledge distillation are used to effectively reduce the model size and forward inference time while maintaining model accuracy. The improved model size decreases from 244 M to 4.19 M, the detection speed increases from 32.8 f/s to 68 f/s, and mAP reaches 97.41. Experimental results demonstrate that this method is conducive to deploying network models on embedded devices with limited GPU computing and storage resources. It can be applied in distributed service architectures for edge computing, providing new technological references for deploying deep learning models in the industrial sector.


Download File

Full text not available from this repository.
Official URL or Download Paper: https://www.mdpi.com/2079-9292/13/2/253

Additional Metadata

Item Type: Article
Divisions: Faculty of Engineering
DOI Number: https://doi.org/10.3390/electronics13020253
Publisher: Multidisciplinary Digital Publishing Institute
Keywords: Clustering; Model compression; Knowledge distillation; YOLO; Sparse factor; Pruning; Efficient lightweight online detection method; Surface defects; Deep learning; Object detection; Industrial quality inspection; Defect localization; Defect recognition; Industrial automation; Defect classification; Image analysis; Automated inspection systems
Depositing User: Mr. Mohamad Syahrul Nizam Md Ishak
Date Deposited: 14 May 2024 13:11
Last Modified: 14 May 2024 13:11
Altmetrics: http://www.altmetric.com/details.php?domain=psasir.upm.edu.my&doi=10.3390%2Felectronics13020253
URI: http://psasir.upm.edu.my/id/eprint/106292
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item