Skip to main content
QUICK REVIEW

[Paper Review] Wearable-based Human Activity Recognition with Spatio-Temporal Spiking Neural Networks

Yuhang Li, Ruokai Yin|arXiv (Cornell University)|Nov 14, 2022
Context-Aware Activity Recognition SystemsComputer Science7 citations
TL;DR

This paper proposes spatio-temporal spiking neural networks (SNNs) for wearable-based human activity recognition (HAR), leveraging Leaky-integrate-and-fire (LIF) neurons to model temporal dynamics and enable energy-efficient inference. SNNs achieve accuracy on par with or better than artificial neural networks (ANNs) while reducing energy consumption by up to 94%, demonstrating significant efficiency gains for edge-deployable HAR systems.

ABSTRACT

We study the Human Activity Recognition (HAR) task, which predicts user daily activity based on time series data from wearable sensors. Recently, researchers use end-to-end Artificial Neural Networks (ANNs) to extract the features and perform classification in HAR. However, ANNs pose a huge computation burden on wearable devices and lack temporal feature extraction. In this work, we leverage Spiking Neural Networks (SNNs)--an architecture inspired by biological neurons--to HAR tasks. SNNs allow spatio-temporal extraction of features and enjoy low-power computation with binary spikes. We conduct extensive experiments on three HAR datasets with SNNs, demonstrating that SNNs are on par with ANNs in terms of accuracy while reducing up to 94% energy consumption. The code is publicly available in https://github.com/Intelligent-Computing-Lab-Yale/SNN_HAR

Motivation & Objective

  • To address the high energy consumption and limited temporal modeling in deep learning-based HAR using wearable sensors.
  • To explore the feasibility and performance of Spiking Neural Networks (SNNs) in end-to-end HAR tasks with time-series sensor data.
  • To evaluate SNNs against ANNs in terms of accuracy and energy efficiency on standard HAR benchmarks.
  • To investigate hyperparameter sensitivity in SNNs, particularly decay factor, firing threshold, and reset mechanism.
  • To demonstrate that SNNs can match or exceed ANN performance while enabling ultra-low-power inference on wearable devices.

Proposed method

  • The study employs Leaky-Integrate-and-Fire (LIF) spiking neurons that maintain a membrane potential over time and fire binary spikes when the potential exceeds a threshold.
  • The membrane potential evolves via a decay factor τ, enabling temporal correlation between time steps; τ=0.0 disables memory, while τ=1.0 approaches ReLU behavior.
  • SNNs are trained using backpropagation through time with surrogate gradients, enabling end-to-end optimization of spatio-temporal features.
  • The architecture uses convolutional layers combined with SNNs to extract spatial and temporal features from multivariate sensor time series (e.g., accelerometer, gyroscope).
  • Two SNN variants are evaluated: SpikeCNN and SpikeDCL, with ablation studies on decay factor τ, firing threshold Vth, and reset mechanisms (hard vs. soft).
  • Energy consumption is measured via hardware simulation, with ANN energy use normalized to 1 for comparison.

Experimental results

Research questions

  • RQ1Can SNNs achieve comparable or better accuracy than ANNs in wearable-based HAR tasks?
  • RQ2To what extent can SNNs reduce energy consumption compared to ANNs while maintaining high accuracy?
  • RQ3How sensitive is SNN performance to hyperparameters such as the decay factor τ, firing threshold Vth, and reset mechanism?
  • RQ4Does incorporating temporal dynamics via LIF neurons improve performance on time-series HAR data compared to standard ANNs?
  • RQ5Is the soft-reset mechanism more effective than hard-reset in preserving temporal information in SNNs?

Key findings

  • On the UCI-HAR dataset, the SpikeDCL model achieved 98.86% accuracy, outperforming the best ANN baseline (97.87%)
  • On the SHAR dataset, SpikeCNN achieved 94.04% accuracy, significantly outperforming the best ANN (96.02%)
  • On the HHAR dataset, SpikeDCL achieved 97.52% accuracy, matching the best ANN performance
  • SNNs reduced energy consumption by up to 94% compared to ANNs across all datasets
  • The decay factor τ had a substantial impact on performance: τ=0.75 yielded 98.86% accuracy on UCI-HAR, while τ=1.0 dropped to 96.60% on the same model
  • The soft-reset mechanism consistently outperformed hard-reset across all datasets and models, indicating better preservation of temporal dynamics

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.