journal article·2021-04-15Open access

Deep ConvLSTM Network with Dataset Resampling for Upper Body Activity Recognition Using Minimal Number of IMU Sensors

Xiang Yang Lim, Kok Beng Gan, Noor Azah Abd Aziz

Applied Sciences· Volume 11· Issue 8

Abstract

Human activity recognition (HAR) is the study of the identification of specific human movement and action based on images, accelerometer data and inertia measurement unit (IMU) sensors. In the sensor based HAR application, most of the researchers used many IMU sensors to get an accurate HAR classification. The use of many IMU sensors not only limits the deployment phase but also increase the difficulty and discomfort for users. As reported in the literature, the original model used 19 sensor data consisting of accelerometers and IMU sensors. The imbalanced class distribution is another challenge to the recognition of human activity in real-life. This is a real-life scenario, and the classifier may predict some of the imbalanced classes with very high accuracy. When a model is trained using an imbalanced dataset, it can degrade model’s performance. In this paper, two approaches, namely resampling and multiclass focal loss, were used to address the imbalanced dataset. The resampling method was used to reconstruct the imbalanced class distribution of the IMU sensor dataset prior to model development and learning using the cross-entropy loss function. A deep ConvLSTM network with a minimal number of IMU sensor data was used to develop the upper-body HAR model. On the other hand, the multiclass focal loss function was used in the HAR model and classified minority classes without the need to resample the imbalanced dataset. Based on the experiments results, the developed HAR model using a cross-entropy loss function and reconstructed dataset achieved a good performance of 0.91 in the model accuracy and F1-score. The HAR model with a multiclass focal loss function and imbalanced dataset has a slightly lower model accuracy and F1-score in both 1% difference from the resampling method. In conclusion, the upper body HAR model using a minimal number of IMU sensors and proper handling of imbalanced class distribution by the resampling method is useful for the assessment of home-based rehabilitation involving activities of daily living.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Context-Aware Activity Recognition Systems · IoT and Edge/Fog Computing · Anomaly Detection Techniques and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electrical, Electronic and Systems Engineering, Faculty of Engineering and Built Environment, Universiti Kebangsaan Malaysia, Bangi 43600, Malaysia

Department of Family Medicine, UKM Medical Centre, Universiti Kebangsaan Malaysia, Jalan Yaacob Latiff, Cheras, Kuala Lumpur 56000, Malaysia

Funding

Universiti Kebangsaan Malaysia · Ministry of Higher Education, Malaysia

References (39)

Show source-provided references
1. Semi-Supervised Machine Learning for Rehabilitation Science Research10.1016/j.apmr.2017.08.452 ↗
2. Wang, X., Rosenblum, D., and Wang, Y. (2012, January 29). Context-aware mobile music recommendation for daily activities. Proceedings of the 20th ACM International Conference on Multimedia—MM, New York, NY, USA.10.1145/2393347.2393368 ↗
3. PD disease state assessment in naturalistic environments using deep learning
4. Factors Affecting Upper Extremity Kinematics in Healthy Adults: A Systematic Review10.1615/CritRevPhysRehabilMed.2019030529 ↗
5. Kinematic analysis on reaching activity for hemiparetic stroke subjects using simplified video processing method10.11113/mjfas.v14n3.1114 ↗
6. Finite element analysis of the wrist in stroke patients: The effects of hand grip10.1007/s11517-017-1762-3 ↗
7. Anguita, D., Ghio, A., Oneto, L., Parra, F.X.L., and Ortiz, J.L.R. (2012). Human Activity Recognition on Smartphones Using a Multiclass Hardware-Friendly Support Vector Machine. International Workshop on Ambient Assisted Living, Springer.10.1007/978-3-642-35395-6_30 ↗
8. A Survey on Human Activity Recognition using Wearable Sensors10.1109/SURV.2012.110112.00192 ↗
9. ImageNet Large Scale Visual Recognition Challenge10.1007/s11263-015-0816-y ↗
10. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2019, January 5–10). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Seattle, DC, USA.
11. Deep learning10.1038/nature14539 ↗
12. A Wearable Activity Recognition Device Using Air-Pressure and IMU Sensors10.1109/ACCESS.2018.2890004 ↗
13. Mehrang, S., Pietilä, J., and Korhonen, I. (2018). An activity recognition framework deploying the random forest classifier and a single optical heart rate monitoring and triaxial accelerometer wrist-band. Sensors, 18.10.3390/s18020613 ↗
14. An algorithm based on logistic regression with data fusion in wireless sensor networks10.1186/s13638-016-0793-z ↗
15. Anguita, D., Ghio, A., Oneto, L., Parra, X., and Reyes-Ortiz, J.L. (2013, January 24–26). A public domain dataset for human activity recognition using smartphones. Proceedings of the ESANN 2013 Proceedings, 21th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, Bruges, Belgium.
16. Zappi, P., Lombriser, C., Stiefmeier, T., Farella, E., Roggen, D., Benini, L., and Tröster, G. (2008). Activity Recognition from On-Body Sensors: Accuracy-Power Trade-Off by Dynamic Sensor Selection. Wireless Sensor Networks, Springer.10.1007/978-3-540-77690-1_2 ↗
17. Wearable Assistant for Parkinson’s Disease Patients with the Freezing of Gait Symptom10.1109/TITB.2009.2036165 ↗
18. Huynh, T., Fritz, M., and Schiele, B. (2008, January 21–24). Discovery of activity patterns using topic models. Proceedings of the 10th International Conference on Ubiquitous Computing—UbiComp, Seoul, Korea.10.1145/1409635.1409638 ↗
19. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
20. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
21. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 23–28). Going deeper with convolutions. Proceedings of the Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2015.7298594 ↗
22. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv, 1–14.
23. He, K., Zhang, X., Ren, S., and Sun, J. (2015). Deep residual learning for image recognition. arXiv.10.1109/CVPR.2016.90 ↗
24. Zeng, M., Nguyen, L.T., Yu, B., Mengshoel, O.J., Zhu, J., Wu, P., and Zhang, J. (2014, January 6–7). Convolutional Neural Networks for Human Activity Recognition using Mobile Sensors. Proceedings of the 6th International Conference on Mobile Computing, Applications and Services, Austin, TX, USA.10.4108/icst.mobicase.2014.257786 ↗
25. Chen, Y., and Xue, Y. (2015, January 9–12). A Deep Learning Approach to Human Activity Recognition Based on Single Accelerometer. Proceedings of the 2015 IEEE International Conference on Systems, Man, and Cybernetics, Hong Kong, China.10.1109/SMC.2015.263 ↗
26. Sleep Quality Prediction from Wearable Data Using Deep Learning10.2196/mhealth.6562 ↗
27. Deep convolutional neural networks on multichannel time series for human activity recognition
28. Morales, F.J.O., and Roggen, D. Deep convolutional feature transfer across mobile activity recognition domains, sensor modalities and locations. Proceedings of the 2016 ACM International Symposium on Wearable Computers—ISWC ’16.10.1145/2971763.2971764 ↗
29. Roggen, D., Calatroni, A., Rossi, M., Holleczek, T., Forster, K., Troster, G., Lukowicz, P., Bannach, D., Pirkl, G., and Ferscha, A. (2010, January 15–18). Collecting complex activity datasets in highly rich networked sensor environments. Proceedings of the 2010 Seventh International Conference on Networked Sensing Systems (INSS), Kassel, Germany.10.1109/INSS.2010.5573462 ↗
30. Sak, H., Senior, A., and Beaufays, F. (2020, November 23). Long Short-Term Memory Based Recurrent Neural Network Architectures for Large Vocabulary Speech Recognition. Available online: http://arxiv.org/abs/1402.1128.
31. Deep recurrent neural network for mobile human activity recognition with high throughput10.1007/s10015-017-0422-x ↗
32. Edel, M., and Koppe, E. (2016, January 4–7). Binarized-BLSTM-RNN based Human Activity Recognition. Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Madrid, Spain.10.1109/IPIN.2016.7743581 ↗
33. Ordóñez, F.J., and Roggen, D. (2016). Deep Convolutional and LSTM Recurrent Neural Networks for Multimodal Wearable Activity Recognition. Sensors, 16.10.3390/s16010115 ↗
34. InnoHAR: A Deep Neural Network for Complex Human Activity Recognition10.1109/ACCESS.2018.2890675 ↗
35. A study of the behavior of several methods for balancing machine learning training data10.1145/1007730.1007735 ↗
36. Inverse random under sampling for class imbalance problem and its application to multi-label classification10.1016/j.patcog.2012.03.014 ↗
37. Lin, T., Goyal, P., Girshick, R.B., He, K., and Dollár, P. (2017). Focal Loss for Dense Object Detection. Proc. IEEE Int. Conf. Comput. Vis., 2999–3007.10.1109/ICCV.2017.324 ↗
38. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019). PyTorch: An Imperative Style, High-Performance Deep Learning Library, NeurIPS.
39. Deep, convolutional, and recurrent models for human activity recognition using wearables