Leveraging unlabelled data for generalizable neural population decoding
Abstract
Robust and accurate neural decoders are integral to neurotechnologies such as brain-computer interfaces and closed-loop experiments. Recent work has shown that tokenizing neural data at the spike level facilitates multi-session pretraining and delivers state-of-the-art decoding performance. However, current spike-based models are restricted to supervised learning (SL), limiting training to datasets with paired behavioural labels. To address this limitation, we introduce MOJO (Masked autOencoder-based JOint training), a training framework for spike-tokenizing models that combines self-supervised learning (SSL) via masked autoencoding with SL. We evaluate MOJO on three spiking datasets spanning monkey motor cortex during reaching tasks and multi-region mouse recordings during vision and decision-making tasks, where it consistently outperforms purely SL-trained models. This improvement is especially pronounced in few-shot finetuning, where only a handful of labelled trials from a new session are available. Incorporating SSL also yields unit embeddings that better capture each neuron's firing properties and predict its brain region, which is never seen during training. We further show that MOJO generalizes beyond spiking data to human electrocorticography during speech, where it again outperforms purely SL-trained models and performs on par with neuro-foundation models (NFMs) designed specifically for continuous signals. Overall, augmenting spike-tokenizing models with SSL enables the use of unlabelled data across diverse datasets, improves performance in label-impoverished settings, and extends to other neural modalities. These results suggest a path towards more flexible and scalable data usage when training NFMs.