Real-time brain-machine interface in non-human primates achieves high-velocity prosthetic finger movements using a shallow feedforward neural network decoder

Matthew S. Willsey, Samuel R. Nason, Scott R. Ensel, Hisham Temmar, Matthew J. Mender, Joseph T. Costello, Parag G. Patil, Cynthia A. ChestekNature Communications 2022

Abstract

Despite the rapid progress and interest in brain-machine interfaces that restore motor function, the performance of prosthetic fingers and limbs has yet to mimic native function. The algorithm that converts brain signals to a control signal for the prosthetic device is one of the limitations in achieving rapid and realistic finger movements. To achieve more realistic finger movements, we developed a shallow feed-forward neural network to decode real-time two-degree-of-freedom finger movements in two adult male rhesus macaques. Using a two-step training method, a recalibrated feedback intention-trained (ReFIT) neural network is introduced to further improve performance. In 7 days of testing across two animals, neural network decoders, with higher-velocity and more natural appearing finger movements, achieved a 36% increase in throughput over the ReFIT Kalman filter, which represents the current standard. The neural network decoders introduced herein demonstrate real-time decoding of continuous movements at a level superior to the current state-of-the-art and could provide a starting point to using neural networks for the development of more naturalistic brain-controlled prostheses.

Introduction

Restoring motor function through brain-machine interfaces (BMIs) has seen significant advancements, yet achieving the speed and fluidity of native human movement remains a challenge, particularly for prosthetic fingers. A primary bottleneck is the "decoder"—the algorithm responsible for translating complex neural signals into precise motor commands. While linear decoders like Kalman filters are robust, they often fail to capture the non-linear dynamics of movement, leading to sluggish control. Deep neural networks (DNNs) offer more expressive power but frequently suffer from high computational latency or impractical training data requirements for real-time clinical use.

Methods and Architecture

To address these limitations, this study introduces a shallow feedforward neural network (FNN) optimized for low-latency, real-time control.

Neural Network Design

The FNN architecture is intentionally "shallow" to balance expressive power with computational efficiency. It consists of a single "time-feature" layer that processes 150ms of neural history (3 time bins), followed by four fully connected layers. With approximately 500,000 parameters, the network can be trained in about one minute using only 400 trials of data.

The shallow feedforward neural network architecture used for real-time decoding.

Input Signal and Training

The system utilizes Spike-Band Power (SBP)—the power of neural signals between 300–1000 Hz—as a high-signal-to-noise proxy for individual neuron firing rates. A critical innovation is the Recalibrated Feedback Intention-Trained (ReFIT) method, a two-stage training process:

  1. Initial Training: The subject performs a task using a standard decoder.
  2. Recalibration: The network is retrained by assuming the subject's intended velocity was always directed toward the target, correcting for any drift in the initial decoder.

Modern regularization techniques, including 50% dropout and batch normalization, were employed to prevent overfitting on the relatively small training datasets.

Experimental Setup

The study involved two adult male rhesus macaques (Monkey N and Monkey W) implanted with Utah microelectrode arrays in the primary motor cortex (M1).

Experimental setup showing the monkey performing the finger task with visual feedback.

The monkeys performed a two-degree-of-freedom (2-DOF) finger task, controlling virtual fingers (index finger vs. a combined middle-ring-small finger group) to reach random targets on a screen. Performance was evaluated over 7 days of closed-loop use, comparing the FNN against the ReFIT Kalman Filter (RK), the previous gold standard.

Key Results

The FNN decoder demonstrated a significant performance leap over linear models:

  • Throughput: The ReFIT neural network (RN) achieved a 36% increase in communication throughput (bits per second) compared to the RK filter.
  • Velocity and Speed: The FNN excelled in high-velocity movements. In Monkey N, the time to reach the mean velocity peak was reduced from 450ms to 300ms, with peak average velocity jumping from 0.55 u/s to 1.35 u/s.
  • Reliability: The RN decoder showed exceptional stability; in one session, Monkey N completed 737 trials with zero failures, whereas the Kalman filter had a failure rate of nearly 9%.
  • Offline Accuracy: The 4-layer FNN with time history showed a higher correlation with actual finger movements ($r \approx 0.67$) than the Kalman filter ($r \approx 0.59$).

Discussion and Future Directions

A key insight from the study is that the FNN naturally performs implicit context switching. Analysis of nodal contributions revealed that specific nodes specialized in positive velocities (flexion) while others handled negative velocities (extension), allowing the network to act as a more effective piecewise controller than a single linear equation.

Furthermore, the success of this shallow architecture challenges the "deeper is better" paradigm in AI for specific applications like BMI, where low latency (1–2 ms lag) and limited daily training data are paramount.

Limitations

While promising, scaling this approach to the 20+ degrees of freedom in a human hand remains a challenge. Additionally, clinical trials with human participants are necessary to account for potential cortical reorganization following paralysis. Future work will also need to address the stability of these decoders in the less controlled, noisy environments of daily life.

Conclusion

By combining a shallow, low-latency architecture with the ReFIT training method, this study demonstrates a real-time BMI capable of producing faster and more naturalistic prosthetic movements. This approach provides a robust foundation for the next generation of brain-controlled prostheses.

Reference: Willsey, M.S., Nason-Tomaszewski, S.R., et al. "Real-time brain-machine interface in non-human primates achieves high-velocity prosthetic finger movements using a shallow feedforward neural network decoder." Nature Communications (2022) 13:6899. https://doi.org/10.1038/s41467-022-34452-w

Summary updated

BibTeX
@inproceedings{willsey2022real,
  author = {Matthew S. Willsey and Samuel R. Nason and Scott R. Ensel and Hisham Temmar and Matthew J. Mender and Joseph T. Costello and Parag G. Patil and Cynthia A. Chestek},
  title = {{Real-time brain-machine interface in non-human primates achieves high-velocity prosthetic finger movements using a shallow feedforward neural network decoder}},
  booktitle = {Nature Communications},
  year = {2022},
  doi = {10.1038/s41467-022-34452-w},
}
Figure