Abstract
In this paper, we propose a latent multi-task learning algorithm to solve the multi-device indoor localization problem. Traditional indoor localization systems often assume that the collected signal data distributions are fixed, and thus the localization model learned on one device can be used on other devices without adaptation. However, by empirically studying the signal variation over different devices, we found this assumption to be invalid in practice. To solve this problem, we treat multiple devices as multiple learning tasks, and propose a multi-task learning algorithm. Different from algorithms assuming that the hypotheses learned from the original data space for related tasks can be similar, we only require the hypotheses learned in a latent feature space are similar. To establish our algorithm, we employ an alternating optimization approach to iteratively learn feature mappings and multi-task regression models for the devices. We apply our latent multi-task learning algorithm to real-world indoor localization data and demonstrate its effectiveness.
Introduction
Indoor localization systems frequently leverage Received Signal Strength (RSS) from WiFi access points to estimate a user's position. A common assumption in these systems is that the RSS "fingerprint" for a specific location is universal across all hardware. However, empirical evidence suggests that hardware variations—such as different WiFi adapters and antenna configurations—lead to significantly different signal distributions even at the same physical coordinates.
As shown in the histograms above, Device A and Device B report markedly different RSS values for the same environment. A model trained on one device often performs poorly when deployed on another, with average errors jumping from under 2 meters to over 18 meters. Manually recalibrating every new device is labor-intensive, necessitating a transfer learning approach.
Methodology: Latent Multi-task Learning (LatentMTL)
To address device heterogeneity, we propose LatentMTL. Unlike standard multi-task learning (MTL) which assumes task similarity in the raw feature space, LatentMTL assumes that localization models are similar within a latent feature space.
The framework consists of two primary components:
- Feature Mapping: A linear transformation maps high-dimensional raw RSS vectors into a $k$-dimensional latent space. This mapping acts as a bridge, filtering out hardware-specific noise while preserving the underlying spatial signal patterns.
- Multi-task Regression: Each device is treated as a separate task. The regression model for each task is decomposed into a shared parameter vector and a task-specific deviation.
The optimization problem is solved using an alternating approach. The algorithm iterates between learning the regression function and learning the latent space mapping. This iterative process typically converges within 10 iterations.
Experimental Results
We evaluated LatentMTL using a real-world dataset collected in a 64m x 50m office environment using two different laptops (Device A and Device B). The dataset included 107 distinct locations with 118-dimensional signal vectors.
The results demonstrate that LatentMTL significantly outperforms baseline methods. While a model trained on Device A fails on Device B (18.25m error), LatentMTL achieves an average error of 5.33m using only 30% of the labeled data from the target device. Notably, standard MTL without a latent space (MTLnoLatent) performs worse than no MTL at all in some scenarios, highlighting the importance of the latent mapping in aligning divergent signal distributions.
Conclusion
LatentMTL provides a robust framework for transferring localization models across heterogeneous mobile devices. By mapping disparate signal distributions into a shared latent space, the algorithm reduces the calibration burden for new hardware. Future work will explore non-linear kernel mappings and the integration of unlabeled data to further enhance localization accuracy and efficiency.
Summary updated