Building compositional tasks with shared neural subspaces
Sina TafazoliiD, Flora BouchacourtiD, Adel ArdalaniD, Nikola T. MarkoviD, Motoaki UchimuraiD, Marcelo Gomes MattariD, Nathaniel D. DawiD, Timothy J. BuschmaniD
Abstract
Cognition is remarkably flexible; we are able to rapidly learn and perform many different tasks1. Theoretical modeling has shown artificial neural networks trained to perform multiple tasks will re-use representations2 and computational components3 across tasks. By composing tasks from these sub-components, an agent can flexibly switch between tasks and rapidly learn new tasks4. Yet, whether such compositionality is found in the brain is unknown. Here, we show the same subspaces of neural activity represent task-relevant information across multiple tasks, with each task compositionally combining these subspaces in a task-specific manner. We trained monkeys to switch between three compositionally related tasks. Neural recordings found task-relevant information about stimulus features and motor actions were represented in subspaces of neural activity that were shared across tasks. When monkeys performed a task, neural representations in the relevant shared sensory subspace were transformed to the relevant shared motor subspace. Subspaces were flexibly engaged as monkeys discovered the task in effect; their internal belief about the current task predicted the strength of representations in task-relevant subspaces. In sum, our findings suggest that the brain can flexibly perform multiple tasks by compositionally combining task-relevant neural representations across tasks.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 47
- FWCI
- 24.52
- Field percentile
- top 1%
- Organism
- Assay
- Research Focus
- Approach
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
- Dynamically shifting from compositional to conjunctive brain representations supports cognitive task learning
Ravi D. Mill, Michael W. Cole·Nature CommunicationsPeer-reviewed·Nov 18, 2025
- Clustering and compositionality of task representations in a neural network trained to perform many cognitive tasks
Guangyu Robert Yang, Hui Song, … Xiao‐Jing Wang·bioRxiv·Sep 1, 2017
- Hierarchy in neuronal representations of multiple tasks in prefrontal cortex
Qing Sheng, Sizheng Luo, … Yang Ming Xie·bioRxiv·Apr 12, 2026
- Distinct tasks engage a shared neural subspace in human hippocampus and anterior cingulate cortex
Hung‐Yun Lu, Assia Chericoni, … Jay A. Hennig·bioRxiv·Apr 28, 2026
- Reusable modular architecture enables flexible cognitive operations in the mouse brain and artificial recurrent networks
Yuma Osako, Greggory R. Heller, … Mriganka Sur·Nature NeurosciencePeer-reviewed·Aug 17, 2026
- Flexible multitask computation in recurrent networks utilizes shared dynamical motifs
Laura N. Driscoll, K.V. Shenoy, David Sussillo·Nature NeurosciencePeer-reviewed·Jul 1, 2024