LightHARNet for smartphone sensor-based human activity recognition using lightweight depthwise attention convolution
Yimeng Yin,
Zhaoyang Chen,
Liming Hua,
Ruohan Xue,
Ruijun Weng,
Chenyang Zhang,
Zishu Ding and
Weixiang Li
PLOS ONE, 2026, vol. 21, issue 11, 1-17
Abstract:
Smartphone sensor-based human activity recognition is a practical sensing problem for mobile health, rehabilitation support, and daily behavior analysis. A useful model for this task must recognize temporal motion patterns from inertial sensor streams while remaining small enough for mobile inference. This paper proposes LightHARNet, a lightweight temporal convolutional neural network for classifying human activities from smartphone accelerometer and gyroscope windows. The method separates temporal filtering, channel mixing, and channel attention. Depthwise temporal convolution reduces trainable weights, while squeeze and excitation attention recalibrates accelerometer and gyroscope channels. Complete parameter and bounded modulation propositions are provided to explain why the design reduces model size while preserving stable feature scaling. Experiments are conducted on the public UCI Human Activity Recognition Using Smartphones dataset with the official subject independent test split. LightHARNet gives a stronger accuracy and macro F-score balance than compact neural baselines while keeping a small memory footprint. Paired significance testing indicates that the improvement is not explained by random paired disagreement. The class level analysis shows strong recognition of dynamic activities and laying, while the remaining errors mainly occur between sitting and standing. These results indicate that the proposed depthwise attention design gives a meaningful accuracy and efficiency balance for smartphone inertial sensing applications.
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0358047 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 58047&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0358047
DOI: 10.1371/journal.pone.0358047
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().