AFD-YOLOv10: A Lightweight Method for Non-Destructive Testing of Fusion Weld Seam Defects
In industrial inspection, X-ray detection methods are the mainstream approach for non-destructive testing (NDT) of weld defects. In response to the issues of insufficient detection accuracy and slow detection speed in existing X-ray weld defect detection (WDD) methods, a lightweight X-ray WDD model, AFD-YOLOv10, based on an improved YOLOv10n, is proposed. First, by introducing variable kernel convolution (AKConv) to replace traditional convolution in the backbone network, the model better adapts to the multi-scale variations in weld defects while maintaining its lightweight nature. Second, a lightweight C2f-Faster module is incorporated into both the backbone and neck networks to achieve a more symmetrical and efficient feature flow, reducing the model’s computational complexity and achieving lightweight design. Finally, dynamic upsampling (DySample) is added to the neck network to enhance the model’s detection accuracy for targets of different scales. This combination of innovations strikes an effective symmetry between model complexity, inference speed, and detection performance. Experimental results show that the improved AFD-YOLOv10 model achieves accuracies, recall rates, and mean average precision values of 90.7%, 88.8%, and 93.8%, respectively, on five typical X-ray weld defects, representing improvements of 4.9%, 4.1%, and 5.3% over the YOLOv10n baseline model, with a 10.1% reduction in model parameters and a 13.3% increase in detection speed. Compared with other existing mainstream detection methods, the AFD-YOLOv10 model not only improves the accuracy of X-ray WDD but also achieves model lightweighting, demonstrating overall detection performance superior to other mainstream algorithms, thus meeting the industrial production requirements for X-ray WDD. Additionally, generalization experiments conducted using a public dataset of surface defects in steel validate the good generalization performance of the AFD-YOLOv10 model.
Read more