Abstract
Proximity detection using Bluetooth Low Energy (BLE) is essential for applications like contact tracing and proximity marketing. However, Received Signal Strength Indicator (RSSI) values are highly susceptible to environmental noise and device carriage states. This paper presents PRID, a robust framework that mitigates these issues through RSSI histogramization and carriage state regularization using Inertial Measurement Unit (IMU) data. To support resource-constrained IoT devices, the authors also propose PRID-lite, a binarized version of the model. PRID achieves a 50% reduction in false detections, while PRID-lite reduces model size by 94% and extends battery life by 60%.
Introduction
Determining if two devices are within a specific range—BLE proximity detection—is a foundational technology for modern IoT systems. Despite its ubiquity, RSSI is a notoriously unstable metric. Signals bounce off surfaces (multipath effect), and the way a user carries a device (in a pocket vs. in hand) drastically alters signal strength. Furthermore, deep learning models often fall into a "bias trap," learning false correlations between motion patterns and proximity rather than the underlying signal-distance relationship.
The PRID Framework
The PRID framework is designed to navigate the twin challenges of signal fluctuation and training data bias. The system architecture consists of two main stages: Signal Encoding and Proximity Classification.
Signal Encoding: RSSI Histogramization
Instead of processing raw, noisy RSSI time-series data, PRID converts signal readings over a fixed window (e.g., 5 seconds) into a histogram. This statistical representation captures the distribution of the multipath environment, providing a more stable "fingerprint" for the classifier than individual, fluctuating data points.
Addressing Carriage State Bias
A significant issue in IMU-assisted detection is "carriage state bias." If a training dataset predominantly features "close" proximity while the phone is in hand and "far" proximity while it is in a pocket, a neural network may simply learn to detect the "hand-held" motion state as a proxy for being close.
PRID solves this using Importance Sampling via Kernel Mean Matching (KMM). By reweighting training samples, the framework ensures that the distribution of carriage states is independent of the proximity labels. This forces the model to learn how the carriage state affects the signal, rather than using the state to predict distance directly.
PRID-lite: Efficiency for IoT
For deployment on tiny IoT tokens like the ESP-32 or smartwatches, the standard PRID model may be too resource-intensive. The researchers developed PRID-lite, which utilizes a Binarized Neural Network (BNN).
In PRID-lite, weights and activations are constrained to 1-bit values (+1 or -1). This allows the system to replace expensive floating-point multiplications with efficient bitwise XNOR and population count operations. This optimization slashes the model size from 5MB to just 0.3MB and significantly reduces power consumption.
Experimental Evaluation
The framework was evaluated using both on-field experiments (6 hours of data across dynamic, semi-dynamic, and static environments) and the large-scale TC4TL dataset from the NIST/MIT PACT project.
Key results include:
- Accuracy: PRID reduced false detection cases by over 50% compared to baseline methods like Conv1D.
- Resource Efficiency: PRID-lite achieved a 94% reduction in model size.
- Battery Longevity: On an IoT smartwatch, PRID-lite extended battery life by 60% compared to the full-precision PRID model, with only a marginal 7% drop in F-score accuracy.
Conclusion
PRID effectively addresses the core challenges of BLE proximity detection by combining statistical signal encoding with rigorous data regularization. The introduction of PRID-lite further demonstrates that high-performance proximity sensing is achievable even on low-power IoT hardware. Future work will focus on detecting proximity through physical partitions like walls and optimizing performance for high-speed mobility scenarios.
Citation: He, T., et al. (2022). "Tackling Multipath and Biased Training Data for IMU-Assisted BLE Proximity Detection." arXiv:2201.03817v2.
Summary updated