Train Ego-Path Detection on Railway Tracks Using End-to-End Deep Learning
Thomas Laurent
TL;DR
The paper introduces train ego-path detection as a focused onboard-vision task and extends RailSem19 with ego-path annotations. It presents TEP-Net, a decoder-free regression model that predicts left/right ego-path rails at $H=64$ anchors plus a $y$-limit, trained with a domain-specific composite loss and online ROI augmentation. Empirical results show IoU around $0.975$ across backbones with sub-millisecond to a few-millisecond latency, and a clear trade-off where segmentation offers slightly higher accuracy at the cost of latency, while regression provides the best speed and competitive accuracy. By releasing code and the ego-path-annotated dataset, the work lays groundwork for robust, real-time ego-path perception that can underpin driver-assistance and autonomous rail operation systems, with future work aimed at incorporating temporal context.
Abstract
This paper introduces the task of "train ego-path detection", a refined approach to railway track detection designed for intelligent onboard vision systems. Whereas existing research lacks precision and often considers all tracks within the visual field uniformly, our proposed task specifically aims to identify the train's immediate path, or "ego-path", within potentially complex and dynamic railway environments. Building on this, we extend the RailSem19 dataset with ego-path annotations, facilitating further research in this direction. At the heart of our study lies TEP-Net, an end-to-end deep learning framework tailored for ego-path detection, featuring a configurable model architecture, a dynamic data augmentation strategy, and a domain-specific loss function. Leveraging a regression-based approach, TEP-Net outperforms SOTA: while addressing the track detection problem in a more nuanced way than previously, our model achieves 97.5% IoU on the test set and is faster than all existing methods. Further comparative analysis highlights the relevance of the conceptual choices behind TEP-Net, demonstrating its inherent propensity for robustness across diverse environmental conditions and operational dynamics. This work opens promising avenues for the development of intelligent driver assistance systems and autonomous train operations, paving the way toward safer and more efficient railway transportation.
