RFID-Based Indoor Spatial Query Evaluation with Bayesian Filtering Techniques

Bo Hui, Wenlu Wang, Jiao Yu, Zhitao Gong, Wei-Shinn Ku, Min-Te Sun, Hua LuarXiv 2022

Abstract

People spend a significant amount of time in indoor spaces (e.g., office buildings, subway systems, etc.) in their daily lives. Therefore, it is important to develop efficient indoor spatial query algorithms for supporting various location-based applications. However, indoor spaces differ from outdoor spaces because users have to follow the indoor floor plan for their movements. In addition, positioning in indoor environments is mainly based on sensing devices (e.g., RFID readers) rather than GPS devices. Consequently, we cannot apply existing spatial query evaluation techniques devised for outdoor environments for this new challenge. Because Bayesian filtering techniques can be employed to estimate the state of a system that changes over time using a sequence of noisy measurements made on the system, in this research, we propose the Bayesian filtering-based location inference methods as the basis for evaluating indoor spatial queries with noisy RFID raw data. Furthermore, two novel models, indoor walking graph model and anchor point indexing model, are created for tracking object locations in indoor environments. Based on the inference method and tracking models, we develop innovative indoor range and k nearest neighbor (kNN) query algorithms. We validate our solution through use of both synthetic data and real-world data. Our experimental results show that the proposed algorithms can evaluate indoor spatial queries effectively and efficiently.

Introduction

Navigating and querying indoor spaces presents unique challenges compared to outdoor environments. GPS signals are generally unavailable inside buildings, and movement is strictly constrained by architectural floor plans. While Radio Frequency Identification (RFID) offers a cost-effective tracking solution, the raw data is often "dirty," suffering from frequent false negatives and limited detection ranges. Existing spatial query techniques designed for outdoors assume precise coordinates, which are unavailable in these contexts. This research bridges the gap by creating a system that handles noisy sensor data while respecting the topological realities of indoor architecture.

System Architecture and Methodology

The proposed framework employs a multi-layered architecture to transform raw sensor pings into accurate spatial query results. The process begins with an event-driven data collector, followed by query-aware optimization to prune non-candidate objects before expensive processing. The core of the system is the Bayesian filter preprocessing layer, which estimates object locations before passing them to the query evaluation engine.

The proposed system architecture for indoor spatial query evaluation, illustrating the flow from data collection to query results.

Indoor Modeling and Indexing

To accurately model movement, the system uses an Indoor Walking Graph (IWG). Instead of a 2D plane, the building is modeled as a graph where edges represent hallways and nodes represent intersections or rooms. This ensures inferred movements are physically possible (e.g., not passing through walls).

To make probabilistic distributions searchable in real-time, the authors introduce Anchor Point Indexing (API). Hallways are discretized into "anchor points" (e.g., every 1 meter), and a hash table maps these points to objects likely to be nearby. This discretization allows for efficient hash-table lookups rather than complex continuous probability calculations.

Visual representation of the Indoor Walking Graph (IWG), anchor points, and uncertain regions (UR) within a constrained indoor floor plan.

Bayesian Filtering Techniques

The system employs two primary filters to handle noise:

  • Kalman Filter (KF): Utilized for simpler, linear tracking scenarios.
  • Particle Filter (PF): A robust, non-linear approach using a set of "particles" to represent the probability distribution of an object's location. This filter is particularly effective at maintaining accuracy even with sparse RFID data.

Experimental Evaluation

The researchers validated their approach using both synthetic and real-world datasets. The synthetic data simulated up to 1,000 objects moving along a graph, while the real-world data was collected from the Haley Center at Auburn University, involving 19 RFID readers and 40 moving objects tracked via ground-truth cameras.

Key Results

  • Accuracy: The Particle Filter (PF) consistently outperformed the Kalman Filter and traditional symbolic models. In kNN queries, the PF achieved a significantly higher hit rate.
  • Robustness: Even when the RFID activation range was reduced, the PF maintained high accuracy, whereas baseline models degraded sharply.
  • Efficiency: Query-aware optimization successfully reduced the computational load, allowing the system to scale to hundreds of targets without significant latency. The authors found that 64 particles per object provided an optimal balance of 90% accuracy and computational overhead.

Conclusion and Future Work

This framework demonstrates that combining Bayesian filtering with topological constraints can effectively overcome the limitations of noisy RFID data in indoor environments. Future research will focus on more complex trajectories (e.g., objects stopping or turning mid-hallway), advanced query types like "Spatial Skyline" queries, and the integration of heterogeneous sensors such as Wi-Fi and Bluetooth to supplement RFID data.

Summary updated

BibTeX
@misc{hui2022rfid,
  author = {Bo Hui and Wenlu Wang and Jiao Yu and Zhitao Gong and Wei-Shinn Ku and Min-Te Sun and Hua Lu},
  title = {{RFID-Based Indoor Spatial Query Evaluation with Bayesian Filtering Techniques}},
  year = {2022},
  eprint = {2204.00747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.00747},
}
Figure