Decoding Finger Velocity from Cortical Spike Trains with Recurrent Spiking Neural Networks

Tengjun Liu, Julia Gygax, Julian Rossbroich, Yansong Chua, Shaomin Zhang, Friedemann Zenke

Abstract

Brain-Machine Interfaces (BMIs) are critical for restoring mobility to paralyzed patients, yet current high-performance systems are limited by high power consumption and heat dissipation constraints. This study introduces Recurrent Spiking Neural Networks (RSNNs) designed to decode finger movements from cortical spike trains with high accuracy and extreme energy efficiency. By leveraging a "tiny" 64-neuron architecture and aggressive pruning, the researchers achieved a 500x energy efficiency gain over traditional artificial neural networks (ANNs), maintaining high decoding performance while fitting within the strict thermal and memory budgets required for fully implantable devices.

Introduction

Translating cortical "spike trains"—the electrical pulses from neurons—into control signals for external devices is the core challenge of modern BMIs. While current systems achieve high performance, they typically rely on external hardware connected via percutaneous pedestals, which carry significant infection risks. Transitioning to fully implanted systems requires overcoming the "thermal wall": implants must not raise the temperature of surrounding brain tissue by more than 1°C.

Traditional Artificial Neural Networks (ANNs) struggle to meet these strict power budgets. Spiking Neural Networks (SNNs) offer a more biologically plausible and efficient alternative because they only process data when spikes occur. However, previous feed-forward SNN models have lacked the accuracy necessary for fine motor control. This research investigates whether adding recurrence—feedback loops that allow the network to maintain temporal state—can bridge the gap between high performance and extreme energy efficiency.

Methods

The authors developed two distinct RSNN architectures to explore the trade-offs between performance and efficiency:

  1. bigRSNN: A 1024-neuron model designed to establish the upper limit of decoding accuracy.
  2. tinyRSNN: A 64-neuron model optimized for resource-constrained, fully implantable hardware.
The RSNN architecture utilizes a recurrent layer of spiking neurons to process input spike trains and decode velocity signals.

Both models utilize a recurrent layer of Leaky Integrate-and-Fire (LIF) neurons followed by a non-spiking Leaky Integrator (LI) readout layer. To train these networks, the researchers employed surrogate gradient descent, which allows for end-to-end training despite the non-differentiable nature of discrete spikes. To maximize efficiency, they implemented "homeostatic activity regularization" to maintain low firing rates and used an iterative pruning strategy to remove the weakest 40-50% of synaptic connections without sacrificing accuracy.

Results

The models were evaluated using public benchmark datasets of Cortical Spike Trains (CSTs) recorded from macaque monkeys performing reaching tasks. The results demonstrate that recurrence is a significant performance multiplier for spiking architectures.

  • Decoding Accuracy: The bigRSNN achieved a mean $R^2$ of 0.698. Remarkably, the tinyRSNN (64 neurons) achieved an $R^2$ of approximately 0.66, outperforming previous state-of-the-art feed-forward SNN models despite its much smaller size.
  • Energy and Memory Efficiency: The tinyRSNN demonstrated an energy efficiency roughly 500 times greater than a traditional ANN performing the same task. The model requires only ~27 KB of memory, making it compatible with modest embedded neuromorphic chips.
  • Sparsity: The model achieved a connection sparsity of 45% and an activation sparsity of 98.36%. This means the vast majority of the network remains "quiet" most of the time, which translates directly to power savings on neuromorphic hardware.

Discussion and Future Work

The "aha moment" of this research is that recurrent connections allow the network to effectively "remember" recent neural activity patterns, enabling high performance with very few neurons. This sparsity is the key to bypassing the thermal wall of implantable BMIs.

While these algorithmic results are promising, future work will focus on implementing these models on physical neuromorphic processors, such as Intel’s Loihi or SynSense’s Xylo, to validate the theoretical energy savings. Additionally, incorporating heterogeneous synaptic delays and testing the long-term stability of these decoders in clinical settings remain important steps toward human translation.

Summary updated

BibTeX
@inproceedings{liu2024decoding,
  author = {Tengjun Liu and Julia Gygax and Julian Rossbroich and Yansong Chua and Shaomin Zhang and Friedemann Zenke},
  title = {{Decoding Finger Velocity from Cortical Spike Trains with Recurrent Spiking Neural Networks}},
  booktitle = {BioCAS},
  year = {2024},
  doi = {10.1109/biocas61083.2024.10798222},
}
Figure