mlsanityData to 7 Oct 2026

Frequency-Aware Masked Autoencoders for Human Activity Recognition using Accelerometers

arXiv 2502.17477 ↗First posted 17 Feb 2025eess.SP cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Wearable accelerometers are widely used for continuous monitoring of physical activity. Supervised machine learning and deep learning algorithms have long been used to extract meaningful activity information from raw accelerometry data, but progress has been hampered by the limited amount of labeled data that is publicly available. Exploiting large unlabeled datasets using self-supervised pretraining is a relatively new and underexplored approach in the field of human activity recognition (HAR). We used a time-series transformer masked autoencoder (MAE) approach to self-supervised pretraining and propose two novel spectrogram-based loss functions: the log-scale meanmagnitude (LMM) and log-scale magnitude variance (LMV) losses. We compared these losses with the mean squared error (MSE) loss for MAE training. We leveraged the large unlabeled UK Biobank accelerometry dataset (n = 109k) for pretraining and evaluated downstream HAR performance using a linear classifier in a smaller labelled dataset. We found that pretraining with the LMM loss improved performance compared to an MAE pretrained with the MSE loss, with 12.7% increase in subject-wise F1 score when using linear probing. Compared with a state-of-the-art ResNet-based HAR model, our LMM-pretrained transformer models performed better (+9.8% F1) with linear probing and comparably when fine-tuned using an LSTM classifier. The addition of the LMV to the LMM loss decreased performance compared to the LMM loss alone. These findings establish the LMM loss as a robust and effective method for pretraining MAE models on accelerometer data for HAR and show the potential of pretraining sequence-based models for free-living HAR.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 29 references that are in the map. First posted on arXiv 17 Feb 2025.

Builds on

19 of 29 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  4. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  7. 2020GLU Variants Improve Transformercited by 1,724
  8. 2019Root Mean Square Layer Normalizationcited by 1,425
  9. 2020On Layer Normalization in the Transformer Architecturecited by 906
  10. 2019Multi-task Self-Supervised Learning for Human Activity Detectioncited by 98
  11. 2022Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Datacited by 71
  12. 2022Assessing the State of Self-Supervised Human Activity Recognition using Wearablescited by 63
7 more
  1. 2020Contrastive Predictive Coding for Human Activity Recognitioncited by 54
  2. 2023TimeMAE: Self-Supervised Representations of Time Series with Decoupled Masked Autoencoderscited by 42
  3. 2023Frequency-Aware Masked Autoencoders for Multimodal Pretraining on Biosignalscited by 22
  4. 2018Fast Spectrogram Inversion using Multi-head Convolutional Neural Networkscited by 21
  5. 2024CAPTURE-24: A large dataset of wrist-worn activity tracker data collected in the wild for human activity recognitioncited by 18
  6. 2021Evaluating Contrastive Learning on Wearable Timeseries for Downstream Clinical Outcomescited by 8
  7. 2021Interpretable Deep Learning for the Remote Characterisation of Ambulation in Multiple Sclerosis using Smartphonescited by 3

Built on by

Not cited yet.