CoChat

Frequency-Aware Masked Autoencoders for Human Activity Recognition using Accelerometers

Open access
Lorenzen, Niels R., Jennum, Poul J., Mignot, Emmanuel, Brink-Kjaer, Andreas · 2025 · 2025 47th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)

The DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.

Abstract

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 mean-magnitude (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.Clinical Relevance- Improved algorithms for human activity recognition, enables more accurate monitoring of physical activity, which is crucial for assessing mobility, rehabilitation progress, and chronic disease management.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/embc58623.2025.11252605

Cites

21 of 21 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 9

  1. TimeMAE: Self-Supervised Representations of Time Series with Decoupled Masked Autoencoders. M Cheng, Q Liu, Z Liu, H Zhang, R Zhang, E Chen, arXiv:arXiv:2303.00320Mar. 13, 2023. Jun. 12. 2024
  2. Evaluating Contrastive Learning on Wearable Timeseries for Downstream Clinical Outcomes. K Shah, D Spathis, C I Tang, C Mascolo, 10.48550/arXiv.2111.07089arXiv:arXiv:2111.07089Nov. 13, 2021 · arXiv · doi:10.48550/arxiv.2111.07089arxiv:arxiv:2111.07089nov
  3. BERT: Pretraining of Deep Bidirectional Transformers for Language Understanding. J Devlin, M.-W Chang, K Lee, K Toutanova, 10.48550/arXiv.1810.04805arXiv:arXiv:1810.04805May 24, 2019 · arXiv · doi:10.48550/arxiv.1810.04805arxiv:arxiv:1810.04805may
  4. A Time Series is Worth 64 Words: Long-term Forecasting with Transformers. Y Nie, N H Nguyen, P Sinthong, J Kalagnanam, 10.48550/arXiv.2211.14730arXiv:arXiv:2211.14730Mar. 05, 2023 · arXiv · doi:10.48550/arxiv.2211.14730arxiv:arxiv:2211.14730mar
  5. RoFormer: Enhanced Transformer with Rotary Position Embedding. J Su, Y Lu, S Pan, A Murtadha, B Wen, Y Liu, arXiv:arXiv:2104.09864Nov. 08, 2023. Jun. 12, 2024
  6. Frequency-Aware Masked Autoencoders for Multimodal Pretraining on Biosignals. R Liu, arXiv:arXiv:2309.05927Apr. 18, 2024. Sep. 19, 2024
  7. Attention Is All You Need. A Vaswani, 10.48550/arXiv.1706.03762arXiv:arXiv:1706.03762Aug. 02, 2023 · arXiv · doi:10.48550/arxiv.1706.03762arxiv:arxiv:1706.03762aug
  8. GLU Variants Improve Transformer. N Shazeer, 10.48550/arXiv.2002.05202arXiv:arXiv:2002.05202Feb. 12, 2020 · arXiv · doi:10.48550/arxiv.2002.05202arxiv:arxiv:2002.05202feb
  9. On Layer Normalization in the Transformer Architecture. R Xiong, 10.48550/arXiv.2002.04745arXiv:arXiv:2002.04745Jul. 29, 2020 · arXiv · doi:10.48550/arxiv.2002.04745arxiv:arxiv:2002.04745jul

Cited by

See all 2

Metadata

Authors
Lorenzen, N. R., Jennum, P. J., Mignot, E., & Brink-Kjaer, A.
Affiliations
  • Technical University of Denmark (DK)
  • Copenhagen University Hospital (DK)
  • Stanford University (US)
  • Technical University of Denmark,Department of Health Technology,Lyngby,Denmark
Venue
2025 47th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)
Publisher
IEEE
Published
2025-07-14
Volume
2025
Pages
1-7
ISSN
2375-7477 (ISSN-L)
OpenAlex
W4416961249
Cited by
2
References
18
Citations by year
2026: 2
FWCI
1.49
Type
conference paper
Language
en
Open access
Locations
  • Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) (publishedVersion)
  • PubMed (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Context-Aware Activity Recognition Systems
  • Health Sciences › Medicine › Public Health, Environmental and Occupational Health › Physical Activity and Health
  • Physical Sciences › Computer Science › Signal Processing › Time Series Analysis and Forecasting
Keywords
human activity recognition, masked autoencoder, self-supervised pre-training, wearable accelerometers, time series transformer, linear probing, physical activity monitoring
MeSH terms
Machine Learning, Wearable Electronic Devices, Autoencoder, Algorithms, Humans, Human Activities, Accelerometry

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.