UMSNet: An Universal Multi-sensor Network for Human Activity Recognition

Jialiang Wang, Haotian Wei, Yi Wang, Shu Yang, Chi LiarXiv 2022 · DOI

Abstract

Human Activity Recognition (HAR) using wearable sensors is a critical component of modern health and medical monitoring. However, balancing high accuracy with computational efficiency remains a challenge for mobile deployment. This paper presents UMSNet, a universal deep learning framework that integrates a lightweight residual network with a Transformer encoder. By optimizing multi-modal sensor fusion through a novel Lightweight Sensor Residual (LSR) block, UMSNet achieves state-of-the-art performance on benchmark datasets while maintaining a significantly lower parameter count and faster inference times compared to traditional heavy-duty architectures.

Introduction

Human Activity Recognition (HAR) has traditionally relied on camera-based systems, which often compromise user privacy and require substantial storage. Wearable sensors, such as accelerometers and gyroscopes found in smartphones, offer a ubiquitous and private alternative. Nevertheless, sensor data presents as multivariate time series that are inherently noisy and complex. Existing models often struggle to capture both local sensor-specific features and long-term temporal patterns efficiently. Simple Recurrent Neural Networks (RNNs) lack the capacity for complex behaviors, while standard Residual Networks (ResNets) are too computationally intensive for real-time mobile execution. UMSNet addresses these limitations by providing a modular, efficient, and high-performing architecture tailored for multi-sensor data.

Methods

The UMSNet architecture is structured into three primary stages: single-sensor feature extraction, multi-sensor fusion, and temporal sequence classification.

The overall architecture of UMSNet, illustrating the flow from raw sensor data through LSR modules to the Transformer encoder.

Lightweight Sensor Residual (LSR) Block

The core innovation of UMSNet is the LSR block, designed to optimize information flow for time-series data. Drawing inspiration from modern computer vision architectures like ConvNeXt and MobileNetV2, the LSR block incorporates several key optimizations:

  • Reduced Activation and Normalization: By minimizing the number of ReLU/Gelu and normalization layers, the model reduces "friction" in information flow, which is crucial for preserving signal integrity in sensor data.
  • Inverted Bottlenecks: The block expands data dimensions internally before compressing them, preventing information loss during compression.
  • Grouped Convolutions: This technique significantly reduces the parameter count without sacrificing representational power.
  • Advanced Training Techniques: The inclusion of LayerScale for channel feature refinement and Stochastic Depth to prevent overfitting ensures robust learning.

Hybrid Temporal-Spatial Modeling

UMSNet utilizes LSR blocks for "spatial" fusion—integrating data from multiple sensors—while employing a Transformer Encoder for "temporal" modeling. This hybrid approach leverages the strengths of CNNs in local feature extraction and Transformers in capturing long-range dependencies across time slices.

Experimental Evaluation

The model was evaluated on the HHAR (Heterogeneity Human Activity Recognition) and MHEALTH (Mobile HEALTH) datasets. These benchmarks include diverse activities and multi-modal data, including ECG and 3-axis motion sensors.

Performance and Efficiency

UMSNet demonstrated superior performance across all metrics compared to established models like LSTM, GRU, ResNet-50, and EfficientNet-B1. On the HHAR dataset, UMSNet-C achieved an accuracy of 93.97%, outperforming RegNet (~91.6%) and ResNet (~88%). On the MHEALTH dataset, it reached a near-perfect accuracy of 98.72%.

Comparison of model parameters, computational complexity (Multi-Adds), and inference time across different architectures.

As shown in the table above, UMSNet is remarkably efficient. UMSNet-C utilizes only 6.09M parameters, nearly nine times fewer than RegNet (54.27M). Furthermore, UMSNet-A is approximately five times faster than RegNet in processing a 6-second data window, highlighting its suitability for real-time applications on mobile hardware.

Conclusion

UMSNet provides a "universal" template for sensor-based activity recognition by balancing architectural simplicity with powerful hybrid modeling. The results indicate that heavy normalization and activation overhead, common in image recognition, can be detrimental to sensor-based tasks. By streamlining the residual structure, UMSNet achieves higher accuracy with a fraction of the computational cost. Future work will explore the model's robustness to inconsistent sensor placement and its adaptation for ultra-low-power microcontrollers in TinyML environments.

Summary updated

BibTeX
@misc{wang2022umsnet,
  author = {Jialiang Wang and Haotian Wei and Yi Wang and Shu Yang and Chi Li},
  title = {{UMSNet: An Universal Multi-sensor Network for Human Activity Recognition}},
  year = {2022},
  eprint = {2205.11756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.11756},
}
Figure