Cargando…
Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm
Capturing time and frequency relationships of time series signals offers an inherent barrier for automatic human activity recognition (HAR) from wearable sensor data. Extracting spatiotemporal context from the feature space of the sensor reading sequence is challenging for the current recurrent, con...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer London
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9596348/ https://www.ncbi.nlm.nih.gov/pubmed/36311167 http://dx.doi.org/10.1007/s00521-022-07911-0 |
_version_ | 1784815851129536512 |
---|---|
author | Sarkar, Apu Hossain, S. K. Sabbir Sarkar, Ram |
author_facet | Sarkar, Apu Hossain, S. K. Sabbir Sarkar, Ram |
author_sort | Sarkar, Apu |
collection | PubMed |
description | Capturing time and frequency relationships of time series signals offers an inherent barrier for automatic human activity recognition (HAR) from wearable sensor data. Extracting spatiotemporal context from the feature space of the sensor reading sequence is challenging for the current recurrent, convolutional, or hybrid activity recognition models. The overall classification accuracy also gets affected by large size feature maps that these models generate. To this end, in this work, we have put forth a hybrid architecture for wearable sensor data-based HAR. We initially use Continuous Wavelet Transform to encode the time series of sensor data as multi-channel images. Then, we utilize a Spatial Attention-aided Convolutional Neural Network (CNN) to extract higher-dimensional features. To find the most essential features for recognizing human activities, we develop a novel feature selection (FS) method. In order to identify the fitness of the features for the FS, we first employ three filter-based methods: Mutual Information (MI), Relief-F, and minimum redundancy maximum relevance (mRMR). The best set of features is then chosen by removing the lower-ranked features using a modified version of the Genetic Algorithm (GA). The K-Nearest Neighbors (KNN) classifier is then used to categorize human activities. We conduct comprehensive experiments on five well-known, publicly accessible HAR datasets, namely UCI-HAR, WISDM, MHEALTH, PAMAP2, and HHAR. Our model significantly outperforms the state-of-the-art models in terms of classification performance. We also observe an improvement in overall recognition accuracy with the use of GA-based FS technique with a lower number of features. The source code of the paper is publicly available here https://github.com/apusarkar2195/HAR_WaveletTransform_SpatialAttention_FeatureSelection. |
format | Online Article Text |
id | pubmed-9596348 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer London |
record_format | MEDLINE/PubMed |
spelling | pubmed-95963482022-10-26 Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm Sarkar, Apu Hossain, S. K. Sabbir Sarkar, Ram Neural Comput Appl Original Article Capturing time and frequency relationships of time series signals offers an inherent barrier for automatic human activity recognition (HAR) from wearable sensor data. Extracting spatiotemporal context from the feature space of the sensor reading sequence is challenging for the current recurrent, convolutional, or hybrid activity recognition models. The overall classification accuracy also gets affected by large size feature maps that these models generate. To this end, in this work, we have put forth a hybrid architecture for wearable sensor data-based HAR. We initially use Continuous Wavelet Transform to encode the time series of sensor data as multi-channel images. Then, we utilize a Spatial Attention-aided Convolutional Neural Network (CNN) to extract higher-dimensional features. To find the most essential features for recognizing human activities, we develop a novel feature selection (FS) method. In order to identify the fitness of the features for the FS, we first employ three filter-based methods: Mutual Information (MI), Relief-F, and minimum redundancy maximum relevance (mRMR). The best set of features is then chosen by removing the lower-ranked features using a modified version of the Genetic Algorithm (GA). The K-Nearest Neighbors (KNN) classifier is then used to categorize human activities. We conduct comprehensive experiments on five well-known, publicly accessible HAR datasets, namely UCI-HAR, WISDM, MHEALTH, PAMAP2, and HHAR. Our model significantly outperforms the state-of-the-art models in terms of classification performance. We also observe an improvement in overall recognition accuracy with the use of GA-based FS technique with a lower number of features. The source code of the paper is publicly available here https://github.com/apusarkar2195/HAR_WaveletTransform_SpatialAttention_FeatureSelection. Springer London 2022-10-26 2023 /pmc/articles/PMC9596348/ /pubmed/36311167 http://dx.doi.org/10.1007/s00521-022-07911-0 Text en © The Author(s), under exclusive licence to Springer-Verlag London Ltd., part of Springer Nature 2022, Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Original Article Sarkar, Apu Hossain, S. K. Sabbir Sarkar, Ram Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title | Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title_full | Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title_fullStr | Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title_full_unstemmed | Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title_short | Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm |
title_sort | human activity recognition from sensor data using spatial attention-aided cnn with genetic algorithm |
topic | Original Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9596348/ https://www.ncbi.nlm.nih.gov/pubmed/36311167 http://dx.doi.org/10.1007/s00521-022-07911-0 |
work_keys_str_mv | AT sarkarapu humanactivityrecognitionfromsensordatausingspatialattentionaidedcnnwithgeneticalgorithm AT hossainsksabbir humanactivityrecognitionfromsensordatausingspatialattentionaidedcnnwithgeneticalgorithm AT sarkarram humanactivityrecognitionfromsensordatausingspatialattentionaidedcnnwithgeneticalgorithm |