UAV-Based Pavement Distress Detection Using the Improved MSG-YOLOv8 Algorithm
Tian Run Hong *
North China University of Water Resources and Electric Power, Zhengzhou 450045, China.
*Author to whom correspondence should be addressed.
Abstract
Timely detection of pavement distress is essential for maintaining road safety and extending pavement service life. This study aimed to develop a lightweight object detection algorithm, MSG-YOLOv8, for pavement distress detection using unmanned aerial vehicle (UAV) imagery. The proposed algorithm integrates three principal improvements into the YOLOv8n framework. First, a multi-scale fusion enhancement method combines gamma correction and contrast-limited adaptive histogram equalisation through Laplacian pyramid blending to address uneven illumination and low image contrast. Second, ShuffleNetv2 replaces the original backbone network to reduce model complexity while retaining relevant image features. Third, an adaptive weighted global attention mechanism incorporates learnable channel–spatial weights and dilated convolution to enhance feature representation. The UAV-PDD2023 dataset was partitioned into training, validation and test sets at a ratio of 8:1:1. Model performance was assessed through ablation and comparative experiments. The proposed algorithm achieved a precision of 84.47%, recall of 71.00%, mAP50 of 80.10% and mAP50-95 of 47.87%, with 1.2 million parameters. Compared with the YOLOv8n baseline in the comparative experiment, the proposed model reduced the parameter count by 60.00% and increased precision, mAP50 and mAP50-95 by 3.24, 2.45 and 7.22 percentage points, respectively, although recall decreased by 3.23 percentage points. These findings indicate that MSG-YOLOv8 offers a favourable balance between detection performance and model complexity for UAV-based pavement inspection. The benchmark results do not establish real-time performance on UAV edge hardware.
Keywords: Pavement distress detection, UAV aerial imagery, YOLOv8, lightweight network, attention mechanism, image enhancement