Neural data tokens tied to behavior improve cross-session decoding accuracy

Neural Data Needs Semantic Tokenization: Behavioral Events as Boundaries of Session-Transferable Tokens

Machine Learning

Summary

Neural recordings change from session to session because different neurons are measured each time, making it hard for AI models to understand new sessions. The authors suggest breaking down brain activity into time segments defined by specific behavior events, using these as shared units or tokens to represent the data. This method helps AI models recognize patterns across different sessions and even across species, like between mice and monkeys. Their approach outperforms existing models that treat each neuron and session as unique.

What this means in practice

  • For brain-machine interface developers: Improve movement decoding across different recording sessions and subjects by using behavior-driven tokens rather than neuron-specific data.
  • For neural data analysis teams: Enable cross-session and cross-species transfer of neural decoding models using tokens based on population activity segmented by task events.

Authors

Sangyoon Bae, Jiook Cha

Abstract

Extracellular electrophysiology records a different set of neurons in every session. Neural foundation models embed each neuron and each session into their tokens, so every new session is an input they have never seen, and they fail to generalize to it. A tokenizer for new sessions needs a unit that every session shares and that carries behavior. Population activity offers such a unit. It evolves on a low-dimensional manifold that persists across neuronal turnover and across animals once sessions are aligned. This manifold changes regime at task events such as stimulus onset and movement onset. Within each regime the population occupies a state, the part of the manifold it spans between two events, and each state carries its own behavioral meaning. We propose Tokenization with States (TWS), which segments each trial, one repetition of the task, at these events and converts every state into tokens of population geometry, with no neuron or session embedding. On held-out International Brain Laboratory (IBL) sessions, TWS decodes movement even from regime boundaries that carry no information about the target, while a per-neuron foundation model pretrained on those sessions decodes at chance. Frozen after training on mice alone, TWS transfers to macaques and Utah arrays with only a linear probe. On reach direction, a target that its boundaries do not define, it achieves a Matthews correlation of 0.23, where the event time alone achieves $0.01$. For cross-session generalization, the token matters more than the model on top.