Paperdoi:10.1371/journal.pone.0359774
UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition
PLoS One 21(10): e0359774, 2026-10-30
TL;DR
Supervised lightweight transformer for IMU activity recognition with four parts: universal channel harmonization (so different sensor layouts share one input), adaptive multi-scale patch embedding, scale-adaptive Fourier cross-attention, and factorized temporal-channel attention.
- Form factor: multi-site
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.
Verbatim from the publisher's DOI record (opens in a new tab) · Publisher licence: http://creativecommons.org/licenses/by/4.0/
Results on ChatPPG leaderboards
All leaderboardsNo results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.
Tasks & signals
Tasks
Signals
Keywords
Datasets used
How it works
Cite this paper
UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition. (2026). PLoS One, 21(10), e0359774. https://doi.org/10.1371/journal.pone.0359774
@article{memoonauniharhie2026unihar,
title = {{UniHAR: A unified hierarchical transformer with multi-scale temporal modeling for wearable human activity recognition}},
year = {2026},
journal = {PLoS One},
volume = {21},
number = {10},
pages = {e0359774},
doi = {10.1371/journal.pone.0359774}
}Added to the ChatPPG research hub