Volume 25 Issue 6
Dec.  2025
Turn off MathJax
Article Contents
ZHANG Zhen-hai, SUN Yan, LI Zhe-yuan. Lightweight tunnel surface defect detection algorithm based on MDS-YOLO[J]. Journal of Traffic and Transportation Engineering, 2025, 25(6): 271-283. doi: 10.19818/j.cnki.1671-1637.2025.06.022
Citation: ZHANG Zhen-hai, SUN Yan, LI Zhe-yuan. Lightweight tunnel surface defect detection algorithm based on MDS-YOLO[J]. Journal of Traffic and Transportation Engineering, 2025, 25(6): 271-283. doi: 10.19818/j.cnki.1671-1637.2025.06.022

Lightweight tunnel surface defect detection algorithm based on MDS-YOLO

doi: 10.19818/j.cnki.1671-1637.2025.06.022
Funds:

Central Guidance Local Science and Technology Development Fund Project 24ZYQA044

Key Research and Development Program of Gansu Province 22YF7GA141

Young Doctoral Fund for Colleges and Universities of Gansu Province Education Department 2022QB-064

More Information
  • Corresponding author: ZHANG Zhen-hai (1983-), male, professor, PhD, zhangzhenhai@mail.lzjtu.cn
  • Received Date: 2025-01-06
  • Accepted Date: 2025-06-06
  • Rev Recd Date: 2025-03-14
  • Publish Date: 2025-12-28
  • To address the issues of severe interference in complex environments and the difficulty in accurately extracting and efficiently identifying multi-scale defect features in tunnel surface defect detection, a lightweight tunnel surface defect detection algorithm named MDS-YOLO was proposed based on an improved YOLOv8 model. The algorithm was built upon the YOLOv8n model. A multi-scale feature fusion (C2f_MSFA) module was designed in the backbone network to replace the original C2f feature extraction module. By using partial channel convolution and multi-scale feature fusion methods, the feature maps were effectively extracted and aggregated from different levels, enhancing the model's perception and representation ability for defect targets with significant size differences. A dynamic upsampling module (DySample) was introduced in the neck network to replace traditional upsampling methods. The module adaptively learned sampling parameters based on the input feature content, enhancing the feature restoration ability and spatial information preservation during upsampling and improving the accuracy and efficiency of feature fusion. A shared convolution detection head (SC_Detection) was constructed. By using shared convolution and group normalization strategies, the model's detection efficiency and stability were improved while reducing the number of parameters and computational complexity. Experimental results show that the MDS-YOLO model achieves accuracy improvements of 2.2%, 3.4%, and 4.4% in detecting three types of tunnel surface defects, including water leakage, cracks, and lining spalling, respectively. The average detection accuracy reaches 74.2%, which is 3.4% higher than that of the baseline model YOLOv8n. The number of model parameters is reduced from 3.00×106 to 1.97×106, with a decrease of 34.3%. The amount of computation is reduced from 8.1×109 to 5.6×109, with a reduction of 30.9%. The model size is compressed from 5.96 MB to 4.00 MB. The algorithm achieves a lightweight model while ensuring detection accuracy, meeting the application requirements of high accuracy and low computational resources in practical scenarios such as tunnel inspection and edge computing.

     

  • loading
  • [1]
    WANG Fu-wen, LIANG Shuai-wen, FENG Ai-jun. Statistics and development analysis of urban rail transit in China in 2023[J]. Tunnel Construction, 2024, 44(2): 393-400.
    [2]
    ZHU Ming-zhe, LIANG Yu, FAN Chang-xin. Analyses on the repair technology and operation and maintenance cycle management of existing railway tunnels[J]. China Plant Engineering, 2023(11): 238-241.
    [3]
    Editorial Department of China Journal of Highway and Transport. Review on China's traffic tunnel engineering research: 2022[J]. China Journal of Highway and Transport, 2022, 35(4): 1-40.
    [4]
    LIU De-jun, ZHONG Fei, HUANG Hong-wei, et al. Present status and development trend of diagnosis and treatment of tunnel lining diseases[J]. China Journal of Highway and Transport, 2021, 34(11): 178-199.
    [5]
    LU W, MENG L X, LI S C, et al. Study on progressive failure behavior and mechanical properties of tunnel arch support structures[J]. Tunnelling and Underground Space Technology, 2023, 140: 105285. doi: 10.1016/j.tust.2023.105285
    [6]
    WANG Shi-lei, GAO Yan, QI Fa-lin, et al. Review on inspection technology of railway operation tunnels[J]. Journal of Traffic and Transportation Engineering, 2020, 20(5): 41-57. doi: 10.19818/j.cnki.1671-1637.2020.05.003
    [7]
    HUANG M Q, NINIC J, ZHANG Q B. BIM, machine learning and computer vision techniques in underground construction: Current status and future perspectives[J]. Tunnelling and Underground Space Technology, 2021, 108: 103677. doi: 10.1016/j.tust.2020.103677
    [8]
    WANG Jian, ZHENG Li-ke, WU Bin-jie, et al. Improved Mask RCNN method for shield tunnel leakage detection[J]. Bulletin of Surveying and Mapping, 2024(2): 170-177.
    [9]
    WANG Y D, LIAO W S, DONG A Q, et al. High-speed acquisition and intelligent tunnel surface defects recognition[J]. Tunnelling and Underground Space Technology, 2024, 144: 105572. doi: 10.1016/j.tust.2023.105572
    [10]
    REN Song, ZHU Qian-wen, TU Xin-yue, et al. Lining disease identification of highway tunnel based on deep learning[J]. Journal of Zhejiang University (Engineering Science), 2022, 56(1): 92-99.
    [11]
    ZHOU Z, ZHANG J J, GONG C J. Automatic detection method of tunnel lining multi-defects via an enhanced You Only Look Once network[J]. Computer-aided Civil and Infrastructure Engineering, 2022, 37(6): 762-780. doi: 10.1111/mice.12836
    [12]
    MEI C B, WEN Y C. Subway tunnel crack identification based on YOLOv5[J]. Frontiers in Computing and Intelligent Systems, 2024, 8(1): 122-129. doi: 10.54097/7gw4nw71
    [13]
    GAO Xian-jun, LIU Zhen-yu, XU Lei, et al. YOLOv7 shield tunnel water leakage detection method based on CutMix data augmentation and multi-constraint loss function[J]. Bulletin of Surveying and Mapping, 2024(7): 105-110.
    [14]
    WANG L, TANG C. Effective small crack detection based on tunnel crack characteristics and an anchor-free convolu-tional neural network[J]. Scientific Reports, 2024, 14(1): 10355. doi: 10.1038/s41598-024-60454-3
    [15]
    SONG Juan, HE Long-xi, LONG Hui-ping. Deep learning-based algorithm for multi defect detection in tunnel lining[J]. Journal of Zhejiang University (Engineering Science), 2024, 58(6): 1161-1173.
    [16]
    SOHAN M, SAI RAM T, RAMI REDDY C V. Interna-tional conference on data intelligence and cognitive informatics[M]. Berlin: Springer, 2024: 529-545.
    [17]
    WANG C Y, BOCHKOVSKIY A, LIAO H Y M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors[C]//IEEE. 2023 IEEE/CVF Confe-rence on Computer Vision and Pattern Recognition. New York: IEEE, 2023: 7464-7475.
    [18]
    LIU W Z, LU H, FU H T, et al. Learning to upsample by learning to sample[C]//IEEE. 2023 IEEE/CVF Interna-tional Conference on Computer Vision (ICCV). New York: IEEE, 2023: 6027-6037.
    [19]
    TIAN Z, SHEN C H, CHEN H, et al. FCOS: Fully convo-lutional one-stage object detection[C]//IEEE. 2019 IEEE/CVF International Conference on Computer Vision (ICCV). New York: IEEE, 2019: 9627-9636.
    [20]
    XUE Y D, CAI X Y, SHADABFAR M, et al. Deep learning-based automatic recognition of water leakage area in shield tunnel lining[J]. Tunnelling and Underground Space Tech-nology, 2020, 104: 103524. doi: 10.1016/j.tust.2020.103524
    [21]
    ZHOU Q, QU Z, LI Y X, et al. Tunnel crack detection with linear seam based on mixed attention and multiscale feature fusion[J]. IEEE Transactions on Instrumentation and Measurement, 2022, 71: 5014711.
    [22]
    DING X H, ZHANG X Y, HAN J G, et al. Scaling up your kernels to 31×31: Revisiting large kernel design in CNNs[C]//IEEE. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). New York: IEEE, 2022: 11963-11975.
    [23]
    GENG Huan-tong, LIU Zhen-yu, JIANG Jun, et al. Embedded road crack detection algorithm based on improved YOLOv8[J]. Journal of Computer Applications, 2024, 44(5): 1613-1618.
    [24]
    JIANG Shi-xin, ZOU Xiao-xue, YANG Jian-xi, et al. Concrete bridge crack detection method based on improved YOLO v8s in complex backgrounds[J]. Journal of Traffic and Trans-portation Engineering, 2024, 24(6): 135-147. doi: 10.19818/j.cnki.1671-1637.2024.06.009
    [25]
    WANG H, LIU C Y, CAI Y F, et al. YOLOv8-QSD: An improved small object detection algorithm for autonomous vehicles based on YOLOv8[J]. IEEE Transactions on Instrumentation and Measurement, 2024, 73: 2513916.
    [26]
    WANG J Q, CHEN K, XU R, et al. CARAFE++: Unified content-aware ReAssembly of FEatures[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2022, 44(9): 4674-4687.
    [27]
    QU Yi, WANG Cheng, YU Jia-bo, et al. Optimized algorithm for surface defect detection based on YOLOv5[J]. Journal of Air Force Engineering University, 2023, 24(5): 80-87.
    [28]
    ZHANG J R, CHEN Z H, YAN G X, et al. Faster and lightweight: An improved YOLOv5 object detector for remote sensing images[J]. Remote Sensing, 2023, 15(20): 4974. doi: 10.3390/rs15204974
    [29]
    FU Z B, LING J R, YUAN X P, et al. Yolov8n-FADS: A study for enhancing miners' helmet detection accuracy in complex underground environments[J]. Sensors, 2024, 24(12): 3767. doi: 10.3390/s24123767
    [30]
    LIANG Li-ming, LONG Peng-wei, LI Yu-lin. Improved lightweight and efficient FMG-YOLOv8s algorithm for steel surface defect detection[J]. Computer Engineering and Applications, 2025, 61(3): 84-93.
    [31]
    MA X, DAI X Y, BAI Y, et al. Rewrite the stars[C]//IEEE. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). New York: IEEE, 2024: 5694-5703.
    [32]
    JIANG De-gang, JIANG Zhi, HUANG Zi-jie, et al. UAV vehicle object detection algorithm based on Efficientnet[J]. Computer Engineering and Applications, 2023, 59(12): 228-234.

Catalog

    Article Metrics

    Article views (869) PDF downloads(144) Cited by()
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return