Related Experiment Video
Updated: Jan 6, 2026

Decoding Natural Behavior from Neuroethological Embedding
Published on: October 3, 2025
Building compositional tasks with shared neural subspaces
Sina Tafazoli1, Flora M Bouchacourt2, Adel Ardalan2
1Princeton Neuroscience Institute, Princeton University, Princeton, NJ, USA. tafazoli@princeton.edu.
Abstract:
Cognition is highly flexible-we perform many different tasks1 and continually adapt our behaviour to changing demands2,3. Artificial neural networks trained to perform multiple tasks will reuse representations4 and computational components5 across tasks. By composing tasks from these subcomponents, an agent can flexibly switch between tasks and rapidly learn new tasks6,7. Yet, whether such compositionality is found in the brain is unclear. Here we show the same subspaces of neural activity represent task-relevant information across multiple tasks, with each task flexibly engaging these subspaces in a task-specific manner. We trained monkeys to switch between three compositionally related tasks. In neural recordings, we found that 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. Monkeys adapted to changes in the task by iteratively updating their internal belief about the current task and then, based on this belief, flexibly engaging the shared sensory and motor subspaces relevant to the task. In summary, our findings suggest that the brain can flexibly perform multiple tasks by compositionally combining task-relevant neural representations.
Related Concept Videos
Neural Circuits
Neuronal pools are collections of nerve cells with similar functions and interact through chemical and electrical signals. These pools include both interneurons (the central neural circuit nodes that...
Collisions in Multiple Dimensions: Problem Solving
A small car of mass 1,200 kg traveling east at 60 km/h collides at an intersection with a truck of mass 3,000 kg traveling due north at 40 km/h. The two vehicles are locked together. What is the...
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Collisions in Multiple Dimensions: Introduction
Association Areas of the Cortex
Prefrontal Association Area: This area is located in the frontal lobe and is involved in planning, decision-making, and moderating social behavior. It connects with primary motor areas,...
Structural Classification of Joints
A fibrous joint is where the adjacent bones are united by fibrous connective...

