Deep Neural Networks for Human Activity Recognition With Wearable Sensors: Leave-One-Subject-Out Cross-Validation for Model Selection

Human Activity Recognition (HAR) has been attracting significant research attention because of the increasing availability of environmental and wearable sensors for collecting HAR data. In recent years, deep learning approaches have demonstrated a great success due to their ability to model complex systems. However, these models are often evaluated on the same subjects as those used to train the model; thus, the provided accuracy estimates do not pertain to new subjects. Occasionally, one or a few subjects are selected for the evaluation, but such estimates highly depend on the subjects selected for the evaluation. Consequently, this paper examines how well different machine learning architectures make generalizations based on a new subject(s) by using Leave-One-Subject-Out Cross-Validation (LOSOCV). Changing the subject used for the evaluation in each fold of the cross-validation, LOSOCV provides subject-independent estimate of the performance for new subjects. Six feed forward and convolutional neural network (CNN) architectures as well as four pre-processing scenarios have been considered. Results show that CNN architecture with two convolutions and one-dimensional filter accompanied by a sliding window and vector magnitude, generalizes better than other architectures. For the same CNN, the accuracy improves from 85.1% when evaluated with LOSOCV to 99.85% when evaluated with the traditional 10-fold cross-validation, demonstrating the importance of using LOSOCV for the evaluation.

[1]  Daniela Micucci,et al.  On the Personalization of Classification Models for Human Activity Recognition , 2020, IEEE Access.

[2]  Mohammad Mehedi Hassan,et al.  Activity Recognition for Cognitive Assistance Using Body Sensors Data and Deep Convolutional Neural Network , 2019, IEEE Sensors Journal.

[3]  Seungjin Choi,et al.  Convolutional neural networks for human activity recognition using multiple accelerometer and gyroscope sensors , 2016, 2016 International Joint Conference on Neural Networks (IJCNN).

[4]  Rabea Kurdi,et al.  IoT based mobile healthcare system for human activity recognition , 2018, 2018 15th Learning and Technology Conference (L&T).

[5]  Thomas Phan,et al.  Improving activity recognition via automatic decision tree pruning , 2014, UbiComp Adjunct.

[6]  Seungjin Choi,et al.  Multi-modal Convolutional Neural Networks for Activity Recognition , 2015, 2015 IEEE International Conference on Systems, Man, and Cybernetics.

[7]  Teddy Mantoro,et al.  A Comparison Study of Classifier Algorithms for Mobile-phone's Accelerometer Based Activity Recognition , 2012 .

[8]  Héctor Pomares,et al.  mHealthDroid: A Novel Framework for Agile Development of Mobile Health Applications , 2014, IWAAL.

[9]  Rossitza Goleva,et al.  Improving Activity Recognition Accuracy in Ambient-Assisted Living Systems by Automated Feature Engineering , 2017, IEEE Access.

[10]  William Robson Schwartz,et al.  Human Activity Recognition Based on Wearable Sensor Data: A Standardization of the State-of-the-Art , 2018, ArXiv.

[11]  Ignacio Rojas,et al.  Design, implementation and validation of a novel open framework for agile development of mobile health applications , 2015, BioMedical Engineering OnLine.

[12]  Jozsef Suto,et al.  Comparison of wrapper and filter feature selection algorithms on human activity recognition , 2016, 2016 6th International Conference on Computers Communications and Control (ICCCC).

[13]  Katarina Grolinger,et al.  Deep Learning for Load Forecasting: Sequence to Sequence Recurrent Neural Networks With Attention , 2020, IEEE Access.

[14]  Hong Qu,et al.  Deep Dilation on Multimodality Time Series for Human Activity Recognition , 2018, IEEE Access.

[15]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[16]  Munoz-Organero Mario,et al.  Human Activity Recognition Based on Single Sensor Square HV Acceleration Images and Convolutional Neural Networks , 2019, IEEE Sensors Journal.

[17]  Keun Ho Ryu,et al.  Semantic-Emotion Neural Network for Emotion Recognition From Text , 2019, IEEE Access.

[18]  Ig-Jae Kim,et al.  Mobile health monitoring system based on activity recognition using accelerometer , 2010, Simul. Model. Pract. Theory.

[19]  Yu-Liang Hsu,et al.  Human Daily and Sport Activity Recognition Using a Wearable Inertial Sensor Network , 2018, IEEE Access.

[20]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[21]  Yves Chauvin,et al.  Backpropagation: theory, architectures, and applications , 1995 .

[22]  Ricardo Chavarriaga,et al.  The Opportunity challenge: A benchmark database for on-body sensor-based activity recognition , 2013, Pattern Recognit. Lett..

[23]  Bernt Schiele,et al.  A tutorial on human activity recognition using body-worn inertial sensors , 2014, CSUR.

[24]  Frank Bomarius,et al.  An Event-Driven Approach to Activity Recognition in Ambient Assisted Living , 2009, AmI.

[25]  Jonathan Rodriguez,et al.  SmartWall: Novel RFID-Enabled Ambient Human Activity Recognition Using Machine Learning for Unobtrusive Health Monitoring , 2019, IEEE Access.

[26]  James Begole,et al.  Activity-Based Advertising , 2011, Pervasive Advertising.

[27]  Alfonso J. García-Cerezo,et al.  CNN-Based Methods for Object Recognition With High-Resolution Tactile Sensors , 2019, IEEE Sensors Journal.

[28]  Thomas Plötz,et al.  Deep, Convolutional, and Recurrent Models for Human Activity Recognition Using Wearables , 2016, IJCAI.

[29]  Jin Woo Kim,et al.  A Hand Gesture Recognition Sensor Using Reflected Impulses , 2017, IEEE Sensors Journal.

[30]  Yufei Chen,et al.  Performance Analysis of Smartphone-Sensor Behavior for Human Activity Recognition , 2017, IEEE Access.

[31]  Vinod Chandran,et al.  Physical Activity Recognition Using Posterior-Adapted Class-Based Fusion of Multiaccelerometer Data , 2017, IEEE Journal of Biomedical and Health Informatics.

[32]  Hossam Faris,et al.  Automatic selection of hidden neurons and weights in neural networks using grey wolf optimizer based on a hybrid encoding scheme , 2019, International Journal of Machine Learning and Cybernetics.

[33]  Akhter Raza,et al.  Study of Multi-Classification of Advanced Daily Life Activities on SHIMMER Sensor Dataset , 2016, Int. J. Commun. Networks Inf. Secur..

[34]  Sung-Bae Cho,et al.  Activity Recognition Using Hierarchical Hidden Markov Models on a Smartphone with 3D Accelerometer , 2011, HAIS.

[35]  Khaled A. Harras,et al.  Deep learning and low rank dictionary model for mHealth data classification , 2018, 2018 14th International Wireless Communications & Mobile Computing Conference (IWCMC).

[36]  Davide Anguita,et al.  Human Activity Recognition on Smartphones Using a Multiclass Hardware-Friendly Support Vector Machine , 2012, IWAAL.

[37]  Yoshua Bengio,et al.  Convolutional networks for images, speech, and time series , 1998 .

[38]  Ming Zeng,et al.  Recognizing new activities with limited training data , 2015, SEMWEB.

[39]  Xiaoli Li,et al.  Deep Convolutional Neural Networks on Multichannel Time Series for Human Activity Recognition , 2015, IJCAI.

[40]  Frank C. Walsh,et al.  Review—The Development of Wearable Polymer-Based Sensors: Perspectives , 2020, Journal of The Electrochemical Society.