Deep Transfer Learning for Cross-domain Activity Recognition

Jindong Wang, Vincent W. Zheng, Yiqiang Chen, Meiyu Huang

Abstract

Human activity recognition (HAR) is vital for modern wearable applications, yet acquiring sufficient labeled data remains a significant bottleneck. Transfer learning offers a solution by leveraging labeled data from a source domain to annotate an unlabeled target domain. However, selecting the most appropriate source domains from multiple candidates is challenging. This paper proposes the Unsupervised Source Selection algorithm for Activity Recognition (USSAR) to identify the $K$ most similar source domains. Furthermore, we introduce the Transfer Neural Network for Activity Recognition (TNNAR), which captures both temporal and spatial relationships while performing knowledge transfer. Experiments on three public datasets validate the effectiveness of USSAR in source selection and the high accuracy of TNNAR in cross-domain tasks.

Introduction

Wearable computing often faces a "cold start" problem: a model trained on a sensor placed on one body part (e.g., the torso) may fail when applied to a different position (e.g., the arm). This challenge, known as Cross-Domain Activity Recognition (CDAR), is hindered by distribution discrepancies between signals, the risk of negative transfer from dissimilar sources, and the inherent complexity of time-series activity data.

Methodology

The proposed framework consists of two primary stages: unsupervised source selection and deep transfer learning.

Unsupervised Source Selection (USSAR)

To avoid negative transfer, USSAR selects the most relevant source domains using a Context Activity Distance (CAD) metric. CAD integrates three components: General Distance (measuring domain separability via $\mathcal{A}$-distance), Semantic Distance (incorporating human knowledge regarding body part proximity), and Kinetic Distance (calculating signal correlation using cosine similarity).

Transfer Neural Network (TNNAR)

TNNAR is an end-to-end architecture designed to extract robust features across domains. It utilizes 1D-Convolutional layers for spatial feature extraction and an LSTM layer to capture the temporal dependencies of activities. A critical adaptation layer uses Maximum Mean Discrepancy (MMD) to minimize the distribution gap between source and target features, ensuring the network learns domain-invariant representations.

Architecture of the Transfer Neural Network for Activity Recognition (TNNAR).

Experimental Evaluation

The framework was evaluated on the OPPORTUNITY, PAMAP2, and DSADS benchmarks. The authors constructed 22 transfer tasks covering scenarios such as similar body parts on different people and different body parts on the same person.

Results and Discussion

TNNAR achieved an average accuracy of 64.64% in single-source tasks, significantly outperforming the Stratified Transfer Learning (STL) baseline of 61.37%. The integration of USSAR for multi-source selection further boosted performance, reaching an average accuracy of 77.01% when selecting the top 3 sources.

Comparison of accuracy across different numbers of selected source domains (K).

As shown in the results, increasing the number of selected source domains ($K$) generally improves accuracy, with USSAR consistently outperforming other selection methods like Genetic Algorithms (GA) or simple MMD. This highlights the importance of multi-faceted similarity metrics in source selection for activity recognition.

Conclusion

This research demonstrates that effective cross-domain activity recognition requires both intelligent source selection and a hybrid deep learning architecture. While USSAR and TNNAR set new benchmarks, future work will focus on automating semantic weight assignment and extending the framework to heterogeneous sensor types.

Summary updated

BibTeX
@inproceedings{wang2018deep,
  author = {Jindong Wang and Vincent W. Zheng and Yiqiang Chen and Meiyu Huang},
  title = {{Deep Transfer Learning for Cross-domain Activity Recognition}},
  booktitle = {ICCSE},
  year = {2018},
}
Figure