Detecting Railway Track Irregularities with Data-driven Uncertainty Quantification

Andreas Plesner, Allan Peter Engsig‐Karup, Hans TrueHighlights 2025

Abstract

This study addresses the critical challenge of assessing railway track irregularities using advanced machine learning techniques, specifically convolutional neural networks (CNNs) and conformal prediction. Leveraging high-fidelity sensor data from high-speed trains, we propose a novel CNN model that significantly outperforms state-of-the-art results in predicting track irregularities. Our CNN architecture, optimized through extensive hyperparameter tuning, comprises multiple convolutional layers with batch normalization, Exponential Linear Unit (ELU) activation functions, and dropout regularization. This design enables the model to capture complex spatial and temporal dependencies in the train’s dynamic responses, translating them into accurate predictions of track irregularities. The model achieves a mean unsigned error of 0.31 mm on the test set, surpassing the previous state-of-the-art performance and approaching industry-standard benchmarks for track measurement accuracy. This level of precision is crucial for the early detection of track defects that could compromise safety and ride quality. To quantify uncertainty in the model’s predictions, we implement conformal prediction techniques, specifically the CV+ and CV-minmax methods. These approaches provide prediction intervals with high reliability, achieving a 97.18% coverage rate for the CV-minmax method. The resulting prediction intervals have an average width of 2.33 mm, offering a balance between precision and confidence in the model’s outputs. Notably, our model exhibits impressive computational efficiency, capable of processing over 2000 kilometers of track data per hour. This speed makes it suitable for real-time applications in continuous monitoring systems, potentially revolutionizing the approach to railway maintenance. The integration of CNNs with conformal prediction represents a significant advancement in the field of predictive maintenance for railway infrastructure. By providing both accurate predictions and well-calibrated uncertainty estimates, our approach enables more informed decision-making in track maintenance planning and safety assessments.

Introduction

Railway infrastructure is a cornerstone of global logistics and transportation, necessitating rigorous maintenance to ensure safety and ride quality. Track irregularities—small deviations in geometry—can lead to significant mechanical stress and, in extreme cases, derailments. Traditional monitoring relies on specialized, expensive inspection vehicles that operate at low frequencies. The industry aims for continuous monitoring using sensors on standard in-service trains. However, the non-linear relationship between vehicle vibrations and track geometry presents a significant challenge for accurate estimation.

Methodology

This study frames the estimation of track geometry as an inverse problem, utilizing a deep learning approach to map vehicle dynamic responses back to track irregularities.

CNN Architecture

The core of the proposed system is a 1D Convolutional Neural Network (CNN). To capture long-wavelength irregularities (up to 200 meters), the architecture employs exceptionally large kernels in the initial layers. The network incorporates Exponential Linear Units (ELU) for activation and a high dropout rate (60%) to prevent overfitting and ensure robust generalization across different track sections.

Mechanical model of the train suspension system, illustrating the complex relationship between track geometry and vehicle response.

Uncertainty Quantification

To provide reliable maintenance indicators, the model must quantify its own uncertainty. The researchers implemented Conformal Prediction, specifically the CV+ and CV-minmax variants. Unlike standard point estimates, this approach generates prediction intervals with a mathematically guaranteed reliability level, allowing engineers to assess the confidence of any detected defect.

Datasets

The model was trained and validated using a high-fidelity dataset from an ETR500 high-speed train.

  • Scale and Sampling: The dataset covers approximately 140 km of track, sampled at 1000 Hz, yielding nearly 288,000 observations.
  • Input Features: 38 time-series features were used, including accelerations from axle boxes, bogies, and the car body, alongside vehicle velocity and track curvature.
  • Preprocessing: Time-based data was converted to a constant spatial spacing of 0.167 meters using cubic spline interpolation, ensuring consistency across varying train speeds.
Data segmentation showing velocity and curvature profiles across the 140 km test track.

Results and Discussion

The proposed CNN-based approach demonstrates state-of-the-art performance across several key metrics:

  • Accuracy: The model achieved a Mean Unsigned Error (ME) of 0.31 mm on the test set, surpassing previous benchmarks and meeting the stringent EN:13848-5 industry standard.
  • Computational Efficiency: The system processes over 2,000 kilometers of track data per hour. This is approximately seven times faster than the real-time requirements for a train traveling at 300 km/h.
  • Reliability: The CV-minmax method provided a 97.18% coverage rate for prediction intervals, with an average interval width of 2.33 mm, effectively balancing precision and confidence.

The model successfully distinguished between different frequency domains of irregularities, from short-range jolts to long-range sags. However, performance degradation was noted in regions with faulty sensor data, highlighting a need for improved fault tolerance.

Conclusion

The integration of CNNs with conformal prediction offers a powerful tool for autonomous railway maintenance. By providing sub-millimeter accuracy and reliable uncertainty estimates at high processing speeds, this system paves the way for real-time monitoring on in-service trains. Future research will focus on enhancing sensor robustness and incorporating physical constraints through Scientific Machine Learning (SciML) techniques like Physics-Informed Neural Networks.

Summary updated

BibTeX
@inproceedings{plesner2025detecting,
  author = {Andreas Plesner and Allan Peter Engsig‐Karup and Hans True},
  title = {{Detecting Railway Track Irregularities with Data-driven Uncertainty Quantification}},
  booktitle = {Highlights},
  year = {2025},
  doi = {10.54175/hveh3010001},
}
Figure