IEEE Internet of Things Journal · 2023 · 32 citations · 44 references
ComputingComputer ScienceComputer VisionMachine LearningPhysical ActivityAction RecognitionAttention NetworksDeep LearningNeural NetworksActivity MonitoringActivity RecognitionAttentionConvolutional Neural NetworksHuman Activity RecognitionInput Data AnalysisPhysical Activity MonitoringTerm Dependencies
Convolutional neural networks (CNNs) have shown great promise in human activity recognition, 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 multi-head 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. The multi-head attention 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 dataset (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 multi-head attention mechanism significantly improves the model’s ability to recognize complex activity patterns. Furthermore, our model attained an average inference latency of 0.304 seconds, which can be crucial in real-time applications. The findings clearly demonstrate the substantial promise of the proposed CNN-MHA architecture for optimizing human activity recognition tasks, offering a powerful tool for advancing the state-of-the-art in this domain.
44
UCI Machine Learning Repository
Arthur Asuncion · Medical Entomology and Zoology · 2007 · 24.4K citations
Deep learning for sensor-based activity recognition: A survey
Jindong Wang, Yiqiang Chen, Shuji Hao et al. · Pattern Recognition Letters · 2018 · 1.9K citations · Full text