Abstract
Human Activity Recognition (HAR) is an active research topic as it finds use in many real-world applications such as health monitoring and biometric user identification. Smart wearables which form an integral part of the Internet of Medical Things (IoMT) and Cyber-Physical Systems can provide information about human activities on a daily basis, which may be used as soft biometrics for user identification. Over the last few years, one of the popular problem-solving approaches for HAR has been in the form of artificial intelligence methods. Since security is related to robustness, our primary aim is to solve the problem with better model capabilities. In this study, we consider machine learning algorithms like Random Forest (RF), Decision Trees (DT), K-Nearest Neighbors (k-NN)(and deep learning algorithms such as Convolutional Neural Networks (CNN), Long Short Term Memory (LSTM), and Gated Recurrent Units (GRU)) for the purpose of HAR. In order to improvise the model performance, we introduce optimization techniques along with CNN, LSTM, and GRU. We rely on Stochastic Gradient Descent (SGD), and optimizers Adam and RMSProp, and evaluate the strength of the models using Accuracy and F-1 score. Moreover, the study has been carried out on three datasets that incorporate several human activities. Our study indicates that adding a component of optimization increases the model performance, and the highest accuracy achieved in the study is almost 98%.
Similar content being viewed by others
Data availability
Enquiries about data availability should be directed to the authors.
References
Qureshi, F., Krishnan, S.: Wearable hardware design for the internet of medical things (IoMT). Sensors. 18(11), 3812 (2018)
Radanliev, P., De Roure, D., Nicolescu, R., Huth, M., Santos, O.: Digital twins: artificial intelligence and the IoT cyber-physical systems in Industry 4.0. Int. J. Intell. Rob. Appl. 6(1), 171–185 (2022)
Smetana, S., Aganovic, K., Heinz, V.: Food supply chains as cyber-physical systems: a path for more sustainable personalized nutrition. Food Eng. Rev. 13(1), 92–103 (2021)
Priyadarshini, I., Kumar, R., Tuan, L.M., Son, L.H., Long, H.V., Sharma, R., Rai, S.: A new enhanced cyber security framework for medical cyber physical systems. SICS Software-Intensive Cyber-Physical Systems. 35(3), 159–183 (2021)
Mahmoud, H., Wu, W., Gaber, M.M.: A Time-Series Self-Supervised Learning Approach to Detection of Cyber-physical Attacks in Water Distribution Systems. Energies. 15(3), 914 (2022)
Pundir, A., Singh, S., Kumar, M., Bafila, A., Saxena, G.J.: Cyber-Physical Systems Enabled Transport Networks in Smart Cities: Challenges and Enabling Technologies of the New Mobility Era. IEEE Access. 10, 16350–16364 (2022)
Agostinelli, S., Cumo, F., Guidi, G., Tomazzoli, C.: Cyber-physical systems improving building energy management: Digital twin and artificial intelligence. Energies. 14(8), 2338 (2021)
Nixon, M.S., Correia, P.L., Nasrollahi, K., Moeslund, T.B., Hadid, A., Tistarelli, M.: On soft biometrics. Pattern Recognit. Lett. 68, 218–230 (2015)
Khan, A., Javed, M.Y., Alhaisoni, M., Tariq, U., Kadry, S., Choi, J., Nam, Y.: Human Gait Recognition Using Deep Learning and Improved Ant Colony Optimization. Comput. Mater. Cont. 70, 2113–2130 (2022)
Casale, P., Pujol, O., Radeva, P.: Personalization and user verification in wearable systems using biometric walking patterns. Pers. Ubiquit Comput. 16, 563–580 (2012). https://doi.org/10.1007/s00779-011-0415-z
Zhou, X., Liang, W., Kevin, I., Wang, K., Wang, H., Yang, L.T., Jin, Q.: Deep-learning-enhanced human activity recognition for Internet of healthcare things. IEEE Internet of Things Journal. 7(7), 6429–6438 (2020)
Xia, K., Huang, J., Wang, H.: LSTM-CNN architecture for human activity recognition. IEEE Access. 8, 56855–56866 (2020)
Hussain, Z., Sheng, Q.Z., Zhang, W.E.: A review and categorization of techniques on device-free human activity recognition. J. Netw. Comput. Appl. 167, 102738 (2020)
Fu, R., Tu, L., Zhou, Y., Fan, L., Zhang, F., Wang, Z., Xing, J., Chen, D., Deng, C., Tan, G., Yu, P., Zhou, L., Ning, C.: A tough and self-powered hydrogel for artificial skin. Chem. Mater. 31(23), 9850–9860 (2019). https://doi.org/10.1021/acs.chemmater.9b04041
Hassan, M.M., Ullah, S., Hossain, M.S., Alelaiwi, A.: An end-to-end deep learning model for human activity recognition from highly sparse body sensor data in internet of medical things environment. J. Supercomputing. 77, 2237–2250 (2021)
Guo, Y., Chu, Y., Jiao, B., Cheng, J., Yu, Z., Cui, N., Ma, L.: Evolutionary Dual-Ensemble Class Imbalance Learning for Human Activity Recognition. IEEE Transactions on Emerging Topics in Computational Intelligence (2021)
Mekruksavanich, S., Jitpattanakul, A.: Lstm networks using smartphone data for sensor-based human activity recognition in smart homes. Sensors. 21(5), 1636 (2021)
Liu, W., Fu, S., Zhou, Y., Zha, Z.J., Nie, L.: Human activity recognition by manifold regularization based dynamic graph convolutional networks. Neurocomputing. 444, 217–225 (2021)
Gao, W., Zhang, L., Huang, W., Min, F., He, J., Song, A.: Deep neural networks for sensor-based human activity recognition using selective kernel convolution. IEEE Trans. Instrum. Meas. 70, 1–13 (2021)
Shi, T., Ji, G., Yu, Z., Zhao, B.: Collective periodic pattern discovery for understanding human mobility. Cluster Comput. 24(1), 141–157 (2021)
Ozcan, T., Basturk, A.: Human action recognition with deep learning and structural optimization using a hybrid heuristic algorithm. Cluster Comput. 23(4), 2847–2860 (2020)
Pan, J.S., Shan, J., Zheng, S.G., Chu, S.C., Chang, C.K.: Wind power prediction based on neural network with optimization of adaptive multi-group salp swarm algorithm. Cluster Comput. 24(3), 2083–2098 (2021)
Gharehchopogh, F.S., Abdollahzadeh, B (2021) An efficient harris hawk optimization algorithm for solving the travelling salesman problem. Cluster Computing, 1: 1–25.
Yadav, A., Vishwakarma, D.K.: A comparative study on bio-inspired algorithms for sentiment analysis. Cluster Comput. 23(4), 2969–2989 (2020)
Breiman, L.: Random forests. Mach. Learn. 45(1), 5–32 (2001)
Quinlan, J.R.: Induction of decision trees. Mach. Learn. 1(1), 81–106 (1986)
Zhang, M.L., Zhou, Z.H.: ML-KNN: A lazy learning approach to multi-label learning. Pattern Recogn. 40(7), 2038–2048 (2007)
Albawi, S., Mohammed, T.A., Al-Zawi, S.: Understanding of a convolutional neural network. In 2017 International Conference on Engineering and Technology (ICET) (pp. 1–6). Ieee. (2017)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
Dey, R., Salem, F.M. Gate-variants of gated recurrent unit (GRU) neural networks. In 2017 IEEE 60th international midwest symposium on circuits and systems (MWSCAS) (pp. 1597–1600). IEEE. (2017)
Baldi, P.: Gradient descent learning algorithm overview: A general dynamical systems perspective. IEEE Trans. Neural Networks. 6(1), 182–195 (1995)
Bottou, L.: Stochastic gradient descent tricks. In: Neural networks: Tricks of the trade, pp. 421–436. Springer, Berlin, Heidelberg (2012)
Kingma, D.P., Ba, J. Adam: A method for stochastic optimization. (2014). arXiv preprint arXiv:1412.6980.
Babu, D.V., Karthikeyan, C., Kumar, A.: Performance analysis of cost and accuracy for whale swarm and RMSprop. Optimizer: In IOP conference series materials science and engineering. IOP Publishing 993(1), 012080 (2020)
Dataset 1: : Activity Recognition from Single Chest-Mounted Accelerometer Data Set, retrieved from (https://www.kaggle.com/avk256/activity-recognition)
Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J.: A Public Domain Dataset for Human Activity Recognition Using Smartphones. 21th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, ESANN 2013. Bruges, Belgium 24–26 (2013)
Nahid, Abdullah-Al., Sikder, Niloy, Rafi, Ibrahim: KU-HAR: An open dataset for human activity recognition. Mendeley Data (2021). https://doi.org/10.17632/45f952y38r.5
Oluwalade, B., Neela, S., Wawira, J., Adejumo, T., Purkayastha, S. Human Activity Recognition using Deep Learning Models on Smartphones and Smartwatches Sensor Data. arXiv preprint arXiv:2103.03836. (2021)
Fu, Z., He, X., Wang, E., Huo, J., Huang, J., Wu, D.: Personalized Human Activity Recognition Based on Integrated Wearable Sensor and Transfer Learning. Sensors. 21(3), 885 (2021)
Li, X., He, Y., Fioranelli, F., Jing, X.: Semisupervised Human Activity Recognition With Radar Micro-Doppler Signatures. IEEE Transactions on Geoscience and Remote Sensing (2021)
Muaaz, M., Chelli, A., Gerdes, M.W., Pätzold, M. Wi-Sense: A passive human activity recognition system using Wi-Fi and convolutional neural network and its integration in health information systems.Annals of Telecommunications,1–13. (2021)
Zhou, J., Li, L., Vajdi, A., Zhou, X., Wu, Z.: Temperature-constrained reliability optimization of industrial cyber-physical systems using machine learning and feedback control. IEEE Transactions on Automation Science and Engineering (2021)
AlZubi, A.A., Al-Maitah, M., Alarifi, A.: Cyber-attack detection in healthcare using cyber-physical system and machine learning techniques. Soft. Comput. 25(18), 12319–12332 (2021)
Acknowledgements
Mohammed Al-Numay acknowledges financial support from the Researchers Supporting Project Number (RSP-2021/150), King Saud University, Riyadh, Saudi Arabia.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have not disclosed any competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Priyadarshini, I., Sharma, R., Bhatt, D. et al. Human activity recognition in cyber-physical systems using optimized machine learning techniques. Cluster Comput 26, 2199–2215 (2023). https://doi.org/10.1007/s10586-022-03662-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-022-03662-8