A Deep Learning Method for Complex Human Activity Recognition Using Virtual Wearable Sensors

Fanyi Xiao, Ling Pei, Lei Chu, Danping Zou, Wenxian Yu, Yifan Zhu, Tao Li

Introduction

Human Activity Recognition (HAR) using wearable sensors, such as Inertial Measurement Units (IMUs), is a cornerstone of modern health monitoring and virtual reality. Despite its potential, the field is currently hindered by a significant "data bottleneck." Most publicly available datasets are limited in scope, featuring a small number of subjects and focusing primarily on simple, repetitive tasks like walking or sitting.

In real-world scenarios, human movement is far more diverse and complex. Collecting and labeling the thousands of hours of real-world IMU data required to train robust deep learning models is both prohibitively expensive and intrusive. This research addresses this challenge by asking: Can high-fidelity motion capture (Mocap) data be used to simulate wearable sensors and train more effective HAR models?

Methodology

The researchers developed a two-stage framework designed to bridge the gap between synthetic data and real-world applications.

Off-line Training in a Virtual Environment

The first stage involves training a model on the AMASS dataset, a massive repository containing over 11,000 human motions. By utilizing the SMPL (Skinned Multi-Person Linear) model, the authors simulated virtual IMUs placed at key body locations: the wrist, thigh, and head. Virtual acceleration and orientation data were calculated directly from these skeletal movements.

The SMPL model allows for the generation of high-fidelity virtual human motions to simulate sensor data.

Model Architecture

The core of the system is a Deep Convolutional Neural Network (CNN) that incorporates an unsupervised penalty. This penalty acts similarly to a denoising autoencoder, forcing the network to reconstruct input data within a lower-dimensional latent space. This approach encourages the model to extract fundamental features of human movement, enhancing its robustness against noise.

On-line Testing and Transfer Learning

To overcome the "reality gap"—the inherent difference between clean virtual data and noisy real-world sensor output—the authors employed Transfer Learning. The pre-trained virtual model was fine-tuned using the DIP (Deep Inertial Poser) dataset, which contains real IMU recordings of five specific activities: computer work, walking, jumping, and various stretching exercises.

Results

The proposed method demonstrated significant improvements over existing benchmarks. By leveraging the combined strengths of the AMASS and DIP datasets, the model achieved a peak accuracy of 91.15% and an F1-score of 91.21%.

The proposed method significantly outperforms standard models like DeepConvLSTM and Random Forest, particularly when combining virtual and real-world data.

As shown in the results table, the "Proposed method" consistently outperformed DeepConvLSTM (84.80%) and Random Forest (RF) across different data configurations. Notably, the model proved highly effective at distinguishing between similar, elaborate movements by processing 36-dimensional input from three synchronized sensors.

Discussion and Key Insights

The study reveals that features learned from synthetic "virtual" sensors are highly transferable to real hardware. While a raw virtual model performs poorly on real data (initially under 50% accuracy), fine-tuning serves as an essential bridge. Furthermore, the model converged rapidly during the fine-tuning stage—within just 20 epochs—suggesting that a relatively small amount of real-world data is sufficient if a strong virtual foundation is established first.

The inclusion of the unsupervised penalty was critical; it ensured the model learned the underlying structure of human motion rather than simply memorizing labels. This leads to superior generalization across different subjects and activity types.

Limitations and Future Work

While promising, the study identified several areas for further research. The current configuration used three fixed IMUs; future studies should explore optimal sensor placement to balance accuracy with user comfort. Additionally, while the virtual training set was vast, the real-world evaluation was limited to five activities. Expanding the framework to a broader range of complex real-world activities and addressing hardware-specific noise, such as electromagnetic interference, remain important next steps.

Summary updated

BibTeX
@inproceedings{xiao2020deep,
  author = {Fanyi Xiao and Ling Pei and Lei Chu and Danping Zou and Wenxian Yu and Yifan Zhu and Tao Li},
  title = {{A Deep Learning Method for Complex Human Activity Recognition Using Virtual Wearable Sensors}},
  booktitle = {SpatialDI},
  year = {2020},
  doi = {10.1007/978-3-030-69873-7\_19},
}
Figure