Manuscript Offprint

arXiv:2611.05646

ARIDA - Active railway infrastructure dataset annotation using neural network predictions

Maximilian Dornik, Christian Sieberichs, Simon Geerkens, Alexander Braun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Maximilian Dornik¹, Christian Sieberichs², Simon Geerkens² and Alexander Braun²

¹maximilian.dornik@study.hs-duesseldorf.de

²{christian.sieberichs, simon.geerkens, alexander.braun}@hs-duesseldorf.de University of Applied Sciences Düsseldorf Düsseldorf, Germany

Abstract—Modern railway perception requires large comprehensive image datasets, but creating them is slowed by manual labeling, especially for track polylines and other complex infrastructure geometry. This paper presents the Active Railway Infrastructure Dataset Annotation framework, a railway-specific semi-automated pipeline that converts instance predictions from a mask scoring instance segmentation network into bounding-boxes, polygons, polylines, and paired polylines. To keep automatic track geometry annotation reliable without ground truth, it applies confidence thresholds and an unique contour-agreement quality score as an acceptance gate. An active learning loop ranks remaining images by uncertainty and adapts the number of manual queries per cycle. This is achieved through a novel quantity control mechanism, in which easy images are auto-accepted and human effort targets hard cases. Experiments on disjoint, diverse imagery and time-sequential, redundant imagery quantify effort reduction and accuracy trade-offs, achieving about two thirds reduction in the disjoint regime and up to 93 % in the sequential regime. The study also provides guidance for initial label budgets and stopping to avoid over-annotation.

Index Terms—Computer vision, Rail transportation, Autonomous Driving, Active learning, Semi-automated dataset annotation

I. INTRODUCTION

Computational perception through Artificial Intelligence (AI) is a safety-critical enabler for Advanced Driver-Assistance Systems (ADAS) and higher levels of automation in railway transportation. Reliable scene understanding supports functions such as obstacle detection, track availability assessment, and operational decision-making, where errors can have direct safety and economic consequences. [12][22][17] While deep learning has substantially advanced visual perception in other domains, progress in autonomous railway perception remains comparatively limited, and one of the primary bottlenecks is the availability of large, high-quality annotated datasets [23][15].

A central challenge is, that public railway datasets are not only scarce [11], but the available datasets, most notably Open Sensor Data for Rail 2023 (OSDaR23) [15] and the currently most comprehensive RailSem19 [23], are often insufficient for training modern computer vision systems at scale. Such existing public datasets are limited in size and do not provide the data variety or annotation primitives required to learn

robust models for real-world operation. At the same time, creating improved or more advanced railway datasets in an own endeavour is challenging with current tooling. [4][15]

Railway perception commonly requires instance-based geometric annotations beyond standard bounding-boxes or masks (s. Figure 1), including coordinate-based polylines and polyline-pairs that represent track geometry [23].

Figure

Bounding-Box Polygon Polyline Polyline-Pair

Fig. 1. Cropped example images of the annotation types contained in the RailSem19 dataset. Only a single annotation type with an arbitrarily chosen color is shown per image for demonstration purposes. Images source: [23]

These primitives are essential for track understanding yet are particularly labor-intensive to produce [4][23]. Moreover, many general-purpose annotation tools like LabelMe [6] or the Computer Vision Annotation Tool (CVAT) [9] (s. related work in section II) are not tailored to railway requirements and do not support the full set of required primitives. In addition, when annotation budgets are constrained, it is not sufficient to merely assist labeling. One must also prioritize which samples should be labeled to maximize performance gains per human annotation. This creates a reinforcing limitation: datasets remain suboptimal for training, but producing better datasets is prohibitively expensive and technically cumbersome. [4][13][7] These constraints motivate the following research question RQ:

RQ: How can manual annotation effort be significantly reduced when creating high-quality railway image datasets with multi-primitive annotations suitable for training modern perception models?

In this work, we use annotation effort to denote the human workload required to transform raw railway imagery into a usable training set. This includes the frequency with which

This research has received funding from the Federal Ministry for Economic Affairs and Climate Action (BMWK) under grant agreements 19I21039A.

human annotators must intervene to correct or complete labels, and the overall share of images that require manual labeling rather than simple verification. Reducing annotation effort therefore means reducing the amount of manual geometric drawing and limiting human intervention to genuinely difficult cases, while still producing accurate, application-relevant annotations.

To address the RQ, we propose the Active Railway Infrastructure Dataset Annotation (ARIDA) framework. ARIDA is a semi-automated image annotation framework that combines standalone model-based annotation capabilities with data-efficient sample selection. ARIDA is centered around an instance-segmentation model (Mask Scoring region-based convolutional neural network (MS R-CNN) [5]), that generates per-instance predictions. An annotation module then converts these predictions into fully featured RailSem-compatible primitives with a dedicated procedure to derive polyline-pair track geometries from predicted track masks. We choose RailSem-style primitives because they represent the most complete publicly established railway annotation scheme and include the track-critical polyline-pair primitives that many pipelines do not support [23][4]. To ensure that automatically generated track annotations are reliable without requiring ground truth, ARIDA includes a no-ground-truth quality gate based on our Contour F Score (CFS). Finally, ARIDA integrates an Active Learning (AL) loop that prioritizes informative and difficult samples for human labeling, so that the annotator effort is concentrated where it yields the highest benefit [13][7]. To our knowledge, no prior railway-specific framework combines semi-automatic multi-primitive annotation generation, track-polyline-pair quality gating without ground truth, and an integrated AL-loop.

We hypothesize firstly, that ARIDA reduces manual annotation effort compared to fully manual labeling by automatically producing a substantial fraction of annotations and routing only low-confidence or low-quality cases to human annotators. Secondly, we hypothesize, that AL improves sample efficiency for railway instance segmentation, achieving comparable model performance with fewer human-labeled images than non-selective supervised training [13].

The main contributions of this paper are:

  1. ARIDA framework: A railway-specific semi-automatic pipeline with focus on automated annotation designed to reduce manual dataset-creation effort with an instance segmentation and iterative AL core.

  2. Multi-primitive annotation module: Conversion of predictions into RailSem-style primitives, with a dedicated focus on polyline-pair track annotation.

  3. CFS quality control: A no-ground-truth metric used as an acceptance gate for automatically generated track polyline-pairs.

  4. AL evaluation baseline: First time evaluation of AL for railway instance segmentation, providing a baseline for future research.

  5. Empirical guidance: Guidance for parameterization of ARIDA on commonly occurring disjoint versus time-

sequential datasets in the railway domain.

The remainder of this paper is organized as follows: Section II reviews related work, Section III presents ARIDA and its components, while Section IV describes the experimental setup and evaluation results. In Section V, findings and limitations are discussed with Section VI concluding the paper.

References (23)