Semi-supervised Learning with Network Embedding on Ambient RF Signals for Geofencing Services

Weipeng Zhuo, Ka Ho Chiu, Jierun Chen, Jiajie Tan, Edmund Sumpena, S.-h. Gary Chan, Sangtae Ha, Chul-Ho Lee

This paper introduces GEM (Geofencing with network EMbedding), a practical and robust system for indoor geofencing that relies solely on ambient radio frequency (RF) signals—like the Wi-Fi signals already floating around your home or office.

TL;DR

GEM is a semi-supervised geofencing system that uses a novel bipartite graph neural network (BiSAGE) to map variable-length RF signals into a consistent embedding space for "in-out" boundary detection. It outperforms existing state-of-the-art methods by up to 34% in F-score and is "self-evolving," meaning it automatically adapts to changing Wi-Fi environments over time without human intervention.

What Problem Does This Paper Address?

Geofencing—detecting whether a person or asset is within a predefined area—is critical for elderly care, pandemic quarantine monitoring, and drone navigation. However, existing solutions have major drawbacks:

  • GPS doesn't work well indoors.
  • IP-based tracking is too coarse for room-level accuracy.
  • Fingerprinting (mapping signal strengths to specific coordinates) is labor-intensive, requires floor plans, and raises privacy concerns.

The core technical challenge is that RF environments are "messy." Access Points (APs) appear and disappear, and Received Signal Strength (RSS) values fluctuate constantly. Standard machine learning models require fixed-length input vectors, but an RF scan might see 5 APs one second and 12 the next. Most systems handle this by "padding" missing data with arbitrary values, which leads to poor accuracy.

Methods

GEM bypasses the "fixed-length" problem by modeling RF data as a weighted bipartite graph. One set of nodes represents signal records, and the other represents MAC addresses (APs). An edge exists if a record detected a specific AP, with the weight determined by the signal strength.

To process this graph, the authors developed BiSAGE (Bipartite SAmple and aggreGatE), which introduces several innovations:

  1. Bi-level Aggregation: Unlike standard GraphSAGE, BiSAGE uses "auxiliary embeddings" as carriers. This allows signal records to share information through common APs without "muddying" the primary embeddings used for classification.
  2. Non-uniform Sampling: It prioritizes neighbors with stronger signal weights during training, effectively implementing a built-in "attention" mechanism.
  3. Self-Evolving Classifier: GEM uses an enhanced histogram-based outlier detection model. When the system is "highly confident" that a new signal is inside the boundary, it uses that record to update its internal model (using pseudo-labels), allowing it to adapt to environmental shifts (like moving furniture or a neighbor's new router).

Datasets

The researchers evaluated GEM across several diverse environments:

  • User Studies: Data from 10 volunteers living in various housing types (dorms, apartments, and two-story houses) ranging from 10m² to 200m².
  • Lab Environment: A three-day study in a lab with a complex corridor to test time-varying signal stability.
  • Large-scale Benchmarks: A five-story shopping mall dataset and the UJI Open Dataset, which contains over 21,000 RF records across three buildings.

Key Insights and Ideas

  • Graph Structure as Data Imputation: By using a bipartite graph, the system naturally handles "missing" APs. If an AP isn't seen, there’s simply no edge. This is far more mathematically elegant and accurate than filling a matrix with "0" or "-120 dBm."
  • The "Carrier" Concept: The most clever part of BiSAGE is the auxiliary embedding. It allows the model to learn that two signal records are similar because they "see" the same APs, even if the APs themselves are just static infrastructure.
  • Confidence-based Updates: By only updating the model with "highly confident" in-boundary samples, GEM avoids "model drift" where it might accidentally learn that being outside is actually "inside."

Key Results

  • Superior Accuracy: GEM achieved a near-perfect F-score (~0.97) in most home environments, outperforming SignatureHome and INOA by up to 34%.
  • The Power of BiSAGE: Using the BiSAGE embedding led to a 54% improvement in F-score compared to building a classifier on raw signal data.
  • Robustness: The system remained effective even when 25% of the ambient APs were intentionally removed from the data, proving it can handle real-world network volatility.
  • Real-time Performance: The total inference time for a new signal record is less than 20 milliseconds, making it fast enough for real-time alerts on mobile devices.

Limitations and Future Work

  • Granularity: GEM currently operates at a "meter-level" precision. The authors note that "sub-meter" precision is a goal for future research but would require much higher sensing frequencies.
  • Adversarial Attacks: While the authors argue that physical walls make "slow-creep" attacks (where a user moves out very slowly to trick the self-evolution) difficult, they acknowledge that security against intentional "bad actors" is an area for further study.
  • Generalization: While designed for geofencing, the BiSAGE algorithm is a general-purpose bipartite embedding tool that could likely be applied to recommendation systems or other network analysis tasks.

Summary updated

BibTeX
@inproceedings{zhuo2023semi,
  author = {Weipeng Zhuo and Ka Ho Chiu and Jierun Chen and Jiajie Tan and Edmund Sumpena and S.-H. Gary Chan and Sangtae Ha and Chul-Ho Lee},
  title = {{Semi-supervised Learning with Network Embedding on Ambient RF Signals for Geofencing Services}},
  booktitle = {ICDE},
  year = {2023},
  url = {https://openreview.net/forum?id=vwtdTCkj7mM},
}
Figure