Zhang Meng, Hu Yanzhu, Xu Binbin, Luo Lisha, Wang Song
School of Intelligent Engineering and Automation, Beijing University of Posts and Telecommunications, Beijing, Beijing, 100876, China.
Sci Rep. 2025 Jul 2;15(1):23305. doi: 10.1038/s41598-025-06811-2.
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.
焊缝缺陷检测面临着诸多重大挑战,包括边界模糊、缺陷形状多样以及精确的定位要求。为解决这些问题,我们提出了DSF - YOLO,这是一个专门为管道焊缝缺陷检测设计的新颖框架。DSF - YOLO引入了三项核心创新。动态阶段融合特征提取(DSFFE)模块动态融合来自双主干网络的同尺度特征,逐步增强缺陷特征的表示能力,使模型能够有效地捕捉小尺寸缺陷、模糊边界和复杂的缺陷特征。双多尺度特征融合(DMFF)模块基于DSFFE的特征提取能力构建,并采用双重融合策略有效地聚合全局和局部特征,增强小目标的表示能力并改善模糊边界的分离效果。基于SENetv2 - ResNeXt的解耦头采用多通道并行处理策略,在进一步加强特征表示的同时,通道间信息交互和全局特征表示显著提高了分类和定位精度。在包含8种缺陷类型的X射线焊缝缺陷数据集上进行验证,DSF - YOLO实现了74.7%的mAP50:95,比YOLOv8 - X高出1.1%,以及99.1%的mAP50,比YOLOv8 - X高出0.3%。此外,DSF - YOLO显著降低了计算复杂度,与YOLOv8 - X相比,浮点运算次数(FLOPs)减少了75%,参数减少了47.5%。这些结果表明DSF - YOLO是一种高效且准确的解决方案,能够应对工业焊缝缺陷检测中的关键挑战,具有重大的实际价值。