Combining SNNs with filtering for efficient neural decoding in implantable brain-machine interfaces

Biyan Zhou, Pao-Sheng Vincent Sun, Arindam Basu

TL;DR

Spiking Neural Networks (SNNs) offer an energy-efficient path for implantable brain-machine interfaces but historically lag behind resource-heavy LSTMs in decoding accuracy. This paper bridges that gap by appending a low-cost digital Bessel filter to the output of SNN decoders, smoothing out noisy predictions and boosting regression accuracy by up to 8% with negligible computational overhead. The resulting hybrid system matches LSTM performance while using a fraction of the power and memory.

What Problem Does This Paper Address?

Next-generation neural probes are scaling up to record from thousands of electrodes simultaneously. While this provides unprecedented resolution for implantable Brain-Machine Interfaces (iBMIs), it creates a massive data bottleneck. Transmitting raw neural signals wirelessly from an implant requires too much power and generates unsafe thermal dissipation inside the brain.

To solve this, researchers are turning to "edge computing"—decoding user intent directly on the implant so that only low-bandwidth motor commands need to be transmitted wirelessly.

Data transmission rates for raw data vs. on-chip decoding across different channel counts.

However, the on-chip decoder must be incredibly compact and power-efficient. Long Short-Term Memory (LSTM) networks deliver high accuracy but demand substantial memory and power. Spiking Neural Networks (SNNs) are highly energy-efficient due to their event-driven nature, but they struggle with continuous regression tasks (like predicting hand velocity), often yielding noisy, erratic outputs.

Methods

The authors introduce a hybrid approach that pairs SNNs with traditional signal processing. They discovered that while SNN outputs suffer from high-frequency "chatter," actual physical movements are inherently smooth and low-frequency.

To exploit this, they applied a block bidirectional Bessel filter directly to the output of the neural network decoders. The filter effectively acts as an external, low-cost temporal memory. They designed two specific filter configurations:

  1. Low-Latency Variant: Optimized for real-time control (2nd order, block size of 16 samples).
  2. High-Accuracy Variant: Optimized for maximum precision (4th order, block size of 32 samples).

They evaluated this filtering technique across several architectures, including standard Artificial Neural Networks (ANNs), 3D ANNs, 3D SNNs, and a highly optimized SNN Streaming topology. The SNN Streaming model is particularly notable because it completely avoids layer normalization, preserving the natural sparsity of spiking data and allowing hardware to replace expensive Multiply-Accumulate (MAC) operations with simple Accumulate (AC) operations.

Datasets

The authors validated their approach on two distinct datasets:

  • Primate Reaching Dataset (Indy and Loco): The primary benchmark, sourced from the Neurobench suite. It consists of microelectrode array recordings from non-human primates controlling a cursor to reach targets on a screen.
  • MC Maze Dataset: Used to evaluate the generalizability of the method. This dataset contains motor and premotor cortex recordings from monkeys performing delayed straight and curved reaching tasks.
Experimental setup of the non-human primate reaching task.

Key Insights and Ideas

  • The Frequency Mismatch: Neural network decoders trained on spike trains naturally introduce high-frequency noise into their regression outputs. Physical limbs cannot move at these frequencies, making post-decoder smoothing an intuitive but highly effective fix.
  • Bessel Filters Reign Supreme: Compared to Butterworth and Chebyshev filters, Bessel filters provide a linear phase response. This ensures a constant time delay across frequencies, preventing the decoded movement waveforms from becoming distorted.
  • Sparsity vs. Normalization Trade-off: While layer normalization helps stabilize SNN training and boosts raw accuracy, it destroys data sparsity by turning zero-valued activations into non-zero numbers. By skipping normalization and using the Bessel filter instead, the SNN Streaming model retains its low-power, sparse computing advantages without sacrificing accuracy.

Key Results

  • Significant Accuracy Boosts: Adding the high-accuracy Bessel filter improved the coefficient of determination ($R^2$) by ~5% for the SNN Streaming model and ~8% for the SNN 3D model on the Neurobench dataset.
  • Closing the Gap with LSTMs: The filtered SNN Streaming model achieved an accuracy ($R^2 \approx 0.64$) comparable to an unfiltered LSTM, yet it required only ~25% of the computations and ~27% of the memory footprint.
  • Negligible Overhead: The computational cost of adding the block bidirectional filter was incredibly low, representing less than a 0.6% increase in total operations for the SNN models.

Limitations and Future Work

  • Offline vs. Online Decoding: This study was conducted entirely on offline, pre-recorded datasets. In real-world iBMI applications, users rely on continuous visual feedback to adjust their intent. The authors plan to validate their architecture next using an online prosthetic simulator (OPS).
  • Fixed-Point Quantization: The models currently use 32-bit floating-point precision. For actual hardware deployment on an implantable chip, the networks must undergo quantization-aware training to operate efficiently using lower-precision integers (e.g., 8-bit or lower).
  • Signal Drift: Over time, the quality of recorded neural signals degrades due to micro-motion of the electrodes or scar tissue formation. Future iterations will need to incorporate continuous local learning to adapt to this data drift.

Summary updated

BibTeX
@article{zhou2025combining,
  author = {Biyan Zhou and Pao-Sheng Vincent Sun and Arindam Basu},
  title = {{Combining SNNs with filtering for efficient neural decoding in implantable brain-machine interfaces}},
  journal = {Neuromorph. Comput. Eng.},
  year = {2025},
  doi = {10.1088/2634-4386/adba82},
}
Figure