TY - GEN
T1 - A Comparative Study of Validation Methods for Sensor-Based Human Activity Recognition Using Deep Learning Models
AU - Mekruksavanich, Sakorn
AU - Hnoohom, Narit
AU - Phaphan, Wikanda
AU - Jitpattanakul, Anuchit
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - With the rise of wearable sensors and smart devices, human activity recognition (HAR) has become a vital research area in ubiquitous computing. Although many studies report high accuracy using k-fold cross-validation, these results often do not reflect actual generalization interpretation due to subject-dependent data leakage, where models test on activities from the subjects they were trained. This study compares traditional k-fold cross-validation with leave-one-subject-out (LOSO) validation using the WISDM dataset, highlighting the importance of proper validation techniques in HAR systems. We implemented and evaluated five advanced deep learning models - convolutional neural network (CNN), long short-term memory (LSTM), bidirectional LSTM (BiLSTM), gated recurrent unit (GRU), and bidirectional GRU (BiGRU) - on windowed raw sensor data. Our experiments showed significant differences between validation methods. The BiGRU model achieved 97.91% accuracy with k-fold cross-validation and 98.02% with LOSO validation, while the CNN model achieved only 92.55% and 93.44%, respectively. These results underscore the impact of both model architecture and validation approach on performance. Our findings stress the need for subject-independent validation strategies like LOSO to develop truly generalizable HAR systems.
AB - With the rise of wearable sensors and smart devices, human activity recognition (HAR) has become a vital research area in ubiquitous computing. Although many studies report high accuracy using k-fold cross-validation, these results often do not reflect actual generalization interpretation due to subject-dependent data leakage, where models test on activities from the subjects they were trained. This study compares traditional k-fold cross-validation with leave-one-subject-out (LOSO) validation using the WISDM dataset, highlighting the importance of proper validation techniques in HAR systems. We implemented and evaluated five advanced deep learning models - convolutional neural network (CNN), long short-term memory (LSTM), bidirectional LSTM (BiLSTM), gated recurrent unit (GRU), and bidirectional GRU (BiGRU) - on windowed raw sensor data. Our experiments showed significant differences between validation methods. The BiGRU model achieved 97.91% accuracy with k-fold cross-validation and 98.02% with LOSO validation, while the CNN model achieved only 92.55% and 93.44%, respectively. These results underscore the impact of both model architecture and validation approach on performance. Our findings stress the need for subject-independent validation strategies like LOSO to develop truly generalizable HAR systems.
KW - deep learning
KW - human activity recognition
KW - k-fold cross validation
KW - leave-one-subject-out cross validation
KW - validation method
UR - https://www.scopus.com/pages/publications/105004547294
U2 - 10.1109/ECTIDAMTNCON64748.2025.10962074
DO - 10.1109/ECTIDAMTNCON64748.2025.10962074
M3 - Conference contribution
AN - SCOPUS:105004547294
T3 - 10th International Conference on Digital Arts, Media and Technology, DAMT 2025 and 8th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering, NCON 2025
SP - 686
EP - 691
BT - 10th International Conference on Digital Arts, Media and Technology, DAMT 2025 and 8th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering, NCON 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 10th International Conference on Digital Arts, Media and Technology and 8th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering, ECTI DAMT and NCON 2025
Y2 - 29 January 2025 through 1 February 2025
ER -