Preprint
Article

This version is not peer-reviewed.

Hybrid Deep Learning Framework for Crack Detection and Condition Classification of Prestressed Concrete Sleepers

Submitted:

01 August 2026

Posted:

03 August 2026

You are already at the latest version

Abstract
Railway sleeper degradation is a major problem for track safety and maintenance planning, especially in real-world scenarios where ballast occlusion, variable lighting, and weather-induced surface changes make visual inspection hard. Surface-only image analysis often fails in complex field contexts, whereas traditional manual inspection techniques are labour-intensive and subjective. To overcome these issues, this study presents a hybrid deep learning based inspection system that combines image-level classification and object-level detection to identify cracks in prestressed concrete sleepers accurately. A dataset of 289 annotated field photos was collected from Arezzo LFI, Italy, including rejected and discarded images from failed and in-service sleepers. The dataset preserves natural visual entropy such as ballast interference, illumination gradients, and surface discoloration. Three pre-trained architectures VGG16, VGG19, and ResNet50, were assessed for classification. Three VGG19 variants were evaluated: baseline, Block-5, and GAP+BN. Baseline VGG19 achieved the highest accuracy (98.2%), outperforming VGG16 (95.0%) and ResNet50 (88%), confirming the effectiveness of texture-sensitive CNNs for crack-prone imagery. For object detection, YOLOv11 and RT-DETR were trained to localize sleepers and cracks under operational conditions. YOLOv11 achieved real-time sleeper localization (mAP@0.5 = 0.65), suitable for continuous monitoring, while RT-DETR improved robustness for crack detection (mAP@0.5 = 0.56) under shadows, occlusions, and low-contrast scenarios, reflecting the advantage of transformer-based attention for context-aware reasoning. Overall, baseline VGG19 and YOLOv11 demonstrated the highest performance in classification and detection. The framework is developed within the design-and-testing context of EN 13230 and offers a scalable pathway for intelligent sleeper inspection and railway asset management.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

Railway sleepers are crucial to the maintenance of track geometry, load distribution, and general operating safety in the infrastructure. Prestressed concrete sleepers are frequently employed because of their longevity and structural efficiency; nonetheless, they are prone to degradation during service, such as cracking, spalling, abrasion, and fastener related damage. Longitudinal cracking is one of the most observed and structurally significant defects, as it may affect load transfer, fastening performance, and long-term durability. Previous research has also shown that longitudinal cracking occurs particularly at rail-seat and mid-span regions. Kaewunruen and Remennikov found that combining static and dynamic loads can greatly impact crack formation and propagation in prestressed concrete sleepers [16]. Similarly, the sleeper cracking occurs gradually under service environments and is heavily influenced by load amplitude, support conditions, and material qualities [23]. Field and computational studies show that sleeper cracks do not always signify rapid structural collapse, but they can affect stiffness and load transfer characteristics, hastening long-term degradation [15]. These findings emphasize the need for early fracture detection for optimal railway maintenance planning.
Recent developments in deep learning, especially convolutional neural networks (CNNs) and transformer-based models, have demonstrated promising results in the identification of infrastructure defects. CNN-based models outperformed traditional image processing approaches for detecting concrete cracks [6]. CNN performance is highly influenced by dataset characteristics, particularly for narrow or obscured cracks [14]. While CNNs have proven effective across infrastructure domains, limited research exists on their suitability for detecting low-contrast cracks in concrete sleepers under real-world operational conditions. In this context, a hybrid pipeline is technically and operationally justified. VGG16 and VGG19 are popular CNN architectures for defect-oriented image classification due to their uniform design of stacked 3×3 convolutional filters that preserve fine spatial and texture information [29]. In concrete crack detection studies, VGG16 performs reliably in crack detection, balancing sensitivity and generalization under variable lighting and irregular crack patterns [6]. VGG19 extends VGG16 by increasing depth for richer feature representation, but its performance gains are contingent on training strategy and classifier design [33,35]. Investigations show that over-tuning or incorporating Global Average Pooling (GAP) layers may reduce sensitivity to fine cracks by suppressing localized features [26]. Consequently, the literature suggests that baseline VGG19 and VGG16 architectures are often more effective for surface defect classification in complex field conditions, while deeper residual networks such as ResNet50 may underperform due to over-pooling in limited, high entropy datasets [16,19].
Deep learning has made major advances in crack detection, yet thin, low-contrast, and fragmented cracks remain challenging, especially on a varied background. In 2024 survey found that CNNs remain strong for texture-sensitive patterns, while transformers excel in capturing long-range context in visually complex scenes [19]. Attention-augmented classifiers leveraging transfer learning and spatial attention have shown improved sensitivity when training data are limited or noisy [12]. These trends suggest CNNs screening with object detection enables efficient sleeper defect localization.
Object detection frameworks enable spatial crack localization; YOLO (You Only Look Once) detectors are widely adopted for their real-time performance and strong accuracy speed balance. For real-time detection in operational environments, modern YOLO implementations offer a strong speed-accuracy trade-off. Detection performance should be reported using COCO-style metrics (mAP@0.5, mAP@0.5-0.95) and per class precision, as accuracy alone overlooks classification and localization interplay; precision-recall analysis remains standard. In contrast, convolutional approaches, end-to-end transformer-based models like RT-DETR eliminate non-maximum suppression (NMS) by treating detection as bipartite set prediction and a hybrid encoder with optimized query selection for improved performance under occlusion [36]. Similarly, ViT-enhanced DETR models have also achieved state-of-the-art results on micro crack datasets by combining global attention with localized feature refinement [24]. A recurring difficulty in railway imagery is the small-object regime: cracks often occupy few pixels at standard inference resolutions. Slicing-Aided Hyper Inference (SAHI) addresses this by tiling high-resolution images with overlap, increasing effective pixel density per object and consistently improving AP for small and elongated targets without retraining [1]. Oriented bounding boxes (OBB) in modern YOLO toolchains enhance localization accuracy for slanted or rotated defects, especially beneficial in railway inspections where hairline cracks are low-contrast and partially obscured by ballast or fasteners [30].
Many previous studies have successfully applied YOLO architectures to concrete and pavement crack detection, reporting high detection efficiency for visually prominent cracks [13]. YOLO-based detectors perform particularly well for structural components with clear geometric features, such as sleepers, rails, and fasteners, making them suitable for large-scale or vehicle-mounted inspection systems [20]. However, crack detection remains challenging for YOLO models, as thin, low-contrast, fragmented cracks reduce recall due to anchor-based matching, intersection over union (IoU) limits, and thresholding [20]. Transformer-based detectors represent a global self-attention mechanism for object detection. The DETR framework introduced end-to-end detection without anchors or non-maximum suppression, enabling improved contextual reasoning when object boundaries are ambiguous [22]. RT-DETR was proposed to achieve real-time performance while preserving transformer-based contextual learning [36]. Transformer-based detectors improve sensitivity to subtle and partially occluded defects but often produce coarser localisation and lower IoU-based metrics for elongated objects such as cracks [10]. Second, object-level detection benefits from deploying YOLO for real-time sleeper localization and a transformer detector (RT-DETR) to increase crack recall under shadows and occlusion.
To address these gaps, this study proposes a hybrid deep learning framework combining image-level classification and object-level detection for railway sleeper inspection. Using field data from the Arezzo LFI line, it evaluates CNN classifiers (VGG16, VGG19, and ResNet50) and detectors (YOLOv11 and RT-DETR). The study aims to provide technical and engineering insights for AI-assisted sleeper inspection, supporting practical deployment in railway maintenance systems.
Structural integrity of prestressed concrete railway sleepers is vital for track safety and long-term asset performance. In service, sleepers experience complex load paths rail-seat bending, center negative bending, and ballast reactions being exposed to moisture and freeze–thaw cycles. While EN 13230 [5] defines design and testing requirements, field environments like the LFI, Arezzo in Italy reveal ageing related damage, requiring robust vision systems resilient to shadows and weather-induced surface degradation [21,27].

Proposed Hybrid Pipeline for Railway Sleeper Inspection

This pipeline addresses key challenges such as ballast occlusion, small-object detection, and elongated crack geometry. It consists of three stages:
Stage 1: CNN-based image-level screening (VGG16, VGG19, ResNet50) to filter in-service sleepers from yard sleepers.
Stage 2: YOLO-based sleeper localization for real-time component detection.
Stage 3: Transformer-based crack detection (RT-DETR) for improved sensitivity under shadows and occlusion.
Figure 1 illustrates the proposed hybrid inspection pipeline for prestressed concrete railway sleepers. Enhancements such as SAHI (Slicing-Aided Hyper Inference) and oriented bounding boxes (OBB) can be incorporated to improve detection of small and rotated cracks; however, the present study reports baseline detector performance without ablation of these enhancements.

2. Materials and Methods

2.1. Field Investigations and Defect Characterization: LFI Arezzo Corridor

A systematic field investigation was conducted along the Arezzo District segment of the La Ferroviaria Italiana (LFI) [21] regional line to evaluate the in-service condition of prestressed concrete sleepers and identify deterioration mechanisms influenced by operational, environmental, and maintenance factors. The survey encompassed active track sections, a discarded sleeper storage yard, and the Baraclit industrial siding (km 31+155), enabling assessment across multiple service-life stages and degradation profiles.
Visual inspections revealed consistent longitudinal cracking along sleeper axes, indicating a multifactorial origin involving mechanical loading, environmental exposure and maintenance related stress affecting both surface and sub-rail seat regions. Currently, LFI relies on visual crack detection and acoustic percussion testing called “Chiavardino” to assess internal integrity [27]. However, visual methods, including AI systems, risk false negatives without contextual support, highlighting the need for hybrid AI approaches that combine image-level and object-level reasoning for more reliable diagnostics.
Longitudinal cracking emerged as the most prevalent and structurally significant defect observed during the field survey. Consistent with EN 13230 and Rete Ferroviaria Italiana (RFI) maintenance guidelines, this damage mode develops through the combined influence of construction, loading, environmental, and maintenance-related factors. Construction related factors, such as prestressing tendon misalignment and inadequate concrete compaction can introduce internal tensile stress concentrations and void formation, increasing susceptibility to crack initiation. Wheel-rail interaction, particularly in curved track geometries, induces lateral loading, torsional deformation, and uneven ballast reactions, resulting in repetitive tensile cycling during service. Maintenance operations, including ballast tamping, track lifting, and rail replacement) can impose localized transient loads and support disturbances that accelerate crack initiation and propagation.
  • Construction-related conditions: Prestressing tendon misalignment and incomplete concrete compaction, leading to internal tensile concentrations and void formation.
  • Wheel–rail interaction in curved track geometries: Inducing lateral loading, torsional deformation, and uneven ballast reactions that translate into repetitive tensile cycling.
  • Maintenance-induced overstressing: Particularly from ballast tamping, track lifting, and rail replacement operations imposing localized point loads.
  • Moisture ingress below the rail plate (piastrina): Facilitating freeze-thaw expansion and potential corrosion of embedded prestressing reinforcement.
Sleeper cracking represents a progressive deterioration process rather than a discrete failure state, where visual severity does not always correlate with structural criticality. Consequently, pixel-level inspection alone risks misclassification, underscoring the need for the context-aware hybrid AI approach.

2.2. Field Case Study

The Baraclit industrial siding serves as a natural testbed for ageing-related sleeper deterioration, with low traffic and freight load, as shown in Table 1 Minimal maintenance, aside from replacing failed units, ensures defects reflect natural degradation. Unlike fatigue driven mainlines, deterioration appears as discolouration, surface scaling, and subtle cracking, providing a visually complex environment ideal for validating AI-based computer vision models under realistic field conditions.
The study underscores the interplay of multiple defect mechanism construction flaws, wheel-rail forces, maintenance-induced stresses, and moisture ingress that collectively accelerate longitudinal cracking in prestressed concrete sleepers. Figure 1 provides spatial context for the corridor and siding, while Figure 2 illustrates both surface and sub-rail seat cracks, highlighting the difficulty of detecting hidden defects beneath ballast. Traditional LFI methods (Figure 3) often miss sub-surface cracks, while the proposed AI-driven pipeline enables automated, predictive inspection improving reliability and reducing risk in high load, load maintenance railway environments.

2.3. Image-Based Classification of Railway Sleeper Conditions

The classification task distinguished in-service railway sleepers from discarded sleepers removed due to structural failure, representing two lifecycle stages relevant to practical railway maintenance and inspection planning.
The curated dataset comprises 289 high-resolution field images collected from the Arezzo-RFI corridor, Baraclit Junction, and the LFI maintenance yard. All images were captured under natural conditions without surface cleaning, preserving ballast coverage and environmental complexity as in Table 2.
Three ImageNet-pretrained CNN architectures were employed: VGG16, VGG19, and ResNet50. Their structural characteristics and expected strengths are summarized in Figure 4.
The classifier head was replaced with a task-specific fully connected layer and optimized using binary cross-entropy loss. Training parameters are detailed in Table 3.
To mitigate sampling variability in the small and imbalanced dataset, results should ideally be verified across multiple random seeds or grouped splits to avoid near-duplicate leakage. In the present study, three CNN models VGG16, VGG19, and ResNet50 were evaluated on the curated dataset using an 80/20 train-test split. To maintain a single source of truth and avoid redundant reporting, consolidated class-wise precision, recall, F1-score, and overall accuracy are reported in Table 4, which forms the basis for all subsequent interpretation and discussion.

2.4. Object Detection

Object detection is central to the proposed railway inspection framework, enabling accurate localization of sleepers and surface cracks under real-world conditions. Two advanced architectures were evaluated: YOLOv11, a convolution-based model optimized for real-time inference, and RT-DETR, a transformer-based detector leveraging global attention for contextual reasoning. The analysis emphasizes detection accuracy, robustness under field variability, and operational feasibility.
The dataset was curated in COCO format using Label Studio, comprising two classes: sleeper and crack. Images were resized to 640 × 640 pixels and augmented with mosaic composition, color jittering, and horizontal flipping to improve resilience against illumination variability and ballast interference. Training employed the AdamW optimizer with a composite loss function integrating GIoU-based localization loss, classification loss, and distribution focal loss for refined bounding box regression. These strategies ensured robust feature learning across heterogeneous track environments.

3. Results

3.1. Classification Results and Model Interpretation

The quantitative performance of the evaluated CNN and transfer-learning architectures for railway track and sleeper-dump classification is summarized in Table 5. Precision, recall, F1-score, and overall accuracy were computed for each class to capture both class-specific and aggregate behavior. The results provide insight into the discriminative capacity of different architectures under high-entropy field conditions.
Among all models, VGG19 with the baseline classification head achieved the highest overall accuracy (98.2%), followed by VGG16 (95.0%). ResNet50 showed comparatively lower performance (88.0%), particularly in the sleeper-dump class, where recall dropped to 0.62. The GAP + BN variant of VGG19 exhibited the weakest performance, indicating loss of discriminative spatial detail. These findings suggest that texture-preserving architectures with dense convolutional representations are more effective for railway sleeper imagery than deeper residual abstractions or aggressively pooled global representations. Several studies have reported that VGG-based architectures outperform deeper residual networks for texture-dominated inspection tasks, such as VGG19 achieved almost 99% accuracy in surface crack recognition [4], VGG16 and VGG19 exceeded ResNet-50 in concrete crack datasets [2,25], and VGG16 showed superior stability over ResNet-50 in railway fastener detection under minimal data [8,32]. The performance trends observed in Table 5 are strongly consistent with previous studies that VGG architectures can be more reliable than deeper residual networks for texture-dominated inspection tasks under limited or high-entropy data. Studies from other imaging domains are cited here only to support general model-behaviour trends under limited/noisy data (e.g., depth penalty and pooling effects), while domain-specific comparisons are prioritised for railway and concrete defect inspection.

3.1.1. Explainability via Grad-CAM—Image Classification

To interpret the internal decision-making behavior of the classification models, Gradient-weighted Class Activation Mapping (Grad-CAM) was applied to representative test images for VGG16, ResNet50, and VGG19 variants. Grad-CAM enables visualization of spatial regions contributing most strongly to the predicted class by projecting class-specific gradient information onto the final convolutional feature maps. VGG-based models exhibited concentrated activation on sleeper surfaces regions, whereas ResNet50 showed diffuse attention extending into ballast and background areas. The GAP-based VGG19 variant demonstrated weakened spatial localization, highlighting the importance of preserving convolutional feature resolution for defect-oriented classification. Figure 5 illustrates these visualizations.
Grad-CAM visualizations reveal that ResNet-50 produces spatially diffuse activations over ballast and background textures, a behavior consistent with prior observations for deep residual networks [28]. In contrast, VGG19-based models exhibit progressively improved localization, with Block-5 fine-tuning enhancing defect relevant semantic activation [Zeiler and Fergus, 2014]. Global average pooling yields compact activation maps; however, in this dataset, the reduced spatial detail was associated with weaker defect-focused localization and lower classification performance, highlighting the importance of preserving fine texture cues for crack-prone imagery [34].
Training and validation accuracy and loss curves for the evaluated architectures are presented in Figure 6. VGG16 converged quickly, with training and validation curves remaining close and validation accuracy stable, indicating good generalization and limited overfitting. ResNet50 converged more slowly and exhibited a larger gap between training and validation loss, with fluctuating validation accuracy suggesting weaker generalization on this field dataset. VGG19 with the baseline head produced the most stable convergence and highest validation accuracy, while the Block-5 fine-tuned variant showed minor fluctuations. The GAP + BN head resulted in higher validation loss and lower validation accuracy, confirming that reducing spatial detail through global pooling negatively affected performance.

3.2. Object Detection Metrics and Performance Comparison

Performance evaluation prioritized mean Average Precision (mAP) over raw accuracy, as mAP provides a more reliable measure of localization and classification performance in imbalanced datasets. YOLOv11 achieved mAP@0.5 of 0.65 and mAP@0.5–0.95 of 0.45, with an inference speed of approximately 90 FPS, confirming its suitability for real-time deployment. RT-DETR recorded mAP@0.5 of 0.56 and mAP@0.5–0.95 of 0.42, with an inference speed of approximately 35 FPS, indicating semi-real-time performance. A study compared YOLO and RT-DETR for railway tie defect detection, reporting that YOLO variants had 40–60% faster inference while RT-DETR achieved higher detection precision only after extensive multi-scale feature tuning [7]. Another study showed that RT-DETR performs well when defects are visually distinct and training is domain-specific [31].
YOLOv11 demonstrates superior precision and real-time inference capability, making it highly suitable for continuous onboard inspection. In contrast, RT-DETR shows qualitatively stronger retention of low-contrast crack patterns in challenging scenes (Figure 10, Figure 11 and Figure 12), although the aggregated two-class metrics indicate lower precision-recall balance than YOLOv11 under the present thresholding. Chintalapally and Bejjam, found that when optimized, YOLO models gave higher precision and efficiency in crack and corrosion detection, but performance was greatly dependent on defect size, contrast, and dataset complexity [9]. Stable convergence and strong real-time performance of YOLOv11 in the combined sleeper and crack class evaluation, precision and recall were 0.70 and 0.68, respectively (Table 6). However, crack detection remained inherently challenging due to low contrast, irregular morphology, and partial occlusions, resulting in confidence scores typically ranging from 0.3 to 0.7. In comparison, RT-DETR exhibited superior sensitivity to fragmented and visually degraded cracks by leveraging global attention mechanisms, which enhanced recall but introduced a trade-off in the form of reduced precision and increased inference time. These contrasting behaviors are illustrated in Figure 7, Figure 8 and Figure 9, highlighting the operational implications of each detection model.
Figure 7. YOLOv11 qualitative detection classes with confidence scores [by author].
Figure 7. YOLOv11 qualitative detection classes with confidence scores [by author].
Preprints 226359 g007
Figure 8. YOLOv11 training and validation loss curves [by author].
Figure 8. YOLOv11 training and validation loss curves [by author].
Preprints 226359 g008
Figure 9. YOLOv11 confidence-based performance curves [by author].
Figure 9. YOLOv11 confidence-based performance curves [by author].
Preprints 226359 g009
Figure 10. RT-DETR qualitative detection classes with confidence scores [by author].
Figure 10. RT-DETR qualitative detection classes with confidence scores [by author].
Preprints 226359 g010
Figure 11. RT-DETR training and validation loss curves [by author].
Figure 11. RT-DETR training and validation loss curves [by author].
Preprints 226359 g011
Figure 12. RT-DETR confidence-based performance curves [by author].
Figure 12. RT-DETR confidence-based performance curves [by author].
Preprints 226359 g012
Sleeper localization consistently achieves near-unity confidence, reflecting the model’s ability to exploit distinct geometric features and structural cues. In contrast, crack detection exhibits moderate confidence due to the inherent challenges posed by thin, low-contrast geometries and irregular surface patterns, which limit feature distinctiveness under field conditions.
YOLOv11 delivers superior precision and real-time processing capability, making it highly effective for continuous onboard inspection where speed and reliability are critical. Conversely, RT-DETR demonstrates greater sensitivity to complex and fragmented crack patterns, though at the expense of inference speed, positioning it as an appropriate choice for detailed secondary analysis where detection completeness outweighs throughput.
Precision for sleeper detection remains consistently high across confidence thresholds, reflecting the model’s ability to exploit distinct geometric features. However, recall for cracks declines as confidence thresholds increase, indicating that stricter filtering suppresses detections of fine, low-contrast cracks, which are inherently more challenging to localize under field conditions.
Attention-based predictions effectively capture fragmented and low-contrast cracks by leveraging global contextual reasoning, while simultaneously maintaining robust and accurate sleeper localization. This demonstrates the ability of the model to balance sensitivity to fine structural anomalies with reliable detection of dominant geometric features.
The smooth progression of training and validation loss curves (GIoU, classification, and L1), accompanied by only minor oscillations, indicates stable convergence and effective generalization under the variability inherent in field-acquired images. These patterns suggest that the model successfully adapts to diverse illumination and background conditions without overfitting.
The gradual decline in recall at higher confidence thresholds reflects the model strategy of retaining low-confidence crack detections to preserve sensitivity. This behavior underscores a deliberate trade-off between precision and recall, ensuring that subtle or fragmented cracks are not prematurely excluded during inference. Per-class AP (sleeper vs crack) will be reported in future work; the present results summarize combined metrics across both classes to reflect end-to-end operational screening performance.
YOLOv11 is suited for onboard, real-time screening because of its high throughput and quick inference capacity, which ensures efficient detection during continuous track monitoring. On the other hand, RT-DETR is more appropriate for offline evaluation, since it can fully utilize its improved sensitivity to subtle and fragmented cracks without strict time limitations. Implementing a two-stage hybrid pipeline, leveraging YOLOv11 for the initial screening and mapping, followed by RT-DETR for comprehensive verification of flagged segments, offers an ideal compromise between performance and detection completeness under actual operating conditions.

4. Conclusions

This study developed and validated a two-stage deep learning framework for railway sleeper inspection using field-acquired imagery from the Arezzo–LFI corridor, where longitudinal cracking was identified as a dominant degradation mode influenced by combined construction-related factors, service loading in track conditions, and environmental/maintenance effects. A curated dataset of 289 real field images (preserving natural lighting variation, ballast background, shadows, and surface weathering) was used to evaluate both image-level classification and object-level defect detection, targeting practical deployment for track safety and asset management.
For image classification, transfer learning with VGG architectures proved most suitable for defect-oriented sleeper imagery: VGG19 (baseline head) achieved the best performance (accuracy = 98.2%), followed by VGG16 (95%), while ResNet50 showed lower performance (88%); among VGG19 variants, performance depended strongly on the head design, with the GAP+BN configuration exhibiting reduced accuracy (81%), confirming that preserving fine spatial–texture cues is critical for sleeper condition discrimination.
For object detection, the models exhibited complementary strengths. YOLOv11 achieved mAP@0.5 = 0.65 and mAP@0.5-0.95 = 0.45 at 90 fps, supporting real-time screening and sleeper localisation in continuous monitoring. RT-DETR achieved mAP@0.5 = 0.56 and mAP@0.5-0.95 = 0.42 at 35 fps, indicating improved context-aware detection under shadows and occlusions at lower throughput. Accordingly, a two-stage deployment of YOLOv11 for onboard screening followed by RT-DETR for secondary verification of flagged segments offers a practical balance between throughput and detection completeness under field conditions.
From an engineering perspective, the results indicate that overall accuracy alone is insufficient to characterise inspection reliability for safety-critical defects such as cracks; instead, class-wise behaviour and operational objectives must govern model selection. Accordingly, YOLOv11 is well suited for real-time screening and routine monitoring, while RT-DETR is better positioned for secondary inspection and validation of subtle or partially occluded cracks, supporting condition trending and preventive maintenance decisions. Overall, the proposed framework provides a practical pathway for AI-enabled sleeper inspection in field environments and forms a basis for scalable integration into railway maintenance workflows and digital inspection pipelines.

Funding

This research received no external funding.

Data Availability Statement

The datasets generated and analysed during the present study are not publicly available due to field-permission and institutional restrictions. However, relevant processed data, annotation details, and supporting information may be made available by the corresponding author upon reasonable request and subject to approval from the concerned authority.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Akyon, F.C.; Altinuc, S.O.; Temizel, A. Slicing aided hyper inference and fine-tuning for small object detection. In Proceedings of the 2022 IEEE International Conference on Image Processing (ICIP), Bordeaux, France, 16–19 October 2022. [Google Scholar] [CrossRef]
  2. Ali, L.; Alnajjar, F.; Jassmi, H.A.; Gocho, M.; Khan, W.; Serhani, M.A. Performance evaluation of deep CNN-based crack detection and localization techniques for concrete structures. Sensors 2021, 21, 1688. [Google Scholar] [CrossRef] [PubMed]
  3. Apostolopoulos, I.D.; Papathanasiou, N.D.; Papandrianos, N.; Papageorgiou, E.; Apostolopoulos, D.J. Innovative attention-based explainable feature-fusion VGG19 network for characterising myocardial perfusion imaging SPECT polar maps in patients with suspected coronary artery disease. Appl. Sci. 2023, 13, 8839. [Google Scholar] [CrossRef]
  4. Awan, M.R.; McClory, C. Deep learning and image data-based surface cracks recognition of laser nitrided titanium alloy. Results Eng. 2024, 22, 102003. [Google Scholar] [CrossRef]
  5. British Standards Institution. BS EN 13230-1:2016; 2016 Railway Applications—Track—Concrete Sleepers and Bearers—Part 1: General Requirements. BSI: London, UK.
  6. Cha, Y.J.; Choi, W.; Büyüköztürk, O. Deep learning-based crack damage detection using convolutional neural networks. Comput.-Aided Civ. Infrastruct. Eng. 2017, 32, 361–378. [Google Scholar] [CrossRef]
  7. Chandramouli, A.; Song, H.; Liu, M.; Damai, A.; Narman, H.S.; Alzarrad, A. Deep learning approaches for railroad infrastructure monitoring: Comparing YOLO and vision transformers for defect detection. In In Proceedings of the 2025 IEEE 16th Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), 2025; pp. 205–211. [Google Scholar] [CrossRef]
  8. Chen, J.; Liu, Z.; Wang, H.; Núñez, A.; Han, Z. Automatic defect detection of fasteners on the catenary support device using deep convolutional neural network. IEEE Trans. Instrum. Meas. 2018, 67, 257–269. [Google Scholar] [CrossRef]
  9. Chintalapally, A.; Bejjam, A. AI-driven railway maintenance using object detection and segmentation. In Proceedings of the SHM 2025 Conference, 2025; Available online: https://dpi-proceedings.com/index.php/shm2025/article/view/37361 (accessed on 16 July 2026).
  10. Dang, M.; et al. Transformer-based defect detection under complex backgrounds. Autom. Constr. Complete author list and DOI must be verified before submission. 2023, 152, 104873. [Google Scholar]
  11. Dietterich, T.G. Approximate statistical tests for comparing supervised classification learning algorithms. Neural Comput. 1998, 10, 1895–1923. [Google Scholar] [CrossRef] [PubMed]
  12. Ding, F. Crack detection in infrastructure using transfer learning, spatial attention, and genetic algorithm optimization. arXiv 2024, arXiv:2411.17140. [Google Scholar] [CrossRef]
  13. Dong, X.; Liu, Y.; Dai, J. Concrete surface crack detection algorithm based on improved YOLOv8. Sensors 2024, 24, 5252. [Google Scholar] [CrossRef] [PubMed]
  14. Dorafshan, S.; Thomas, R.J.; Maguire, M. Comparison of deep convolutional neural networks and edge detectors for crack detection. Constr. Build. Mater. 2018, 186, 1031–1045. [Google Scholar] [CrossRef]
  15. Esveld; 2001.
  16. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar] [CrossRef]
  17. Kaewunruen; Remennikov. 2011.
  18. Kandhro, I.A.; Manickam, S.; Fatima, K.; Uddin, M.; Malik, U.; Naz, A.; Dandoush, A. Performance evaluation of E-VGG19 model: Enhancing real-time skin cancer detection and classification. Heliyon 2024, 10, e31488. [Google Scholar] [CrossRef] [PubMed]
  19. Kaveh, H.; Alhajj, R. Recent advances in crack detection technologies for structures: A survey of 2022–2023 literature. Front. Built Environ. 2024, 10, 1321634. [Google Scholar] [CrossRef]
  20. Kumar, A.; Harsha, S.P. A systematic literature review of defect detection in railways using machine vision-based inspection methods. Int. J. Transp. Sci. Technol. 2024, 18, 207–206. [Google Scholar] [CrossRef]
  21. La Ferroviaria Italiana S.p.A. Prescrizione di Esercizio LFI n. 01/2025: Procedura d’Interfaccia. Norme per la Circolazione dei Convogli da e verso il Raccordo Baraclit nella Stazione di Bibbiena; La Ferroviaria Italiana S.p.A.: Arezzo, Italy, 14 January 2025. [Google Scholar]
  22. Li, S.; Zhao, X.; Zhou, G. Automatic pixel-level multiple crack detection of concrete structures. Comput.-Aided Civ. Infrastruct. Eng. 2019, 34, 616–634. [Google Scholar] [CrossRef]
  23. Li, D.; You, R.; Kaewunruen, S. Crack propagation assessment of time-dependent concrete degradation of prestressed concrete sleepers. Sustainability 2022, 14, 3217. [Google Scholar] [CrossRef]
  24. Nasimov, R.; Cho, Y.I. Smart city infrastructure monitoring with a hybrid vision transformer for micro crack detection. Sensors 2025, 25, 5079. [Google Scholar] [CrossRef] [PubMed]
  25. Paramanandham, N.; Koppad, D.; Anbalagan, S. Vision-based crack detection in concrete structures using cutting-edge deep learning techniques. Trait. Signal 2022, 39, 385–395. [Google Scholar] [CrossRef]
  26. Philip, R.E.; Andrushia, A.D.; Nammalvar, A.; Gurupatham, B.G.A.; Roy, K. A comparative study on crack detection in concrete walls using transfer learning techniques. J. Compos. Sci. 2023, 7, 169. [Google Scholar] [CrossRef]
  27. Regione Toscana. Atto di imposizione obbligo di servizio per la gestione dell’infrastruttura ferroviaria regionale (LFI). Available online: https://www.regione.toscana.it/-/lfi.
  28. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar] [CrossRef]
  29. Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. In Proceedings of the 3rd International Conference on Learning Representations (ICLR 2015), San Diego, CA, USA, 7–9 May 2015. [Google Scholar] [CrossRef]
  30. Ultralytics. Performance Metrics Deep Dive: mAP, AP50/AP75, Precision, Recall, Confusion Matrix. Available online: https://docs.ultralytics.com/guides/yolo-performance-metrics/.
  31. Wan, Y.; Wang, H.; Lu, L.; Zhang, Y.; Chen, M. An improved real-time detection transformer model for traffic safety facility inspection. Sustainability 2024, 16, 10172. [Google Scholar] [CrossRef]
  32. Wei, X.; Yang, Z.; Liu, Y.; Wei, D.; Jia, L.; Li, Y. Railway track fastener defect detection based on image processing and deep learning techniques: A comparative study. Eng. Appl. Artif. Intell. 2019, 80, 66–81. [Google Scholar] [CrossRef]
  33. Yang, Q.; Shi, W.; Chen, J.; Lin, W. Deep convolution neural network-based transfer learning method for civil infrastructure crack detection. Autom. Constr. 2020, 116, 103199. [Google Scholar] [CrossRef]
  34. Zeiler, M.D.; Fergus, R. Visualizing and understanding convolutional networks. In Computer Vision—ECCV 2014; Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T., Eds.; Springer: Cham, Switzerland, 2014; Volume 8689, pp. 818–833. [Google Scholar] [CrossRef]
  35. Zhang, L.; Yang, F.; Zhang, Y.D.; Zhu, Y.J. Road crack detection using deep convolutional neural network. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25–28 September 2016; pp. 3708–3712. [Google Scholar] [CrossRef]
  36. Zhao, Y.; Lv, W.; Xu, S.; Wei, J.; Wang, G.; Dang, Q.; Liu, Y.; Chen, J. DETRs beat YOLOs on real-time object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17–21 June 2024; pp. 16965–16974. [Google Scholar]
Figure 1. Figure illustrates the proposed hybrid inspection pipeline for prestressed concrete railway sleepers [by author].
Figure 1. Figure illustrates the proposed hybrid inspection pipeline for prestressed concrete railway sleepers [by author].
Preprints 226359 g001
Figure 2. Site Map- Arezzo LFI corridor [by author].
Figure 2. Site Map- Arezzo LFI corridor [by author].
Preprints 226359 g002
Figure 3. Representative Defect Types (Longitudinal Crack) [by author].
Figure 3. Representative Defect Types (Longitudinal Crack) [by author].
Preprints 226359 g003
Figure 4. CNN Architectures Used for Classification (a) VGG16, (b) VGG19, (c) ResNet50 [16,27].
Figure 4. CNN Architectures Used for Classification (a) VGG16, (b) VGG19, (c) ResNet50 [16,27].
Preprints 226359 g004
Figure 5. Grad-CAM visualizations for railway sleeper classification using VGG16, ResNet50, and VGG19 variants [by author].
Figure 5. Grad-CAM visualizations for railway sleeper classification using VGG16, ResNet50, and VGG19 variants [by author].
Preprints 226359 g005
Figure 6. Training and validation loss and accuracy curves for VGG16, ResNet50, and VGG19 variants [by author].
Figure 6. Training and validation loss and accuracy curves for VGG16, ResNet50, and VGG19 variants [by author].
Preprints 226359 g006
Table 1. Site Characteristics.
Table 1. Site Characteristics.
Location Traffic Axle Load
Baraclit siding 10 trains/year 20 t/axle
Location Traffic Axle Load
Table 2. Site Characteristics.
Table 2. Site Characteristics.
Parameter Description
Total images 289
In-service sleepers 232
Dump-yard sleepers 57
Imaging conditions Natural light; ballast intact; no cleaning
Resolution (input) 224×224 (classification), 640×640 (detection)
Annotation format Binary labels (classification); COCO (detection)
Table 3. Classification Training Parameters.
Table 3. Classification Training Parameters.
Parameter Value
Optimizer Adam
Learning rate 1×10−4
Loss function Binary cross-entropy
Batch size 16
Epochs 30–40
Train-Test split 80% / 20%
Evaluation metrics Accuracy, Precision, Recall, F1-score, Confusion matrix
Table 4. Performance Comparison of CNN and Transfer-Learning Architectures.
Table 4. Performance Comparison of CNN and Transfer-Learning Architectures.
Model Class Precision Recall F1-Score Accuracy (%)
VGG16 Railway track 0.93 1.00 0.96 95.0
VGG16 Sleeper dump 1.00 0.81 0.90
ResNet50 Railway track 0.87 0.98 0.92 88.0
ResNet50 Sleeper dump 0.91 0.62 0.74
VGG19 Baseline Railway track 0.98 1.00 0.99 98.2
VGG19 Baseline Sleeper dump 1.00 0.94 0.97
VGG19 Block-5 Railway track 0.93 1.00 0.96 95.0
VGG19 Block-5 Sleeper dump 1.00 0.81 0.90
VGG19 GAP+BN Railway track 0.81 0.95 0.88 81.0
VGG19 GAP+BN Sleeper dump 0.78 0.44 0.56
Note: Accuracy (%) denotes overall model accuracy on the test set and is reported once per model; class-wise performance is reported via precision, recall, and F1-score.
Table 5. Comparison of findings with the prior studies.
Table 5. Comparison of findings with the prior studies.
Reference Application Domain Best Reported Model Performance
Reported
Agreement with Present Study
Awan & McClory, 2024 [4] Surface crack detection VGG19 > ResNet-50 Accuracy = 99% Confirms VGG19 = 98.2% best
Paramanandham et al. 2022 [25] Concrete cracks VGG16/VGG19 > ResNet-50 Accuracy > 99% Supports VGG superiority
Chen et al. 2018 [8] Railway fasteners VGG16 stable, ResNet-50 overfits ResNet mAP < 25% Explains low ResNet recall
Wei et al. 2019 [32] Railway fasteners VGG16 effective Accuracy > 97% Aligns with VGG16 = 95%
Ali et al. 2021 [2] Concrete cracks CNN/VGG > ResNet Accuracy > 95% Matches VGG advantage
Kandhro et al. 2024 [18] Skin cancer Baseline VGG weaker than tuned Enhanced VGG (E-VGG) Accuracy = 88% Explains GAP+BN degradation
Apostolopoulos et al. 2023 [3] Medical imaging Deep ResNet underperforms small data Accuracy = 0.66–0.70 Confirms depth penalty
Present study Railway sleeper imagery VGG19 baseline best 98.2% accuracy Fully validated
Table 6. Comparative performance of Object Detection models.
Table 6. Comparative performance of Object Detection models.
Model Precision Recall F1-Score mAP@0.5 mAP@0.5–0.95 Inference Speed (FPS)
YOLOv11 0.70 0.68 0.69 0.65 0.45 ~90
RT-DETR 0.58 0.55 0.56 0.56 0.42 ~35
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings