RPNT: Robust Pre-trained Neural Transformer -- A Pathway for Generalized Motor Decoding

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fang, Hao, Canfield, Ryan A., Ouchi, Tomohiro, Macagno, Beatrice, Shlizerman, Eli, Orsborn, Amy L.
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917379770941440
author Fang, Hao
Canfield, Ryan A.
Ouchi, Tomohiro
Macagno, Beatrice
Shlizerman, Eli
Orsborn, Amy L.
author_facet Fang, Hao
Canfield, Ryan A.
Ouchi, Tomohiro
Macagno, Beatrice
Shlizerman, Eli
Orsborn, Amy L.
contents Brain motor decoding aims to interpret and translate neural activity into behaviors. Decoding models should generalize across variations, such as recordings from different brain sites, experimental sessions, behavior types, and subjects, will be critical for real-world applications. Current decoding models only partially address these challenges. In this work, we develop a pretrained neural transformer model, RPNT - Robust Pretrained Neural Transformer, designed to achieve robust generalization through pretraining, which in turn enables effective finetuning for downstream motor decoding tasks. We achieved the proposed RPNT architecture by systematically investigating which transformer building blocks could be suitable for neural spike activity modeling, since components from models developed for other modalities, such as text and images, do not transfer directly to neural data. The final RPNT architecture incorporates three unique enabling components: 1) Multidimensional rotary positional embedding to aggregate experimental metadata such as site coordinates, session ids and behavior types; 2) Context-based attention mechanism via convolution kernels operating on global attention to learn local temporal structures for handling non-stationarity of neural population activity; 3) Robust self-supervised learning objective with stochastic causal masking strategies and contrastive representations. We pretrained two versions of RPNT on distinct datasets that present significant generalization challenges: a) Multi-session, multi-task, and multi-subject microelectrode benchmark; b) Multi-site recordings using high-density Neuropixel 1.0 probes from many cortical locations. After pretraining, we evaluated RPNT generalization on cross-session, cross-type, cross-subject, and cross-site downstream behavior decoding tasks. Our RPNT consistently outperforms the existing decoding models on these tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2601_17641
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle RPNT: Robust Pre-trained Neural Transformer -- A Pathway for Generalized Motor Decoding
Fang, Hao
Canfield, Ryan A.
Ouchi, Tomohiro
Macagno, Beatrice
Shlizerman, Eli
Orsborn, Amy L.
Machine Learning
Signal Processing
Brain motor decoding aims to interpret and translate neural activity into behaviors. Decoding models should generalize across variations, such as recordings from different brain sites, experimental sessions, behavior types, and subjects, will be critical for real-world applications. Current decoding models only partially address these challenges. In this work, we develop a pretrained neural transformer model, RPNT - Robust Pretrained Neural Transformer, designed to achieve robust generalization through pretraining, which in turn enables effective finetuning for downstream motor decoding tasks. We achieved the proposed RPNT architecture by systematically investigating which transformer building blocks could be suitable for neural spike activity modeling, since components from models developed for other modalities, such as text and images, do not transfer directly to neural data. The final RPNT architecture incorporates three unique enabling components: 1) Multidimensional rotary positional embedding to aggregate experimental metadata such as site coordinates, session ids and behavior types; 2) Context-based attention mechanism via convolution kernels operating on global attention to learn local temporal structures for handling non-stationarity of neural population activity; 3) Robust self-supervised learning objective with stochastic causal masking strategies and contrastive representations. We pretrained two versions of RPNT on distinct datasets that present significant generalization challenges: a) Multi-session, multi-task, and multi-subject microelectrode benchmark; b) Multi-site recordings using high-density Neuropixel 1.0 probes from many cortical locations. After pretraining, we evaluated RPNT generalization on cross-session, cross-type, cross-subject, and cross-site downstream behavior decoding tasks. Our RPNT consistently outperforms the existing decoding models on these tasks.
title RPNT: Robust Pre-trained Neural Transformer -- A Pathway for Generalized Motor Decoding
topic Machine Learning
Signal Processing
url https://arxiv.org/abs/2601.17641