Abstract
Sensor-based human activity recognition (HAR) aims to detect various physical activities using ubiquitous sensors. Unlike existing deep learning methods that primarily extract "black-box" features from raw sensor data, we propose a Hierarchical Multi-View Aggregation Network (HMVAN). This framework constructs multiple feature space views for each sensor, incorporating both "white-box" statistical features and "black-box" deep learning features. HMVAN learns a unified representation by aggregating these views across feature, position, and modality levels. Our method captures correlations between features and leverages relationships across different sensor positions and modalities. Evaluation on 12 benchmark datasets demonstrates that HMVAN outperforms state-of-the-art approaches.
Introduction
Human Activity Recognition (HAR) is a critical component of smart environments, healthcare monitoring, and fitness tracking. While deep learning has significantly advanced the field by automatically extracting features from raw sensor data, these "black-box" models often overlook decades of domain expertise. Specifically, traditional "white-box" statistical features—such as mean, variance, and frequency coefficients—contain highly discriminative information that can complement deep learning features.
Furthermore, HAR data is inherently heterogeneous. Sensors are often distributed across multiple body positions (e.g., wrists, ankles, waist) and utilize different modalities (e.g., accelerometers, gyroscopes, magnetometers). Standard models often fail to capture the complex spatial and modal correlations, such as the synchronized movement of limbs during a gait cycle.
Methodology: The HMVAN Architecture
The proposed Hierarchical Multi-View Aggregation Network (HMVAN) addresses these challenges through a three-layered hierarchical fusion strategy.
1. Multi-View Feature Construction
For each individual sensor, the model constructs four distinct views:
- White-Box Views: Time domain, Frequency domain, and Time-Frequency domain features.
- Black-Box View: A "Visual domain" view created by transforming sensor signals into "activity images," which are then processed by a Convolutional Neural Network (CNN).
2. Feature Level Aggregation
These four views are embedded into a shared feature space. To manage noise and prevent overfitting, the model employs non-local operations to capture long-range dependencies and an L2-norm thresholding mechanism to filter irrelevant information.
3. Position Level Aggregation
This layer models the spatial relationships between sensors located at different body parts. Using a correlation feature computing module (akin to an attention mechanism), the network learns how the movement of one body part (e.g., the left leg) informs the activity state of another (e.g., the right leg).
4. Modality Level Aggregation
Finally, a soft attention mechanism weights the importance of different sensor modalities. For instance, the system may prioritize accelerometer data during walking while relying more on magnetometers for orientation-sensitive gestures. The network is trained using a combination of final cross-entropy loss and auxiliary losses at each modality level to ensure robust representation learning.
Experimental Evaluation
The HMVAN framework was rigorously tested on 12 public benchmark datasets, covering a wide range of sensor configurations:
- Multi-modality/Multi-position: OPPORTUNITY, PAMAP2, DSA, MHEALTH, and HHAR.
- Single-modality/Multi-position: Skoda and Daphnet Gait.
- Multi-modality/Single-position: UCI Smartphone, USC-HAD, and SHO.
- Single-modality/Single-position: WISDM v1.1 and WISDM v2.0.
Key Results and Insights
HMVAN achieved state-of-the-art (SOTA) performance across all 12 datasets. Notable improvements include:
- OPPORTUNITY Dataset: The F1-score for gesture recognition rose from 0.929 to 0.933, and locomotion recognition improved from 0.900 to 0.917.
- Skoda Dataset: Accuracy increased from 0.958 to 0.965.
A key finding is the synergy between white-box and black-box features. HMVAN maintains superior performance even with limited training data (as low as 10%), suggesting that engineered statistical features provide a crucial inductive bias when data is scarce. Ablation studies confirmed that each level of the hierarchy—feature, position, and modality—is essential for peak performance.
Conclusion
HMVAN provides a robust and flexible framework for sensor-based HAR by effectively fusing domain knowledge with deep learning. While the current model is fully supervised, future work will explore semi-supervised or unsupervised learning to reduce the burden of data labeling. Additionally, optimizing the hierarchical attention mechanisms for real-time execution on low-power wearable devices remains a priority for practical deployment.
Summary updated