G-SwinHAR: Swin Transformer for Smartphone-Based Human Activity Recognition Using Gramian Angular Field

Mohammed Ayub, El Sayed M. El-Alfy*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The widespread availability of smartphones, combined with advancements in embedded sensing technology, has spurred a variety of applications in areas such as fitness, healthcare, environmental health and safety monitoring, and ambient assisted living. Recently, there has been a growing focus on recognizing daily human physical states, which is crucial for smart surveillance, home automation, and support for patients, the elderly, and individuals with special needs. This paper presents a novel approach, termed G-SwinHAR, and investigates its performance for hierarchical vision-based human activity recognition. Our method first transforms time-series signals from smartphone sensors into images using the Gramian angular field method, then applies a Swin transformer for hierarchical fusion of visual feature maps. We conducted a series of ablation and comparative studies on the UCI HAR and WISDM datasets. Besides memory reduction due to the shift-window multi-head self-attention mechanism, the results demonstrate that G-SwinHAR outperformed other benchmark methods that are based on convolutional neural networks.

Original languageEnglish
Title of host publicationNeural Information Processing - 31st International Conference, ICONIP 2024, Proceedings
EditorsMufti Mahmud, Maryam Doborjeh, Kevin Wong, Andrew Chi Sing Leung, Zohreh Doborjeh, M. Tanveer
PublisherSpringer Science and Business Media Deutschland GmbH
Pages212-226
Number of pages15
ISBN (Print)9789819665877
DOIs
StatePublished - 2025
Event31st International Conference on Neural Information Processing, ICONIP 2024 - Auckland, New Zealand
Duration: 2 Dec 20246 Dec 2024

Publication series

NameLecture Notes in Computer Science
Volume15290 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference31st International Conference on Neural Information Processing, ICONIP 2024
Country/TerritoryNew Zealand
CityAuckland
Period2/12/246/12/24

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2025.

Keywords

  • Convolutional Neural Network
  • Deep Learning
  • Gramian Angular Field
  • Human Activity Recognition
  • Smartphone Sensors
  • Swin Transformers
  • Time Series

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'G-SwinHAR: Swin Transformer for Smartphone-Based Human Activity Recognition Using Gramian Angular Field'. Together they form a unique fingerprint.

Cite this