Online decoding of rat self-paced locomotion speed from EEG using recurrent neural networks
Preprint
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.
Keywords
All Related Versions
This publication has 34 references indexed in Scilit:
- EEG-to-gait decoding via phase-aware representation learningNeural Networks, 2026
- Decoding locomotion speed and slope from local field potentials of rat motor cortexComputer Methods and Programs in Biomedicine, 2022
- Spatial navigation signals in rodent visual cortexCurrent Opinion in Neurobiology, 2021
- Frequency of theta rhythm is controlled by acceleration, but not speed, in running ratsNeuron, 2021
- Theta Oscillations in the Human Medial Temporal Lobe during Real-World Ambulatory MovementCurrent Biology, 2017
- Arousal and Locomotion Make Distinct Contributions to Cortical Activity Patterns and Visual EncodingNeuron, 2015
- Effects of Locomotion Extend throughout the Mouse Early Visual SystemCurrent Biology, 2014
- Locomotion Controls Spatial Integration in Mouse Visual CortexCurrent Biology, 2013
- Modulation of Visual Responses by Behavioral State in Mouse Visual CortexNeuron, 2010
- The Rat Brain in Stereotaxic Coordinates1982