Related Experiment Video
Updated: Oct 17, 2026

Evaluation of a Smartphone-based Human Activity Recognition System in a Daily Living Environment
Published on: December 11, 2015
A Physics-Informed ConvFormer with State-Space Gating for Smartphone-Based Human Activity Recognition on the WISDM
Yancheng Pan1, Zixin Zhao2, Yingwei Xu1
1School of Physical Education, Yanshan University, Qinhuangdao 066000, China.
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.
Related Concept Videos
State Space to Transfer Function
The transformation process begins with the state-space representation, characterized by the state equation and the output equation. These equations are typically represented as:
Transfer Function to State Space
In an RLC...
State Space Representation
Consider an RLC circuit, a...
Convolution: Math, Graphics, and Discrete Signals
To simplify the convolution integral, it is assumed that both the input signal and impulse response are zero for negative time values. The graphical convolution process...
Convolution Properties II
The width property indicates that if the durations of input signals are T1 and T2, then the width of the output response equals the sum of both durations, irrespective of the shapes of the two functions. For instance, convolving two rectangular pulses with durations of 2 seconds and 1 second results in a function with a width of 3 seconds.
The area property asserts that the area under the...
Discrete Fourier Transform