Deep Transfer Learning with Graph Neural Network for Sensor-Based Human Activity Recognition

Yan Yan, Tianzheng Liao, Jinjin Zhao, Jiahong Wang, Liang Ma, Wei Lv, Jing Xiong, Lei WangarXiv 2022 · DOI

Abstract

Sensor-based Human Activity Recognition (HAR) is a critical component of mobile health and fitness tracking. However, traditional deep learning models often fail to capture the complex, non-Euclidean spatial relationships between sensors placed on different body parts. This paper presents ResGCNN, a Residual Graph Convolutional Neural Network that models wearable sensors as nodes in a graph. By integrating spectral graph convolutions with deep transfer learning, ResGCNN achieves state-of-the-art accuracy and demonstrates exceptional performance in data-scarce scenarios.

Introduction

Human Activity Recognition (HAR) using wearable sensors like accelerometers and gyroscopes faces two primary challenges. First, traditional models like CNNs and LSTMs treat sensor data as simple grids or sequences, ignoring the complex physical and functional correlations between body parts. Second, the diversity of sensor placements and the high cost of data labeling lead to significant data scarcity issues. This research addresses these hurdles by proposing a graph-based architecture that naturally represents the human body's structure.

Methodology: The ResGCNN Framework

The core of the proposed approach is the HAR-ResGCNN (Residual Graph Convolutional Neural Network). Unlike standard models, it constructs a graph where each sensor channel is a node.

Graph Construction

Edges between nodes are determined using Pearson’s correlation coefficients, which represent the strength of the relationship between different body movements. This allows the network to learn spatial relationships, such as how arm swings correlate with leg strides during walking.

Graph construction representing sensor correlations and the resulting adjacency matrix.

Model Architecture

The architecture utilizes ResChebNet blocks, which employ Chebyshev polynomials for spectral graph convolutions. To prevent the "over-smoothing" problem common in deep GNNs—where node features become indistinguishable—the authors implemented a multi-layer residual structure. This design enables the model to go deeper while maintaining high discriminative power.

The overall architecture of the ResGCNN model, highlighting the ResChebNet blocks and weight-sharing mechanism.

Deep Transfer Learning

To tackle data scarcity, the model employs parameter-based transfer learning. The graph-based feature extraction layers are first trained on a large source dataset and then transferred to a target task. Only the final classification layers are fine-tuned, allowing the model to adapt to new activities or sensor configurations with minimal labeled data.

Experimental Evaluation

The model was evaluated on three distinct datasets:

  • PAMAP2: A public benchmark featuring 12 activities with sensors on the wrist, chest, and ankle.
  • mHealth: A public dataset covering 12 activities in an out-of-lab environment.
  • TNDA-HAR: A self-collected dataset involving 50 subjects and 5 sensor locations (ankle, knee, back, wrist, arm).

Key Results

The ResGCNN framework achieved state-of-the-art performance, with 98.18% accuracy on PAMAP2 and 99.07% on mHealth, outperforming traditional CNN and LSTM-based models.

The most significant finding was the model's few-shot learning capability. When trained on only 5% of the target data, the transferred ResGCNN maintained an accuracy of approximately 88% on the mHealth dataset, whereas non-transfer models failed to achieve viable performance. This suggests that the graph structure captures "universal" patterns of human motion that transfer effectively across different domains.

Conclusion and Future Work

By modeling the human body as a graph, ResGCNN provides a more natural and effective way to process wearable sensor data. While the current model uses a fixed adjacency matrix, future research will explore dynamic graph structures that adapt in real-time to different activities. Additionally, optimizing the computational load for low-power wearable hardware remains a key goal for real-world deployment.

Summary updated

BibTeX
@misc{yan2022deep,
  author = {Yan Yan and Tianzheng Liao and Jinjin Zhao and Jiahong Wang and Liang Ma and Wei Lv and Jing Xiong and Lei Wang},
  title = {{Deep Transfer Learning with Graph Neural Network for Sensor-Based Human Activity Recognition}},
  year = {2022},
  eprint = {2203.07910},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.07910},
}
Figure