
@Article{cmc.2025.068138,
AUTHOR = {Shengran Zhao, Zhensong Li, Xiaotan Wei, Yutong Wang, Kai Zhao},
TITLE = {Lightweight Small Defect Detection with YOLOv8 Using Cascaded Multi-Receptive Fields and Enhanced Detection Heads},
JOURNAL = {Computers, Materials \& Continua},
VOLUME = {86},
YEAR = {2026},
NUMBER = {1},
PAGES = {1--14},
URL = {http://www.techscience.com/cmc/v86n1/64407},
ISSN = {1546-2226},
ABSTRACT = {In printed circuit board (PCB) manufacturing, surface defects can significantly affect product quality. To address the performance degradation, high false detection rates, and missed detections caused by complex backgrounds in current intelligent inspection algorithms, this paper proposes CG-YOLOv8, a lightweight and improved model based on YOLOv8n for PCB surface defect detection. The proposed method optimizes the network architecture and compresses parameters to reduce model complexity while maintaining high detection accuracy, thereby enhancing the capability of identifying diverse defects under complex conditions. Specifically, a cascaded multi-receptive field (CMRF) module is adopted to replace the SPPF module in the backbone to improve feature perception, and an inverted residual mobile block (IRMB) is integrated into the C2f module to further enhance performance. Additionally, conventional convolution layers are replaced with GSConv to reduce computational cost, and a lightweight Convolutional Block Attention Module based Convolution (CBAMConv) module is introduced after Grouped Spatial Convolution (GSConv) to preserve accuracy through attention mechanisms. The detection head is also optimized by removing medium and large-scale detection layers, thereby enhancing the model’s ability to detect small-scale defects and further reducing complexity. Experimental results show that, compared to the original YOLOv8n, the proposed CG-YOLOv8 reduces parameter count by 53.9, improves mAP@0.5 by 2.2, and increases precision and recall by 2.0 and 1.8, respectively. These improvements demonstrate that CG-YOLOv8 offers an efficient and lightweight solution for PCB surface defect detection.},
DOI = {10.32604/cmc.2025.068138}
}



