MARS: Mixed Virtual and Real Wearable Sensors for Human Activity Recognition with Multi-Domain Deep Learning Model

Ling Pei, Songpengcheng Xia, Lei Chu, Fanyi Xiao, Zixuan Zhang, Qi Wu, Wenxian Yu

Abstract

Human Activity Recognition (HAR) using wearable sensors is often hindered by the scarcity of large-scale, labeled datasets. This paper introduces MARS, a framework that leverages virtual inertial measurement unit (IMU) data synthesized from motion-capture (MoCap) libraries using the SMPL parametric body model. By employing a hybrid 1D/2D CNN architecture with uncertainty-aware feature fusion, MARS bridges the domain gap between synthetic and real-world data. Experimental results demonstrate that MARS achieves over 95% accuracy on real-world datasets with significantly faster convergence than traditional models, highlighting the potential of virtual data in scaling HAR systems.

Introduction

Human Activity Recognition (HAR) is a critical component of modern IoT applications, ranging from healthcare monitoring to smart home automation. Deep learning has significantly advanced HAR, yet these models require vast amounts of high-quality, labeled IMU data. Collecting such data from real subjects is labor-intensive, expensive, and difficult to scale. MARS addresses this "data hunger" by synthesizing virtual sensor data from existing large-scale human motion capture datasets, providing a scalable solution for training robust HAR models.

Methodology

The MARS framework introduces three key innovations to overcome the data bottleneck and the domain gap between simulation and reality.

Virtual IMU Synthesis

To generate training data, MARS utilizes the SMPL (Skinned Multi-Person Linear) model to transform MoCap joint positions into simulated IMU signals. Virtual sensors are placed on the digital avatar's skin, allowing for the generation of infinite labeled data across diverse activities.

Overview of the IMU data synthesis and processing pipeline, including the SMPL representation and signal filtering.

Hybrid Multi-Domain CNN

The architecture features a dual-pathway feature extractor. A 1D-CNN captures temporal dependencies within individual sensor channels, while a 2D-CNN models spatial correlations between sensors placed on different body parts. Denoising autoencoders are integrated into both paths to mitigate the effects of sensor noise and environmental jitter.

Uncertainty-Aware Consistency Fusion

Rather than simple concatenation, MARS employs an attention-based fusion mechanism. This strategy weights features based on their estimated certainty, ensuring that the final classification relies on the most reliable information from both the temporal and spatial domains.

Datasets and Data Preparation

The model is pre-trained on the AMASS (Archive of Motion Capture as Surface Shapes) dataset, which is processed into 12 distinct activity categories. For real-world evaluation, the DIP (Deep Inertial Poser) dataset is used, testing the model's ability to generalize to actual wearable device data.

The data preparation pipeline, mapping various MoCap datasets to a standardized set of 12 activity categories.

Results and Discussion

MARS-v3 achieved a state-of-the-art accuracy of 95.81% on the DIP dataset, outperforming baselines like Random Forests (83.2%) and standard LSTMs (80.3%). A key finding is the dramatic improvement in convergence speed; models pre-trained on virtual data reached peak performance in as few as four iterations. Furthermore, the system maintains high effectiveness even with a reduced sensor set (e.g., head, wrist, and leg), demonstrating its practical utility for consumer wearables.

Conclusion

The MARS framework demonstrates that virtual data synthesis is a powerful tool for overcoming the data limitations in HAR. By combining synthetic pre-training with a sophisticated multi-domain architecture, MARS achieves high accuracy and rapid convergence. Future research will focus on handling more complex composite activities and optimizing the model for edge computing on low-power wearable hardware.

Summary updated

Abstract

Together with the rapid development of the Internet of Things (IoT), human activity recognition (HAR) using wearable Inertial Measurement Units (IMUs) becomes a promising technology for many research areas. Recently, deep learning-based methods pave a new way of understanding and performing analysis of the complex data in the HAR system. However, the performance of these methods is mostly based on the quality and quantity of the collected data. In this paper, we innovatively propose to build a large database based on virtual IMUs and then address technical issues by introducing a multiple-domain deep learning framework consisting of three technical parts. In the first part, we propose to learn the single-frame human activity from the noisy IMU data with hybrid convolutional neural networks (CNNs) in the semi-supervised form. For the second part, the extracted data features are fused according to the principle of uncertainty-aware consistency, which reduces the uncertainty by weighting the importance of the features. The transfer learning is performed in the last part based on the newly released Archive of Motion Capture as Surface Shapes (AMASS) dataset, containing abundant synthetic human poses, which enhances the variety and diversity of the training dataset and is beneficial for the process of training and feature transfer in the proposed method. The efficiency and effectiveness of the proposed method have been demonstrated in the real deep inertial poser (DIP) dataset. The experimental results show that the proposed methods can surprisingly converge within a few iterations and outperform all competing methods.
BibTeX
@article{pei2021mars,
  author = {Ling Pei and Songpengcheng Xia and Lei Chu and Fanyi Xiao and Zixuan Zhang and Qi Wu and Wenxian Yu},
  title = {{MARS: Mixed Virtual and Real Wearable Sensors for Human Activity Recognition with Multi-Domain Deep Learning Model}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  url = {https://openreview.net/forum?id=4B9oxZD-hp},
}
Figure