Skip to main content

Advertisement

Log in

Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

A Correction to this article was published on 12 January 2023

This article has been updated

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data Availability Statement

All the datasets analyzed during the current study can be downloaded using the following links UCI-HAR—https://archive.ics.uci.edu/ml/datasets/human+activity+recognition+using+smartphones

WISDM—https://www.cis.fordham.edu/wisdm/dataset.php

MHEALTH—http://archive.ics.uci.edu/ml/datasets/mhealth+dataset

PAMAP2—https://archive.ics.uci.edu/ml/datasets/pamap2+physical+activity+monitoring

HHAR—http://archive.ics.uci.edu/ml/datasets/heterogeneity+activity+recognition.

Change history

References

  1. Mabrouk AB, Zagrouba E (2018) Abnormal behavior recognition for intelligent video surveillance systems: a review. Expert Syst Appl 91:480–491

    Article  Google Scholar 

  2. Ogbuabor G, La R (2018) Human activity recognition for healthcare using smartphones. In: Proceedings of the 2018 10th international conference on machine learning and computing, pp 41–46

  3. Dhiman C, Vishwakarma DK (2019) A review of state-of-the-art techniques for abnormal human activity recognition. Eng Appl Artif Intell 77:21–45

    Article  Google Scholar 

  4. Mosquera JH, Loaiza H, Nope SE, Restrepo AD (2017) Identifying facial gestures to emulate a mouse: navigation application on Facebook. IEEE Latin Am Trans 15(1):121–128

    Article  Google Scholar 

  5. Roudposhti KK, Dias J, Peixoto P, Metsis V, Nunes U (2016) A multilevel body motion-based human activity analysis methodology. IEEE Trans Cognit Develop Syst 9(1):16–29

    Article  Google Scholar 

  6. Banerjee A, Roy S, Kundu R, Singh PK, Bhateja V, Sarkar R (2022) An ensemble approach for still image-based human action recognition. Neural Comput Appl. pp 1–14

  7. Chakraborty S, Mondal R, Singh PK, Sarkar R, Bhattacharjee D (2021) Transfer learning with fine tuning for human action recognition from still images. Multimed Tools Appl 80(13):20547–20578

    Article  Google Scholar 

  8. Reyes-Ortiz JL, Oneto L, Samà A, Parra X, Anguita D (2016) Transition-aware human activity recognition using smartphones. Neurocomputing 171:754–767

    Article  Google Scholar 

  9. Xu H, Huang Z, Wang J, Kang Z (2017) Study on fast human activity recognition based on optimized feature selection. In: 2017 16th international symposium on distributed computing and applications to business, engineering and science (DCABES). IEEE, pp 109–112

  10. Nurhanim K, Elamvazuthi I, Izhar L, Ganesan T (2017) Classification of human activity based on smartphone inertial sensor using support vector machine. In: (2017) IEEE 3rd international symposium in robotics and manufacturing automation (ROMA). IEEE, pp 1–5

  11. Paul P, George T (2015) An effective approach for human activity recognition on smartphone. In: 2015 IEEE international conference on engineering and technology (ICETECH). IEEE, pp 1–3

  12. Sani S, Wiratunga N, Massie S (2017) Learning deep features for kNN-based human activity recognition. In: Proceedings of the ICCBR 2017 Workshops. CEUR Workshop Proceedings

  13. Liu Z, Li S, Hao J, Hu J, Pan M (2021) An efficient and fast model reduced kernel knn for human activity recognition. J Adv Transp. 2021

  14. Fan L, Wang Z, Wang H (2013) Human activity recognition model based on decision tree. In: 2013 international conference on advanced cloud and big data. IEEE, pp 64–68

  15. Brajesh S, Ray I (2020) Ensemble approach for sensor-based human activity recognition. In: Adjunct Proceedings of the 2020 ACM international joint conference on pervasive and ubiquitous computing and proceedings of the 2020 ACM international symposium on wearable computers, pp 296–300

  16. Hnoohom N, Mekruksavanich S, Jitpattanakul A (2017) Human activity recognition using triaxial acceleration data from smartphone and ensemble learning. In: 2017 13th international conference on signal-image technology and internet-based systems (SITIS). IEEE, pp 408–412

  17. Al-Makhadmeh Z, Tolba A (2020) Automatic hate speech detection using killer natural language processing optimizing ensemble deep learning approach. Computing 102(2):501–522

    Article  Google Scholar 

  18. Zhang X, Zhang Y, Hu Q (2019) Deep learning based vein segmentation from susceptibility-weighted images. Computing 101(6):637–652

    Article  Google Scholar 

  19. Semwal VB, Mondal K, Nandi GC (2017) Robust and accurate feature selection for humanoid push recovery and classification: deep learning approach. Neural Comput Appl 28(3):565–574

    Article  Google Scholar 

  20. Simonyan K, Zisserman A (2014) Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556

  21. Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. Adv Neural Inf Process Syst 25, pp 84-90.

  22. Wang Z, Oates T(2015) Imaging time-series to improve classification and imputation. In: 24th international joint conference on artificial intelligence

  23. Silva DF, De Souza VM, Batista GE (2013) Time series classification using compression distance of recurrence plots. In: 2013 IEEE 13th international conference on data mining. IEEE, pp 687–696

  24. Inza I, Larrañaga P, Blanco R, Cerrolaza AJ (2004) Filter versus wrapper gene selection approaches in DNA microarray domains. Artif Intell Med Data Min Genomics Proteomics 31(2):91–103

    Google Scholar 

  25. Holland JH (1992) Genetic algorithms. Sci Am 267(1):66–73

    Article  Google Scholar 

  26. Singh PK, Kundu S, Adhikary T, Sarkar R, Bhattacharjee D (2021) Progress of human action recognition research in the last ten years: a comprehensive survey. Arch Comput Methods Eng. 29(4), pp 1–41

  27. Sarkar A, Banerjee A, Singh PK, Sarkar R (2022) 3D human action recognition: through the eyes of researchers. Expert Syst Appl 193:116424

    Article  Google Scholar 

  28. Nair N, Thomas C, Jayagopi DB (2018) Human activity recognition using temporal convolutional network. In: Proceedings of the 5th international Workshop on Sensor-based activity recognition and interaction, pp 1–8

  29. Münzner S, Schmidt P, Reiss A, Hanselmann M, Stiefelhagen R, Dürichen R (2017) CNN-based sensor fusion techniques for multimodal human activity recognition. In: Proceedings of the 2017 ACM international symposium on wearable computers, pp 158–165

  30. Lee SM, Yoon SM, Cho H (2017) Human activity recognition from accelerometer data using Convolutional Neural Network. In: 2017 IEEE international conference on big data and smart computing (bigcomp). IEEE, pp 131–134

  31. Yang J, Nguyen MN, San PP, Li XL, Krishnaswamy S (2015) Deep convolutional neural networks on multichannel time series for human activity recognition. In: 24th international joint conference on artificial intelligence

  32. Ronao CA, Cho SB (2016) Human activity recognition with smartphone sensors using deep learning neural networks. Expert Syst Appl 59:235–244

    Article  Google Scholar 

  33. Huang J, Lin S, Wang N, Dai G, Xie Y, Zhou J (2019) TSE-CNN: a two-stage end-to-end CNN for human activity recognition. IEEE J Biomed Health Inf 24(1):292–299

    Article  Google Scholar 

  34. Teng Q, Wang K, Zhang L, He J (2020) The layer-wise training convolutional neural networks using local loss for sensor-based human activity recognition. IEEE Sens J 20(13):7265–7274

    Article  Google Scholar 

  35. Zhu R, Xiao Z, Li Y, Yang M, Tan Y, Zhou L et al (2019) Efficient human activity recognition solving the confusing activities via deep ensemble learning. IEEE Access 7:75490–75499

    Article  Google Scholar 

  36. Zehra N, Azeem SH, Farhan M (2021) Human activity recognition through ensemble learning of multiple convolutional neural networks. In: 2021 55th annual conference on information sciences and systems (CISS). IEEE, pp 1–5

  37. Das A, Sil P, Singh PK, Bhateja V, Sarkar R (2020) Mmhar-ensemnet: a multi-modal human activity recognition model. IEEE Sens J 21(10):11569–11576

    Article  Google Scholar 

  38. Agarwal P, Alam M (2020) A lightweight deep learning model for human activity recognition on edge devices. Procedia Comput Sci 167:2364–2373

    Article  Google Scholar 

  39. Zebin T, Sperrin M, Peek N, Casson AJ (2018) Human activity recognition from inertial sensor time-series using batch normalized deep LSTM recurrent networks. In: 2018 40th annual international conference of the IEEE engineering in medicine and biology society (EMBC). IEEE, pp 1–4

  40. Liciotti D, Bernardini M, Romeo L, Frontoni E (2020) A sequential deep learning application for recognising human activities in smart homes. Neurocomputing 396:501–513

    Article  Google Scholar 

  41. Malshika Welhenge A, Taparugssanagorn A (2019) Human activity classification using long short-term memory network. Signal Image Video Process 13(4):651–656

    Article  Google Scholar 

  42. Yu S, Qin L (2018) Human activity recognition with smartphone inertial sensors using bidir-lstm networks. In: 2018 3rd international conference on mechanical, control and computer engineering (ICMCCE). IEEE, pp 219–224

  43. Lv M, Xu W, Chen T (2019) A hybrid deep convolutional and recurrent neural network for complex activity recognition using multimodal sensors. Neurocomputing 362:33–40

    Article  Google Scholar 

  44. Singh SP, Sharma MK, Lay-Ekuakille A, Gangwar D, Gupta S (2020) Deep ConvLSTM with self-attention for human activity decoding using wearable sensors. IEEE Sens J 21(6):8575–8582

    Article  Google Scholar 

  45. Jeyakumar JV, Lee ES, Xia Z, Sandha SS, Tausik N, Srivastava M (2018) Deep convolutional bidirectional LSTM based transportation mode recognition. In: Proceedings of the 2018 ACM international joint conference and 2018 international symposium on pervasive and ubiquitous computing and wearable computers, pp 1606–1615

  46. Perez-Gamboa S, Sun Q, Improved Zhang Y (2021) Recognition sensor based human activity, via hybrid convolutional and recurrent neural networks. In: 2021 IEEE international symposium on inertial sensors and systems (INERTIAL). IEEE, pp 1–4

  47. Mekruksavanich S, Jitpattanakul A (2020) Smartwatch-based human activity recognition using hybrid LSTM network. In: (2020) IEEE SENSORS. IEEE, pp 1–4

  48. Mutegeki R, Han DS (2020) A CNN-LSTM approach to human activity recognition. In: 2020 international conference on artificial intelligence in information and communication (ICAIIC). IEEE, pp 362–366

  49. Xia K, Huang J, Wang H (2020) LSTM-CNN architecture for human activity recognition. IEEE Access 8:56855–56866

    Article  Google Scholar 

  50. Dua N, Singh SN, Semwal VB (2021) Multi-input CNN-GRU based human activity recognition using wearable sensors. Computing 103(7):1461–1478

    Article  Google Scholar 

  51. Souza VM, Silva DF, Batista GE (2014) Extracting texture features for time series classification. In: 2014 22nd international conference on pattern recognition. IEEE, pp 1425–1430

  52. Garcia-Ceja E, Uddin MZ, Torresen J (2018) Classification of recurrence plots’ distance matrices with a convolutional neural network for activity recognition. Procedia Comput sci 130:157–163

    Article  Google Scholar 

  53. Hatami N, Gavet Y, Debayle J (2018) Classification of time-series images using deep convolutional neural networks. In: 10th international conference on machine vision (ICMV 2017). International Society for Optics and Photonics, vol 10696, p 106960Y

  54. Zhang Y, Hou Y, Zhou S, Ouyang K (2020) Encoding time series as multi-scale signed recurrence plots for classification using fully convolutional networks. Sensors 20(14):3818

    Article  Google Scholar 

  55. Hur T, Bang J, Lee J, Kim JI, Lee S et al (2018) Iss2Image: a novel signal-encoding technique for CNN-based human activity recognition. Sensors 18(11):3910

    Article  Google Scholar 

  56. Daniel N, Klein I (2021) INIM: inertial images construction with applications to activity recognition. Sensors 21(14):4787

    Article  Google Scholar 

  57. Russakovsky O, Deng J, Su H, Krause J, Satheesh S, Ma S et al (2015) Imagenet large scale visual recognition challenge. Int J Comput Vis 115(3):211–252

    Article  MathSciNet  Google Scholar 

  58. Qin Z, Zhang Y, Meng S, Qin Z, Choo KKR (2020) Imaging and fusing time series for wearable sensor-based human activity recognition. Inf Fusion 53:80–87

    Article  Google Scholar 

  59. Ahmad Z, Khan N (2021) Inertial sensor data to image encoding for human action recognition. IEEE Sen J 21(9):10978–10988

    Article  Google Scholar 

  60. Ito C, Cao X, Shuzo M, Maeda E (2018) Application of CNN for human activity recognition with FFT spectrogram of acceleration and gyro sensors. In: Proceedings of the 2018 ACM international joint conference and 2018 international symposium on pervasive and ubiquitous computing and wearable computers, pp 1503–1510

  61. Lawal IA, Bano S (2020) Deep human activity recognition with localisation of wearable sensors. IEEE Access 8:155060–155070

    Article  Google Scholar 

  62. Guha R, Khan AH, Singh PK, Sarkar R, Bhattacharjee D (2021) CGA: a new feature selection model for visual human action recognition. Neural Comput Appl 33(10):5267–5286

    Article  Google Scholar 

  63. Basak H, Kundu R, Singh PK, Ijaz MF, Woźniak M, Sarkar R (2022) A union of deep learning and swarm-based optimization for 3D human action recognition. Sci Rep 12(1):1–17

    Article  Google Scholar 

  64. San Buenaventura CV, Tiglao NMC (2017) Basic Human Activity Recognition based on sensor fusion in smartphones. In: 2017 IFIP/IEEE symposium on integrated network and service management (IM), pp 1182–1185

  65. Fan C, Gao F (2021) Enhanced human activity recognition using wearable sensors via a hybrid feature selection method. Sensors (Basel) 21:6434

    Article  Google Scholar 

  66. Dewi C, Chen RC (2019) Human activity recognition based on evolution of features selection and random forest. In: 2019 IEEE international conference on systems, man and cybernetics (SMC), pp 2496–2501

  67. Nguyen ND, Bui DT, Truong PH, Jeong GM (2018) Position-based feature selection for body sensors regarding daily living activity recognition. J Sens, 2018.

  68. Saitoh F (1999) Image contrast enhancement using genetic algorithm. In: IEEE SMC’99 conference proceedings. 1999 ieee international conference on systems, man, and cybernetics (Cat. No.99CH37028). vol. 4, pp 899–904

  69. Surya Prabha D, Satheesh Kumar J (2017) An efficient image contrast enhancement algorithm using genetic algorithm and fuzzy intensification operator. Wirel Pers Commun 93(1):223–244. https://doi.org/10.1007/s11277-016-3536-x

    Article  Google Scholar 

  70. Arun C, Lakshmi C (2021) Genetic algorithm-based oversampling approach to prune the class imbalance issue in software defect prediction. Soft Comput, pp 1433–7479

  71. Ha J, Lee JS (2016) A new under-sampling method using genetic algorithm for imbalanced data classification. In: Proceedings of the 10th international conference on ubiquitous information management and communication. Association for computing machinery. https://doi.org/10.1145/2857546.2857643

  72. Sharma DK, Hota HS, Brown K, Handa R (2021) Integration of genetic algorithm with artificial neural network for stock market forecasting. Int J Syst Assur Eng Manag. 13(2), pp 828-841.

  73. Chen S, Zhou C (2021) Stock prediction based on genetic algorithm feature selection and long short-term memory neural network. IEEE Access 9:9066–9072

    Article  Google Scholar 

  74. Chun DN, Yang HS (1996) Robust image segmentation using genetic algorithm with a fuzzy measure. Pattern Recognit 29(7):1195–1211

    Article  Google Scholar 

  75. Phulpagar BD, Kulkarni SC (2011) Image segmentation using genetic algorithm for four gray classes. In: 2011 International conference on energy, automation and signal, pp 1–4

  76. Amma NGB (2012) Cardiovascular disease prediction system using genetic algorithm and neural network. In: 2012 international conference on computing, communication and applications, pp 1–5

  77. Uyar K, İlhan A (2017) Diagnosis of heart disease using genetic algorithm based trained recurrent fuzzy neural networks. Procedia Comput Sci 120:588–593. 9th international conference on theory and application of soft computing, computing with words and perception, ICSCCW 2017, 22-23, Budapest, Hungary

  78. Hossain S, Mukhopadhyay S, Ray B, Ghosal SK, Sarkar R (2022) A secured image steganography method based on ballot transform and genetic algorithm. Multimed Tools Appl, pp 1–30

  79. Khan AH, Sarkar SS, Mali K, Sarkar R (2022) A genetic algorithm based feature selection approach for microstructural image classification. Exp Tech 46(2):335–347

    Article  Google Scholar 

  80. Ghosh M, Adhikary S, Ghosh KK, Sardar A, Begum S, Sarkar R (2019) Genetic algorithm based cancerous gene identification from microarray data using ensemble of filter methods. Med Biol Eng Comput 57(1):159–176

    Article  Google Scholar 

  81. Ghosh M, Guha R, Mondal R, Singh PK, Sarkar R, Nasipuri M (2018) Feature selection using histogram-based multi-objective GA for handwritten Devanagari numeral recognition. In: Intelligent engineering informatics. Springer, pp 471–479

  82. Malakar S, Ghosh M, Bhowmik S, Sarkar R, Nasipuri M (2020) A GA based hierarchical feature selection approach for handwritten word recognition. Neural Comput Appl 32(7):2533–2552

    Article  Google Scholar 

  83. Guha R, Ghosh M, Singh PK, Sarkar R, Nasipuri M (2020) M-HMOGA: a new multi-objective feature selection algorithm for handwritten numeral classification. J Intell Syst 29(1):1453–1467

    Google Scholar 

  84. Rostami M, Berahmand K, Forouzandeh S (2021) A novel community detection based genetic algorithm for feature selection. J Big Data. 8(1), pp 1-27.

  85. Sharma A, Rani R (2017) An optimized framework for cancer classification using deep learning and genetic algorithm. J Med Imaging Health Inf 12(7):1851–1856

    Article  Google Scholar 

  86. Tian H, Chen SC, Shyu ML (2019) Genetic algorithm based deep learning model selection for visual data classification. In: 2019 IEEE 20th international conference on information reuse and integration for data science (IRI), pp 127–134

  87. Al-Hatab M, Al-Nima R, Marcantoni I, Porcaro C, Burattini L (2020) Classifying various brain activities by exploiting deep learning techniques and genetic algorithm fusion method. Test Eng Manag 11(83):3035–3052

    Google Scholar 

  88. Ghosh M, Guha R, Alam I, Lohariwal P, Jalan D, Sarkar R (2020) Binary genetic swarm optimization: a combination of GA and PSO for feature selection. J Intell Syst 29(1):1598–1610

    Google Scholar 

  89. Guha R, Ghosh M, Kapri S, Shaw S, Mutsuddi S, Bhateja V et al (2021) Deluge based genetic algorithm for feature selection. Evolut Intell 14(2):357–367

    Article  Google Scholar 

  90. Kilicarslan S, Celik M, Şafak SAHIN (2021) Hybrid models based on genetic algorithm and deep learning algorithms for nutritional Anemia disease classification. Biomed Signal Process Control 63:102231

    Article  Google Scholar 

  91. İnce M (2022) Automatic and intelligent content visualization system based on deep learning and genetic algorithm. Neural Comput Appl 34:2473–2493

    Article  Google Scholar 

  92. Steuer R, Kurths J, Daub CO, Weise J, Selbig J (2002) The mutual information: detecting and evaluating dependencies between variables. Bioinformatics 18:S231–S240

    Article  Google Scholar 

  93. Kira K, Rendell LA (1992) A practical approach to feature selection. In: Sleeman D, Edwards P (eds). Machine learning proceedings 1992. Morgan Kaufmann, pp 249–256. Available from: https://www.sciencedirect.com/science/article/pii/B9781558602472500371

  94. Peng H, Long F, Ding C (2005) Feature selection based on mutual information criteria of max-dependency, max-relevance, and min-redundancy. IEEE Trans Pattern Anal Mach Intell 27(8):1226–1238

    Article  Google Scholar 

  95. Lee G, Gommers R, Waselewski F, Wohlfahrt K, O’Leary A (2019) PyWavelets: a Python package for wavelet analysis. J Open Source Softw 4(36):1237

    Article  Google Scholar 

  96. Anguita D, Ghio A, Oneto L, Parra Perez X, Reyes Ortiz JL (2013) A public domain dataset for human activity recognition using smartphones. In: Proceedings of the 21th international European symposium on artificial neural networks, computational intelligence and machine learning, pp 437–442

  97. Kwapisz JR, Weiss GM, Moore SA (2011) Activity recognition using cell phone accelerometers. ACM SigKDD Explor Newsl 12(2):74–82

    Article  Google Scholar 

  98. Banos O, Garcia R, Holgado-Terriza JA, Damas M, Pomares H, Rojas I et al (2014) mHealthDroid: a novel framework for agile development of mobile health applications. In: International workshop on ambient assisted living. Springer, pp 91–98

  99. Banos O, Villalonga C, Garcia R, Saez A, Damas M, Holgado-Terriza JA et al (2015) Design, implementation and validation of a novel open framework for agile development of mobile health applications. Biomed Eng Online 14(2):1–20

    Google Scholar 

  100. Reiss A, Stricker D (2012) Introducing a new benchmarked dataset for activity monitoring. In: 2012 16th international symposium on wearable computers. IEEE, pp 108–109

  101. Stisen A, Blunck H, Bhattacharya S, Prentow TS, Kjærgaard MB, Dey A et al (2015) Smart devices are different: Assessing and mitigatingmobile sensing heterogeneities for activity recognition. In: Proceedings of the 13th ACM conference on embedded networked sensor systems, pp 127–140

  102. Wang L, Liu R (2020) Human activity recognition based on wearable sensor using hierarchical deep LSTM networks. Circuits Syst Signal Process 39(2):837–856

    Article  Google Scholar 

  103. Challa SK, Kumar A, Semwal VB (2021) A multibranch CNN-BiLSTM model for human activity recognition using wearable sensor data. Vis Comput, pp 1–15

  104. Ignatov A (2018) Real-time human activity recognition from accelerometer data using Convolutional Neural Networks. Appl Soft Comput 62:915–922

    Article  Google Scholar 

  105. Sena J, Barreto J, Caetano C, Cramer G, Schwartz WR (2021) Human activity recognition based on smartphone and wearable sensors using multiscale DCNN ensemble. Neurocomputing 444:226–243

    Article  Google Scholar 

  106. Lu W, Fan F, Chu J, Jing P, Yuting S (2018) Wearable computing for Internet of Things: a discriminant approach for human activity recognition. IEEE Internet Things J 6(2):2749–2759

    Article  Google Scholar 

  107. Mukherjee D, Mondal R, Singh PK, Sarkar R, Bhattacharjee D (2020) EnsemConvNet: a deep learning approach for human activity recognition using smartphone sensors for healthcare applications. Multimed Tools Appl 79(41):31663–31690

    Article  Google Scholar 

  108. Chen K, Yao L, Zhang D, Wang X, Chang X, Nie F (2019) A semisupervised recurrent convolutional attention model for human activity recognition. IEEE Trans Neural Netw Learn Syst 31(5):1747–1756

    Article  Google Scholar 

  109. Nguyen H, Tran KP, Zeng X, Koehl L, Tartare G (2019) Wearable sensor data based human activity recognition using machine learning: a new approach. arXiv:1905.03809

  110. Uddin MZ, Hassan MM, Alsanad A, Savaglio C (2020) A body sensor data fusion and deep recurrent neural network-based behavior recognition approach for robust healthcare. Inf Fusion 55:105–115

    Article  Google Scholar 

  111. Abdel-Basset M, Hawash H, Chang V, Chakrabortty RK, Ryan M (2020) Deep learning for heterogeneous human activity recognition in complex iot applications. IEEE Internet Things J

  112. Xu C, Chai D, He J, Zhang X, Duan S (2019) InnoHAR: a deep neural network for complex human activity recognition. IEEE Access 7:9893–9902

    Article  Google Scholar 

  113. Wang D, Candinegara E, Hou J, Tan AH, Miao C (2017) Robust human activity recognition using lesser number of wearable sensors. In: 2017 international conference on security, pattern analysis, and cybernetics (SPAC). IEEE, pp 290–295

  114. Awal MA, Hasan MK, Rahman MA, Alahe MA et al (2019) Optimization of daily physical activity recognition with feature selection. In: 2019 4th international conference on electrical information and communication technology (EICT). IEEE, pp 1–6

  115. Li X, Nie L, Si X, Ding R, Zhan D (2021) Enhancing representation of deep features for sensor-based activity recognition. Mobile Netw Appl 26(1):130–145

    Article  Google Scholar 

  116. Baldominos A, Isasi P, Saez Y (2017) Feature selection for physical activity recognition using genetic algorithms. In: 2017 IEEE congress on evolutionary computation (CEC). IEEE, pp 2185–2192

  117. Yan Y, Liao T, Zhao J, Wang J, Ma L, Lv W et al (2022) Deep transfer learning with graph neural network for sensor-based human activity recognition. arXiv:2203.07910

  118. Lu J, Tong KY (2019) Robust single accelerometer-based activity recognition using modified recurrence plot. IEEE Sens J 19(15):6317–6324

    Article  Google Scholar 

  119. Bai L, Yeung C, Efstratiou C, Chikomo M (2019) Motion2Vector: Unsupervised learning in human activity recognition using wrist-sensing data. In: Adjunct proceedings of the 2019 ACM international joint conference on pervasive and ubiquitous computing and proceedings of the 2019 ACM international symposium on wearable computers, pp 537–542

  120. Ehatisham-Ul-Haq M, Azam MA, Amin Y, Naeem U (2020) C2FHAR: coarse-to-fine human activity recognition with behavioral context modeling using smart inertial sensors. IEEE Access 8:7731–7747

    Article  Google Scholar 

  121. Gudur GK, Sundaramoorthy P, Umaashankar V (2019) Activeharnet: towards on-device deep bayesian active learning for human activity recognition. In: The 3rd international workshop on deep learning for mobile systems and applications, pp 7–12

Download references

Acknowledgements

We are thankful to the Center for Microprocessor Applications for Training Education and Research (CMATER) research laboratory of the Computer Science and Engineering Department, Jadavpur University, Kolkata, India, for providing infrastructural support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ram Sarkar.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sarkar, A., Hossain, S.K.S. & Sarkar, R. Human activity recognition from sensor data using spatial attention-aided CNN with genetic algorithm. Neural Comput & Applic 35, 5165–5191 (2023). https://doi.org/10.1007/s00521-022-07911-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-022-07911-0

Keywords