一种基于改进YOLOv8的重载铁路轨道缺陷检测方法
A Method for Detecting Defects on Heavy-Load Railway Tracks Based on the Improved YOLOv8 Model
DOI: 10.12677/ojtt.2026.151015, PDF,   
作者: 于永生:大秦铁路股份有限公司科学技术研究所,山西 太原
关键词: 轨道缺陷检测YOLOv8深度学习Railway Defect Detection YOLOv8 Deep Learning
摘要: 针对重载铁路轨道场景中背景纹理复杂(如道床碎石干扰)、缺陷目标细小(如螺栓、扣件)以及裂纹特征难以提取导致检测精度不足的问题,文章提出了一种基于改进YOLOv8的重载铁路轨道缺陷检测方法。首先,利用ConvNeXt V2网络替换原有的主干,通过大核卷积与GRN层设计,显著增强了模型的多尺度特征表达与长程依赖建模能力,有效抑制了复杂背景干扰。其次,引入SFS-Conv (空频选择卷积)替代部分标准卷积,利用空间–频率双域协同建模与通道适应选择机制,强化了对钢轨裂纹高频纹理及细小扣件结构的感知敏感度。实验结果表明,改进后的模型在包含3870张图像的轨道缺陷数据集上表现优异,mAP@0.5达到95.0%,相比原始YOLOv8在精度、召回率及综合检测性能上均有显著提升。该方法有效解决了复杂环境下螺栓缺失与钢轨裂纹的误检、漏检问题,具有较高的工程应用价值。
Abstract: In heavy-haul railway track scenarios, complex background textures (e.g., ballast gravel interference), tiny defect targets (e.g., bolts and fasteners), and the difficulty of extracting crack features often result in insufficient detection accuracy. To address these challenges, this paper proposes an improved YOLOv8-based method for heavy-haul railway track defect detection. The original backbone is replaced with ConvNeXt V2, which leverages large-kernel convolutions and Global Response Normalization (GRN) layers to significantly enhance multi-scale feature representation and long-range dependency modeling, effectively suppressing complex background interference. Additionally, Space-Frequency Selection Convolution (SFS-Conv) is introduced to replace selected standard convolutions, enabling joint spatial-frequency domain modeling and adaptive channel selection, thereby markedly improving sensitivity to high-frequency crack textures and fine-grained fastener structures. Experimental results on a track defect dataset comprising 3870 images demonstrate that the improved model achieves an mAP@0.5 of 95.0%, with substantial gains in precision, recall, and overall performance over the baseline YOLOv8. The proposed approach effectively mitigates missed and false detections of bolt loss and rail cracks in complex environments, exhibiting strong practical engineering value for heavy-haul railway maintenance.
文章引用:于永生. 一种基于改进YOLOv8的重载铁路轨道缺陷检测方法[J]. 交通技术, 2026, 15(1): 161-168. https://doi.org/10.12677/ojtt.2026.151015

参考文献

[1] Wang, T., Yan, Z., Li, T., Wang, L. and Luo, Q. (2025) Design Methodology for Heavy-Haul Railway Track Foundations under 40-Tonne Axle Loads. International Journal of Rail Transportation, 13, 1098-1113. [Google Scholar] [CrossRef
[2] 王乐, 周谦, 方玥, 等. 基于线结构光的钢轨扣件紧固状态检测方法[J]. 激光与光电子学进展, 2021, 58(16): 399-407.
[3] Zhuang, L., Qi, H., Wang, T. and Zhang, Z. (2022) A Deep-Learning-Powered Near-Real-Time Detection of Railway Track Major Components: A Two-Stage Computer-Vision-Based Method. IEEE Internet of Things Journal, 9, 18806-18816. [Google Scholar] [CrossRef
[4] Kumar, A. and Harsha, S.P. (2025) A Systematic Literature Review of Defect Detection in Railways Using Machine Vision-Based Inspection Methods. International Journal of Transportation Science and Technology, 18, 207-226. [Google Scholar] [CrossRef
[5] Girshick, R. (2015) Fast R-CNN. 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, 7-13 December 2015, 1440-1448. [Google Scholar] [CrossRef
[6] Redmon, J., Divvala, S., Girshick, R. and Farhadi, A. (2016) You Only Look Once: Unified, Real-Time Object Detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 779-788. [Google Scholar] [CrossRef
[7] Bu, T. and He, T. (2024) Research on Rail Surface Defect Detection Algorithm Based on Improved Yolov8. 2024 5th International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), Wenzhou, 20-22 September 2024, 644-647. [Google Scholar] [CrossRef
[8] Cao, Y., Ma, L., Sun, Y., Wang, F. and Su, S. (2025) Improved YOLOv8 for High-Precision Detection of Rail Surface Defects on Heavy-Haul Railways. Chinese Journal of Electronics, 34, 802-815. [Google Scholar] [CrossRef
[9] Wang, M. and Zhou, Y. (2024) Autonomous Rail Surface Defect Identification Based on an Improved One-Stage Object Detection Algorithm. Journal of Performance of Constructed Facilities, 38, Article ID: 04024041. [Google Scholar] [CrossRef
[10] Chen, K., Lin, J., You, B. and Luo, H. (2025) Fully Automatic Surface Defect Detection of CFRP Using Computer Vision and an Augmented YOLOv8 Model. Journal of Performance of Constructed Facilities, 39, Article ID: 04025006. [Google Scholar] [CrossRef
[11] Woo, S., Debnath, S., Hu, R., Chen, X., Liu, Z., Kweon, I.S., et al. (2023) Convnext V2: Co-Designing and Scaling Convnets with Masked Autoencoders. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, 18-22 June 2023, 16133-16142. [Google Scholar] [CrossRef
[12] Li, K., Wang, D., Hu, Z., Zhu, W., Li, S. and Wang, Q. (2024) Unleashing Channel Potential: Space-Frequency Selection Convolution for SAR Object Detection. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, 17-21 June 2024, 17323-17332. [Google Scholar] [CrossRef
[13] Loshchilov, I. and Hutter, F. (2017) Decoupled Weight Decay Regularization.
[14] Loshchilov, I. and Hutter, F. (2016) Sgdr: Stochastic Gradient Descent with Warm Restarts.