Abstract
Human activity recognition (HAR) has recently become a popular research field in the wearable sensor technology scene. By analyzing the human behavior data, some disease risks or potential health issues can be detected, and patients’ rehabilitation progress can be evaluated. With the excellent performance of Transformer in natural language processing and visual tasks, researchers have begun to focus on its application in time series. The Transformer model models long-term dependencies between sequences through self-attention mechanisms, capturing contextual information over extended periods. In this paper, we propose a hybrid model based on the channel attention mechanism and Transformer model to improve the feature representation ability of sensor-based HAR tasks. Extensive experiments were conducted on three public HAR datasets, and the results show that our network achieved accuracies of 98.10%, 97.21%, and 98.82% on the HARTH, PAMAP2, and UCI-HAR datasets, respectively, The overall performance is at the level of the most advanced methods.
Funder
National Natural Science Foundation of China
Subject
Physiology (medical),Physiology
Reference41 articles.
1. DGRU based human activity recognition using channel state information;Bokhari;Measurement,2021
2. Human activity recognition using smartphones;Bulbul,2018
3. Transformer-XL: attentive language models beyond a fixed-length context
DaiZ.
2019
4. BERT: pre-training of deep bidirectional transformers for language understanding
DevlinJ.
ChangM.-W.
LeeK.
ToutanovaK.
2019
5. An image is worth 16x16 words: transformers for image recognition at scale
DosovitskiyA.
2021