Skip navigation
The human brain is strikingly modular, with distinct networks for language, formal reasoning, social…
0:00 / 0:28

The human brain is strikingly modular, with distinct networks for language, formal reasoning, social…

Pengrui Han (Barry)

@pengrui_han1.1K followers

Visit on X
2,348 likesDownloadOriginal post

235,950 views

The human brain is strikingly modular, with distinct networks for language, formal reasoning, social reasoning, and physical reasoning. Is this a fundamental principle of how intelligent systems are built, or an accident of biological evolution? In our latest preprint, we find that a similar modular organization emerges in Large Language Models, another class of intelligent system. Brains and LLMs are shaped by entirely different kinds of optimization (biological evolution vs. gradient descent). That they arrive at the same modular design anyway suggests modularity may be a fundamental property of intelligent systems. 🌐 Web: 📄 Paper: 💻 Code & data: Using circuit analyses across 46 tasks spanning four cognitive domains, we find: 1️⃣ Tasks that draw on the same network in humans recruit overlapping units in LLMs, while tasks drawing on different networks recruit distinct units. 2️⃣ These units are causally linked to model behavior. Ablating the units critical for one domain impairs performance in that domain (−26% accuracy) but barely touches the others (−2.5%). This project has been in the works for a while :) Huge thanks to my advisors Jacob Andreas Ev (like in 'evidence', not Eve) Fedorenko 🇺🇦 Andrea de Varda, and to Nancy Kanwisher @NancyKanwisher@mas.to for valuable conceptual input and feedback throughout. #MIT

35 Comments

Comments from the original post on X (Twitter)

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    2/n We tested 46 tasks across four domains, grounded in brain networks studied in humans: language (supported by the language network), formal reasoning (Multiple-Demand network), physical reasoning (Intuitive Physics network), and social reasoning (Theory of Mind network).

    54 likes

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    3/n Each task is built from minimal pairs. An "original" and an "alternative" input differ in a single task-relevant detail (e.g., 86 + 15 vs 86 + 16) but flip the correct answer (101 vs 102). This isolates the specific computation each task depends on.

    32 likes

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    5/n We found that LLMs develop a modular organization that resembles the human brain. Tasks supported by the same network are solved by overlapping sets of neurons in the model, whereas tasks that draw on different networks recruit largely separate sets of neurons. Within-domain overlap was more than four times higher than cross-domain overlap, and unsupervised clustering of the model’s neurons recovered the four domains defined in neuroscience. The same structure emerged in six different LLMs, from 24 to 123 billion parameters.

    32 likes

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    7/n A second kind of intelligent system lets us ask not just whether modularity arises, but why. One popular idea is that modularity in the brain emerges to minimize metabolic costs: activating only a sparse set of units for a given task uses less energy than broadly distributed activations. However, LLMs face no such cost so that pressure cannot be what makes modularity arise. Modularity instead may be a way to keep different cognitive operations from interfering when they must operate over the same input. The approach also opens new directions: deriving testable fMRI predictions about which brain network a new task will engage in humans, studying how information flows between networks (hard to study in the brain), and asking whether the modularity increasingly built into AI systems, like mixture-of-experts, carries computational advantages beyond efficiency.

    26 likes

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    4/n To find the units to support these tasks, we use attribution patching. The analysis runs in four steps. (1) We start from each task's minimal pairs. (2) We pass both inputs through the model and record activations at every neuron. (3) We then score each neuron, combining how much its activation shifts between the two inputs with how much the output depends on it, which approximates the causal contribution of the units to the task. (4) Finally, we measure how much these units overlap across tasks and across domains.

    26 likes

  • Pengrui Han (Barry)'s profile picture

    @pengrui_han

    6/n These neurons also have domain-specific causal contributions. In targeted ablation experiments, we show that lesioning the neurons identified in one domain selectively impairs performance in other tasks from the same domain compared to tasks in other domains (a ten-fold difference on average). We also found qualitative effects of this dissociation: that lesioning language neurons largely preserved the models’ reasoning abilities but introduced syntactic and morphological errors; conversely, lesioning physical reasoning neurons led the models to incorrect reasoning and conclusions but preserved the linguistic well-formedness of the output.

    18 likes

  • Scott Graham's profile picture

    @MacGraeme42

    They do not arrive at "the same modular design". They arrive at two *completely different* modular designs with the only similarity being the word "modular", which is an extreme stretch to apply to LLMs with their all-to-all dot products of embedding vectors. Inasmuch as the problem-domain is comprised of distinct sub-problems, it stands to reason that a system optimized for learning within the domain will include subsystems each optimized for a different sub-problem, while retaining enough cross-links to benefit from generalizations across sub-domains.

    10 likes

  • C. Cade Mosley's profile picture

    @C_Cade_Mosley

    I think it's a feature of representational systems, since the world systems they're representing are themselves functionally modular, which the representations mirror.

    8 likes

  • Brian Crabtree's profile picture

    @ourtown2

    The same latent geometry can be rotated, reweighted, or routed differently across tasks. That is exactly what the bilingual hippocampus paper showed for humans: meanings can share geometry even when neuron-level tuning differs. Same semantic structure, different axes.

    4 likes

  • 𝑫𝒂𝒏𝒊𝒆𝒍 𝑺𝒄𝒐𝒕𝒕 𝑴𝒂𝒕𝒕𝒉𝒆𝒘𝒔 🇦🇺's profile picture

    @DanielSMatthews

    I'd be more cautious about making claims in this area as modularity may be a fundamental property of the efficiency optimisation of connectivity requirements in physical systems and the resemblance to digital systems is partially coincidental. Digital systems model the connections between interacting datasets (everything is data) and physical systems are representing similar connectivity with the least amount of structural resources possible, and that includes temporal constraints, the need to synchronize processes across a complex signal propagation environment.

    4 likes

  • Sam Z Liu's profile picture

    @samzliu

    Super cool work - my intuition is that modularity arrises not as an energy saving measure but as an information/entropy minimizing principle (which applies to both LLMs and brains). Something similar to calculating the maximum size of a soap bubble - there's a point where the entropy gain from having a larger system overpowers the increased intelligence/capability

    3 likes

  • Peiyang Song's profile picture

    @p_song1

    Very interesting! Congrats on the nice work Barry 🫡

    3 likes

  • yijie hao's profile picture

    @willhow1023

    @keyang_xuan The most insightful research 2026 so far.

    2 likes

  • An.twi's profile picture

    @SupremeAntwi

    Love the interactive paper!

    2 likes

  • sanjay prasad hs's profile picture

    @sanjuhs123

    Interesting gotta give this a read

    2 likes

  • AI Mastery Guide's profile picture

    @aiseomastery

    Brains and LLMs landing on the same modular setup through totally different processes is wild to think about

    2 likes

  • Ryan Kung 🇺🇦 🌪️'s profile picture

    @Elder24601

    This looks like convergent evolution between silicon-based intelligence and carbon-based intelligence, doesn't it?

    2 likes

  • Lauren Pearson's profile picture

    @laurenap_

    Wow. I love this

    2 likes

  • Yifan Kang's profile picture

    @kyiiiifan

    Hi! I think the MIT logo is a bit off. Can you update the project page?

    2 likes

  • Arthur Petron's profile picture

    @darthur

    Thanks for sharing! Very cool.

    2 likes