A Learning Algorithm for Localizing People Based on Wireless Signal Strength that Uses Labeled and Unlabeled Data

Sebastian Thrun, Geoffrey J. Gordon, Frank Pfenning, Mary Berna, Brennan Sellner, Brad Lisien

Abstract

This paper summarizes a probabilistic approach for localizing people through the signal strengths of a wireless IEEE 802.11b network. Our approach uses data labeled by ground truth position to learn a probabilistic mapping from locations to wireless signals, represented by piecewise linear Gaussians. It then uses sequences of wireless signal data (without position labels) to acquire motion models of individual people, which further improves the localization accuracy. The approach has been implemented and evaluated in an office environment.

Introduction

Indoor localization remains a significant challenge in ubiquitous computing because GPS signals are generally unavailable inside buildings. While Wi-Fi signal strength (IEEE 802.11b) provides a ubiquitous source for "fingerprinting" locations, traditional methods suffer from a major bottleneck: the requirement for massive amounts of labeled data. Typically, a researcher must manually record signal strengths at every coordinate to build an accurate map. This process is labor-intensive and fails to account for individual movement patterns.

This research presents a hybrid approach that combines a small amount of labeled Wi-Fi signal data with a large pool of unlabeled movement data. By leveraging the Expectation-Maximization (EM) algorithm to learn person-specific motion models from unlabeled traces, the system achieves a 20% improvement in localization accuracy while requiring 50 times less labeled training data than previous state-of-the-art methods.

Methodology

The framework consists of three primary components:

  1. Signal Strength Mapping: A baseline map is created using a limited set of labeled data. Signal strengths from access points are represented as piecewise linear Gaussian distributions along the one-dimensional manifold of the building's corridors.
  2. Probabilistic Localization: Real-time tracking is handled by a continuous-state Hidden Markov Model (HMM). The person’s position is the hidden state, and Wi-Fi signals are the observations. Monte Carlo localization (particle filters) is used to estimate the most likely position.
  3. Learning Motion Models via EM: Instead of assuming random Brownian motion, the system uses the EM algorithm to learn a motion model from unlabeled data. This model is a mixture of Gaussians representing common actions: moving forward, turning at intersections, or standing still.
Visualization of the learned motion model across the office environment, showing different movement states like forward, backward, and stop.

The EM algorithm iteratively estimates likely paths (E-step) and updates motion model parameters (M-step) to better fit those paths. This allows the system to learn location-specific predictions, such as the likelihood of turning at a specific T-junction.

Experimental Setup

The study was conducted in a 120m x 22.5m office environment at Carnegie Mellon University, equipped with approximately 50 Wi-Fi access points.

  • Labeled Data: Collected using a laser range finder for ground truth. Each corridor was traversed three times in each direction.
  • Unlabeled Data: Collected by individuals walking characteristic paths (e.g., from an office to a common area) without position labels.
  • Test Set: An independent set of labeled data used exclusively for evaluation.

Results and Discussion

The primary insight of this work is that human movement is highly structured. By capturing this structure (e.g., "people usually walk in straight lines in hallways"), the system can effectively filter out noise in the Wi-Fi signal.

Cumulative error distribution comparing Brownian motion, a uniform motion map, and the learned motion model.

Key results include:

  • Accuracy: The system achieved a localization error of 2.25 meters or less 70% of the time.
  • Performance Boost: Incorporating unlabeled data to train the motion model reduced localization error by 20% compared to using the signal map alone.
  • Data Efficiency: The approach achieved results comparable to benchmarks while requiring 50 times less labeled training data, making it significantly more practical for real-world deployment.

Conclusion

While the current implementation assumes movement along a one-dimensional manifold (corridors), it demonstrates that unlabeled data can act as a force multiplier for indoor localization. Future work may explore SLAM-like approaches to learn both the signal map and motion model simultaneously from scratch, as well as investigating how the system handles environmental dynamics like moving furniture or varying human density.

Summary updated

BibTeX
@inproceedings{thrun2003learning,
  author = {Sebastian Thrun and Geoffrey J. Gordon and Frank Pfenning and Mary Berna and Brennan Sellner and Brad Lisien},
  title = {{A Learning Algorithm for Localizing People Based on Wireless Signal Strength that Uses Labeled and Unlabeled Data}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
}
Figure