The Empirical Study On Deep Convolutional Network Transferring Among Users Within Activity Recognition

Jiazhen Li, Renjie Ding, Lanshun Nie, Xue Li, Xiandong Si, Lulu Wang, Dianhui Chu, Dechen Zhan2018

Abstract

Human activity recognition based on sensor data is one of the significant problems in pervasive computing. In recent years, deep learning has become the main method in this field due to its high accuracy. However, it’s difficult to recognize activities of user B with the model trained for user A. This paper explores the "user-dependency" problem in Human Activity Recognition (HAR) and evaluates strategies to bridge the gap between different users.

Introduction

Human Activity Recognition (HAR) using wearable sensors, such as accelerometers in smartphones, is a cornerstone of pervasive computing. While Deep Convolutional Neural Networks (CNNs) have achieved high accuracy, they are highly sensitive to individual differences. Because every person has a unique gait, speed, and rhythm, a model trained on "User A" often sees its accuracy plummet by 5% to 20% when tested on "User B"—a phenomenon known as the "Leave-One-Out" (L1O) problem. For HAR to be practical, models must transfer knowledge from a source user to a target user without requiring extensive manual labeling for every new individual.

Methodology

The authors conducted an empirical study using a standard 3-layer CNN as the baseline. Two primary transfer strategies were evaluated:

  1. Unsupervised Transfer (DANN): Utilizing a Domain-Adversarial Neural Network, this approach adds a domain classifier to distinguish between users. The feature extractor is trained to "confuse" this classifier, forcing the network to learn domain-invariant features.
  2. Semi-supervised Transfer (Fine-tuning): A model pre-trained on a source user has its early convolutional layers "frozen," while the final layers are retrained using a minimal amount of labeled data from the target user.
Overview of the transfer learning workflow, comparing unsupervised DANN and semi-supervised fine-tuning.

The study utilized two benchmark datasets: the UCI Daily and Sports Dataset (19 activities, 8 users) and USC-HAD (11 activities, 14 users). High-dimensional features from the final fully connected layer were reduced to 2D for visual inspection of activity clustering.

Insights and Analysis

The Geometry of Motion

Visualization revealed that sensor-based features typically exhibit "strip-shaped" distributions. A critical finding was that the distance between different activity classes is often smaller than the variation within a single activity class across different individuals. This explains the high frequency of "whole-class confusion," such as mistaking walking for climbing stairs when switching users.

Visualization of sensor-based features showing the characteristic 'strip-shaped' distributions.

Transfer Dynamics

  • User Selection: In unsupervised transfer, the choice of the source user is vital. Inappropriate pairings can lead to "negative transfer," where model performance degrades after adaptation.
  • Universality of Early Layers: The first three convolutional layers capture general motion patterns. Freezing these layers preserves the fundamental "physics" of motion learned from the source data while reducing computational overhead.
  • The Necessity of Labels: Unsupervised methods often struggle to correct systemic class confusion. A small amount of labeled data acts as an "anchor," correctly positioning classes in the new user's feature space.

Key Results

The experimental results highlight the trade-offs between unsupervised and semi-supervised approaches:

  • Unsupervised Performance: DANN improved accuracy in one-to-one transfers (e.g., from ~57% to ~67%), but results were unstable. Stability improved when using multiple source users (Several-to-One transfer).
  • Fine-tuning Dominance: Fine-tuning with as little as 5 labeled samples per activity (1/60th of the target data) consistently outperformed unsupervised methods. This approach was less sensitive to source user selection and provided a more reliable accuracy boost.
  • Clustering Effects: Visualizations confirmed that fine-tuning effectively pulled the target user's features into distinct, tight clusters, mirroring the source user's distribution.

Conclusion

While semi-supervised fine-tuning is superior in accuracy and stability, it requires minimal user effort for labeling. Future research should focus on establishing a theoretical basis for source user selection, further minimizing label requirements, and improving the stability of the transfer process against sensor noise and hyperparameter sensitivity.

Summary updated

BibTeX
@misc{li2018empirical,
  author = {Jiazhen Li and Renjie Ding and Lanshun Nie and Xue Li and Xiandong Si and Lulu Wang and Dianhui Chu and Dechen Zhan},
  title = {{The Empirical Study On Deep Convolutional Network Transferring Among Users Within Activity Recognition}},
  year = {2018},
  doi = {10.4108/eai.21-6-2018.2276633},
}
Figure