SPINT: Spatial Permutation-Invariant Neural Transformer for Consistent Intracortical Motor Decoding

Trung Le, Hao Fang, Jingyuan Li, Tung Nguyen, Lu Mi, Amy L Orsborn, Uygar Sümbül, Eli Shlizerman

Introduction

Intracortical Brain-Computer Interfaces (iBCIs) translate neural spikes into motor commands. However, these systems face a significant challenge: nonstationarity. Because electrodes are implanted in a living, changing environment, the specific neurons recorded can shift or disappear over time. Traditional decoders rely on a fixed mapping of neurons, meaning that when the recording environment changes, the system requires tedious recalibration or computationally expensive fine-tuning.

SPINT (Spatial Permutation-Invariant Neural Transformer) introduces a "plug-and-play" framework designed to solve this instability. By treating neurons as an unordered set rather than a fixed vector, SPINT achieves consistent decoding across sessions without retraining.

The SPINT Framework

The core innovation of SPINT is its departure from traditional time-series modeling. Instead of assuming a static electrode-to-neuron map, it treats the neural population as a set.

The SPINT architecture utilizes a Neural ID encoder and cross-attention to achieve permutation invariance.
  1. Neural ID Encoder: SPINT uses a few seconds of unlabeled "calibration" data to generate a functional "fingerprint" for each neural unit. This context-dependent positional embedding identifies neurons based on their spiking signatures rather than their physical location on an electrode array.
  2. Permutation-Invariant Transformer: The architecture employs a cross-attention mechanism that matches learnable "behavior queries" against neural activity. Since attention is inherently indifferent to input order, the model remains robust even if electrodes are shuffled.
  3. Dynamic Channel Dropout: To ensure robustness against neuron loss, the model is trained by randomly dropping between 0% and 100% of neural channels. This forces the network to learn effective decoding from any available subset of the population.

Experimental Evaluation

The model was validated using the FALCON Benchmark, which tests cross-session generalization across three challenging datasets:

  • M1: Non-human primate reaching and grasping tasks.
  • M2: Monkey virtual hand control via finger movements.
  • H1: Human clinical trial participant controlling a 7-DOF robotic arm.

Results and Robustness

SPINT demonstrates state-of-the-art performance, outperforming existing zero-shot and few-shot unsupervised baselines. Notably, in the M1 dataset, it surpassed "Oracle" models that utilized private labels.

Performance metrics across datasets show SPINT's robustness to calibration trial counts and population size.

Key findings include:

  • Extreme Robustness: Due to dynamic channel dropout, SPINT maintains high accuracy ($R^2 \approx 0.52$) even when 80% of the neural population is removed.
  • Minimal Calibration: The system requires only a few unlabeled trials to adapt to a new session, significantly reducing the burden on users.
  • Real-Time Efficiency: With an inference latency ratio of ~0.13, SPINT processes data nearly eight times faster than real-time requirements, making it ideal for clinical implants.

Conclusion and Future Directions

SPINT represents a major advancement toward "universal" BCI decoders. While currently tested offline, future work will explore its performance in "closed-loop" scenarios where users adapt to the decoder in real-time. Additionally, the authors aim to extend this framework toward cross-subject generalization, potentially creating a foundation model for neural decoding that works for any user on the first try.

Summary updated

BibTeX
@inproceedings{le2025spint,
  author = {Trung Le and Hao Fang and Jingyuan Li and Tung Nguyen and Lu Mi and Amy L Orsborn and Uygar Sümbül and Eli Shlizerman},
  title = {{SPINT: Spatial Permutation-Invariant Neural Transformer for Consistent Intracortical Motor Decoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=XjayhGBraW},
}
Figure