Paper

Self-supervised learning for human activity recognition using 700,000 person-days of wearable data

Venue listedDated Jun 2024

Authors: Yuan Hang, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty

npj Digital Medicine

TL;DR

This Oxford study used self-supervised learning on 700,000 person-days of unlabelled wrist accelerometer data from UK Biobank to build activity recognition models. The models beat strong baselines on eight benchmark datasets, with relative F1 gains of 2.5% to 130.9% (median 24.4%), and generalized across cohorts, living environments and devices. The pretrained models are open source.

  • Pretraining data: UK Biobank, 700,000 person-days
  • Result: F1 +2.5% to +130.9% (median 24.4%) on 8 benchmarks
  • Weights: open-source pretrained models

Abstract

Accurate physical activity monitoring is essential to understand the impact of physical activity on one’s physical health and overall well-being. However, advances in human activity recognition algorithms have been constrained by the limited availability of large labelled datasets. This study aims to leverage recent advances in self-supervised learning to exploit the large-scale UK Biobank accelerometer dataset—a 700,000 person-days unlabelled dataset—in order to build models with vastly improved generalisability and accuracy. Our resulting models consistently outperform strong baselines across eight benchmark datasets, with an F1 relative improvement of 2.5–130.9% (median 24.4%). More importantly, in contrast to previous reports, our results generalise across external datasets, cohorts, living environments, and sensor devices. Our open-sourced pre-trained models will be valuable in domains with limited labelled data or where good sampling coverage (across devices, populations, and activities) is hard to achieve.

Verbatim from Semantic Scholar (opens in a new tab) · Abstract via Semantic Scholar; © the authors/publisher

Results on ChatPPG leaderboards · 15

All leaderboards
LeaderboardMethodResultRank
CAPTURE-24 Cohen's kappa (Subject-wise 5-fold CV)Human activity recognitionSSL ResNet, UK Biobank (Yuan)0.737 ± 0.087Cohen's kappa, higher is better#1 of 3
CAPTURE-24 Cohen's kappa (Subject-wise 5-fold CV)Human activity recognitionResNet from scratch (Yuan)0.703 ± 0.092Cohen's kappa, higher is better#2 of 3
CAPTURE-24 Cohen's kappa (Subject-wise 5-fold CV)Human activity recognitionRandom forest (Yuan)0.683 ± 0.101Cohen's kappa, higher is better#3 of 3
CAPTURE-24 macro-F1 (Subject-wise 5-fold CV)Human activity recognitionSSL ResNet, UK Biobank (Yuan)0.726 ± 0.093macro-F1, higher is better#1 of 3
CAPTURE-24 macro-F1 (Subject-wise 5-fold CV)Human activity recognitionResNet from scratch (Yuan)0.708 ± 0.094macro-F1, higher is better#2 of 3
CAPTURE-24 macro-F1 (Subject-wise 5-fold CV)Human activity recognitionRandom forest (Yuan)0.694 ± 0.099macro-F1, higher is better#3 of 3
OPPORTUNITY macro-F1 (LOSO, wrist IMU)Human activity recognitionSSL ResNet, UK Biobank (Yuan)59.5 ± 8.5 (%)macro-F1, higher is better#1 of 3
OPPORTUNITY macro-F1 (LOSO, wrist IMU)Human activity recognitionRandom forest (Yuan)41.6 ± 18.5 (%)macro-F1, higher is better#2 of 3
OPPORTUNITY macro-F1 (LOSO, wrist IMU)Human activity recognitionResNet from scratch (Yuan)38.3 ± 12.4 (%)macro-F1, higher is better#3 of 3
PAMAP2 macro-F1 (LOSO, wrist IMU)Human activity recognitionSSL ResNet, UK Biobank (Yuan)78.9 ± 5.4 (%)macro-F1, higher is better#1 of 4
PAMAP2 macro-F1 (LOSO, wrist IMU)Human activity recognitionRandom forest (Yuan)75.3 ± 9.3 (%)macro-F1, higher is better#2 of 4
PAMAP2 macro-F1 (LOSO, wrist IMU)Human activity recognitionResNet from scratch (Yuan)60.5 ± 8.6 (%)macro-F1, higher is better#4 of 4
RealWorld HAR macro-F1 (Subject-wise 5-fold CV)Human activity recognitionSSL ResNet, UK Biobank (Yuan)0.792 ± 0.075macro-F1, higher is better#1 of 3
RealWorld HAR macro-F1 (Subject-wise 5-fold CV)Human activity recognitionRandom forest (Yuan)0.731 ± 0.119macro-F1, higher is better#2 of 3
RealWorld HAR macro-F1 (Subject-wise 5-fold CV)Human activity recognitionResNet from scratch (Yuan)0.705 ± 0.062macro-F1, higher is better#3 of 3

15 rows are credited to this paper. Ranks apply within each leaderboard only, as reported by the source.

Tasks & signals

Datasets used

Models

How it works

How HARNet / OxWearables SSL works: Setup → Method → ResultSetup: Signals (wrist accelerometer). Method: HARNet / OxWearables SSL. Result: Result (F1 +2.5% to +130.9% (median 24.4%) on 8 benchmarks).SetupSignals: wrist accelerometerSignalswrist accelerometerMethodHARNet / OxWearables SSLResultResult: F1 +2.5% to +130.9% (median 24.4%) on 8 benchmarksResultF1 +2.5% to +130.9% (median 24.4%) on 8…

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Self-supervised learning for human activity recognition using 700,000 person-days of wearable data. (2024). npj Digital Medicine. https://www.nature.com/articles/s41746-024-01062-3
@article{sslhar700kukbiob2024selfsupervised,
  title         = {{Self-supervised learning for human activity recognition using 700,000 person-days of wearable data}},
  year          = {2024},
  journal       = {npj Digital Medicine},
  url           = {https://www.nature.com/articles/s41746-024-01062-3}
}

Source metadata: 2024

Record updated Oct 17, 2026

Record updated