Skip to main navigation Skip to search Skip to main content

A Comparative Study of Validation Methods for Sensor-Based Human Activity Recognition Using Deep Learning Models

  • Sakorn Mekruksavanich
  • , Narit Hnoohom
  • , Wikanda Phaphan
  • , Anuchit Jitpattanakul
  • University of Phayao
  • King Mongkut's University of Technology North Bangkok

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publication10th 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
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages686-691
Number of pages6
ISBN (Electronic)9798331543273
DOIs
Publication statusPublished - 2025
Event10th 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 - Nan Provinces, Thailand
Duration: 29 Jan 20251 Feb 2025

Publication series

Name10th 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

Conference

Conference10th 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
Country/TerritoryThailand
CityNan Provinces
Period29/01/251/02/25

Keywords

  • deep learning
  • human activity recognition
  • k-fold cross validation
  • leave-one-subject-out cross validation
  • validation method

Fingerprint

Dive into the research topics of 'A Comparative Study of Validation Methods for Sensor-Based Human Activity Recognition Using Deep Learning Models'. Together they form a unique fingerprint.

Cite this