bioRxivAnimal Behavior & Cognition
Spatio-temporal transformers for decoding neural movement control
Benedetta Candelori, Giampiero BardellaiD, Indro SpinelliiD, Surabhi RamawatiD, Pierpaolo PaniiD, Stefano FerrainaiD, Simone ScardapaneiD
Abstract
Deep learning tools applied to high-resolution neurophysiological data have significantly progressed, offering enhanced decoding, real-time processing, and readability for practical applications. However, the design of artificial neural networks to analyze neural activity remains a challenge, requiring a delicate balance between efficiency in low-data regimes and the interpretability of the results. To this end, we introduce a novel specialized transformer architecture to analyze single-neuron spiking activity. We test our model on multi electrodes recordings from the dorsal premotor cortex (PMd) of non-human primates while performing a motor inhibition task. The proposed architecture provides a very early prediction of the correct movement direction - no later than 230ms after the Go signal presentation across animals - and can accurately forecast whether the movement will be generated or withheld before a Stop signal, unattended, is actually presented. We also analyze the internal dynamics of the model by computing the predicted correlations between time steps and between neurons at successive layers of the architecture. We find that their evolution mirrors previous theoretical analyses. Overall, our framework provides a comprehensive use case for the practical implementation of deep learning tools in motor control research.
- organism: non-human primate
- assay: electrophysiology
- research focus: synaptic & neural circuits
- research focus: cell type annotation
- research focus: trajectory inference
- research focus: differential expression
- approach: deep learning
- approach: transformer / foundation model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A Generalist Intracortical Motor Decoder
Joel Ye, Fabio Rizzoglio, … Robert A. Gaunt·neural information processing systemsPeer-reviewed·Jan 1, 2025
- Neuroscience-Inspired Deep Learning Brain-Machine Interface Decoder
Hongyun Ou, Takahiro Hasegawa, … Eizo Miyashita·BioengineeringPeer-reviewed·Apr 10, 2026
- Decoding by Dynamics: Reframing Neural Decoding as Stable Control Inference with Behavior Priors
Zonghan Du, Zhongyuan Lai, Liang Hu·bioRxiv·Jul 28, 2026
- Neural Data Transformer 2: Multi-context Pretraining for Neural Spiking Activity
Joel Ye, Jennifer L. Collinger, … Robert Gaunt·neural information processing systemsPeer-reviewed·Jan 1, 2023
- Deep Neural Networks Explain Spiking Activity in Auditory Cortex
Bilal Ahmed, Joshua D. Downer, … Joseph G. Makin·PLoS Computational BiologyPeer-reviewed·Aug 25, 2025
- Interactions of encoding and decoding problems to understand motor control
Shixian Wen, Allen S. Yin, … Laurent Itti·bioRxiv·Oct 24, 2019