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 条
  • [41] Human gait recognition using attention based convolutional network with sequential learning
    Junaid, Mohammad Iman
    Madarapu, Sandeep
    Ari, Samit
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (01)
  • [42] Convolutional Neural Networks for Human Activity Recognition using Mobile Sensors
    Zeng, Ming
    Nguyen, Le T.
    Yu, Bo
    Mengshoel, Ole J.
    Zhu, Jiang
    Wu, Pang
    Zhang, Joy
    2014 6TH INTERNATIONAL CONFERENCE ON MOBILE COMPUTING, APPLICATIONS AND SERVICES (MOBICASE), 2014, : 197 - 205
  • [43] Deep Convolutional Neural Networks for Human Activity Recognition with Smartphone Sensors
    Ronao, Charissa Ann
    Cho, Sung-Bae
    NEURAL INFORMATION PROCESSING, ICONIP 2015, PT IV, 2015, 9492 : 46 - 53
  • [44] Dump truck activity recognition using vibration signal and convolutional neural network
    Dewangan, Nagesh
    Mohanty, Amiya Ranjan
    Kumar, Ranjan
    AUTOMATION IN CONSTRUCTION, 2024, 165
  • [45] Attention pooling-based convolutional neural network for sentence modelling
    Er, Meng Joo
    Zhang, Yong
    Wang, Ning
    Pratama, Mahardhika
    INFORMATION SCIENCES, 2016, 373 : 388 - 403
  • [46] Shallow multi-branch attention convolutional neural network for micro-expression recognition
    Gang Wang
    Shucheng Huang
    Zhe Tao
    Multimedia Systems, 2023, 29 : 1967 - 1980
  • [47] Shallow multi-branch attention convolutional neural network for micro-expression recognition
    Wang, Gang
    Huang, Shucheng
    Tao, Zhe
    MULTIMEDIA SYSTEMS, 2023, 29 (04) : 1967 - 1980
  • [48] Recognition of Unsafe Driving Behaviors Based on Convolutional Neural Network
    Tian W.-H.
    Zeng K.-M.
    Mo Z.-Q.
    Lin B.-Q.
    Dianzi Keji Daxue Xuebao/Journal of the University of Electronic Science and Technology of China, 2019, 48 (03): : 381 - 387
  • [49] Efficient Vehicle Recognition and Classification using Convolutional Neural Network
    San, Wei Jian
    Lim, Marcus Guozong
    Chuah, Joon Huang
    2018 IEEE INTERNATIONAL CONFERENCE ON AUTOMATIC CONTROL AND INTELLIGENT SYSTEMS (I2CACIS), 2018, : 117 - 122
  • [50] Attention-Based Convolutional Neural Network for Earthquake Event Classification
    Ku, Bonhwa
    Kim, Gwantae
    Ahn, Jae-Kwang
    Lee, Jimin
    Ko, Hanseok
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2021, 18 (12) : 2057 - 2061