A Mathematical Model for Fingerprinting-based Localization Algorithms

Arash Behboodi, Filip Lemic, Adam WoliszarXiv 2016 · OpenReview

Abstract

A general theoretical framework for Fingerprinting Localization Algorithms (FPS), given their popularity, can be utilized for their performance studies. In this work, after setting up an abstract model for FPS, it is shown that fingerprinting-based localization problem can be cast as a hypothesis testing (HT) problem and therefore various results in HT literature can be used to provide insights, guidelines and performance bounds for general FPS. This framework results in characterization of scaling limits of localization reliability in terms of number of measurements and other environmental parameters. It is suggested that Kullback-Leibler (KL) divergence between probability distributions of selected feature for fingerprinting at different locations encapsulates information about both accuracy and latency and can be used as a central performance metric for studying FPS. Although developed for an arbitrary fingerprint, the framework is particularly used for studying simple Received Signal Strength (RSS)- based algorithm. The effect of various parameters on the performance of fingerprinting algorithms is discussed, which includes path loss and fading characteristics, number of measurements at each point, number of anchors and their position, and placement of training points. Representative simulations and experimentation are used to verify validity of the theoretical frameworks in realistic setups.

Introduction

Indoor localization often relies on Radio-Frequency (RF) fingerprinting, such as measuring Wi-Fi Received Signal Strength Indicator (RSSI) values. Instead of calculating complex wave propagation physics, these systems match a user's current RF "fingerprint" against a pre-recorded database of fingerprints tied to specific locations.

However, most theoretical studies on fingerprinting are highly specific to the chosen signal feature (like RSSI) and lack a universal, abstract model. Because of this, engineers lack rigorous, mathematically backed guidelines for system design. Critical questions remain: How many access points (APs) are actually needed? Where should they be placed? What shape should the training grid be? How many measurements are required to guarantee a specific accuracy? This paper addresses these questions by building a feature-agnostic mathematical model.

Mathematical Framework

The authors abstract the localization problem into a statistical hypothesis testing problem. Deciding whether a user is at Location A or Location B based on signal measurements is mathematically equivalent to deciding between two probability distributions.

Table of symbols and descriptions used in the mathematical model.

The core framework involves mapping localization space $\mathcal{R}$ to a signal feature space $\mathcal{S}$. The process is divided into a training phase (building a database) and a runtime phase (pattern matching).

Flowchart of the fingerprinting-based localization process, illustrating the transition from localization space to measurements and pattern matching.

KL Divergence as a Central Metric

The authors use Kullback-Leibler (KL) divergence—a statistical measure of how one probability distribution differs from another—as the central metric to evaluate how easily two locations can be distinguished. KL divergence encapsulates both the accuracy and latency of a system. A higher KL divergence between two locations means fewer measurements (lower latency) are needed to accurately distinguish them. By framing localization this way, the authors prove that the probability of a localization error decays exponentially with the number of measurements taken, a result derived from theorems like Stein's Lemma and Sanov's theorem.

Key Insights and System Design

  • Fading as a Feature: In traditional wireless communications, multi-path fading and shadowing are nuisances. In fingerprinting, they are highly beneficial. The mathematics show that fading creates more spatial variability in the RF environment, making the fingerprint of each location more unique and easier to distinguish.
  • Optimal Grid Geometry: When designing the physical grid for collecting training data, hexagonal grids are mathematically superior to square or random grids. They offer a larger "covering radius" for a fixed number of points, minimizing the worst-case distance a user can be from a training point.
  • Strategic AP Placement: To maximize performance, new Access Points should be placed at the intersections of the Voronoi regions of existing APs—the physical spots furthest away from all current APs. This specifically boosts the KL divergence in the system's weakest coverage areas.

Experimental Results

The theoretical claims were validated through numerical simulations using the COST 231 multi-wall propagation model and real-world experiments in an office building testbed (TWIST).

  • Datasets: Real-world evaluation used data-traces from the TWIST testbed, containing 20 RSS values from 4 APs across 41 training locations. The setup followed the EVARILOS Benchmarking Handbook (EBH) guidelines.
  • Measurement Scaling: Increasing signal observations from 1 to 15 in both training and runtime phases significantly reduced localization errors, matching the predicted exponential decay.
  • Fading Impact: Simulations showed that increasing the path-loss exponent (1.5 to 3.5) and wall attenuation (2 to 7 dBm) reduced localization errors, confirming that harsher propagation environments aid fingerprinting.
  • AP Placement: Deploying APs using the Voronoi vertices method consistently outperformed random placement configurations in reducing both maximum and average geometric errors.

Conclusion

This work introduces a generalized mathematical framework that treats fingerprinting-based localization as a statistical hypothesis testing problem. While the model assumes fingerprint stability over time and non-interfering APs, it provides a robust foundation for optimizing indoor positioning systems. Future work could adapt the model for dynamic, time-varying environments or apply the framework to other signal features like Angle of Arrival (AoA) or Time of Arrival (ToA).

Summary updated

Abstract

A general theoretical framework for Fingerprinting Localization Algorithms (FPS), given their popularity, can be utilized for their performance studies. In this work, after setting up an abstract model for FPS, it is shown that fingerprinting-based localization problem can be cast as a hypothesis testing (HT) problem and therefore various results in HT literature can be used to provide insights, guidelines and performance bounds for general FPS. This framework results in characterization of scaling limits of localization reliability in terms of number of measurements and other environmental parameters. It is suggested that Kullback-Leibler (KL) divergence between probability distributions of selected feature for fingerprinting at different locations encapsulates information about both accuracy and latency and can be used as a central performance metric for studying FPS. Although developed for an arbitrary fingerprint, the framework is particularly used for studying simple Received Signal Strength (RSS)- based algorithm. The effect of various parameters on the performance of fingerprinting algorithms is discussed, which includes path loss and fading characteristics, number of measurements at each point, number of anchors and their position, and placement of training points. Representative simulations and experimentation are used to verify validity of the theoretical frameworks in realistic setups.
BibTeX
@misc{behboodi2016mathematical,
  author = {Arash Behboodi and Filip Lemic and Adam Wolisz},
  title = {{A Mathematical Model for Fingerprinting-based Localization Algorithms}},
  year = {2016},
  eprint = {1610.07636},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.07636},
}
Figure