Abstract
In this study, we explore Human Activity Recognition (HAR), a task that aims to predict individuals' daily activities utilizing time series data obtained from wearable sensors for health-related applications. Although recent research has predominantly employed end-to-end Artificial Neural Networks (ANNs) for feature extraction and classification in HAR, these approaches impose a substantial computational load on wearable devices and exhibit limitations in temporal feature extraction due to their activation functions. To address these challenges, we propose the application of Spiking Neural Networks (SNNs), an architecture inspired by the characteristics of biological neurons, to HAR tasks. SNNs accumulate input activation as presynaptic potential charges and generate a binary spike upon surpassing a predetermined threshold. This unique property facilitates spatio-temporal feature extraction and confers the advantage of low-power computation attributable to binary spikes. We conduct rigorous experiments on three distinct HAR datasets using SNNs, demonstrating that our approach attains competitive or superior performance relative to ANNs, while concurrently reducing energy consumption by up to 94%.
Introduction
Human Activity Recognition (HAR) is the backbone of modern health technology, allowing smartwatches and fitness trackers to identify whether a user is walking, running, or—more critically—experiencing a fall. Traditionally, this task is performed using Artificial Neural Networks (ANNs) such as Convolutional Neural Networks (CNNs) or Long Short-Term Memory (LSTM) networks.
However, ANNs face two major hurdles in the wearable space. First, they rely on high-precision floating-point multiplications, which rapidly drain the limited battery life of wearable devices. Second, standard ANN activation functions (like ReLU) treat data points as independent snapshots, requiring complex architectures to "force" temporal logic into the model for streaming sensor data.
Methodology: Spiking Neural Networks
To overcome these limitations, we propose the use of Spiking Neural Networks (SNNs). Unlike traditional ANNs that communicate through continuous values, SNNs are inspired by the biological brain's use of discrete, binary "spikes."
The Spiking Neuron
SNNs utilize Leaky-Integrate-and-Fire (LIF) neurons. These neurons accumulate input charges into a "membrane potential" over time. Once this potential hits a specific threshold ($V_{th}$), the neuron fires a binary spike (1) and resets; otherwise, it remains silent (0). This mechanism allows the network to naturally capture temporal patterns within the sensor time series, as the membrane potential acts as an inherent memory of previous time steps.
Training and Efficiency
Because the spiking function is non-differentiable, we employed a surrogate gradient method to enable standard backpropagation. The primary computational advantage of this architecture is that it replaces heavy "multiply-accumulate" operations with simple additions or logical gates. Furthermore, SNNs exhibit high sparsity; while ANNs typically have 50% activation sparsity, SNNs reach approximately 80%, meaning far fewer computations are required to reach a decision.
Experimental Results
We evaluated SNN models—specifically SpikeCNN and SpikeDCL (a spiking version of DeepConvLSTM)—on three benchmark datasets: UCI-HAR, UniMB SHAR, and HHAR.
- Accuracy: On the UCI-HAR dataset, SpikeDCL achieved 98.86% accuracy, surpassing the standard ANN-based DCL (97.87%).
- Energy Efficiency: By simulating a custom hardware accelerator, we demonstrated that SNNs reduce energy consumption by up to 94% compared to traditional ANNs.
- Robustness: The SNN models proved robust across different hardware platforms (smartphones vs. smartwatches) in the HHAR dataset, maintaining high performance despite sensor heterogeneity.
Conclusion
This research demonstrates that Spiking Neural Networks can perform Human Activity Recognition with equal or superior accuracy to standard ANNs while consuming significantly less power. By mimicking biological temporal processing, SNNs are ideal for "always-on" health monitoring devices where battery life and real-time processing are critical. Future work will explore on-chip learning to make these wearable systems even more autonomous and adaptive to individual user patterns.
Summary updated