Experiences & Challenges with Server-Side WiFi Indoor Localization Using Existing Infrastructure

Dheryta Jaisinghani, Vinayak Naik, Rajesh Balan, Archan Misra, Youngki LeeMobiQuitous 2018 · OpenReview

TL;DR

This paper explores the practical challenges of deploying server-side WiFi indoor localization in large, existing infrastructures. The authors identify "Cardinality Mismatch" and "High Client Scan Latency" as major hurdles, demonstrating how these issues significantly degrade accuracy. They propose heuristics to mitigate these problems, showing improved localization performance without requiring client-side modifications.

What Problem Does This Paper Address?

Accurate indoor localization using WiFi is highly desirable for various applications, from smart buildings to location-aware services. However, most state-of-the-art solutions require either modifications to client devices (e.g., special apps) or the WiFi infrastructure itself. This makes them impractical for large-scale deployments in public venues like universities or malls, where existing WLAN controllers and diverse client devices cannot be easily altered. The authors aim to address this gap by developing a server-side localization system that works with existing infrastructure and is device-agnostic, focusing on the challenges that arise in such real-world scenarios.

Methods

The core of the paper revolves around an offline fingerprint-based approach. This standard technique involves creating a database of WiFi signal strengths (RSSI) at known locations during an "offline" phase. During the "online" phase, a client's location is estimated by matching its current RSSI readings to the closest fingerprint in the database.

The novelty lies in how they tackle the challenges encountered in their large-scale deployment:

  • Server-side processing: All localization logic runs on a server, eliminating the need for client-side applications.
  • Device-agnostic: The system works with any WiFi-enabled device without requiring modifications or specific client software.
  • Heuristics for improvement: The authors propose specific strategies to mitigate the identified challenges, such as intelligent AP selection based on various criteria (e.g., maximum number of APs, maximum RSSI, AP of association) to improve floor detection and overall accuracy.
  • Frame type differentiation: They developed a method to distinguish between "scanning" frames (used for network discovery) and "non-scanning" frames (regular data traffic) from RTLS data feeds, as these have different characteristics that impact localization.

Datasets

The authors collected ground truth data over three weeks from a WiFi setup deployed for over four years across a university campus. This dataset includes approximately 200 landmarks and represents real-world usage scenarios. They specifically collected data from four client states: Disconnected, Inactive, Intermittent, and Active, using four Samsung Galaxy S7 phones to capture ground truth for each landmark. This dataset is a subset of a larger dataset collected from 3203 landmarks.

Key Insights and Ideas

  • Client behavior is key: The "online" phase is heavily influenced by how clients behave, particularly their scanning frequency and power management. Modern devices often reduce scanning to save battery and bandwidth, leading to fewer APs reporting a client.
  • Cardinality Mismatch is a major problem: The set of Access Points (APs) that can "see" a client during the offline fingerprinting phase often differs significantly from the APs that see the client during the online localization phase. This mismatch directly impacts the reliability of fingerprint matching.
  • Scan latency kills accuracy: Clients don't scan continuously. The intervals between scans can be very long (minutes to hours), meaning location updates are infrequent and can lead to "teleporting" effects.
  • 2.4 GHz vs. 5 GHz trade-offs: While 2.4 GHz offers better range and more frequent scanning, it suffers from higher RSSI variation. 5 GHz has less interference and more stable RSSI but generally lower AP visibility and less frequent scanning.
  • Scanning frames are valuable but infrequent: Scanning frames provide more stable RSSI and better localization accuracy, especially in the 2.4 GHz band. However, clients rarely send them in the online phase.

Key Results

  • Significant Cardinality Mismatch: The study found 57.30% mismatches in 2.4 GHz and 30.6% in 5 GHz. In the online phase, 80% of the time only 1 AP reported for a client in 5 GHz, and 40% in 2.4 GHz.
  • High Scan Latency: The 90th percentile of client scan intervals was found to be around 20 minutes, with some clients scanning as infrequently as every few thousand seconds.
  • Heuristics improve accuracy: The proposed heuristics for floor detection (e.g., "AP of Association") reduced localization errors by up to 58% in 2.4 GHz and 46% in 5 GHz for different floor errors.
  • Frame type impact: Localizing with only scanning frames reduced errors in 2.4 GHz, while non-scanning frames were better for 5 GHz.

Limitations and Future Work

  • Limited Device Set: The study did not consider an exhaustive set of devices, focusing primarily on iPhones and Android phones.
  • Heavily Loaded Days: While data was collected on both lightly and heavily loaded days, the analysis primarily focused on lightly loaded scenarios. The behavior during peak load (higher interference) requires further investigation.
  • MAC Address Randomization: The paper acknowledges the complexity of MAC address randomization and did not directly address algorithms for mapping randomized MAC addresses to actual ones.
  • Future Work: The authors suggest further investigation into the behavior of the system during heavily loaded days and exploring solutions for MAC address randomization.

Summary updated

Abstract

Real-world deployments of WiFi-based indoor localization in large public venues are few and far between as most state-of-the-art solutions require either client or infrastructure-side changes. Hence, even though high location accuracy is possible with these solutions, they are not practical due to cost and/or client adoption reasons. Majority of the public venues use commercial controller-managed WLAN solutions, %provided by Aruba, Cisco, etc., that neither allow client changes nor infrastructure changes. In fact, for such venues we have observed highly heterogeneous devices with very low adoption rates for client-side apps. In this paper, we present our experiences in deploying a scalable location system for such venues. We show that server-side localization is not trivial and present two unique challenges associated with this approach, namely Cardinality Mismatch and High Client Scan Latency. The "Mismatch" challenge results in a significant mismatch between the set of access points (APs) reporting a client in the offline and online phases, while the "Latency" challenge results in a low number of APs reporting data for any particular client. We collect three weeks of detailed ground truth data (~200 landmarks), from a WiFi setup that has been deployed for more than four years, to provide evidences for the extent and understanding the impact of these problems. Our analysis of real-world client devices reveal that the current trend for the clients is to reduce scans, thereby adversely impacting their localization accuracy. We analyze how localization is impacted when scans are minimal. We propose heuristics to alleviate reduction in the accuracy despite lesser scans. Besides the number of scans, we summarize the other challenges and pitfalls of real deployments which hamper the localization accuracy.
BibTeX
@inproceedings{jaisinghani2018experiences,
  author = {Dheryta Jaisinghani and Vinayak Naik and Rajesh Balan and Archan Misra and Youngki Lee},
  title = {{Experiences \& Challenges with Server-Side WiFi Indoor Localization Using Existing Infrastructure}},
  booktitle = {MobiQuitous},
  year = {2018},
  url = {https://openreview.net/forum?id=b_58DsVuH_H},
}
Figure