Abstract
This work proposes a new hybrid model for joint indoor localization and activity recognition by combining a Convolutional Neural Network-Gated Recurrent Unit (CNN-GRU) model with a Markov Random Field (MRF) for better classification. The CNN-GRU successfully captures spatial and temporal dependencies, while the MRF models the mutual relations of activities and locations by estimating their joint probability distribution. The new system was tested on a public smart home dataset with four activities (sitting, lying, walking, and standing) and four indoor locations (kitchen, bedroom, living room, and stairs). The hybrid framework obtained an accuracy of 95% for activity recognition and 93% for indoor localization with a combined activity-location classification accuracy of 81%. Such results confirm the ability of the system to provide robust predictions in real-world smart environments, make it highly suitable for healthcare and intelligent living applications, and is efficient and deployable in real-world scenarios, addressing the critical challenges of noisy and dynamic indoor environments.
| Original language | English |
|---|---|
| Article number | e0328181 |
| Pages (from-to) | 1-18 |
| Number of pages | 18 |
| Journal | PLoS ONE |
| Volume | 20 |
| Issue number | 8 |
| Early online date | 7 Aug 2025 |
| DOIs | |
| Publication status | Published online - 7 Aug 2025 |
Bibliographical note
Publisher Copyright:© 2025 Sohaib et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability Statement
The dataset that has been utilized is available at the following link with repository name, “a-dataset-for-indoor-localization-using-a-smart-home-in-a-box”: https://github.com/rymc/a-dataset-for-indoor-localization-using-a-smart-home-in-a-box. The source code is publicly available under the repository name “Joint-Indoor-Localization-and-Activity-Recognition” at the following link: https://github.com/Mohsin783/Joint-Indoor-Localization-and-Activity-Recognition. All the results and findings generated in this research are present in the paper.Funding
This work was funded by the University of Jeddah, Jeddah, Saudi Arabia, under grant No. UJ-20-018-DR. The authors, therefore, acknowledge with thanks the University of Jeddah for technical and financial support.
| Funders | Funder number |
|---|---|
| University of Jeddah | UJ-20-018-DR |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 9 Industry, Innovation, and Infrastructure
-
SDG 11 Sustainable Cities and Communities
Keywords
- Humans
- Neural Networks, Computer
- Markov Chains
- Algorithms
- Walking
Fingerprint
Dive into the research topics of 'A novel approach for joint indoor localization and activity recognition using a hybrid CNN-GRU and MRF framework'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver