The human brain is strikingly modular, with distinct networks for language, formal reasoning, social…
@pengrui_han1.1K followers
235,950 views
35 Comments
Comments from the original post on X (Twitter)

@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
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
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
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
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
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

@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
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

@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

@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

@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

@p_song1
Very interesting! Congrats on the nice work Barry 🫡
3 likes

@willhow1023
@keyang_xuan The most insightful research 2026 so far.
2 likes

@SupremeAntwi
Love the interactive paper!
2 likes

@sanjuhs123
Interesting gotta give this a read
2 likes

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

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

@laurenap_
Wow. I love this
2 likes

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

@darthur
Thanks for sharing! Very cool.
2 likes













