[Paper Review] Federated Learning for Localization: A Privacy-Preserving Crowdsourcing Method
This paper proposes a federated learning (FL)-based crowdsourcing framework for RSS fingerprint-based indoor localization that preserves user privacy by training models locally on edge devices and sharing only model updates. The method achieves a 1.8-meter improvement in localization accuracy over centralized learning and maintains sub-5-meter mean absolute error (MAE) in real-world settings, demonstrating privacy-preserving performance close to centralized training.
Received Signal Strength (RSS) fingerprint-based localization has attracted a lot of research effort and cultivated many commercial applications of location-based services due to its low cost and ease of implementation. Many studies are exploring the use of deep learning (DL) algorithms for localization. DL's ability to extract features and to classify autonomously makes it an attractive solution for fingerprint-based localization. These solutions require frequent retraining of DL models with vast amounts of measurements. Although crowdsourcing is an excellent way to gather immense amounts of data, it jeopardizes the privacy of participants, as it requires to collect labeled data at a centralized server. Recently, federated learning has emerged as a practical concept in solving the privacy preservation issue of crowdsourcing participants by performing model training at the edge devices in a decentralized manner; the participants do not expose their data anymore to a centralized server. This paper presents a novel method utilizing federated learning to improve the accuracy of RSS fingerprint-based localization while preserving the privacy of the crowdsourcing participants. Employing federated learning allows ensuring \\emph{preserving the privacy of user data} while enabling an adequate localization performance with experimental data captured in real-world settings. The proposed method improved localization accuracy by 1.8 meters when used as a booster for centralized learning and achieved satisfactory localization accuracy when used standalone.
Motivation & Objective
- To address privacy concerns in crowdsourced RSS fingerprint-based indoor localization by eliminating centralized data collection.
- To enable accurate localization using federated learning while keeping user data on local devices.
- To evaluate the impact of data heterogeneity—particularly non-IID spatial distribution and unbalanced sample sizes—on FL performance in localization.
- To demonstrate that federated learning can achieve localization accuracy comparable to centralized training without compromising user privacy.
- To validate the proposed method using real-world experimental data from the UJIndoorLoc dataset across diverse scenarios.
Proposed method
- A multilayer perceptron (MLP) is used as the global model to learn location from RSS fingerprint features.
- Federated averaging (FedAvg) is employed to aggregate local models trained on edge devices without sharing raw data.
- The system uses TensorFlow and Keras to simulate FL training on the UJIndoorLoc dataset, which contains real-world RSS measurements from a 390m × 270m building.
- Three scenarios are designed to evaluate performance under varying degrees of data heterogeneity: uniform distribution, non-IID spatial distribution, and unbalanced sample sizes.
- The training process involves local model updates on user devices, followed by periodic aggregation at a central server to update the global model.
- Performance is evaluated using Mean Absolute Error (MAE) on test data, with comparisons to centralized learning under identical data conditions.
Experimental results
Research questions
- RQ1Can federated learning achieve high localization accuracy in RSS fingerprint-based indoor positioning while preserving user privacy?
- RQ2How does data heterogeneity—specifically non-IID spatial distribution and unbalanced sample sizes—affect the convergence and accuracy of federated learning in localization tasks?
- RQ3To what extent can federated learning improve localization accuracy compared to centralized learning when trained on the same dataset?
- RQ4How does the number of participating users influence the localization MAE in a federated setting?
- RQ5Can federated learning maintain performance close to centralized training despite the absence of raw data sharing?
Key findings
- The proposed federated learning method improved localization accuracy by 1.8 meters when used as a booster for centralized learning, reducing MAE from 4.27m to 2.47m in the best-case scenario.
- In real-world experiments, the method achieved a localization MAE of 4.98 meters in a 390m × 270m indoor environment, demonstrating practical feasibility.
- For Scenario-2 (realistic data sharing), the difference in MAE between federated and centralized learning was consistently below 1 meter, indicating strong performance parity with privacy preservation.
- In Scenario-3 with high data heterogeneity, the federated model achieved an MAE of 5.53 meters, which was reduced to under 4.5 meters after 100 training rounds, showing convergence despite challenges.
- Adding more users improved performance: MAE decreased by 0.65m with a single additional user, and by 1.8m when 15 users participated, indicating strong scalability.
- The federated model showed higher test accuracy than centralized learning in heterogeneous scenarios due to reduced overfitting, despite lower training accuracy, highlighting the robustness of FedAvg to data imbalance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.