Human activity recognition using CNN–BiLSTM with attention on hip-mounted wearable sensors
Abstract Human activity recognition (HAR) is the identification of daily human activities using wearable sensor data. In this study, we evaluate a deep learning–based HAR framework utilizing hip-mounted accelerometer and gyroscope signals from the USC-HAD dataset, which contains readings from healthy participants only. The proposed pipeline integrates convolutional feature extraction, bidirectional long short-term memory modeling, and an additive attention mechanism to capture temporal dependencies in the sensor data. The model is evaluated using performance matrices and leave-one-subject-out cross-validation (LOSO-CV) to assess subject-independent generalization. Performance is reported using accuracy, precision, recall, F1-score, and 95% confidence intervals, and statistical significance testing. Our experimental results show that under subject-exclusive splitting, the proposed model achieves 98% accuracy. Under strict LOSO-CV, the model achieves a performance of 78% ± 0.1130, providing a more realistic assessment of subject-independent generalization across unseen individuals. The dataset does not include clinical or patient populations. The findings are limited to non-clinical settings and should be interpreted within this scope. The results primarily contribute methodological insights into wearable-based HAR systems. The potential of this work for healthcare applications is discussed as a direction for future research, subject to validation on clinically representative datasets.
Authors
- Muhammad Farhan Khan (ORCID: https://orcid.org/0000-0002-9045-895X)
- Hamza Khan (ORCID: https://orcid.org/0000-0001-6165-4479)
- Khalid Mehmood Cheema (ORCID: https://orcid.org/0000-0002-1262-5804)
- Syed Sohail Ahmed (ORCID: https://orcid.org/0000-0001-5489-9099)
- Zaki Uddin
- Fajr Naveed
Institutions
- Qassim University (SA)
- National University of Computer and Emerging Sciences (PK)
- Buraydah Colleges (SA)
- Fatima Jinnah Women University (PK)
- Zhejiang University (CN)
- National University of Sciences and Technology (PK)
- University of Oulu (FI)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-07-26
- DOI
- https://doi.org/10.1038/s41598-026-63131-9
- Primary Topic
- Context-Aware Activity Recognition Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Oulun Yliopisto