Machine and Deep Learning for Indoor UWB Jammer Localization
Hamed Fard, Mahsa Kholghi, Benedikt Groß, Gerhard Wunder
TL;DR
The paper addresses indoor UWB jammer localization under environmental changes, where models trained in one room configuration fail in a modified layout due to domain shift. It introduces two UWB datasets capturing source and target domains and benchmarks multiple ML/DL baselines for both classification and regression tasks. To tackle domain shift, it adapts a domain-adversarial ConvNeXt autoencoder (A-CNT) with a gradient-reversal layer to align CIR-derived features across domains, achieving substantial improvements in the target environment. The results show a mean localization error of 34.67 cm in the target domain and 56% of samples within 30 cm, representing a major performance gain over non-adversarial transfer and the best source-trained baseline, thereby demonstrating the practical value of adversarial feature alignment for robust indoor jammer localization. The work provides public datasets and code to benchmark domain adaptation approaches and highlights the importance of adversarial alignment for transferring jammer localization capabilities across dynamic indoor layouts.
Abstract
Ultra-wideband (UWB) localization delivers centimeter-scale accuracy but is vulnerable to jamming attacks, creating security risks for asset tracking and intrusion detection in smart buildings. Although machine learning (ML) and deep learning (DL) methods have improved tag localization, localizing malicious jammers within a single room and across changing indoor layouts remains largely unexplored. Two novel UWB datasets, collected under original and modified room configurations, are introduced to establish comprehensive ML/DL baselines. Performance is rigorously evaluated using a variety of classification and regression metrics. On the source dataset with the collected UWB features, Random Forest achieves the highest F1-macro score of 0.95 and XGBoost achieves the lowest mean Euclidean error of 20.16 cm. However, deploying these source-trained models in the modified room layout led to severe performance degradation, with XGBoost's mean Euclidean error increasing tenfold to 207.99 cm, demonstrating significant domain shift. To mitigate this degradation, a domain-adversarial ConvNeXt autoencoder (A-CNT) is proposed that leverages a gradient-reversal layer to align CIR-derived features across domains. The A-CNT framework restores localization performance by reducing the mean Euclidean error to 34.67 cm. This represents a 77 percent improvement over non-adversarial transfer learning and an 83 percent improvement over the best baseline, restoring the fraction of samples within 30 cm to 0.56. Overall, the results demonstrate that adversarial feature alignment enables robust and transferable indoor jammer localization despite environmental changes. Code and dataset available at https://github.com/afbf4c8996f/Jammer-Loc
