An Improved YOLOv8 with TransXNet Backbone for Pavement Crack Detection
Source abstract
Abstract
To improve the accuracy and efficiency of road crack detection, this paper proposes an enhanced model based on You Only Look Once version 8 (YOLOv8). The Cross Stage Partial DarkNet (CSPDarkNet) backbone network is replaced with TransXNet, which integrates a Transformer-based self-attention mechanism with convolutional operations to better capture local features. By embedding the attention mechanism into its core module, namely the dual dynamic token mixer (D-Mixer), the TransXNet architecture is further optimized, thereby enabling coordinated attention-based feature selection and enhancement across both global and local dimensions. In addition, the Gaussian Error Linear Unit (GELU) is employed to enhance nonlinear representation capability and training stability. Experiments were conducted on the public Road Damage Dataset 2022 (RDD2022), which contains approximately 47,000 road images. The results demonstrate that, compared with the baseline model, the precision, recall, and mean Average Precision (mAP) of the proposed method are improved by 9.6, 11.7, and 8.2 percentage points, respectively; moreover, the detection accuracy and computational efficiency also outperform those of other methods.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Infrastructure Maintenance and Monitoring · Advanced Neural Network Applications · Asphalt Pavement Performance Evaluation
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Civil and Transportation Engineering, Hebei University of Technology, Tianjin 300401, China
References (32)
Show source-provided references
1. Zhou, Y., Guo, X., Hou, F., and Wu, J. (2022). Review of Intelligent Road Defects Detection Technology. Sustainability, 14.10.3390/su14106306 ↗
2. Lu, Z., Hao, Z., Zhu, Y., and Lu, C. (2025). A Review on Automated Detection and Identification Algorithms for Highway Pavement Distress. Appl. Sci., 15.10.3390/app15116112 ↗
3. Data cleaning framework for highway asphalt pavement inspection data based on artificial neural networks10.1080/10298436.2021.2001813 ↗
4. Pavement Maintenance Considering Traffic Accident Costs10.1007/s42947-019-0067-3 ↗
5. Assessing Pavement Conditions Impact on Traffic Crashes: An Interpretable Machine-Learning Approach to Identify Crash Risk Factors and Performance Thresholds10.1061/JPEODX.PVENG-1824 ↗
6. Amir, A., and Henry, M. (2023). Statistical Analysis of Asphalt Pavement Distress Occurrence for Project-Level Maintenance Management of Provincial Highways. Interdisciplinary Symposium on Smart & Sustainable Infrastructures, Springer Nature.10.1007/978-3-031-53389-1_91 ↗
7. An Automatic Image Processing Algorithm Based on Crack Pixel Density for Pavement Crack Detection and Classification10.1007/s42947-021-00006-4 ↗
8. Measurement of Crack Damage Dimensions on Asphalt Road Using Gabor Filter10.1088/1742-6596/1752/1/012086 ↗
9. Tian, R., Sun, G., Liu, X., and Zheng, B. (2021). Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising. Electronics, 10.10.3390/electronics10060655 ↗
10. Crack Recognition and Segmentation Using Morphological Image-Processing Techniques for Flexible Pavements10.3141/2523-13 ↗
11. Li, Z., Yin, C., and Zhang, X. (2023). Crack Segmentation Extraction and Parameter Calculation of Asphalt Pavement Based on Image Processing. Sensors, 23.10.3390/s23229161 ↗
12. A Survey of Sea Surface Target Detection Technology in Visible Light Remote Sensing Images
13. Third-Party Construction Target Detection in Pipeline Inspection Aerial Images Based on Improved YOLOv2 and Transfer Learning
14. Asadi, Y. (2026). Paving the Future of Intelligent Pavement Defect Detection with Machine Learning: A Comprehensive Survey of Techniques and Applications. Int. J. Pavement Res. Technol.10.1007/s42947-026-00711-y ↗
15. Advancements in Real-Time Road Damage Detection: A Comprehensive Survey of Methodologies and Datasets10.1007/s11554-025-01683-1 ↗
16. Feng, C., Zhong, Y., Gao, Y., Scott, M.R., and Huang, W. (2021). Tood: Task-Aligned One-Stage Object Detection. 2021 IEEE/CVF International Conference on Computer Vision (ICCV), IEEE Computer Society.10.1109/ICCV48922.2021.00349 ↗
17. Lightweight Object Detection Network for Multi-Damage Recognition of Concrete Bridges in Complex Environments10.1111/mice.13219 ↗
18. The Classification and Localization of Crack Using Lightweight Convolutional Neural Network with CBAM10.1016/j.engstruct.2022.115291 ↗
19. Enhanced Real-Time Detection Transformer (RT-DETR) for Robotic Inspection of Underwater Bridge Pier Cracks10.1016/j.autcon.2024.105921 ↗
20. Novel YOLOv3 Model with Structure and Hyperparameter Optimization for Detection of Pavement Concealed Cracks in GPR Images10.1109/TITS.2022.3174626 ↗
21. Automatic recognition of pavement cracks from combined GPR B-scan and C-scan images using multiscale feature fusion deep neural networks10.1016/j.autcon.2022.104698 ↗
22. Road damage detection algorithm for improved YOLOv510.1038/s41598-022-19674-8 ↗
23. Pavement crack instance segmentation using YOLOv7-WMF with connected feature fusion10.1016/j.autcon.2024.105331 ↗
24. Li, X.W. (2025). Research on Road Crack Detection Based on Deep Learning. [Doctoral Dissertation, Chang’an University].
25. BridgeFusionNet: A Hybrid Convolutional-Transformer Architecture for Road Surface Crack10.1016/j.engappai.2025.112085 ↗
26. Crack Segmentation Network Based on Hybrid-Window Transformer and Dual-Branch Fusion10.1007/s10489-025-06822-6 ↗
27. ConvNextV2X: Road Microcrack Detection Algorithm Based on Improved Multiscale Feature Fusion10.1061/JCCEE5.CPENG-6358 ↗
28. Liu, G., Wu, X., Dai, F., Liu, G., Li, L., and Huang, B. (2025). Crack-MsCGA: A Deep Learning Network with Multi-Scale Attention for Pavement Crack Detection. Sensors, 25.10.3390/s25082446 ↗
29. Purwanti, E., Purnama, I.K.E., and Yuniarno, E.M. (2025). An Empirical Ablation Study of Activation Functions in U-Net for Colorectal Polyp Segmentation. 2025 International Electronics Symposium (IES), IEEE.10.1109/IES67184.2025.11162042 ↗
30. Wu, Z., Zhang, J., Chen, J., Guo, J., Huang, D., and Wang, Y. (2025, January 10–17). Aphq-vit: Post-Training Quantization with Average Perturbation Hessian Based Reconstruction for Vision Transformers. Proceedings of the Computer Vision and Pattern Recognition Conference, Nashville, TN, USA.10.1109/CVPR52734.2025.00905 ↗
31. Reis, D., Kupec, J., Hong, J., and Daoudi, A. (2024). Real-Time Flying Object Detection with YOLOv8. arXiv.
32. Automatic object detection for behavioural research using YOLOv810.3758/s13428-024-02420-5 ↗