Abstract
The detection of spalling defects on tunnel lining surfaces is a critical component of assessing the service condition of railway tunnels. Currently, machine vision-based inspection is one of the primary methods for detecting such defects. However, due to significant errors in manual edge annotation and the low contrast between spalling regions and the surrounding lining, achieving accurate quantification and assessment in complex tunnel environments remains a considerable challenge. To address these issues, this paper proposes a tunnel spalling defect detection model based on probabilistic soft-label constraints of object edges. First, the error range in edge annotation is modeled using a Gaussian distribution to derive probabilistic soft labels for spalling edges, transforming traditional rigid boundary determination into a quantifiable probability estimate and thereby reducing the impact of annotation uncertainty. Second, an edge feature prediction branch network guided by these probabilistic soft labels is constructed, which accurately predicts spalling edge maps through multi-scale feature aggregation and bidirectional cross-scale edge extraction operations. Finally, a multi-feature map cross-learning strategy is employed to effectively fuse the predicted edge features with the encoding-decoding features of the backbone network, enabling precise defect segmentation. Extensive experiments on a railway tunnel spalling dataset demonstrate that our method achieves state-of-the-art detection performance, attaining an F1-score of 90.86% and a mean Intersection over Union of 81.36%, which significantly outperforms other typical detection models and fully validates its superiority in accurate tunnel spalling defect quantification.

This publication has 28 references indexed in Scilit: