Abstract
Human Activity Recognition (HAR) is a challenging problem that requires advanced solutions beyond handcrafted features to achieve desirable performance. Deep learning has been proposed to obtain more accurate HAR systems robust against noise. In this paper, we introduce ARC-Net and propose the utilization of capsules to fuse information from multiple inertial measurement units (IMUs) to predict the activity performed by the subject. We hypothesize that this network will be able to tune out unnecessary information and make more accurate decisions through the iterative mechanism embedded in capsule networks. We provide heatmaps of the priors, learned by the network, to visualize the utilization of each data source. By using the proposed network, we increased the accuracy of state-of-the-art approaches by 2%. Furthermore, we investigate the directionality of the confusion matrices and discuss the specificity of activities based on the provided data.
Introduction
Human Activity Recognition (HAR) involves predicting a person's physical actions (e.g., walking, sitting, or jumping) using data from wearable sensors like accelerometers and gyroscopes. While deep learning has significantly advanced the field, two major challenges persist: effective sensor fusion and robustness to noise or sensor failure. Standard Convolutional Neural Networks (CNNs) often struggle to intelligently combine data from sensors on different body parts—such as the ankle versus the wrist—where some sensors are naturally more relevant to specific activities than others.
ARC-Net addresses these issues by leveraging Capsule Networks to fuse data from multiple body-worn sensors. By utilizing a dynamic routing mechanism, the model achieves superior performance and demonstrates remarkable robustness, maintaining high accuracy even when specific sensors provide corrupted data.
Methodology: The ARC-Net Architecture
ARC-Net consists of two primary stages designed to process and then intelligently fuse multi-modal sensor data.
1. The Encoder
A shared-weight CNN processes raw data from each Inertial Measurement Unit (IMU) independently. This stage extracts local features from each sensor without premature mixing, preserving the unique spatial and temporal signatures of different body parts.
2. The Capsule Fusion Layer
Instead of standard flattening and concatenation, ARC-Net passes extracted features into a Capsule Network.
- Capsules: These represent entities as vectors. The vector's length indicates the probability of an activity, while its orientation encodes the specific characteristics of the motion.
- Dynamic Routing: An iterative process "routes" information from lower-level capsules (sensor features) to higher-level capsules (activities). This allows the network to dynamically prioritize relevant sensors for a given prediction.
- Soft Update Rule: The authors introduced a "soft update" coefficient ($\eta$) to the standard routing algorithm to prevent over-confidence during training.
Key Insights and Interpretability
A significant advantage of ARC-Net is its inherent interpretability. By visualizing the Prior Matrix ($b$), the authors created heatmaps showing which sensors the model prioritized for specific activities.
As shown in the heatmap, the model correctly learned to prioritize the ankle sensor for walking and the chest sensor for sitting. This visualization confirms that the dynamic routing mechanism effectively "listened" to the most relevant data sources. Furthermore, the authors noted that while the PAMAP2 dataset struggled to distinguish sitting from standing, results from the RealWorld dataset suggested that adding a sensor on the thigh is crucial for capturing the leg's orientation change between these two states.
Experimental Results
The model was evaluated on two benchmark datasets: PAMAP2 (18 activities, 3 IMUs) and RealWorld (15 subjects, 7 IMUs).
- State-of-the-Art Performance: ARC-Net achieved 90.51% accuracy on PAMAP2 and 95.64% accuracy on the RealWorld dataset, outperforming existing models like PerceptionNet and DeepConvLSTM by approximately 2%.
- Superior Robustness: In "Modality Corruption Tests," where sensor data was zeroed out, ARC-Net's performance dropped significantly less than its competitors. On the RealWorld dataset, ARC-Net's F1-score decreased by only 3.67%, compared to an 8.21% drop for the leading CNN-based approach.
Conclusion
ARC-Net demonstrates that Capsule Networks are highly effective for multi-modal sensor fusion in HAR. By treating sensor features as capsules and using dynamic routing, the model gains both accuracy and robustness against sensor failure. Future work may explore the computational efficiency of these models for edge devices and the integration of additional modalities like heart rate or GPS data.
Summary updated