DanHAR: Dual Attention Network For Multimodal Human Activity Recognition Using Wearable Sensors
Authors:
Preprint
Abstract
Human activity recognition (HAR) in ubiquitous computing has been beginning to incorporate attention into the context of deep neural networks (DNNs), in which the rich sensing data from multimodal sensors such as accelerometer and gyroscope is used to infer human activities. Recently, two attention methods are proposed via combining with Gated Recurrent Units (GRU) and Long Short-Term Memory (LSTM) network, which can capture the dependencies of sensing signals in both spatial and temporal domains simultaneously. However, recurrent networks often have a weak feature representing power compared with convolutional neural networks (CNNs). On the other hand, two attention, i.e., hard attention and soft attention, are applied in temporal domains via combining with CNN, which pay more attention to the target activity from a long sequence. However, they can only tell where to focus and miss channel information, which plays an important role in deciding what to focus. As a result, they fail to address the spatial-temporal dependencies of multimodal sensing signals, compared with attention-based GRU or LSTM. In the paper, we propose a novel dual attention method called DanHAR, which introduces the framework of blending channel attention and temporal attention on a CNN, demonstrating superiority in improving the comprehensibility for multimodal HAR. Extensive experiments on four public HAR datasets and weakly labeled dataset show that DanHAR achieves state-of-the-art performance with negligible overhead of parameters. Furthermore, visualizing analysis is provided to show that our attention can amplifies more important sensor modalities and timesteps during classification, which agrees well with human common intuition.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Real-Time Human Activity Recognition Using Conditionally Parametrized Convolutions on Mobile and Wearable DevicesIEEE Sensors Journal, 2022
- Sequential Weakly Labeled Multiactivity Localization and Recognition on Wearable Sensors Using Recurrent Attention NetworksIEEE Transactions on Human-Machine Systems, 2021
- Layer-Wise Training Convolutional Neural Networks With Smaller Filters for Human Activity Recognition Using Wearable SensorsIEEE Sensors Journal, 2021
- The Layer-Wise Training Convolutional Neural Networks Using Local Loss for Sensor-Based Human Activity RecognitionIEEE Sensors Journal, 2020
- Attention-Based Convolutional Neural Network for Weakly Labeled Human Activities’ Recognition With Wearable SensorsIEEE Sensors Journal, 2019
- Deep learning for sensor-based activity recognition: A surveyPattern Recognition Letters, 2019
- Weakly Supervised Human Activity Recognition From Wearable Sensors by Recurrent Attention LearningIEEE Sensors Journal, 2018
- Real-time human activity recognition from accelerometer data using Convolutional Neural NetworksApplied Soft Computing, 2018
- Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer LearningIEEE Transactions on Medical Imaging, 2016
- The Opportunity challenge: A benchmark database for on-body sensor-based activity recognitionPattern Recognition Letters, 2013