CapsLoc: a robust indoor localization system with WiFi fingerprinting using capsule networks

Qianwen Ye, Xiaochen Fan, Gengfa Fang, Hongxia Bie, Xudong Song, Rajan Shankaran

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contributionpeer-review

12 Citations (Scopus)


With the unprecedented demand of location-based services in indoor scenarios, wireless indoor localization is emerging as an essential application for mobile users. While the line-of-sight GPS signal is not available at indoor spaces, WiFi fingerprinting using received signal strength (RSS) has become popular with its ubiquitous accessibility. Although the fingerprinting data can be easily collected by portable mobile devices, to achieve robust and efficient indoor localization remains challenging with two constraints. First, the localization accuracy will be degraded by the random fluctuation of signals that caused by multipath effects from RSS signals. Second, indoor localization algorithms are time-consuming due to the handcrafting features and complex filtering on raw dataset. To achieve high localization accuracy with WiFi fingerprinting, in this paper, we propose CapsLoc, a robust indoor localization system by using capsule networks. Specifically, the capsule network model can efficiently extract hierarchical structures from WiFi fingerprint with three main components, including a convolutional layer, a primary capsule layer and a feature capsule layer. We conduct a real-world experimental field test with over 33600 data points. The experimental results show that CapsLoc can achieve accurate indoor localization with an averaged error of 0.68 m, which outperforms conventional machine learning methods (KNN and SVM) and existing deep learning methods (CNN and SAE-CNN).

Original languageEnglish
Title of host publication2020 IEEE International Conference on Communications, ICC 2020 - Proceedings
Place of PublicationPiscataway, NJ
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Number of pages6
ISBN (Electronic)9781728150895
Publication statusPublished - 2020
Event2020 IEEE International Conference on Communications, ICC 2020 - Dublin, Ireland
Duration: 7 Jun 202011 Jun 2020

Publication series

NameIEEE International Conference on Communications
ISSN (Print)1550-3607


Conference2020 IEEE International Conference on Communications, ICC 2020


  • Capsule Network
  • Deep Learning
  • Indoor Localization
  • RSS Fingerprinting


Dive into the research topics of 'CapsLoc: a robust indoor localization system with WiFi fingerprinting using capsule networks'. Together they form a unique fingerprint.

Cite this