Applied System Innovation

LW-SWD-DETR: A Lightweight and Efficient Weld-Surface Defect Detection Model Based on Improved RT-DETR

Caiping Liang, Yuhao Wen, Wentao Guo, Wenxu Niu

Computational

Key points

From the paper's conclusion
  • These results demonstrate an improved accuracy–efficiency balance on the evaluated weld-surface benchmark.

Abstract

Weld-surface defect detection is challenged by specular reflections, low contrast, background clutter, and substantial variation in defect scale and aspect ratio. We present LW-SWD-DETR, a lightweight RT-DETR-L adaptation integrating a C2f_MSMHSA backbone for local-detail preservation and contextual modeling, two DASI nodes for adaptive cross-scale fusion, and an auxiliary MPDIoU–NWD-inspired localization term. On a re-annotated benchmark of 2437 optical weld images across five classes, the selected model achieves 84.27% mAP50 and 44.11% mAP50–95 at 26.26 FPS, with 15.28 M parameters and 53.20 GFLOPs. Across five training seeds, LW-SWD-DETR achieves mAP50 and mAP50–95 of (84.25 ± 0.27)% and (44.13 ± 0.29)% (mean ± sample SD), respectively, compared with (76.05 ± 0.25)% and (37.29 ± 0.28)% for RT-DETR-L. Additional ablations examine the backbone components, DASI placement, C2f stage depth, and localization-loss variants. These results demonstrate an improved accuracy–efficiency balance on the evaluated weld-surface benchmark.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers