A Physics-Informed ConvFormer with State-Space Gating for Smartphone-Based Human Activity Recognition on the WISDM Dataset

Smartphone-based human activity recognition (HAR) requires discriminative temporal modeling and careful assessment of computational cost. This study evaluates a Physics-Informed ConvFormer with State-Space Gating for six-class HAR on the WISDM v1.1 accelerometer dataset. The model combines raw acceleration with deterministic magnitude, directional, gravity-estimate, and dynamic-acceleration features, followed by large-kernel depthwise convolution, a Mamba-inspired causal gate, attention, and a multilayer perceptron. The main subject-level experiment achieved 95.63% best validation accuracy and 83.92% test accuracy. Across four subject-level splits, the full model achieved 88.86 ± 6.16% mean test accuracy, compared with 89.66 ± 5.56% for the compact CNN baseline and 89.54 ± 5.07% for the raw three-channel hybrid variant. The full model used 588,006 parameters and had a measured local CPU forward-pass latency of 21.54 ms per window, whereas the CNN used 125,766 parameters and 0.45 ms. Removing State-Space Gating changed mean accuracy by 0.22 percentage points and reduced latency to 3.80 ms. Removing local convolution or attention reduced mean accuracy by 3.99 or 3.06 percentage points, respectively, within the hybrid backbone. These results show that local convolution and attention are valuable within the hybrid design, while raw-input and no-SSM configurations remain competitive lower-cost alternatives. The study provides a transparent component-level assessment under subject-level separation and defines priorities for future smartphone deployment, orientation-robust evaluation, and longer-context modeling.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-09-28
DOI
https://doi.org/10.3390/s26196139
Primary Topic
Context-Aware Activity Recognition Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

A Physics-Informed ConvFormer with State-Space Gating for Smartphone-Based Human Activity Recognition on the WISDM Dataset

Yancheng Pan, Zixin Zhao, Yingwei Xu
Sensors
Context-Aware Activity Recognition Systems
article

A Physics-Informed ConvFormer with State-Space Gating for Smartphone-Based Human Activity Recognition on the WISDM Dataset

Yancheng Pan, Zixin Zhao, Yingwei Xu
article en

Abstract

Smartphone-based human activity recognition (HAR) requires discriminative temporal modeling and careful assessment of computational cost. This study evaluates a Physics-Informed ConvFormer with State-Space Gating for six-class HAR on the WISDM v1.1 accelerometer dataset. The model combines raw acceleration with deterministic magnitude, directional, gravity-estimate, and dynamic-acceleration features, followed by large-kernel depthwise convolution, a Mamba-inspired causal gate, attention, and a multilayer perceptron. The main subject-level experiment achieved 95.63% best validation accuracy and 83.92% test accuracy. Across four subject-level splits, the full model achieved 88.86 ± 6.16% mean test accuracy, compared with 89.66 ± 5.56% for the compact CNN baseline and 89.54 ± 5.07% for the raw three-channel hybrid variant. The full model used 588,006 parameters and had a measured local CPU forward-pass latency of 21.54 ms per window, whereas the CNN used 125,766 parameters and 0.45 ms. Removing State-Space Gating changed mean accuracy by 0.22 percentage points and reduced latency to 3.80 ms. Removing local convolution or attention reduced mean accuracy by 3.99 or 3.06 percentage points, respectively, within the hybrid backbone. These results show that local convolution and attention are valuable within the hybrid design, while raw-input and no-SSM configurations remain competitive lower-cost alternatives. The study provides a transparent component-level assessment under subject-level separation and defines priorities for future smartphone deployment, orientation-robust evaluation, and longer-context modeling.

SensorsVol. 26(19)
Yanshan University (CN), Southeast University (CN)
Reduced inequalities
Openalex Percentile: Top 14%
Context-Aware Activity Recognition Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.