Introduction
Human Activity Recognition (HAR) is a cornerstone of modern wearable technology, enabling devices like smartwatches to monitor health and detect critical events such as falls. Traditionally, these tasks are performed by Artificial Neural Networks (ANNs). However, ANNs face significant challenges in wearable environments: they are computationally expensive, relying on power-hungry 32-bit floating-point multiplications, and they often struggle to capture the inherent temporal dynamics of sensor data.
This research proposes a shift toward Spiking Neural Networks (SNNs). By mimicking the event-driven nature of biological neurons, SNNs offer a low-power alternative that treats time as a primary dimension, achieving state-of-the-art accuracy while reducing energy consumption by up to 94%.
The Shift to Spiking Neural Networks
To address the efficiency and temporal logic gaps, the authors replaced standard ReLU-based neurons with Leaky-Integrate-and-Fire (LIF) neurons. Unlike standard neurons that output continuous values, LIF neurons maintain a "membrane potential" that accumulates input over time. A binary spike is only generated when this potential crosses a predefined threshold.
This architecture was integrated into two specific models:
- SpikeCNN: A spiking version of a standard Convolutional Neural Network.
- SpikeDCL: A hybrid model combining spiking CNN layers with spiking LSTM-like temporal logic.
To train these models, the researchers utilized the surrogate gradient method. Since the firing function of a spiking neuron is non-differentiable, surrogate gradients allow the use of standard backpropagation tools like PyTorch. Additionally, the study found that a "soft-reset" mechanism—where the threshold value is subtracted from the membrane potential after a spike—outperformed a "hard-reset" to zero by preserving residual temporal information.
Performance and Efficiency
The models were rigorously tested against three benchmark datasets: UCI-HAR, UniMB SHAR (focused on fall detection), and HHAR (testing device heterogeneity).
Key Results:
- Superior Accuracy: On the UCI-HAR dataset, SpikeDCL achieved 98.86% accuracy, surpassing its non-spiking counterpart (97.87%). Similar improvements were noted across other benchmarks, proving that SNNs do not sacrifice performance for efficiency.
- Massive Energy Savings: Hardware simulations revealed that SNNs reduce energy consumption by approximately 93.4% to 94%. This is primarily due to high sparsity; while ANN activations are active ~50% of the time, SNN neurons only fire ~20% of the time. By using binary spikes, the system replaces expensive multiplications with simple additions.
- Inherent Memory: In SNNs, the membrane potential itself acts as a memory of past inputs. The Decay Factor (τ), which determines how quickly this potential dissipates, emerged as the most critical hyperparameter for tuning performance.
Conclusion and Future Directions
Spiking Neural Networks represent a significant leap forward for on-device HAR, offering a rare combination of higher accuracy and drastically lower power requirements. However, challenges remain. Training SNNs on traditional GPUs is still computationally intensive due to the complexity of simulating time steps. Furthermore, the full energy-saving potential of these models will only be realized when they are deployed on specialized neuromorphic hardware, such as Intel’s Loihi or SynSense chips. Future work will likely focus on automating the tuning of the decay factor and optimizing the training pipeline for broader commercial adoption.
Summary updated