Abstract
Accurate smartphone localization (< 1-meter error) for indoor navigation using only RSSI received from a set of BLE beacons remains a challenging problem, due to the inherent noise of RSSI measurements. To overcome the large variance in RSSI measurements, we propose a data-driven approach that uses a deep recurrent network, DeepBLE, to localize the smartphone using RSSI measured from multiple beacons in an environment. In particular, we focus on the ability of our approach to generalize across many smartphone brands (e.g., Apple, Samsung) and models (e.g., iPhone 8, S10). Towards this end, we collect a large-scale dataset of 15 hours of smartphone data, which consists of over 50,000 BLE beacon RSSI measurements collected from 47 beacons in a single building using 15 different popular smartphone models, along with precise 2D location annotations. Our experiments show that there is a very high variability of RSSI measurements across smartphone models (especially across brand), making it very difficult to apply supervised learning using only a subset of smartphone models. To address this challenge, we propose a novel statistic similarity loss (SSL) which enables our model to generalize to unseen phones using a semi-supervised learning approach. For known phones, the iPhone XR achieves the best mean distance error of 0.84 meters. For unknown phones, the Huawei Mate20 Pro shows the greatest improvement, cutting error by over 38% from 2.62 meters to 1.63 meters error using our semi-supervised adaptation method.
Introduction
Indoor localization using Received Strength Signal Index (RSSI) from Bluetooth Low Energy (BLE) beacons is an attractive solution due to its low cost and universal compatibility with modern smartphones. However, the relationship between RSSI and physical distance is notoriously unreliable. Signal distributions change drastically based on a device's antenna design, internal circuitry, and software processing.
A model trained specifically for one brand often fails when deployed on another because of this "device gap." For instance, hardware variance isn't just random noise; it manifests as systematic bias. Research indicates that certain models, like the Xiaomi Mi 9T Pro, experience periodic "receiver failure" where signals drop to zero, a phenomenon rarely seen on Apple devices.
The DeepBLE Framework
DeepBLE addresses the challenge of cross-device generalization through a two-part architecture designed to map disparate hardware signals into a unified space.
System Architecture
- LocNet (Localization Network): A 2-layer Long Short-Term Memory (LSTM) network that processes a 5-second window of RSSI readings. The LSTM is specifically utilized to manage the temporal fluctuations and noise inherent in BLE signals to predict 2D coordinates.
- TransNet (Translation Network): This 1-D convolutional autoencoder acts as a pre-processor. It takes raw RSSI from an unknown phone and "translates" it into the RSSI space of a known reference phone (e.g., an iPhone).
Statistic Similarity Loss (SSL)
To train TransNet without requiring labeled ground-truth for every possible phone model, the framework introduces Statistic Similarity Loss (SSL). This semi-supervised approach relies on the intuition that while absolute RSSI values vary, the correlation between nearby beacons remains consistent in a fixed environment. By enforcing that translated signals match the expected pairwise beacon statistics of the reference brand, the model adapts to new devices without manual calibration.
Experimental Setup and Dataset
The authors developed a massive benchmark to validate DeepBLE, significantly larger than previous public datasets. The collection included:
- 15 smartphone models across 5 major brands (Apple, Samsung, Google, Xiaomi, Huawei).
- 15 hours of data with over 50,000 measurements.
- 47 beacons deployed across a 2000 sq. m. university floor.
- Ground Truth: Precise 2D locations (±30mm accuracy) captured using a "Kaarta Stencil" mapping rig equipped with LIDAR and IMU.
Key Results
DeepBLE demonstrates state-of-the-art accuracy and significant generalization power:
- Known Devices: The iPhone XR achieved a mean distance error of 0.84 meters.
- Unknown Devices: For phones not seen during supervised training, the semi-supervised SSL adaptation reduced error significantly. The Huawei Mate20 Pro saw an error reduction of 38% (from 2.62m to 1.63m).
- Baselines: DeepBLE consistently outperformed standard methods such as KNN Regression and Bayesian Estimation, particularly in 90th percentile error metrics.
Conclusion and Future Work
DeepBLE proves that the physical layout of beacons provides a "statistical fingerprint" that can align disparate hardware sensors. However, limitations remain. The statistical matrix used for SSL is specific to the beacon layout; moving beacons requires re-calculation. Future research should explore the impact of orientation sensitivity (e.g., phone in pocket) and dynamic environments where human traffic may absorb signals and affect translation accuracy.
Summary updated