NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Artificial neural network for brain-machine interface consistently produces more naturalistic finger movements than linear methods

Hisham Temmar, Matthew S. Willsey, Joseph T. Costello, Matthew J. Mender, Luis H. Cubillos, Jordan Lam, Dylan M Wallace, Madison M. Kelberman, Parag G. Patil, Cynthia A. ChestekbioRxiv 2024

Abstract

A neural network decoder produces consistent naturalistic movements and shows potential for real-world generalization through task variations.

Introduction

For decades, the field of Brain-Machine Interfaces (BMIs) has relied on linear decoders to translate neural activity into movement. These models were built on the assumption that individual neurons have a linear relationship with behavior. However, as tasks become more complex—such as the fine motor control required for finger movements—linear models struggle. They often produce "mushy" movements that lack the snappy, high-acceleration characteristics of natural hand control.

While nonlinear Artificial Neural Networks (ANNs) have recently shown higher performance, they are often criticized for being "black boxes." Researchers worry that ANNs might converge on inconsistent solutions when trained on the same data or fail to generalize when a user moves from a controlled lab setting to a messy real-world environment. This study seeks to quantify how ANNs improve control and how to make them reliable enough for clinical use.

Methodology

The researchers focused on a temporally convolved feedforward neural network (tcFNN). Unlike a standard "flat" neural network, the tcFNN applies convolutions across a short window of time (150ms) for each neural channel independently. This allows the model to capture the temporal dynamics of neural firing without the complexity and training instability often found in Recurrent Neural Networks (RNNs).

The study compared the tcFNN against several benchmarks:

  • Ridge Regression (RR): The standard linear baseline.
  • Dual State Decoder (DS): An approach that uses a classifier to switch between high-speed and low-speed linear models.
  • ReFIT Kalman Filter (RK): The previous state-of-the-art linear approach for real-time control.

Crucially, the authors performed an ablation study, systematically removing features like Batch Normalization and Dropout to see how modern deep learning techniques contribute to the decoder's stability.

Experimental Design and Datasets

The study utilized data from a single non-human primate (Monkey N) performing a 2-degree-of-freedom (DOF) finger task involving the index finger and a combined middle-ring-small finger group. The data was categorized into three sets:

  1. Offline Data: Four days of random target acquisitions used to compare velocity distributions.
  2. Context-Shift Data: Five days of trials across four distinct "contexts": Normal, Spring (added resistance), Wrist (rotated wrist angle), and Spring-Wrist (both).
  3. Online Data: Real-time, closed-loop control sessions where the monkey used the decoders to reach virtual targets.

Key Insights

Naturalism in Velocity Distributions

A primary finding of this research is that the tcFNN doesn't just reduce error; it produces a velocity distribution that mirrors a real hand. Linear decoders tend to stay in a "middle" speed range, whereas the tcFNN successfully captures both the high-velocity "snappy" movements and the near-zero-velocity "holding" periods.

The Necessity of Regularization

The study found that without batch normalization and dropout, ANNs were highly inconsistent. Adding these techniques improved training consistency by nearly 200%. This suggests that the stochastic nature of ANNs can be tamed, making them viable for medical applications where predictable performance is mandatory.

Diversity Over Volume

When testing how decoders handle new tasks, such as moving a finger against a spring, the researchers found that training on a "short" dataset containing all contexts outperformed training on a "full" dataset of just one context. This indicates that the richness and diversity of data are more important than the sheer number of trials for building a robust BMI.

Results

  • Velocity Matching: The tcFNN's velocity distribution was 85.3% closer to true hand control than linear decoders offline, and 53.1% closer during real-time online control.
  • Speed and Precision: In real-time trials, the tcFNN reached targets 31.6% faster than the ReFIT Kalman Filter and corrected overshoots (orbiting time) 27.5% more quickly.
  • Consistency: Regularization improved the consistency of model convergence by 194.6%, ensuring the decoder performs reliably across training sessions.
  • Error Reduction: The tcFNN achieved a 28% lower Mean Squared Error (MSE) compared to Ridge Regression.

Conclusion and Future Work

While the results are compelling, the study was conducted with a single subject and a relatively simple 2-DOF task. Future validation in human clinical trials and with more complex, multi-fingered movements is necessary. Additionally, while the tcFNN generalizes better when trained on multiple contexts, it still exhibits some overfitting compared to linear models. Future research will likely explore transfer learning and data augmentation to further harden these decoders against the unpredictable shifts in neural activity that occur in daily life.

Summary updated

BibTeX
@misc{temmar2024artificial,
  author = {Hisham Temmar and Matthew S. Willsey and Joseph T. Costello and Matthew J. Mender and Luis H. Cubillos and Jordan Lam and Dylan M Wallace and Madison M. Kelberman and Parag G. Patil and Cynthia A. Chestek},
  title = {{Artificial neural network for brain-machine interface consistently produces more naturalistic finger movements than linear methods}},
  year = {2024},
  doi = {10.1101/2024.03.01.583000},
  howpublished = {bioRxiv},
}
Figure