Train track fastener defect detection algorithm based on MGSF-YOLO

被引:0
作者
Ma, Siwei [1 ]
Li, Ronghua [2 ]
Hu, Henan [1 ]
机构
[1] Dalian Jiaotong Univ, Sch Mech Engn, 794 Yellow River Rd, Dalian 116028, Liaoning, Peoples R China
[2] Dalian Jiaotong Univ, Sch Automat & Elect Engn, 216 Xingfa Rd,Lushunkou Econ Dev Zone, Dalian 116045, Liaoning, Peoples R China
关键词
Train track fastener defects; MSAM attention mechanism; GSConv; SPPFPool; FocalerIoU; OBJECT DETECTION;
D O I
10.1007/s11227-025-07024-0
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The detection of train track fasteners is an important task to ensure the safe, reliable, and long-term stable operation of the railway system. Under the high stress and dynamic loads during train operation, track fasteners play a crucial role in maintaining the alignment and structural integrity of the tracks. However, traditional manual inspection methods are time-consuming, labor-intensive, and error-prone, while existing defect-detection algorithms often have the problem of low accuracy. To address these challenges, an improved YOLOv8n algorithm named MGSF-YOLO for high-precision detection of train track fastener defects is proposed. Firstly, an attention mechanism MSAM that combines MSCA and CBAM is proposed. MSAM adaptively adjusts the feature dimensions of different channels and the attention intensity at spatial positions through convolution kernels of various scales. This allows the model to focus on key features and regions and simultaneously enhances information extraction by exploiting the correlations between channels, thereby improving the model's detection performance. Secondly, GSConv is used to replace Conv. This not only reduces the number of model parameters and computational cost but also improves the model's detection accuracy. Then, an SPPFPool module that integrates average pooling and max pooling is proposed. This module aggregates the edge, background, and contextual information of the entire image, alleviates the impact of image scale changes, enhances the model's adaptability to inputs of different sizes, effectively reduces false positives and false negatives, and improves the detection accuracy. Finally, the FocalerIoU loss function is introduced to replace the original CIoU loss function, which improves the regression accuracy and accelerates the model's convergence speed. Experimental results show that compared with YOLOv8n, MGSF-YOLO has achieved performance improvements. The number of model parameters has decreased by 12.2%, and the computational amount has been reduced by 6.1%. Without sacrificing the detection speed, the mean average precision (mAP) has also increased by 2.6%. On the coco128 dataset, the publicly available NEU-DET dataset, and the real-world fastener dataset collected from the Roboflow website, the mAP of MGSF-YOLO has increased by 1.6%, 2.4%, and 3.6%, respectively, compared to YOLOv8n. Compared with other models, MGSF-YOLO reaches the highest mAP value, fully demonstrating its superior generalization ability and detection accuracy. It provides a reliable solution for the detection of railway fastener defects.
引用
收藏
页数:44
相关论文
共 50 条
[21]   YOLO-MECD: Citrus Detection Algorithm Based on YOLOv11 [J].
Liao, Yue ;
Li, Lerong ;
Xiao, Huiqiang ;
Xu, Feijian ;
Shan, Bochen ;
Yin, Hua .
AGRONOMY-BASEL, 2025, 15 (03)
[22]   Design of Algorithm for Apple Rapid Positioning Based on YOLO Target Detection Model [J].
Zheng Jie ;
Liu Jie ;
Gong Kun ;
Niu Zijie .
PROCEEDINGS OF 2021 2ND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INFORMATION SYSTEMS (ICAIIS '21), 2021,
[23]   Infrared dim and small target detection based on YOLO-IDSTD algorithm [J].
Jiang X. ;
Cai W. ;
Yang Z. ;
Xu P. ;
Jiang B. .
Hongwai yu Jiguang Gongcheng/Infrared and Laser Engineering, 2022, 51 (03)
[24]   PCB defect detection algorithm based on deep learning [J].
Guo, Haoyu ;
Zhao, Huanyu ;
Zhao, Yanbo ;
Liu, Wei .
Optik, 2024, 315
[25]   Lightweight and high-precision object detection algorithm based on YOLO framework [J].
Fan Xin-chuan ;
Chen Chun-mei .
CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2023, 38 (07) :945-954
[26]   YOFIR: High precise infrared object detection algorithm based on YOLO and FasterNet [J].
Wen, Mi ;
Li, Chenyang ;
Xue, Yunsheng ;
Xu, Man ;
Xi, Zenghui ;
Qiu, Weidong .
INFRARED PHYSICS & TECHNOLOGY, 2025, 144
[27]   A transfer learning-based YOLO network for sewer defect detection in comparison to classic object detection methods [J].
Situ, Zuxiang ;
Teng, Shuai ;
Feng, Wanen ;
Zhong, Qisheng ;
Chen, Gongfa ;
Su, Jiongheng ;
Zhou, Qianqian .
DEVELOPMENTS IN THE BUILT ENVIRONMENT, 2023, 15
[28]   AMC-YOLO: Improved YOLOv8-based defect detection for cigarette packs [J].
Dong, Peng ;
Wang, Yongsheng ;
Yu, Qianyuan ;
Feng, Weihua ;
Zong, Guohao .
IET IMAGE PROCESSING, 2024, 18 (14) :4873-4886
[29]   Behavior Detection Algorithm for Caged White-feather Broilers Based on Improved YOLO Detection Framework [J].
Xia, Yuantian ;
Kou, Xupeng ;
Xue, Hongcheng ;
Li, Lin .
Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 2024, 55 (11) :103-111
[30]   Vehicle wheel weld detection based on improved YOLO v4 algorithm [J].
Liang, T. J. ;
Pan, W. G. ;
Bao, H. ;
Pan, F. .
COMPUTER OPTICS, 2022, 46 (02) :271-279