LW-SWD-DETR: A Lightweight and Efficient Weld-Surface Defect Detection Model Based on Improved RT-DETR
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.
Authors
- Liang Caiping (ORCID: https://orcid.org/0000-0001-6134-8762)
- Wenxu Niu (ORCID: https://orcid.org/0000-0002-3235-2022)
- Yuhao Wen (ORCID: https://orcid.org/0009-0006-8283-8473)
- Wentao Guo
Institutions
- Shanghai Polytechnic University (CN)
- Shanghai Jiao Tong University (CN)
- Shanghai Nuclear Engineering Research and Design Institute (China) (CN)
Publication Details
- Journal
- Applied System Innovation
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3390/asi9120253
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00