IJCNIS Vol. 18, No. 6, 8 Dec. 2026
Cover page and Table of Contents: PDF (size: 1321KB)
PDF (1321KB), PP.251-271
Views: 0 Downloads: 0
Hierarchical Dual Attention Recurrent Neural Network, Fully Convolutional Autoencoder-based Denoising, Rolling Window-Based Normalization, Optimized Isometric, Driving Training-based Optimization.
Human Activity Recognition (HAR) employs sensors and AI to identify actions such as walking or running. Initially, techniques like Hidden Markov Models (HMMs) and Hidden Conditional Random Fields (HCRFs) were used to analyze sensor data. HAR finds applications in healthcare, sports, and surveillance for monitoring activities and enhancing safety. The introduction of machine learning techniques, including deep learning, automates pattern recognition and improves predictions. However, these methods encounter challenges such as overfitting and the requirement for extensive datasets. To overcome these drawbacks, this research newly introduced deep learning based Hierarchical Dual Attention Recurrent Neural Network (HDARNN) to detect human activities using wearable sensors. Initially, in a smart home environment, wearable sensors like accelerometers, gyroscopes, and heart rate monitors are used to collect time series data. The data is pre-processed using a Fully Convolutional Autoencoder-based Denoising (FCAED) technique to remove noise and enhance data quality. Rolling Window-Based Normalization (RWN) is then applied to preserve temporal patterns while normalizing local variations. Feature extraction techniques include Constant-Q Cepstral Coefficients, Weighted-Permutation Entropy, Local Neighbour Descriptive Pattern, and Shifted Delta Cepstrum. These features are dimensionally reduced using Optimized Isometric Mapping (OIM), with parameters fine-tuned through Driving Training-based Optimization (DTO). A Hierarchical Dual Attention Recurrent Neural Network (HDARNN) leverages these features to accurately recognize human activities in the smart home environment. Consequently, the accuracy, precision, and specificity of the suggested model are 97%, 91.3%, and 98.2%, respectively. As a result, dual attention mechanisms enhance accuracy by effectively capturing relevant features and also improve data interpretation while reducing noise and redundancy.
B. Anupama, Enagandula Prasad, Rahul S. Pol, Vijaya N. Aher, Aman Sachdeva, "Hierarchical Dual Attention Recurrent Neural Network for Sensor-Based Human Activity Recognition in Smart Homes", International Journal of Computer Network and Information Security(IJCNIS), Vol.18, No.6, pp. 251-271, 2026. DOI:10.5815/ijcnis.2026.06.12
[1]L. Y. Rock, F. P. Tajudeen, and Y. W. Chung, “Usage and impact of the internet-of-things-based smart home technology: A quality-of-life perspective,” Universal Access in the Information Society, vol. 23, no. 1, pp. 345–364, 2024.
[2]M. Vellei, S. Martinez, and J. Le Dréau, “Agent-based stochastic model of thermostat adjustments: A demand response application,” Energy and Buildings, vol. 238, Art. no. 110846, 2021.
[3]N. Pacheco Rocha, A. Dias, G. Santinha, M. Rodrigues, C. Rodrigues, A. Queirós, et al., “Systematic literature review of context-awareness applications supported by smart cities’ infrastructures,” SN Applied Sciences, vol. 4, no. 4, Art. no. 90, 2022.
[4]S. Shen, T. Zhu, D. Wu, W. Wang, and W. Zhou, “From distributed machine learning to federated learning: In the view of data privacy and security,” Concurrency and Computation: Practice and Experience, vol. 34, no. 16, Art. no. e6002, 2022.
[5]S. Karthick, and N. Muthukumaran, “Deep RegNet-150 architecture for single image super resolution of real-time unpaired image data”, Applied Soft Computing, vol. 162, p.111837, 2024. DOI: 10.1016/j.asoc.2024.111837.
[6]B. Ali, M. A. Gregory, and S. Li, “Multi-access edge computing architecture, data security and privacy: A review,” IEEE Access, vol. 9, pp. 18706–18721, 2021.
[7]P. V. Dantas, W. Sabino da Silva Jr., L. C. Cordeiro, and C. B. Carvalho, “A comprehensive review of model compression techniques in machine learning,” Applied Intelligence, vol. 54, no. 22, pp. 11804–11844, 2024.
[8]S. K. Challa, A. Kumar, and V. B. Semwal, “A multibranch CNN-BiLSTM model for human activity recognition using wearable sensor data,” The Visual Computer, vol. 38, no. 12, pp. 4095–4109, 2022.
[9]D. Liciotti, M. Bernardini, L. Romeo, and E. Frontoni, “A sequential deep learning application for recognising human activities in smart homes,” Neurocomputing, vol. 396, pp. 501–513, 2020.
[10]H. Wang, J. Zhao, J. Li, L. Tian, P. Tu, T. Cao, et al., “Wearable sensor-based human activity recognition using hybrid deep learning techniques,” Security and Communication Networks, vol. 2020, Art. no. 2132138, 2020.
[11]K. Gadzicki, R. Khamsehashari, and C. Zetzsche, “Early vs late fusion in multimodal convolutional neural networks,” in Proc. IEEE 23rd Int. Conf. Information Fusion (FUSION), 2020, pp. 1–6.
[12]K. Xia, J. Huang, and H. Wang, “LSTM-CNN architecture for human activity recognition,” IEEE Access, vol. 8, pp. 56855–56866, 2020.
[13]S. Raziani and M. Azimbagirad, “Deep CNN hyperparameter optimization algorithms for sensor-based human activity recognition,” Neuroscience Informatics, vol. 2, no. 3, Art. no. 100078, 2022.
[14]N. C. Sri Harsha, Y. G. V. S. Anudeep, K. Vikash, and D. V. Ratnam, “Performance analysis of machine learning algorithms for smartphone-based human activity recognition,” Wireless Personal Communications, vol. 121, pp. 381–398, 2021.
[15]H. T. Chiang, Y. Y. Hsieh, S. W. Fu, K. H. Hung, Y. Tsao, and S. Y. Chien, “Noise reduction in ECG signals using fully convolutional denoising autoencoders,” IEEE Access, vol. 7, pp. 60806–60813, 2019.
[16]M. H. M. Noor, A. Nazir, M. N. Ab Wahab, and J. O. Y. Ling, “Detection of freezing of gait using unsupervised convolutional denoising autoencoder,” IEEE Access, vol. 9, pp. 115700–115709, 2021.
[17]J. Shen, Y. Ren, J. Wan, and Y. Lan, “Hard disk drive failure prediction for mobile edge computing based on an LSTM recurrent neural network,” Mobile Information Systems, vol. 2021, Art. no. 8878364, 2021.
[18]K. Phapatanaburi, P. Buayai, M. Kupimai, and T. Yodrot, “Linear prediction residual-based constant-Q cepstral coefficients for replay attack detection,” in Proc. 8th Int. Electrical Engineering Congress (iEECON), 2020, pp. 1–4.
[19]Z. Wang, L. Yao, G. Chen, and J. Ding, “Modified multiscale weighted permutation entropy and optimized support vector machine method for rolling bearing fault diagnosis with complex signals,” ISA Transactions, vol. 114, pp. 470–484, 2021.
[20]H. Zan and A. Yildiz, “Local pattern transformation-based convolutional neural network for sleep stage scoring,” Biomedical Signal Processing and Control, vol. 80, Art. no. 104275, 2023.
[21]J. Basu, S. Khan, R. Roy, T. K. Basu, and S. Majumder, “Multilingual speech corpus in low-resource eastern and northeastern Indian languages for speaker and language identification,” Circuits, Systems, and Signal Processing, vol. 40, no. 10, pp. 4986–5013, 2021.
[22]D. C. Feng, Y. P. Liang, X. Ren, and J. Li, “Random fields representation over manifolds via isometric feature mapping-based dimension reduction,” Computer-Aided Civil and Infrastructure Engineering, vol. 37, no. 5, pp. 593–611, 2022.
[23]A. M. Alhassan, “Driving training-based optimization-multitask fuzzy C-means (DTBO-MFCM) image segmentation and robust deep learning algorithm for multicenter breast histopathological images,” IEEE Access, vol. 11, pp. 136350–136360, 2023.
[24]S. M. Kasongo, “A deep learning technique for intrusion detection system using a recurrent neural networks based framework,” Computer Communications, vol. 199, pp. 113–125, 2023.
[25]M. S. Islam, K. F. Hasan, S. Sultana, S. Uddin, J. M. Quinn, and M. A. Moni, “HARDC: A novel ECG-based heartbeat classification method to detect arrhythmia using hierarchical attention based dual structured RNN with dilated CNN,” Neural Networks, vol. 162, pp. 271–287, 2023.
[26]Kaggle Team, “Human Activity Recognition with Smartphones Dataset,” Kaggle, 2020. [Online]. Available: https://www.kaggle.com/datasets/uciml/human-activity-recognition-with-smartphones/data. Accessed: Feb. 5, 2025.
[27]J. Brownlee, “How to model human activity from smartphone data,” Machine Learning Mastery. [Online]. Available: https://machinelearningmastery.com/how-to-model-human-activity-from-smartphone-data/
[28]Dataset 3, Zenodo Repository. [Online]. Available: https://zenodo.org/records/14543551
[29]M. A. Khan, K. Javed, S. A. Khan, T. Saba, U. Habib, J. A. Khan, and A. A. Abbasi, “Human action recognition using fusion of multiview and deep features: An application to video surveillance,” Multimedia Tools and Applications, vol. 83, no. 5, pp. 14885–14911, 2024.
[30]N. Dua, S. N. Singh, and V. B. Semwal, “Multi-input CNN-GRU based human activity recognition using wearable sensors,” Computing, vol. 103, no. 7, pp. 1461–1478, 2021.
[31]M. A. Khatun, M. A. Yousuf, S. Ahmed, M. Z. Uddin, S. A. Alyami, S. Al-Ashhab, et al., “Deep CNN-LSTM with self-attention model for human activity recognition using wearable sensor,” IEEE Journal of Translational Engineering in Health and Medicine, vol. 10, pp. 1–16, 2022.
[32]Y. Shavit and I. Klein, “Boosting inertial-based human activity recognition with transformers,” IEEE Access, vol. 9, pp. 53540–53547, 2021.
[33]H. Yu, Z. Chen, X. Zhang, X. Chen, F. Zhuang, H. Xiong, and X. Cheng, “FedHAR: Semi-supervised online learning for personalized federated human activity recognition,” IEEE Transactions on Mobile Computing, vol. 22, no. 6, pp. 3318–3332, 2023.