Online decoding of rat self-paced locomotion speed from EEG using recurrent neural networks
Alejandro de Miguel, Nelson Totah, Uri Maoz
TL;DR
This study tackles the challenge of decoding self-paced locomotion speed from non-invasive brain signals. Using cortex-wide skull EEG in head-fixed rats and end-to-end LSTM-based decoding, the authors achieve a median correlation of $r$ = $0.88$ and $R^2$ = $0.78$, significantly outperforming linear baselines. They reveal that visual cortex activity and low-frequency bands ($<8$ Hz) are primary drivers, and that neural signatures generalize across sessions within the same subject but require transfer learning for cross-subject generalization. The work demonstrates the feasibility of accurate, continuous speed decoding with non-invasive EEG and highlights practical implications for real-time BCIs and our understanding of distributed neural representations of action dynamics.
Abstract
$\textit{Objective.}$ Accurate neural decoding of locomotion holds promise for advancing rehabilitation, prosthetic control, and understanding neural correlates of action. Recent studies have demonstrated decoding of locomotion kinematics across species on motorized treadmills. However, efforts to decode locomotion speed in more natural contexts$-$where pace is self-selected rather than externally imposed$-$are scarce, generally achieve only modest accuracy, and require intracranial implants. Here, we aim to decode self-paced locomotion speed non-invasively and continuously using cortex-wide EEG recordings from rats. $\textit{Approach.}$ We introduce an asynchronous brain$-$computer interface (BCI) that processes a stream of 32-electrode skull-surface EEG (0.01$-$45 Hz) to decode instantaneous speed from a non-motorized treadmill during self-paced locomotion in head-fixed rats. Using recurrent neural networks and a dataset of over 133 h of recordings, we trained decoders to map ongoing EEG activity to treadmill speed. $\textit{Main results.}$ Our decoding achieves a correlation of 0.88 ($R^2$ = 0.78) for speed, primarily driven by visual cortex electrodes and low-frequency ($< 8$ Hz) oscillations. Moreover, pre-training on a single session permitted decoding on other sessions from the same rat, suggesting uniform neural signatures that generalize across sessions but fail to transfer across animals. Finally, we found that cortical states not only carry information about current speed, but also about future and past dynamics, extending up to 1000 ms. $\textit{Significance.}$ These findings demonstrate that self-paced locomotion speed can be decoded accurately and continuously from non-invasive, cortex-wide EEG. Our approach provides a framework for developing high-performing, non-invasive BCI systems and contributes to understanding distributed neural representations of action dynamics.
