Student or educator? Sign up with your school email and get 6 months of Pro free.
CoChat

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

Wearable Sensor-Based Human Activity Recognition with Transformer Model

Open access
Dirgová Luptáková, Iveta, Kubovčík, Martin, Pospíchal, Jiří · 2022 · Sensors

Published version of a preprint

Abstract

Computing devices that can recognize various human activities or movements can be used to assist people in healthcare, sports, or human-robot interaction. Readily available data for this purpose can be obtained from the accelerometer and the gyroscope built into everyday smartphones. Effective classification of real-time activity data is, therefore, actively pursued using various machine learning methods. In this study, the transformer model, a deep learning neural network model developed primarily for the natural language processing and vision tasks, was adapted for a time-series analysis of motion signals. The self-attention mechanism inherent in the transformer, which expresses individual dependencies between signal values within a time series, can match the performance of state-of-the-art convolutional neural networks with long short-term memory. The performance of the proposed adapted transformer method was tested on the largest available public dataset of smartphone motion sensor data covering a wide range of activities, and obtained an average identification accuracy of 99.2% as compared with 89.67% achieved on the same data by a conventional machine learning method. The results suggest the expected future relevance of the transformer model for human activity recognition.

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.3390/s22051911

Cites

43 of 43 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 The transformer model for human activity recognition.
Figure 1 The transformer model for human activity recognition.CC BY · PubMed Central
Figure 2 Distribution of examples by classes: (a) Distribution of examples by individual classes before and after the data augmentation process; (b) distribution of examples by individual classes into training, testing, and validation datasets.
Figure 2 Distribution of examples by classes: (a) Distribution of examples by individual classes before and after the data augmentation process; (b) distribution of examples by individual classes into training, testing, and validation datasets.CC BY · PubMed Central
Figure 3 Parameter importance chart.
Figure 3 Parameter importance chart.CC BY · PubMed Central
Figure 4 Parallel coordinates chart, split in half into two rows.
Figure 4 Parallel coordinates chart, split in half into two rows.CC BY · PubMed Central
Figure 5 Attention heatmaps of different single activities.
Figure 5 Attention heatmaps of different single activities.CC BY · PubMed Central
Figure 6 Attention heatmaps of different pairs of activities.
Figure 6 Attention heatmaps of different pairs of activities.CC BY · PubMed Central
Figure 7 The cosine similarity between the position embedding of the time step.
Figure 7 The cosine similarity between the position embedding of the time step.CC BY · PubMed Central
Figure 8 Visualization of: (a) Attention matrix; (b) position embedding similarity of randomly initialized transformer.
Figure 8 Visualization of: (a) Attention matrix; (b) position embedding similarity of randomly initialized transformer.CC BY · PubMed Central
Figure 9 (a) Confusion matrix; (b) class-wise performance of the transformer model for human activity recognition.
Figure 9 (a) Confusion matrix; (b) class-wise performance of the transformer model for human activity recognition.CC BY · PubMed Central

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

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

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

Show all 42 references

Research works printed but not linked: 2

  1. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv.
  2. Bao, H., Dong, L., and Wei, F. (2021). Beit: Bert pre-training of image transformers. arXiv.

Cited by

See all 270

Metadata

Authors
Dirgová Luptáková, I., Kubovčík, M., & Pospíchal, J.
Affiliations
  • Department of Applied Informatics, Faculty of Natural Sciences, University of Ss. Cyril and Methodius, J. Herdu 2, 917 01 Trnava, Slovakia
  • University of Ss. Cyril and Methodius in Trnava (SK)
Venue
Sensors
Publisher
MDPI AG
Published
2022-03-01
Volume
22
Issue
5
Pages
1911
ISSN
1424-8220 (ISSN-L)
OpenAlex
W4214843096
Cited by
270
References
42
Citations by year
2026: 60 · 2025: 54 · 2024: 64 · 2023: 47 · 2022: 16
FWCI
14.80
Type
journal article
Language
en
Open access
Locations
  • Sensors (publishedVersion, cc-by)
  • Preprints.org (acceptedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
  • Slovak Research and Development Agency (APVV-17-0116)
  • Cultural and Educational Grant Agency MŠVVaŠ SR (KEGA 012UCM-4/2021)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Context-Aware Activity Recognition Systems
  • Physical Sciences › Computer Science › Signal Processing › Time Series Analysis and Forecasting
  • Physical Sciences › Engineering › Biomedical Engineering › Gait Recognition and Analysis
Keywords
human activity recognition, wearable sensors, smartphone motion sensors, accelerometer, gyroscope, transformer models, self-attention, time series classification, motion signals
MeSH terms
Machine Learning, Wearable Electronic Devices, Algorithms, Humans, Human Activities, Neural Networks, Computer

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Wearable Sensor-Based Human Activity Recognition with Transformer Model. https://app.cochat.ai/papers/10.3390/s22051911
The paper
Dirgová Luptáková, I., Kubovčík, M., & Pospíchal, J. (2022). Wearable Sensor-Based Human Activity Recognition with Transformer Model. Sensors. https://doi.org/10.3390/s22051911

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.