DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion

Abstract Weld defect detection poses significant challenges including ambiguous boundaries, diverse defect shapes, and the requirement for precise localization. To address these issues, we propose DSF-YOLO, a novel framework specifically designed for pipeline weld defect detection. DSF-YOLO introduc...

Full description

Saved in:
Bibliographic Details
Main Authors: Meng Zhang, Yanzhu Hu, Binbin Xu, Lisha Luo, Song Wang
Format: Article
Language:English
Published: Nature Portfolio 2025-07-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-06811-2
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849238830508408832
author Meng Zhang
Yanzhu Hu
Binbin Xu
Lisha Luo
Song Wang
author_facet Meng Zhang
Yanzhu Hu
Binbin Xu
Lisha Luo
Song Wang
author_sort Meng Zhang
collection DOAJ
description Abstract Weld defect detection poses significant challenges including ambiguous boundaries, diverse defect shapes, and the requirement for precise localization. To address these issues, we propose DSF-YOLO, a novel framework specifically designed for pipeline weld defect detection. DSF-YOLO introduces three core innovations. The Dynamic Staged Fusion Feature Extraction (DSFFE) module dynamically fuses same-scale features from dual-backbone networks, progressively enhancing the representation of defect features and enabling the model to efficiently capture small-sized defects, blurred boundaries, and complex defect characteristics. The Dual Multi-Scale Feature Fusion (DMFF) module builds on the feature extraction capabilities of DSFFE and employs a dual fusion strategy to effectively aggregate global and local features, enhancing the representation of small targets and improving the separation of blurred boundaries. The decoupled head based on SENetv2-ResNeXt incorporates a multi-channel parallel processing strategy to further strengthen feature representation while inter-channel information interaction and global feature representation significantly improve classification and localization precision. Validated on an X-ray weld defect dataset containing 8 defect types, DSF-YOLO achieved an mAP50:95 of 74.7% surpassing YOLOv8-X by 1.1% and an mAP50 of 99.1% exceeding YOLOv8-X by 0.3%. Additionally, DSF-YOLO significantly reduces computational complexity, achieving a 75% reduction in FLOPs and a 47.5% decrease in parameters compared to YOLOv8-X. These results establish DSF-YOLO as an efficient and accurate solution addressing critical challenges in industrial weld defect detection with significant practical value.
format Article
id doaj-art-292f94fec0e84c41bdd59ef3c0b30a65
institution Kabale University
issn 2045-2322
language English
publishDate 2025-07-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-292f94fec0e84c41bdd59ef3c0b30a652025-08-20T04:01:24ZengNature PortfolioScientific Reports2045-23222025-07-0115112210.1038/s41598-025-06811-2DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusionMeng Zhang0Yanzhu Hu1Binbin Xu2Lisha Luo3Song Wang4School of Intelligent Engineering and Automation, Beijing University of Posts and TelecommunicationsSchool of Intelligent Engineering and Automation, Beijing University of Posts and TelecommunicationsSchool of Intelligent Engineering and Automation, Beijing University of Posts and TelecommunicationsSchool of Intelligent Engineering and Automation, Beijing University of Posts and TelecommunicationsSchool of Intelligent Engineering and Automation, Beijing University of Posts and TelecommunicationsAbstract Weld defect detection poses significant challenges including ambiguous boundaries, diverse defect shapes, and the requirement for precise localization. To address these issues, we propose DSF-YOLO, a novel framework specifically designed for pipeline weld defect detection. DSF-YOLO introduces three core innovations. The Dynamic Staged Fusion Feature Extraction (DSFFE) module dynamically fuses same-scale features from dual-backbone networks, progressively enhancing the representation of defect features and enabling the model to efficiently capture small-sized defects, blurred boundaries, and complex defect characteristics. The Dual Multi-Scale Feature Fusion (DMFF) module builds on the feature extraction capabilities of DSFFE and employs a dual fusion strategy to effectively aggregate global and local features, enhancing the representation of small targets and improving the separation of blurred boundaries. The decoupled head based on SENetv2-ResNeXt incorporates a multi-channel parallel processing strategy to further strengthen feature representation while inter-channel information interaction and global feature representation significantly improve classification and localization precision. Validated on an X-ray weld defect dataset containing 8 defect types, DSF-YOLO achieved an mAP50:95 of 74.7% surpassing YOLOv8-X by 1.1% and an mAP50 of 99.1% exceeding YOLOv8-X by 0.3%. Additionally, DSF-YOLO significantly reduces computational complexity, achieving a 75% reduction in FLOPs and a 47.5% decrease in parameters compared to YOLOv8-X. These results establish DSF-YOLO as an efficient and accurate solution addressing critical challenges in industrial weld defect detection with significant practical value.https://doi.org/10.1038/s41598-025-06811-2Weld defect detectionX-ray weld imageDual-Backbone networksDynamic staged fusionMultiscale feature fusion
spellingShingle Meng Zhang
Yanzhu Hu
Binbin Xu
Lisha Luo
Song Wang
DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
Scientific Reports
Weld defect detection
X-ray weld image
Dual-Backbone networks
Dynamic staged fusion
Multiscale feature fusion
title DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
title_full DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
title_fullStr DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
title_full_unstemmed DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
title_short DSF-YOLO for weld defect detection in X-ray images with dynamic staged fusion
title_sort dsf yolo for weld defect detection in x ray images with dynamic staged fusion
topic Weld defect detection
X-ray weld image
Dual-Backbone networks
Dynamic staged fusion
Multiscale feature fusion
url https://doi.org/10.1038/s41598-025-06811-2
work_keys_str_mv AT mengzhang dsfyoloforwelddefectdetectioninxrayimageswithdynamicstagedfusion
AT yanzhuhu dsfyoloforwelddefectdetectioninxrayimageswithdynamicstagedfusion
AT binbinxu dsfyoloforwelddefectdetectioninxrayimageswithdynamicstagedfusion
AT lishaluo dsfyoloforwelddefectdetectioninxrayimageswithdynamicstagedfusion
AT songwang dsfyoloforwelddefectdetectioninxrayimageswithdynamicstagedfusion