YOLO-GSD-seg: YOLO for Guide Rail Surface Defect Segmentation and Detection

Read full text
Authors: 賴士鈞, Zuoxi Zhao, Yalong Mi, Kai Yuan, Qian Wang
Cited by: 1
References: 31

Abstract

To address the challenges of accurately extracting features from elongated scratches, irregular defects, and small-scale surface flaws on high-precision linear guide rails, this paper proposes a novel instance segmentation algorithm tailored for guide rail surface defect detection. The algorithm integrates the YOLOv8 instance segmentation framework with deformable convolutional networks and multi-scale feature fusion to enhance defect feature extraction and segmentation performance. A dedicated guide rail surface Defect (GSD) segmentation dataset is constructed to support model training and evaluation. In the backbone, the DCNv3 module is incorporated to strengthen the extraction of elongated and irregular defect features while simultaneously reducing model parameters. In the feature fusion network, a multi-scale feature fusion module and a triple-feature encoding module are introduced to jointly capture global contextual information and preserve fine-grained local defect details. Furthermore, a Channel and Position Attention Module (CPAM) is employed to integrate global and local features, improving the model’s sensitivity to channel and positional cues of small-target defects and thereby enhancing segmentation accuracy. Experimental results show that, compared with the original YOLOv8n-Seg, the proposed method achieves improvements of 3.9% and 3.8% in Box and Mask mAP50, while maintaining a real-time inference speed of 148 FPS. Additional evaluations on the public MSD dataset further demonstrate the model’s strong versatility and robustness.

Fields of Study & Subjects

Railway Engineering and Dynamics Infrastructure Maintenance and Monitoring Non-Destructive Testing Techniques

Publication details

Journal / source
Applied Sciences
Publisher
MDPI AG
Volume
16
Issue
3
Pages
1261–1261
Publication date
26 January 2026
Language
EN