Abstract
Neural prostheses decode intention from cortical activity to restore upper extremity movement. Typical decoding algorithms extract velocity—a vector quantity with direction and magnitude (speed)—from neuronal firing rates. Standard decoding algorithms accurately recover arm direction, but the extraction of speed has proven more difficult. We show that this difficulty is due to the way speed is encoded by individual neurons and demonstrate how standard encoding-decoding procedures produce characteristic errors. These problems are addressed using alternative brain-computer interface (BCI) algorithms that accommodate nonlinear encoding of speed and direction. Our BCI approach leads to skillful control of both direction and speed as demonstrated by stereotypic bell-shaped speed profiles, straight trajectories, and steady cursor positions before and after the movement.
Introduction: The Challenge of Speed in BCIs
While brain-computer interfaces (BCIs) have become adept at decoding movement direction, controlling movement speed remains a persistent challenge. In the quest to restore movement to paralyzed individuals, neural prostheses decode intended velocity from the motor cortex. Velocity is a vector composed of direction and speed. While direction is relatively easy to extract using linear models, speed is notoriously difficult, often resulting in "drift" (the cursor moving when it should be still) and jerky, inaccurate trajectories that overshoot targets.
This research identifies that these errors are not merely noise but systematic artifacts caused by a fundamental mismatch between how neurons encode speed and the simplified linear mathematics typically used to decode them. Specifically, a nonlinear "speed-offset" in neuronal firing breaks standard linear decoders.
Methods and Experimental Design
The researchers compared standard linear decoders against nonlinear alternatives using both simulated data and real-world recordings from two rhesus macaques (Monkeys N and C). Neural activity was recorded via 96-channel microelectrode arrays implanted in the primary motor cortex (M1) while the subjects performed a 2D "center-out" reaching task involving 16 targets.
Encoding and Decoding Models
The study moved beyond the traditional "direction-only" model to an "offset model" where speed acts as both a gain (multiplying the directional signal) and an additive offset (shifting the baseline firing rate). To address this, several decoding strategies were tested:
- Standard Linear Decoders: Population Vector Algorithm (PVA) and Optimal Linear Estimator (OLE). These assume a linear relationship that fails to capture the speed-offset interaction.
- Direct Regression: A linear approach that maps firing rates directly to velocity, bypassing the need to invert an encoding model.
- Artificial Neural Network (ANN): A single-hidden-layer feedforward network capable of learning the nonlinear mapping between brain activity and speed.
- Hybrid-ANN (hANN): A novel calibration technique where the ANN is "pre-trained" on simulated data generated from the monkey's own unique neuronal tuning functions, allowing for faster and more stable real-time performance.
Key Insights: The "Speed-Offset" Trap
A critical finding is that speed doesn't just increase a neuron's firing in its preferred direction; it raises the baseline firing rate across all directions. Standard decoders misinterpret this "offset" as a phantom movement vector.
Furthermore, real-world neural recordings are rarely perfectly balanced; they are typically "lopsided" or non-uniform. In these cases, the speed-offsets from different neurons do not cancel out but instead accumulate, creating the characteristic "drift" seen in many BCIs. Because the interaction between speed and direction is mathematically "non-invertible" for simple linear matrices, nonlinear approaches like ANNs are required to account for the fact that a change in firing rate might signify a change in direction, speed, or both.
Results: Restoring Natural Movement
The transition to nonlinear decoding significantly improved BCI performance. In offline tests, the ANN achieved high correlation coefficients (r ≈ 0.9) between intended and decoded velocity.
As shown in the behavioral data, the nonlinear decoders produced "bell-shaped" speed profiles—the hallmark of natural primate reaching—which linear decoders often fail to replicate. During closed-loop BCI tasks, the hANN and Direct Regression decoders significantly reduced drift during hold periods and improved the success rate of stopping precisely within the target zone. Even with non-uniform neural populations, the ANN maintained straight, accurate reach paths, whereas OLE trajectories became skewed.
Discussion and Future Directions
This study demonstrates that accommodating the nonlinear encoding of speed is essential for skillful BCI control. While the results in 2D reaching are promising, real-world applications will require extending these models to 3D movement and complex grasping, which involve more degrees of freedom.
Additionally, while the "hybrid-ANN" approach reduces calibration time, ANNs generally require more data than linear models. Future work will focus on maintaining this high accuracy with minimal daily calibration and exploring how these decoders can adapt to neuronal plasticity as users learn to control the BCI.
Summary updated