CoChat

Accuracy Comparison of CNN, LSTM, and Transformer for Activity Recognition Using IMU and Visual Markers

Open access
Trujillo-Guerrero, María Fernanda, Román-Niemes, Stadyn, Jaén-Vargas, Milagros, Cadiz, Alfonso, Fonseca, Ricardo, Serrano-Olmedo, José Javier · 2023 · IEEE Access

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

Abstract

Human activity recognition (HAR) has applications ranging from security to healthcare. Typically these systems are composed of data acquisition and activity recognition models. In this work, we compared the accuracy of two acquisition systems: Inertial Measurement Units (IMUs) vs Movement Analysis Systems (MAS). We trained models to recognize arm exercises using state-of-the-art deep learning architectures and compared their accuracy. MAS uses a camera array and reflective markers. IMU uses accelerometers, gyroscopes, and magnetometers. Sensors of both systems were attached to different locations of the upper limb. We captured and annotated 3 datasets, each one using both systems simultaneously. For activity recognition, we trained 8 architectures, each one with different operations and layers configurations. The best architectures were a combination of CNN, LSTM, and Transformer achieving test accuracy from 89% to 99% on average. We evaluated how feature selection reduced the sensors required. We found IMU and MAS data were able to distinguish correctly the arm exercises. CNN layers at the beginning produced better accuracy on challenging datasets. IMU had advantages over other aquisition systems for activity recognition. We analyzed the relations between models accuracy, signal waveforms, signals correlation, sampling rate, exercise duration, and window size. Finally, we proposed the use of a single IMU located at the wrist and a variable-size window extraction.

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/access.2023.3318563

Cites

47 of 47 references verified0 citation errors · 0 not checkable

Statistics

Figures

FIGURE 1 IMU sensors distribution
FIGURE 1 IMU sensors distributionCC-BY · From the PDF
FIGURE 2 Visual markers and cameras distribution
FIGURE 2 Visual markers and cameras distributionCC-BY · From the PDF
FIGURE 3 Exercises (a) flexion-extension [37], (b) pronation-supination.
FIGURE 3 Exercises (a) flexion-extension [37], (b) pronation-supination.CC-BY · From the PDF
FIGURE 4 Shoulder Abduction-Adduction. (a) neutral position, (b) abduction from 0 ◦ to 60 ◦ [37]
FIGURE 4 Shoulder Abduction-Adduction. (a) neutral position, (b) abduction from 0 ◦ to 60 ◦ [37]CC-BY · From the PDF
FIGURE 6 Vertical Shoulder Flexion-extension. (a) low amplitude (45 ◦ - 50 ◦ ), (b) high amplitude (180 ◦ ) [37]
FIGURE 6 Vertical Shoulder Flexion-extension. (a) low amplitude (45 ◦ - 50 ◦ ), (b) high amplitude (180 ◦ ) [37]CC-BY · From the PDF
FIGURE 7 Internal and external rotation of the shoulder. (a) internal rotation of 30 ◦ , (b) external rotation of 80 ◦ [37]
FIGURE 7 Internal and external rotation of the shoulder. (a) internal rotation of 30 ◦ , (b) external rotation of 80 ◦ [37]CC-BY · From the PDF
Image 7
CC-BY · From the PDF
FIGURE 9 Visual marker at the forearm. A single period of elbow flexion-extension movement. The blue line is the flexion state, and the red line is the extension state.
FIGURE 9 Visual marker at the forearm. A single period of elbow flexion-extension movement. The blue line is the flexion state, and the red line is the extension state.CC-BY · From the PDF
FIGURE 10 Dataset 1. MPU9250 is located at the arm during elbow flexion-extension. Plot of accelerometer, gyro, and mag signal with x,y, and z axes.
FIGURE 10 Dataset 1. MPU9250 is located at the arm during elbow flexion-extension. Plot of accelerometer, gyro, and mag signal with x,y, and z axes.CC-BY · From the PDF
FIGURE 11 Dataset 1. Visual markers located at the lower, middle, and upper arm during elbow flexion extension. The plot of marker position signal in the x,y, and z axes.
FIGURE 11 Dataset 1. Visual markers located at the lower, middle, and upper arm during elbow flexion extension. The plot of marker position signal in the x,y, and z axes.CC-BY · From the PDF
Image 11
CC-BY · From the PDF
FIGURE 13 Graphical Representation of the eight architectures
FIGURE 13 Graphical Representation of the eight architecturesCC-BY · From the PDF
Image 13
CC-BY · From the PDF
FIGURE 14 Plot of best training curves for every dataset using all features
FIGURE 14 Plot of best training curves for every dataset using all featuresCC-BY · From the PDF
FIGURE 16 Confusion matrix of the best-performing architecture of every dataset (best features)
FIGURE 16 Confusion matrix of the best-performing architecture of every dataset (best features)CC-BY · From the PDF
Image 16
CC-BY · From the PDF
Image 17
CC-BY · From the PDF
Image 18
CC-BY · From the PDF
Image 19
CC-BY · From the PDF
Image 20
CC-BY · From the PDF
Image 21
CC-BY · From the PDF

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

Research works printed but not linked: 7

  1. T. Kam Ho, ''Random decision forests,'' in Proc. 3rd Int. Conf. Document Anal. Recognit., 1995, pp. 278-282.
  2. A. Liaw and M. Wiener, ''Classification and regression by randomforest,'' R News, vol. 2, no. 3, pp. 18-22, 2002.
  3. P. Rathnayakas. (2021). ETFA-workshop. [Online]. Available: https://github.com/CDAC-lab/ETFA-Workshop
  4. I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
  5. R. Tokarczyk and T. Mazur, ''Photogrammetry-principles of operation and application in rehabilitation,'' Med. Rehabil., vol. 10, pp. 31-38, Jan. 2006.
  6. 2022, Documentation
  7. A. Kapandji, Fisiología Articular, Tomo I, Tomo II, Tomo III. Madrid, Spain: Panamericana, 2010.

Cited by

See all 36

Metadata

Authors
Trujillo-Guerrero, M. F., Román-Niemes, S., Jaén-Vargas, M., Cadiz, A., Fonseca, R., & Serrano-Olmedo, J. J.
Affiliations
  • Universidad Politécnica de Madrid (ES)
  • Universidad Yachay Tech (EC)
  • Digevo, Santiago, Chile
  • Center for Biomedical Technology (CTB), Universidad Politécnica de Madrid, Madrid, Spain
Venue
IEEE Access
Published
2023
Volume
11
Pages
106650-106669
ISSN
2169-3536 (ISSN-L)
OpenAlex
W4387010474
Cited by
28
References
47
Citations by year
2026: 7 · 2025: 11 · 2024: 10
FWCI
2.54
Type
journal article
Language
en
Open access
Locations
  • IEEE Access (publishedVersion, cc-by)
  • Hispana (acceptedVersion, cc-by)
  • UPM Digital Archive (Technical University of Madrid) (submittedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
  • Ministerio de Ciencia, Innovación y Universidades of Spain (PGC2018-097531-B-I00)
  • Cloud Computing
  • Microsoft Founders Hub
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Context-Aware Activity Recognition Systems
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Human Pose and Action Recognition
  • Physical Sciences › Computer Science › Human-Computer Interaction › Hand Gesture Recognition Systems
Keywords
human activity recognition, inertial measurement unit, convolutional neural networks, LSTM, transformer models, sensor data acquisition, feature selection, window size, sampling frequency, signal correlation

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.