Immunology rarely fails loudly, when it misfires, it usually does so subtly and at the margins. mRNA COVID-19 vaccines were […]

Artificial intelligence continues to advance at an extraordinary pace, regularly outperforming humans on tasks involving pattern recognition, data processing, and diagnostic classification. Yet despite these achievements, AI systems remain fundamentally constrained in one capacity that biological brains exhibit with ease: rapid, context-appropriate behavioral flexibility. Humans can integrate new information, transfer skills across domains, and adapt to unfamiliar environments with minimal training. AI, by contrast, often requires extensive retraining and risks losing previously acquired competence when learning new tasks.
A new study from neuroscientists at Princeton University provides a mechanistic explanation for this discrepancy. Their work shows that the primate brain maintains a library of reusable neural “cognitive blocks” modular units of computation that can be assembled and reassembled to support new behaviors. This compositional architecture equips biological systems with a flexibility that current artificial networks do not possess. The study bridges systems neuroscience, cognitive psychology, and computational modeling, offering insights with direct relevance to neuropsychiatry, neurorehabilitation, and next-generation AI design.
Cognitive flexibility, the ability to shift strategies, integrate new rules, and adapt to change, is a central function of the prefrontal cortex (PFC). Clinically, flexibility deficits are noted across a range of disorders, including schizophrenia, obsessive-compulsive disorder, ADHD, and frontal-lobe injury. Understanding how the brain achieves flexible behavior is therefore both a basic scientific and clinical priority.
To examine the neural architecture that supports this ability, lead author Sina Tafazoli, Ph.D., and senior investigator Jonathan Buschman, Ph.D., trained two male rhesus macaques on three related categorization tasks. These tasks required the animals to evaluate visually ambiguous stimuli, balloon-like shapes varying along shape and color dimensions and report their categorical judgment using specific eye movements.
• Two tasks required identical color judgments but different motor responses.
• Another two required identical motor responses but different perceptual discriminations.
This overlapping structure allowed the researchers to test whether the brain reused similar neural patterns, its “building blocks” across tasks with shared elements.
Using high-density neuronal population recordings, the researchers identified consistent patterns of activity within the PFC that were shared across tasks requiring similar cognitive operations. These activity motifs functioned like cognitive modules: stable, reusable representations that could be flexibly deployed depending on the task’s requirements.
• A structured population response encoded color discrimination, regardless of the required direction of the eye movement.
• Another module encoded shape discrimination, independent of the color dimension.
• A separate block mapped categorical decisions onto directional saccades.
Rather than learning each new task from scratch, the PFC recomposed these modules in different configurations. When the task switched from color to shape discrimination, neural activity simply recruited the appropriate block for shape while maintaining the module for motor reporting. This reconfiguration occurred without erasing prior representations.
This compositional architecture mirrors the logic of modular software design, yet it is implemented in a continuously adapting biological substrate.
Beyond reuse, the study revealed a second critical property: the PFC actively suppressed cognitive blocks irrelevant to the task at hand. During shape categorization, color-related modules exhibited dampened activity, and vice versa.
This selective suppression is consistent with the known limitations of cognitive control and attentional capacity. By quieting nonessential processes, the brain reduces interference and enhances signal-to-noise ratios in relevant neural circuits. In clinical terms, this mechanism resembles the suppression deficits often observed in disorders marked by impaired cognitive flexibility, such as increased distractibility in frontal-lobe injury or perseverative errors in schizophrenia and OCD.
The Princeton findings highlight a key divergence between biological learning and machine learning. Artificial neural networks lack stable, independent cognitive modules. When new tasks are introduced, adjustments to network weights often overwrite previously learned representations, an issue known as catastrophic interference.
• Maintaining stable functional blocks.
• Reusing and recombining these blocks.
• Suppressing irrelevant modules rather than erasing them.
This architecture enables continual learning without degradation of past knowledge. Incorporating similar modularity into artificial systems could enable AI to master sequential tasks without catastrophic forgetting, potentially aligning machine learning closer to biological intelligence.
Understanding the modular structure of cognition has significant implications for medicine:
Impaired cognitive flexibility is a diagnostic and functional feature of schizophrenia, OCD, bipolar disorder, autism spectrum disorder, and traumatic brain injury. Disruption of module formation, selection, or suppression could underlie observed deficits in strategy switching, adaptive behavior, and executive control.
Therapies that encourage reconstruction or recombination of cognitive blocks, such as targeted cognitive training, neuromodulation, or task-based rehabilitation, may restore flexible functioning by strengthening modular organization in the PFC.
Age-related decline in executive function may reflect reduced stability or inefficient recruitment of cognitive modules; identifying these patterns could improve early detection of disease states like mild cognitive impairment.
Designing decision-support systems that mimic the brain’s modular approach could improve explainability and reduce the brittleness of current models.
The Princeton study provides one of the clearest demonstrations that the brain achieves flexibility through a compositional system of cognitive blocks, reusable, suppressible, and reorganizable neural modules centered in the prefrontal cortex. This architecture supports rapid adaptation to new environments and prevents the overwriting of prior knowledge. It also offers a biological template for improving artificial intelligence and an explanatory framework for clinical disorders involving cognitive inflexibility.
By uncovering the building blocks of flexible cognition, Tafazoli and Buschman have highlighted a fundamental property of the biological brain, one that remains unmatched by contemporary AI and central to understanding both healthy and disordered executive function in humans. This line of research continues to shape the foundational neuroscience guiding future clinical and computational innovation.