Convolutional Neural Network With Multihead Attention for Human Activity Recognition

被引:3
|
作者
Tan, Tan-Hsu [1 ]
Chang, Yang-Lang [1 ]
Wu, Jun-Rong [1 ]
Chen, Yung-Fu [2 ,3 ]
Alkhaleefah, Mohammad [1 ]
机构
[1] Natl Taipei Univ Technol, Dept Elect Engn, Taipei 10608, Taiwan
[2] Cent Taiwan Univ Sci & Technol, Dept Dent Technol & Mat Sci, Taichung 40601, Taiwan
[3] China Med Univ, Dept Hlth Serv Adm, Taichung 404, Taiwan
来源
IEEE INTERNET OF THINGS JOURNAL | 2024年 / 11卷 / 02期
关键词
Convolutional neural network (CNN); deep learning; human activity recognition (HAR); Internet of Things (IoT); multihead attention (MHA) mechanism;
D O I
10.1109/JIOT.2023.3294421
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Convolutional neural networks (CNNs) have shown great promise in human activity recognition (HAR), but long-term dependencies in time series data can be difficult to capture using standard CNNs. This study introduces a new CNN architecture that incorporates a multihead attention mechanism (CNN-MHA) to address this challenge. This mechanism is composed of several attention heads, each independently calculating attention weights for distinct segments of the input. The attention head outputs are then concatenated and processed through a fully connected layer to produce the final attention representation. A multihead attention (MHA) mechanism allows the network to focus on relevant features and maintain long-term dependencies in the input data. The proposed model is evaluated on the physical activity monitoring for aging people data set (PAMAP2) from the UCI machine learning repository, which is preprocessed by cleaning, normalization, segmentation, and reshaping before splitting into training, validation, and testing sets. The experimental results demonstrate that the CNN-MHA model outperforms existing models, achieving F1-score of 95.7%. Particularly, the MHA mechanism significantly improves the model's ability to recognize complex activity patterns. Furthermore, our model attained an average inference latency of 0.304 s, which can be crucial in real-time applications. The findings clearly demonstrate the substantial promise of the proposed CNN-MHA architecture for optimizing HAR tasks, offering a powerful tool for advancing the state-of-the-art in this domain.
引用
收藏
页码:3032 / 3043
页数:12
相关论文
共 50 条
  • [31] A robust optimized convolutional neural network model for human activity recognition using sensing devices
    Ata, Mohamed Maher
    Francies, Mariam Labib
    Mohamed, M. A.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (17)
  • [32] Lightweight attention convolutional neural network through network slimming for robust facial expression recognition
    Hui Ma
    Turgay Celik
    Heng-Chao Li
    Signal, Image and Video Processing, 2021, 15 : 1507 - 1515
  • [33] Interpretable and Accurate Convolutional Neural Networks for Human Activity Recognition
    Kim, Eunji
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2020, 16 (11) : 7190 - 7198
  • [34] Lightweight attention convolutional neural network through network slimming for robust facial expression recognition
    Ma, Hui
    Celik, Turgay
    Li, Heng-Chao
    SIGNAL IMAGE AND VIDEO PROCESSING, 2021, 15 (07) : 1507 - 1515
  • [35] A Survey on Face Recognition Using Convolutional Neural Network
    Swapna, M.
    Sharma, Yogesh Kumar
    Prasad, B. M. G.
    DATA ENGINEERING AND COMMUNICATION TECHNOLOGY, ICDECT-2K19, 2020, 1079 : 649 - 661
  • [36] EEG emotion recognition using attention-based convolutional transformer neural network
    Gong, Linlin
    Li, Mingyang
    Zhang, Tao
    Chen, Wanzhong
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2023, 84
  • [37] Activity recognition in beach volleyball using a Deep Convolutional Neural Network
    Kautz, Thomas
    Groh, Benjamin H.
    Hannink, Julius
    Jensen, Ulf
    Strubberg, Holger
    Eskofier, Bjoern M.
    DATA MINING AND KNOWLEDGE DISCOVERY, 2017, 31 (06) : 1678 - 1705
  • [38] Tea leaf disease recognition using attention convolutional neural network and handcrafted features
    Wu, Peng
    Liu, Jinlan
    Jiang, Mingfu
    Zhang, Li
    Ding, Shining
    Zhang, Kewang
    CROP PROTECTION, 2025, 190
  • [39] Electromyographic hand gesture recognition using convolutional neural network with multi-attention
    Zhang, Zhen
    Shen, Quming
    Wang, Yanyu
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2024, 91
  • [40] Convolutional Neural Network-Based Human Activity Recognition for Edge Fitness and Context-Aware Health Monitoring Devices
    Phukan, Nabasmita
    Mohine, Shailesh
    Mondal, Achinta
    Manikandan, M. Sabarimalai
    Pachori, Ram Bilas
    IEEE SENSORS JOURNAL, 2022, 22 (22) : 21816 - 21826