bioRxivNeurosciencePreprint
Clustering and compositionality of task representations in a neural network trained to perform many cognitive tasks
Guangyu Robert YangiD, Hui SongiD, William T. NewsomeiD, Xiao‐Jing WangiD
Abstract
A neural system has the ability to flexibly perform many tasks, but the underlying mechanism cannot be elucidated in traditional experimental and modeling studies designed for one task at a time. Here, we trained a single network model to perform 20 cognitive tasks that may involve working memory, decision-making, categorization and inhibitory control. We found that after training, recurrent units developed into clusters that are functionally specialized for various cognitive processes. We introduce a measure to quantify relationships between single-unit neural representations of tasks, and report five distinct types of such relationships that can be tested experimentally. Surprisingly, our network developed compositionality of task representations, a critical feature for cognitive flexibility, whereby one task can be performed by recombining instructions for other tasks. Finally, we demonstrate how the network could learn multiple tasks sequentially. This work provides a computational platform to investigate neural representations of many cognitive tasks.
- Citations
- 13
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
- Building compositional tasks with shared neural subspaces
Sina Tafazoli, Flora Bouchacourt, … Timothy J. Buschman·NaturePeer-reviewed·Nov 26, 2025
- Compositional Recombination Relies on a Distributed Cortico-Cerebellar Network
Joshua B. Tan, Isabella F Orlando, … James M. Shine·bioRxiv·Oct 7, 2025
- Multi-task representations in human cortex transform along a sensory-to-motor hierarchy
Takuya Ito, John D. Murray·bioRxiv·Nov 29, 2021
- Flexible multitask computation in recurrent networks utilizes shared dynamical motifs
Laura N. Driscoll, K.V. Shenoy, David Sussillo·Nature NeurosciencePeer-reviewed·Jul 1, 2024
- Interpretable compositional computation with recurrent neural networks
Louis Pezon, Alexander van Meegen·bioRxiv·Jun 29, 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