Abstract
Implantable Brain-machine interfaces (BMIs) are promising for motor rehabilitation and mobility augmentation, and they demand accurate and energy-efficient algorithms. In this paper, we propose a novel spiking neural network (SNN) decoder for regression tasks for implantable BMIs. The SNN is trained with enhanced spatio-temporal backpropagation to fully leverage its capability to handle temporal problems. The proposed SNN decoder outperforms the state-of-the-art Kalman filter and artificial neural network (ANN) decoders in offline finger velocity decoding tasks. The decoder is deployed on a RISC-V-based hardware platform and optimized to exploit sparsity. The proposed implementation has an average power consumption of 0.50 mW in a duty-cycled mode. When conducting continuous inference without duty-cycling, it achieves an energy efficiency of 1.88 uJ per inference, which is 5.5X less than the baseline ANN. Additionally, the average decoding latency is 0.12 ms for each inference, which is 5.7X faster than the ANN implementation.
Introduction
Implantable Brain-Machine Interfaces (BMIs) offer transformative potential for patients with paralysis. However, these devices face a critical "power-heat-data" trilemma: high-resolution control requires processing massive neural datasets, but wireless transmission drains batteries rapidly, and excessive heat from high-performance electronics can damage brain tissue.
To address this, researchers have developed a novel Spiking Neural Network (SNN) decoder designed for edge computing directly on the implant. Unlike traditional Artificial Neural Networks (ANNs), SNNs mimic biological neurons by communicating via discrete "spikes," enabling ultra-low-power operation through inherent computational sparsity.
Methods and System Architecture
The proposed SNN architecture is specifically designed for regression tasks, such as predicting continuous finger velocities. The system pipeline involves neural signal acquisition, feature extraction (Spiking Band Power), and real-time decoding on a microcontroller.
Enhanced SNN Training
The network is trained using Spatio-Temporal Backpropagation (STBP) with several bio-inspired enhancements:
- Reset-by-Subtraction: Neurons subtract the threshold value from their membrane potential after firing, preserving residual temporal information.
- Trainable Decay Factors: Each neuron learns its own leakage rate, allowing the network to adapt to complex temporal patterns in brain activity.
- Noise Injection: Adding white Gaussian noise during training serves as a regularizer, significantly improving the model's robustness and reducing overfitting.
Sparsity-Aware Hardware Deployment
The decoder was deployed on the GreenWaves GAP9, a multi-core RISC-V microcontroller. To maximize efficiency, the authors introduced a "Sparse Copy" strategy. Utilizing a Direct Memory Access (DMA) controller, the system only transfers weights corresponding to active (spiking) neurons from L2 to L1 memory. This approach leverages the fact that only ~15% of neurons fire at any given time, drastically reducing memory bottlenecks and power consumption.
Results and Discussion
The SNN decoder was evaluated on two primate datasets (Dataset A and B) involving finger velocity tasks.
The SNN achieved a correlation coefficient of 0.783, significantly outperforming the state-of-the-art Kalman Filter (0.601) and a comparable ANN (0.732). Beyond accuracy, the hardware implementation demonstrated remarkable efficiency:
- Energy Efficiency: 1.88 µJ per inference (5.5x better than ANN).
- Latency: 0.12 ms per decoding step (5.7x faster than ANN).
- Power Consumption: 0.50 mW in duty-cycled mode.
These results highlight that sparsity is a powerful feature for BMI decoders. By co-designing hardware routines to exploit irregular spike patterns, the researchers achieved performance gains that rigid, specialized accelerators often miss.
Conclusion
This work demonstrates that SNNs are highly effective for continuous regression in BMIs, offering a superior balance of accuracy and efficiency compared to traditional methods. Future work will focus on "closed-loop" online testing, where real-time feedback allows subjects to adapt to the decoder. Additionally, as neural probes scale to thousands of channels, further optimizations in memory architecture will be required to maintain these efficiency gains.
Summary updated