NLP4Neuro: Sequence-to-sequence learning for neural population decoding

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Morra, Jacob J., Fouke, Kaitlyn E., Hang, Kexin, He, Zichen, Traubert, Owen, Dunn, Timothy W., Naumann, Eva A.
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912461821575168
author Morra, Jacob J.
Fouke, Kaitlyn E.
Hang, Kexin
He, Zichen
Traubert, Owen
Dunn, Timothy W.
Naumann, Eva A.
author_facet Morra, Jacob J.
Fouke, Kaitlyn E.
Hang, Kexin
He, Zichen
Traubert, Owen
Dunn, Timothy W.
Naumann, Eva A.
contents Delineating how animal behavior arises from neural activity is a foundational goal of neuroscience. However, as the computations underlying behavior unfold in networks of thousands of individual neurons across the entire brain, this presents challenges for investigating neural roles and computational mechanisms in large, densely wired mammalian brains during behavior. Transformers, the backbones of modern large language models (LLMs), have become powerful tools for neural decoding from smaller neural populations. These modern LLMs have benefited from extensive pre-training, and their sequence-to-sequence learning has been shown to generalize to novel tasks and data modalities, which may also confer advantages for neural decoding from larger, brain-wide activity recordings. Here, we present a systematic evaluation of off-the-shelf LLMs to decode behavior from brain-wide populations, termed NLP4Neuro, which we used to test LLMs on simultaneous calcium imaging and behavior recordings in larval zebrafish exposed to visual motion stimuli. Through NLP4Neuro, we found that LLMs become better at neural decoding when they use pre-trained weights learned from textual natural language data. Moreover, we found that a recent mixture-of-experts LLM, DeepSeek Coder-7b, significantly improved behavioral decoding accuracy, predicted tail movements over long timescales, and provided anatomically consistent highly interpretable readouts of neuron salience. NLP4Neuro demonstrates that LLMs are highly capable of informing brain-wide neural circuit dissection.
format Preprint
id arxiv_https___arxiv_org_abs_2507_02264
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle NLP4Neuro: Sequence-to-sequence learning for neural population decoding
Morra, Jacob J.
Fouke, Kaitlyn E.
Hang, Kexin
He, Zichen
Traubert, Owen
Dunn, Timothy W.
Naumann, Eva A.
Neurons and Cognition
Machine Learning
Delineating how animal behavior arises from neural activity is a foundational goal of neuroscience. However, as the computations underlying behavior unfold in networks of thousands of individual neurons across the entire brain, this presents challenges for investigating neural roles and computational mechanisms in large, densely wired mammalian brains during behavior. Transformers, the backbones of modern large language models (LLMs), have become powerful tools for neural decoding from smaller neural populations. These modern LLMs have benefited from extensive pre-training, and their sequence-to-sequence learning has been shown to generalize to novel tasks and data modalities, which may also confer advantages for neural decoding from larger, brain-wide activity recordings. Here, we present a systematic evaluation of off-the-shelf LLMs to decode behavior from brain-wide populations, termed NLP4Neuro, which we used to test LLMs on simultaneous calcium imaging and behavior recordings in larval zebrafish exposed to visual motion stimuli. Through NLP4Neuro, we found that LLMs become better at neural decoding when they use pre-trained weights learned from textual natural language data. Moreover, we found that a recent mixture-of-experts LLM, DeepSeek Coder-7b, significantly improved behavioral decoding accuracy, predicted tail movements over long timescales, and provided anatomically consistent highly interpretable readouts of neuron salience. NLP4Neuro demonstrates that LLMs are highly capable of informing brain-wide neural circuit dissection.
title NLP4Neuro: Sequence-to-sequence learning for neural population decoding
topic Neurons and Cognition
Machine Learning
url https://arxiv.org/abs/2507.02264