HARMamba: Efficient Wearable Sensor Human Activity Recognition Based on Bidirectional Selective SSM
Authors:
- Shuangjian LiSLShuangjian Li
- Tao ZhuTao Zhu
- Furong DuanFDFurong Duan
- Liming ChenLCLiming Chen
- Huansheng NingHNHuansheng Ning
- Christopher NugentCNChristopher Nugent
- Yaping WanYWYaping Wan
Preprint
Abstract
Wearable sensor-based human activity recognition (HAR) is a critical research domain in activity perception. However, achieving high efficiency and long sequence recognition remains a challenge. Despite the extensive investigation of temporal deep learning models, such as CNNs, RNNs, and transformers, their extensive parameters often pose significant computational and memory constraints, rendering them less suitable for resource-constrained mobile health applications. This study introduces HARMamba, an innovative light-weight and versatile HAR architecture that combines selective bidirectional SSM and hardware-aware design. To optimize real-time resource consumption in practical scenarios, HARMamba employs linear recursive mechanisms and parameter discretization, allowing it to selectively focus on relevant input sequences while efficiently fusing scan and recompute operations. To address potential issues with invalid sensor data, the system processes the data stream through independent channels, dividing each channel into "patches" and appending classification token to the end of the sequence. Position embeddings are incorporated to represent the sequence order, and the activity categories are output through a classification header. The HARMamba Block serves as the fundamental component of the HARMamba architecture, enabling the effective capture of more discriminative activity sequence features. HARMamba outperforms contemporary state-of-the-art frameworks, delivering comparable or better accuracy with significantly reducing computational and memory demands. It's effectiveness has been extensively validated on public datasets like PAMAP2, WISDM, UNIMIB SHAR and UCI, showcasing impressive results.Keywords
All Related Versions
This publication has 31 references indexed in Scilit:
- Temporal-channel convolution with self-attention network for human activity recognition using wearable sensorsKnowledge-Based Systems, 2023
- Transformers in Time-Series Analysis: A TutorialCircuits, Systems, and Signal Processing, 2023
- GRU-INC: An inception-attention based approach using GRU for human activity recognitionExpert Systems with Applications, 2022
- Dual-Branch Interactive Networks on Multichannel Time Series for Human Activity RecognitionIEEE Journal of Biomedical and Health Informatics, 2022
- Attention induced multi-head convolutional neural network for human activity recognitionApplied Soft Computing, 2021
- A multibranch CNN-BiLSTM model for human activity recognition using wearable sensor dataThe Visual Computer, 2021
- Data Augmentation and Dense-LSTM for Human Activity Recognition Using WiFi SignalIEEE Internet of Things Journal, 2020
- Deep-Learning-Enhanced Human Activity Recognition for Internet of Healthcare ThingsIEEE Internet of Things Journal, 2020
- Human Activity Recognition Based on Motion Sensor Using U-NetIEEE Access, 2019
- Efficient dense labelling of human activity sequences from wearables using fully convolutional networksPattern Recognition, 2018