UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition
- 1Department of Information and Communication Engineering, Yeungnam University, Gyeongsan, Gyeongbuk, Republic of Korea.
- 2School of Computer Science and Engineering, Yeungnam University, Gyeongsan, Gyeongbuk, Republic of Korea.
Abstract
UniHAR is a lightweight hierarchical multi-scale transformer based on wearable sensor data that has to be able to model time well; be able to recognize human activity across different datasets; and do so in real-time. There are several problems with what currently exists. UniHAR uses four major components: universal channel harmonization; adaptive multi-scale patch embedding; scale-adaptive Fourier cross-attention; factorized temporal-channel attention. The components allow for the ability to use various sensors and enables the low-complexity multi-scale fusion of features. UniHAR achieved an accuracy of 96.35%; 94.45%; 96.44%; and 99.23% on UCI-HAR, Opportunity, Daphnet, and PAMAP2 datasets, while being very lightweight and having high-speed inference capabilities; therefore, UniHAR is suitable for real-time healthcare applications.
Related
- Hierarchical Temporal Transformer for Cancer Grade Prediction and Cross-Cancer Transfer Learning from Pathology Reports
- Hierarchical temporal transformer for cancer grade prediction and cross cancer transfer learning from pathology reports
- A context-aware temporal modeling through unified multi-scale temporal encoding and hierarchical sequence learning for single-channel EEG sleep staging
- Ourotide: decoding the hierarchical peptide recognition for generative design
- Few-shot recognition of lane-changing intention in connected vehicle environment: A meta-transformer approach
BibTeX
@article{memoona2026unihar,
title = {{UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition}},
author = {Memoona and Muhammad Haseeb Hashir and Sung Won Kim},
journal = {PLOS One},
year = {2026},
month = oct,
doi = {10.1371/journal.pone.0359774},
url = {https://doi.org/10.1371/journal.pone.0359774},
note = {CC BY},
}
RIS
TY - JOUR
TI - UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition
AU - Memoona
AU - Muhammad Haseeb Hashir
AU - Sung Won Kim
PY - 2026
DA - 2026/10/30
JO - PLOS One
DO - 10.1371/journal.pone.0359774
UR - https://doi.org/10.1371/journal.pone.0359774
AB - UniHAR is a lightweight hierarchical multi-scale transformer based on wearable sensor data that has to be able to model time well; be able to recognize human activity across different datasets; and do so in real-time. There are several problems with what currently exists. UniHAR uses four major components: universal channel harmonization; adaptive multi-scale patch embedding; scale-adaptive Fourier cross-attention; factorized temporal-channel attention. The components allow for the ability to use various sensors and enables the low-complexity multi-scale fusion of features. UniHAR achieved an accuracy of 96.35%; 94.45%; 96.44%; and 99.23% on UCI-HAR, Opportunity, Daphnet, and PAMAP2 datasets, while being very lightweight and having high-speed inference capabilities; therefore, UniHAR is suitable for real-time healthcare applications.
SN - 1932-6203
ER -