Skip to main content
QUICK REVIEW

[Paper Review] Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data

Hang Yuan, Shing Chan|arXiv (Cornell University)|Jun 6, 2022
Context-Aware Activity Recognition SystemsComputer Science52 references12 citations
TL;DR

This paper proposes a self-supervised learning framework using 700,000 person-days of unlabeled wrist-worn accelerometer data from the UK Biobank to pre-train a human activity recognition (HAR) model. By jointly optimizing three temporal pretext tasks—arrow of time, permutation, and time-warping—the model learns robust representations that generalize across diverse datasets, devices, and populations, achieving median F1 improvements of 18.4% (up to 100%) over strong baselines, especially in low-data regimes.

ABSTRACT

Advances in deep learning for human activity recognition have been relatively limited due to the lack of large labelled datasets. In this study, we leverage self-supervised learning techniques on the UK-Biobank activity tracker dataset--the largest of its kind to date--containing more than 700,000 person-days of unlabelled wearable sensor data. Our resulting activity recognition model consistently outperformed strong baselines across seven benchmark datasets, with an F1 relative improvement of 2.5%-100% (median 18.4%), the largest improvements occurring in the smaller datasets. In contrast to previous studies, our results generalise across external datasets, devices, and environments. Our open-source model will help researchers and developers to build customisable and generalisable activity classifiers with high performance.

Motivation & Objective

  • To address the limited performance of deep learning in HAR due to small, expensive-to-annotate labeled datasets.
  • To investigate whether self-supervised learning (SSL) on large-scale real-world unlabeled wearable data can improve HAR generalization across domains.
  • To evaluate SSL on a diverse, real-world dataset (UK Biobank) rather than small lab-based datasets, enabling more realistic assessment of transferability.
  • To develop a publicly available, high-performing HAR model that reduces reliance on costly data labeling.
  • To explore whether multi-task SSL can learn meaningful representations of human motion dynamics, intensity, and sensor synchrony.

Proposed method

  • Pre-training a deep neural network using three self-supervised pretext tasks: arrow of time (predicting temporal order), permutation (reordering sensor axes), and time-warping (distorting temporal sequence).
  • Using a large-scale, real-world dataset of 6 billion tri-axial accelerometer samples from 100,000 UK Biobank participants collected via wrist-worn devices at 100 Hz.
  • Employing a shared feature extractor with task-specific heads for each pretext task, trained end-to-end via contrastive learning objectives.
  • Applying a movement-aware weighted sampling strategy during pre-training to prioritize dynamic over stationary periods, improving representation quality.
  • Fine-tuning the pre-trained model on seven downstream HAR benchmarks with minimal labeled data.
  • Using Layer-wise Relevance Propagation (LRP) for interpretability to analyze which signal segments the model attends to during pretext task prediction.

Experimental results

Research questions

  • RQ1Can self-supervised learning on massive real-world wearable data improve downstream HAR performance across diverse datasets and environments?
  • RQ2How does multi-task SSL with temporal pretext tasks (arrow of time, permutation, time-warping) enhance representation learning for human motion?
  • RQ3Does pre-training on unlabelled data from the UK Biobank lead to better generalization than supervised or contrastive pre-training on small lab datasets?
  • RQ4To what extent do the learned representations capture meaningful motion dynamics, intensity, and inter-axis synchrony?
  • RQ5Can the pre-trained model achieve high performance even with limited labeled data in downstream tasks?

Key findings

  • The self-supervised model achieved a median F1 improvement of 18.4% across seven benchmark datasets, with gains ranging from 2.5% to 100%.
  • The largest performance gains occurred in smaller datasets, demonstrating strong data efficiency and reduced dependency on labeled data.
  • The model generalized effectively across different devices, populations, activity classes, and recording environments, unlike prior SSL-HAR studies that failed under domain shift.
  • Interpretability analysis using LRP showed that the model correctly identified natural motion patterns (e.g., swinging in tennis, rhythmic shaking) as relevant for pretext tasks.
  • The model showed reduced attention to unnatural motion dynamics in augmented data, indicating robustness to distributional shifts.
  • The pre-trained model already demonstrated strong activity discrimination capability before fine-tuning, suggesting effective representation learning of motion dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.