Learning the Localization Function: Machine Learning Approach to Fingerprinting Localization

Linchen Xiao, Arash Behboodi, Rudolf MathararXiv 2018

Abstract

Considered as a data-driven approach, Fingerprinting Localization Solutions (FPSs) enjoy huge popularity due to their good performance and minimal environment information requirement. This paper addresses applications of artificial intelligence to solve two problems in Received Signal Strength Indicator (RSSI) based FPS: the cumbersome training database construction and the extrapolation of fingerprinting algorithms for similar buildings with slight environmental changes. We train a multi-layer neural network that learns the mapping from observations to locations. A data augmentation method is proposed to increase the training database size based on the structure of RSSI measurements, effectively reducing the amount of training data. Furthermore, we demonstrate how a model trained for a particular building can be transferred to a similar one by fine-tuning with significantly smaller training numbers.

Introduction: The Challenge of Indoor Localization

Indoor localization is notoriously difficult because radio frequency (RF) signals do not travel in straight lines; they bounce off walls, fade, and are absorbed by furniture. Traditional "model-based" approaches struggle with this complexity.

"Fingerprinting" solves this by creating a map of Received Signal Strength Indicators (RSSI) at known locations. However, it has two major "maintenance nightmares":

  1. Data Scarcity: Collecting enough fingerprints to train a model is incredibly time-consuming.
  2. Environment Sensitivity: If you move a wall or try to deploy the system on a different floor of the same building, the old data becomes useless, forcing you to start from scratch.
The standard fingerprinting localization workflow, divided into offline training and online runtime steps.

Methodology: Deep Neural Networks and Data Augmentation

The authors propose a multi-layer Deep Neural Network (DNN) architecture to learn the "localization function"—the direct mapping from a vector of RSSI values to $(x, y)$ coordinates.

Architecture and Training

The system uses a regression-based DNN with three fully connected hidden layers (500 neurons each), employing ReLU activations and Dropout (50%) to prevent overfitting. To handle the fact that different locations might see a different number of Access Points (APs), they use a resampling method to ensure a fixed-size input vector for the neural network.

Data Augmentation (Permutation)

Since multiple RSSI measurements at one spot are independent over time, the authors "augment" the dataset by permuting the order of measurements. This creates new training samples without requiring new physical measurements. This "free" data allows the network to learn the underlying spatial features more robustly without extra field work.

Transfer Learning

They pre-train a model on one environment (e.g., Floor 0) and then "fine-tune" it using a very small amount of data from a similar environment (e.g., Floor 1). The paper proves that a neural network implicitly learns the "structural DNA" of a building, allowing it to adapt to a new floor with 70% less data than a fresh model would need.

Key Results and Comparative Analysis

The study evaluates its approach across three distinct data sources: simulation data, real-world TKN office measurements, and the massive UJIIndoorLoc dataset.

Comparison between linear (top) and non-linear (bottom) classification boundaries, illustrating the complexity that traditional SVMs face in localization tasks compared to DNNs.
  • Accuracy & Stability: In the UJIIndoorLoc dataset, the DNN consistently outperformed Euclidean Distance and Support Vector Machine (SVM) methods. For example, on Floor 2, the DNN achieved a mean error of 7.42m compared to 9.50m for Euclidean Distance, while also showing much lower error variance (28.43 vs 180.24).
  • Augmentation Gains: Applying 5-fold permutation-based data augmentation reduced localization error by approximately 10% in simulations.
  • Transfer Learning Success: When moving from Floor 0 to Floor 1 with limited data, the "naive" error was 16.76m. By using transfer learning and fine-tuning, they slashed this error to 8.70m.

Conclusion

This paper moves indoor localization beyond traditional k-Nearest Neighbors by using DNNs to map raw signal strengths directly to coordinates. While data augmentation helps, the performance gains eventually saturate. Future work could explore more complex "imprecise measurements" (crowdsourced data where the exact location isn't known) to further reduce the burden of manual site surveys.

Summary updated

BibTeX
@misc{xiao2018learning,
  author = {Linchen Xiao and Arash Behboodi and Rudolf Mathar},
  title = {{Learning the Localization Function: Machine Learning Approach to Fingerprinting Localization}},
  year = {2018},
  eprint = {1803.08153},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.08153},
}
Figure