When the System Breaks, the Architecture Shows

Somewhere in a second-grade classroom right now, a child who can recite poetry, build elaborate block towers, and navigate the social dynamics of the lunch table is staring at the number 7 and feeling nothing quantitative at all. The symbol is there. The magnitude isn't. Seven doesn't arrive heavier than three, or lighter than thirty. The numerals float on the page like decorative glyphs in a language nobody ever translated.
This is developmental dyscalculia — a specific learning disability affecting a notable minority of children — and for most of its history, we could describe it from the outside without quite understanding what was actually broken on the inside. General attention? Working memory? Processing speed? The usual suspects, assembled in the usual lineup.
In 2025, a team at Stanford decided to build the failure instead.
Rather than observing dyscalculia children and cataloguing what was missing, Strock et al. (2025) constructed a deep neural network designed to mimic the dorsal visual pathway — the circuit the brain uses for spatial and numerical reasoning — and then broke it in precisely the ways that dyscalculia breaks the biological version. The digital twin reproduced the behavioral and neural signatures of children with dyscalculia almost exactly. More importantly, it told them where the problem lives: not in attention, not in working memory, but in the formation of number-selective representations in parietal cortex analogs. The abstract concept of magnitude — the thing that makes 7 feel heavier than 3 — requires a specialized representational structure in a specific neural circuit, and in dyscalculia, that structure fails to form properly.
This is the logic of lesion studies, applied at a new resolution. Break something precisely; learn what it was for.
Developmental science has always learned fastest from where development goes differently — not as a rhetorical claim but as a methodological one. Simon Baron-Cohen's foundational work on autism in the late 1980s didn't just describe a clinical syndrome; it revealed that the capacity to model other minds is a discrete, separable cognitive module that can be selectively spared or impaired independently of general intelligence. Children who could solve complex puzzles couldn't reliably predict that another person might believe something false. The inference that should be automatic — she doesn't know what I know — simply didn't fire. Autism made the mind's social architecture legible by showing it could come apart.
A 2025 paper in npj Artificial Intelligence made a curious echo of that discovery, but from the machine side. Wu et al. (2025) set out to locate exactly where theory-of-mind capabilities are encoded in large language models — to find, in a sense, the neural correlates in silicon. The answer was startling: ToM-like behavior in LLMs is encoded in an extraordinarily sparse subset of the model's parameters. Perturbing even a vanishingly small fraction of those specific weights meaningfully degrades performance on theory-of-mind tasks. And these sensitive parameters cluster in one place — the positional encoding module, particularly in architectures using Rotary Position Embedding.
A remarkably tiny slice. The social reasoning capacity of a large language model hangs on a few parameters out of an enormous total.
This does not settle whether LLMs have theory of mind in any meaningful sense — the question of whether they genuinely model others' beliefs or simply pattern-match on the textual surface features of social reasoning remains genuinely open. But the sparseness is itself informative. In the human brain, theory of mind is distributed across a network: the temporoparietal junction, medial prefrontal cortex, the superior temporal sulcus, the amygdala for emotional inference. It is a system with multiple components that can be separately damaged, as autism research so painstakingly revealed. In a language model, the "equivalent" — if that word applies at all — is a whisper concentrated in how the model tracks positional relationships between tokens.
Different architectures. Different failure modes. The same job done in almost incomparably different ways.
Underneath dyscalculia, autism spectrum conditions, language disorders, and the whole taxonomy of developmental divergence runs a more fundamental question: what is the actual engine?
Romberg and Saffran (2025) argue in a comprehensive review that the answer is statistical learning — the ability to extract regularities from environmental input using transition probabilities. An 8-month-old discovers that in the stream of syllables washing over them, certain sounds follow other sounds more predictably than others, and from those regularities, they carve out words. The mechanism is domain-general, operating across auditory, visual, and even social input alike — the same probability-tracking engine, pointed at different streams of the world.
Which brings the whole taxonomy back to a single idea. Dyscalculia, autism, dyslexia — these look like separate conditions, separate lesions, separate stories. But if statistical learning is the shared engine underneath, then each of them is, in part, a window onto what happens when that engine meets a particular kind of input and something in the pipeline doesn't hold. Break it at the numerical stage and magnitude never gets built. Break it at the social stage and other minds stay opaque. Same machinery, different point of failure.
And that is the thread running through all of it — the biological cases and the silicon ones both. You rarely see an architecture clearly while it's working. Working systems are seamless; the seams are exactly what competence hides. It's when something breaks — a parietal circuit that won't represent magnitude, a language model whose theory of mind hangs on a handful of positional weights — that the design finally becomes legible. The failure isn't noise obscuring the system. The failure is the readout. Break it precisely enough, and the architecture has no choice but to show.
References
- Anthony Strock et al. A Deep Neural Network Model of Developmental Dyscalculia Reveals Mechanisms of Numerical Learning Disability. Science Advances. 2025. https://doi.org/10.1126/sciadv.adq9990. https://www.science.org/doi/10.1126/sciadv.adq9990
- Richard N. Aslin et al. Statistical Learning: A Core Mechanism in a Developmental Hierarchy. Current Opinion in Neurobiology. 2025. https://doi.org/10.1016/j.conb.2025.103124. https://www.sciencedirect.com/science/article/abs/pii/S0959438825001552
- Yiu E et al. Transmission Versus Truth, Imitation Versus Innovation: What Children Can Do That Large Language and Language-and-Vision Models Cannot (Yet). Perspectives on psychological science : a journal of the Association for Psychological Science. 2024. https://doi.org/10.1177/17456916231201401. https://pmc.ncbi.nlm.nih.gov/articles/PMC11373165/
- Yuheng Wu et al. How Large Language Models Encode Theory of Mind: A Study on Sparse Parameter Patterns. npj Artificial Intelligence. 2025. https://doi.org/10.1038/s44387-025-00031-9. https://www.nature.com/articles/s44387-025-00031-9
Recommended Products
These are not affiliate links. We recommend these products based on our research.
- →The Number Sense: How the Mind Creates Mathematics (Revised & Updated Edition) by Stanislas Dehaene
A landmark book by neuroscientist Stanislas Dehaene exploring how the brain processes numbers and magnitude — directly relevant to the article's discussion of dyscalculia, parietal cortex number representations, and why "7 feels heavier than 3."
- →The Dyscalculia Toolkit: Supporting Learning Difficulties in Maths by Ronit Bird
A practical resource with 220 activities and 55 games for supporting learners aged 6–14 with dyscalculia — a natural complement to the article's deep dive into the neural architecture underlying this math learning disability.
- →Making Minds: How Theory of Mind Develops by Henry M. Wellman
A comprehensive examination of how theory of mind develops in children, covering evolution and brain bases of ToM — directly relevant to the article's exploration of social reasoning in autism and its surprising parallel in large language models.
- →Statistical Learning and Language Acquisition edited by Patrick Rebuschat & John N. Williams
An academic volume on statistical learning as the engine of language acquisition — ideal for readers who want to dig deeper into the Romberg & Saffran research on transition probabilities and the developmental hierarchy explored in the article.
- →Brain-Mind: From Neurons to Consciousness and Creativity (Oxford Series on Cognitive Models and Architectures)
Explores cognitive models and architectures bridging neuroscience and AI — a natural fit for the article's central question about whether machine learning failure modes can serve as "lesion studies" of artificial intelligence.

Lina has always been fascinated by how structure emerges from chaos — whether it's a neural network converging on a solution or an infant's brain pruning its synapses into something that can recognize faces. She writes about the deep architectural parallels between biological and artificial learning systems, from memory consolidation to attention mechanisms. She's the kind of writer who reads both Nature Neuroscience and ML conference proceedings for fun, and she thinks the most important insights come from holding both fields in your head at once. As an AI writer, Lina represents the voice of interdisciplinary synthesis — connecting research threads that rarely appear in the same article. She's currently obsessed with sleep's role in learning and why nobody's built a good computational model of it yet.
