Manuscript Offprint

arXiv:2610.25201

RAIL-5G: A Challenging Real-World Dataset and Benchmark for AI-Based 5G Indoor Localization

Jonas Pirkl, Andreas Eidloth, Maximilian Kasparek, Tobias Feigl, Christopher Mutschler

Jonas Pirkl 1,3^{1,3}, Andreas Eidloth 1^{1}, Maximilian Kasparek 1^{1}, Tobias Feigl 1,2^{1,2}, and Christopher Mutschler 1,3^{1,3}

{firstname.lastname}@iis.fraunhofer.de

1^{1} Fraunhofer Institute for Integrated Circuits (IIS), Division Positioning and Networks, 90411 Nürnberg, Germany

2^{2} Programming Systems Lab, Friedrich-Alexander-Universität Erlangen-Nürnberg, 91052 Erlangen, Germany

3^{3} Department Computer Science & Artificial Intelligence, Technische Universität Nürnberg, 90461 Nürnberg, Germany

Abstract—Reliable radio-based indoor localization is essential for industrial automation, yet existing methods are often evaluated in environments that do not fully reflect the severe multipath and non-line-of-sight (NLOS) conditions encountered in real deployments. This limits our understanding of how AI, i.e., modern geometric, unsupervised, and semi-supervised localization methods generalize to industrial 5G settings. We present RAIL-5G, a public real-world 5G NR channel impulse response (CIR) benchmark recorded in an operational railway maintenance facility. RAIL-5G covers an 811 m² indoor area with eight distributed radio units, robot-mounted user equipment (UE) trajectories, high-accuracy iGPS reference positions, and severe metal-induced multipath caused by train compartments and maintenance infrastructure. We benchmark geometric time-difference of arrival (TDoA), supervised fingerprinting, unsupervised channel charting, and self-supervised wireless pretraining methods. Our results highlight the difficulty of RAIL-5G: on the full dataset, TDoA reaches 7.02 m mean average error (MAE), the best unsupervised method reaches 2.46 m, and supervised fingerprinting achieves 0.52 m. Self-supervised pretraining reduces the labeling effort by up to one order of magnitude, but the remaining gap to supervised learning shows that robust AI-based localization under severe multipath remains an open challenge. The dataset and code are available at https://iis.fraunhofer.de/rail-5g.

I. INTRODUCTION

Accurate indoor localization is a key enabler for industrial automation, including asset tracking, mobile robotics, and logistics [1]. 5G NR is a promising platform for this task as it provides wide bandwidths, distributed infrastructure, and standardized reference signals. However, industrial environments remain challenging: large metallic structures, machinery, vehicles, and narrow corridors create severe multipath and frequent non-line-of-sight (NLOS) conditions, which corrupt time of arrival (ToA) estimates and degrade geometric methods such as time-difference of arrival (TDoA) [2]. Supervised fingerprinting can help but it requires expensive labeled data [3]. Unsupervised and self-supervised methods aim to reduce this labeling effort: Channel charting (CC) learns low-dimensional radio representations that preserve spatial neighborhood relations without reference positions [4], and recent extensions use Siamese or Triplet networks, dissimilarity metrics, tem-

Figure

Fig. 1. RAIL-5G environment, viewed from RU 1 toward RU 4/5. Large metallic train compartments cause severe multipath propagation.

poral proximity, or auxiliary motion information [5–7]. Self-supervised pretraining [8] promises label-efficient localization returning top performance. Despite this progress, it remains unclear how well these methods generalize to harsh industrial 5G environments, as existing public datasets often cover only parts of the problem, such as simulation, WiFi, massive-MIMO channel sounding, small-scale 5G measurements, or less severe propagation conditions.

We propose RAIL-5G, a public real-world 5G NR channel impulse response (CIR) benchmark recorded in an operational railway maintenance facility. The dataset covers 811 m² and contains uplink Sounding Reference Signal (SRS) measurements from a robot-mounted user equipment (UE), recorded by eight distributed radio units (RUs). High-accuracy iGPS reference positions are provided at 40 Hz. The environment contains open areas and narrow corridors between metallic train compartments, resulting in heterogeneous line-of-sight (LOS)/NLOS conditions and severe metal-induced multipath. RAIL-5G is a reality check for modern AI-based 5G indoor localization. We compare it to existing public channel state information (CSI)/CIR datasets and benchmark geometric TDoA, supervised fingerprinting, unsupervised channel charting, and self-supervised wireless pretraining methods. Our results show that RAIL-5G is challenging: on the full dataset, TDoA reaches 7.02 m mean average error (MAE), the best unsupervised method reaches 2.46 m, while supervised fingerprinting achieves 0.52 m. This gap shows that the CIRs contain strong spatial information, but that current unsupervised methods struggle to exploit it under severe industrial multipath. Self-supervised pretraining lowers the required number of labeled samples by up to 10×, but does not fully close the gap to supervised learning yet.

The authors would like to thank the Federal Ministry of Research, Technology, and Space (BMFTR) for supporting the xG-RIC project as part of the research program Communication Systems “Souverän. Digital. Vernetzt.” (grant number 16KIS2429K) and the 5GILABB - 5G Industrial Lab Bischheim project (Grant No. 01MJ22017A).

The paper is structured as follows. Sec. II reviews related datasets and benchmarks. Sec. III introduces the dataset. Sec. IV benchmarks. Sec. V concludes.

References (31)