One Million Neurons
Essay 07

Can we simulate a brain?

We have had the full wiring diagram of a worm since 1986, and the worm still keeps a secret. A tour of the brains we have copied, the ones we have imitated, and what each attempt taught us.

17 min read

The worm is about a millimetre long and lives in soil, eating bacteria. Its name is Caenorhabditis elegans, and it has exactly 302 neuronsnerve cells: they receive signals, combine them and pass a signal on. In 1986, before the web existed, a team in Cambridge published the full wiring diagram of its nervous system, traced by hand from thousands of electron-microscope photographs.White, Southgate, Thomson and Brenner, Phil. Trans. R. Soc. B, 1986. The work took more than a decade.

So we have known every connection in this animal for forty years. And still, if you ask whether anyone can run a computer copy of the worm that wriggles, hunts and learns just as the real one does, the honest answer is: not yet, not fully.

Meanwhile, in 2024, a much bigger brain, that of a fruit fly, was simulated well enough to predict real behaviour, and the simulation runs on a laptop.

That contrast is the heart of this essay. It is a story about what a wiring diagram is and what it is not, about two very different ways of copying a mind, and about why the hard part turns out to be memory and learning rather than raw speed.

Two roads to a copy

Suppose you want to run an old games console's games on a modern computer. There are two ways to do it.

The first is emulation from the bottom up. You study the console's chips, circuit by circuit, and write a program that imitates every one of them. If you get every circuit right, every game just works, including ones you have never seen.

The second is imitation from the top down. You never open the box. You watch the games being played, millions of times, and you train a model that produces the same screens from the same button presses. It can be very good at the games you showed it. Whether it understands the console is another question.

Brains can be copied both ways.

  • Bottom-up: map the connectomea complete map of the neurons in a nervous system and the synapses between them; in software terms, a directed graph, give each neuron a mathematical model, and press "run".
  • Top-down: record what a brain does, in scans, in electrodes or in behaviour, and train a model to predict it.

Neither road is the "right" one. They answer different questions, and both are full of people doing beautiful work. Let us walk each road in turn, starting small.

The worm: a call graph without the code

What does a wiring diagram actually give you? For software engineers there is a lovely way to put it. A connectome is like a program's call graph without the code. You can see which function calls which. You cannot see what each one computes, how strongly one call influences the next, or how the code rewrites itself while it runs.

The worm's diagram, in numbers, is about 5,000 chemical synapsesthe junctions where one neuron passes a chemical signal to the next, about 2,000 junctions onto muscles and about 600 gap junctionsdirect electrical links between two cells, like a wire soldered from one to the other.The often-quoted "7,000 connections" is the first two numbers added together. Chapter 12 of From Molecules to Minds tells how that first map was made. What the diagram leaves out is just as important. It does not say whether each synapse excites or inhibits, how strong it is, or how it changes with experience.

It also misses a whole second network. In 2023, a team led by William Schafer drafted a map of the worm's neuropeptidessmall protein messengers that drift between cells and change how neurons behave, rather than passing a quick signal along a wire: chemical messages that travel without wires, like a radio broadcast laid over the telephone network. Their draft map counted about 31,000 of these "wireless" connections among the same 302 neurons, a network far denser than the wired one.Ripoll-Sánchez and colleagues, Neuron, 2023. A draft inferred from gene-expression and receptor data, not a direct measurement of every link.

None of this has stopped people from trying, and the attempts are a joy to read about.

  • OpenWorm is an open project, run largely by volunteers since the early 2010s, to build the whole worm in software: neurons, muscles and a body moving through fluid.Szigeti and colleagues described the project and its tools in Frontiers in Computational Neuroscience, 2014.
  • BAAIWorm, from a team in Beijing published in December 2024, joined a detailed model of every neuron to a body with 96 muscles in a simulated three-dimensional fluid. In closed loop, brain driving body and body feeding back to brain, the virtual worm made the zigzag path a real worm makes as it heads towards food.Zhao and colleagues, Nature Computational Science, 2024. The code is open source.

These are real achievements. But even with the map in hand, the modellers had to fit many unknown numbers to recordings of real activity, and no one yet claims a worm-in-a-box that learns and behaves across the animal's whole repertoire. Structure alone is not intelligence. The diagram is necessary, and it is nowhere near sufficient.

The fly: a map that almost runs

If the worm is humbling, the fly is the surprise.

In October 2024 the FlyWire consortium, led from Princeton, published the complete wiring diagram of an adult fruit fly brain: 139,255 neurons and about 54.5 million synapses, with more than 8,400 cell types. Researchers and volunteers spent about 33 person-years checking the AI's tracing by hand.Dorkenwald and colleagues, Nature, 2024. Without the AI, its leaders estimated, the job would have taken tens of thousands of person-years.

In the same issue of Nature, Philip Shiu, Kristin Scott and colleagues did something almost cheeky. They turned every neuron into the simplest reasonable model, a leaky integrate-and-firea neuron model that adds up its inputs, slowly leaks charge, and fires a spike when it crosses a threshold unit. They guessed whether each synapse excites or inhibits from a machine-learning prediction of the chemical each neuron releases. They did not tune the model to match any behaviour at all.

Then they "tasted sugar" in the model, by switching on the sugar-sensing neurons, and watched what lit up. The model pointed to the neurons that start feeding, and experiments on real flies confirmed many of its predictions. The same trick worked for grooming. And, in the words of the Berkeley news story, the whole simulation "can run on a laptop."Shiu and colleagues, Nature, 2024; Berkeley News, 2 October 2024.

One of the authors was refreshingly frank about the simplicity: "We essentially ignore all of the different morphologies of individual neurons."

A second paper that autumn went one step further. Janne Lappalainen, Srinivas Turaga, Jakob Macke and colleagues took the wiring for 64 cell types in the fly's motion-vision circuit and left the strengths of the neurons and synapses unknown. Then they trained those unknowns with deep learning on a single job the circuit is known to do: detect motion. The trained model's neurons behaved like the real ones, matching measurements from 26 separate experimental studies.Lappalainen and colleagues, Nature, September 2024. They also found the method works best when neurons are sparsely connected, as they usually are in real brains.

Wiring plus a goal plus a little training predicted biology. Here is the software picture I find most helpful. A good architecture is like a strong type system. The types rule out almost every wrong program before you run a single test, so the few tests you do run can pin down the rest. The fly's wiring rules out most of the ways its neurons could behave; the task of seeing motion fills in the remaining blanks.

The fly also has a body now. In 2025, a team from HHMI's Janelia Research Campus and Google DeepMind published a whole-body physics model of the fly, with wings, legs, sticky feet and a model of the air around it, that walks and flies realistically when trained.Vaxenburg and colleagues, Nature, 2025. The model runs in the open-source MuJoCo physics engine. Brain maps and bodies are slowly meeting in the middle.

The mouse and the human: one cubic millimetre at a time

Why not do the same for a mouse, or for us? Scale. A mouse brain has about 70 million neurons. A human brain has about 86 billion, with somewhere between 100 trillion and a quadrillion synapses. Chapter 10 of From Molecules to Minds explains where those counts come from and why the synapse range is so wide.

The maps have reached the size of a grain of sand.

  • H01 (2024). Jeff Lichtman's lab at Harvard and Google Research mapped about one cubic millimetre of human cortex, donated during epilepsy surgery: about 57,000 cells and about 150 million synapses, in 1.4 petabytesa petabyte is a million gigabytes, roughly the storage of a few thousand laptops of images.
  • MICrONS (2025). A consortium recorded the activity of about 75,000 neurons in a living mouse as it watched videos, then mapped the same cubic millimetre: more than 200,000 cells and about 523 million synapses.

These are breathtaking. They are also tiny next to a whole brain. Images at the same detail for a whole human brain would come to roughly 1.7 zettabytes, about a thousand times the data of a whole mouse brain (an estimate, from simple multiplication).

Simulations have run ahead of the maps, with wiring filled in from rules and statistics rather than measured synapse by synapse. Each one taught something.

  • The K computer, 2013. A team from RIKEN, OIST and Forschungszentrum Jülich simulated 1.73 billion neurons joined by 10.4 trillion synapses on one of the world's fastest supercomputers. One second of activity took 40 minutes of machine time. Press reports called it "one per cent of the brain." The neurons were wired at random, because the goal was to test the machine and the simulation software, not to copy a brain.RIKEN press release, 2 August 2013. It used 82,944 processors and the open-source NEST simulator, with 24 bytes of memory for each synapse.
  • The Human Brain Project, 2013–2023. Europe's ten-year flagship spent about $650 million (607 million euros, of which 406 million came from the EU). It began with a hope of simulating a human brain and did not produce one. What it did leave behind was a shared research infrastructure called EBRAINS, plus many tools and atlases that others now use. Big goals often pay off sideways.
  • A mouse cortex on Fugaku, 2025. Teams from the Allen Institute and Japan simulated nearly ten million detailed neurons with 26 billion synapses across 86 regions of mouse cortex, built from atlases and cell-type databases.Allen Institute news release, 17 November 2025, and a paper presented at the SC '25 supercomputing conference.

And then there is a smaller model I have a soft spot for. In 2012, Chris Eliasmith and his group in Canada built Spaun, a network of about 2.5 million spiking neurons organised like parts of a real brain. It looked at handwritten digits through a simulated eye, held them in a working memory, solved simple pattern puzzles and wrote its answers with a simulated arm, across eight different tasks.Eliasmith and colleagues, Science, 2012. Spaun was not copied from a connectome. It was designed, by people who had a theory of what each part should compute. It showed that a few million well-organised neurons can do a surprising range of mental work.

The other road: learning a brain from outside

While the bottom-up road crawled forward, the top-down road began to sprint. These models do not copy the wiring. They learn to predict what a brain will do.

  • Predicting human brain scans. In 2025, a team at Meta built TRIBE, a model that takes a film's video, sound and spoken words and predicts the fMRIfunctional magnetic resonance imaging: a scanner that tracks changes in blood oxygen, a slow proxy for which brain areas are working response of a person watching it, across the whole cortex. It won the Algonauts 2025 brain-modelling challenge, ahead of more than 260 teams.d'Ascoli and colleagues, arXiv 2507.22229, 2025. Earlier, in 2021, Martin Schrimpf and colleagues at MIT showed that language models which are better at predicting the next word also predict activity in human language areas better.Schrimpf and colleagues, PNAS, 2021.
  • A digital twin of mouse vision. Also in 2025, Andreas Tolias's team at Stanford, with colleagues at Baylor, trained a model on recordings of mice watching action films. It predicted how tens of thousands of visual neurons respond, even to kinds of images it was never trained on, and it could be adapted to a new mouse with little extra data.Wang and colleagues, Nature, April 2025. A companion paper used the twin to study the MICrONS wiring.
  • A model of human choices. Centaur, from Marcel Binz, Eric Schulz and colleagues, is a large language model (Llama 3.1 70B) fine-tuned on a dataset of more than 10 million choices made by more than 60,000 people across 160 psychology experiments. It predicts the choices of people it has never seen better than the classic hand-built models of each task, and it still does well when the cover story or the task itself is changed.Binz and colleagues, Nature, 2025.
  • A virtual rat. In 2024, Diego Aldarondo, Bence Ölveczky and colleagues at Harvard, with Google DeepMind, trained a neural network to move a realistic simulated rat body the way real rats move. The network's internal activity predicted activity in the real rats' motor areas better than the movements themselves did.Aldarondo and colleagues, Nature, 2024.

These are wonderful results, and they are useful right now: they let scientists run experiments on a computer before they run them on an animal. They are also, in a friendly sense, brute-force imitations. Each learned its brain from a large amount of recorded data, and each is very good inside the range of what it saw.

A top-down model tells you what a brain does. A bottom-up model hopes to tell you how. The most exciting work now joins the two, as when the mouse digital twin was used to ask questions of the MICrONS wiring.

How much computer would a brain need?

So: is our hardware big enough? Here the news is surprisingly good, at least for arithmetic.

The most careful estimate of the brain's useful computation is a 2020 report by Joseph Carlsmith. Its central figure is about 10¹⁵ FLOP/sfloating-point operations per second: arithmetic steps on decimal numbers, per second, with a plausible range of 10¹³ to 10¹⁷.Carlsmith, Open Philanthropy, 2020. "More likely than not" enough, in his words, if we had the right software. One NVIDIA H100 GPU does about 10¹⁵ dense 16-bit operations per second. On the central estimate, one modern GPU already matches the raw arithmetic of a brain, while using about 35 times more power.

The bill rises steeply if you want a faithful emulation rather than the same amount of useful work. In 2008, Anders Sandberg and Nick Bostrom laid out a ladder of detail, from coarse to fine, with the compute each rung would need for a human brain.

Go deeper: the emulation ladder, and a lifetime of thinking

Sandberg and Bostrom's estimates (Whole Brain Emulation: A Roadmap, 2008), for a human brain in real time:

Level of detailWhat is simulatedCompute (FLOP/s)Memory
Population modelGroups of neurons, not single cellsabout 10¹⁵about 50 TB
Spiking networkEvery neuron and every connectionabout 10¹⁸about 8 PB
ElectrophysiologyEach neuron split into many electrical compartmentsabout 10²²about 10 PB
MetabolomeThe chemicals inside every compartmentabout 10²⁵about 1,000 PB

Each rung down is a guess that the level above leaves out something essential. Nobody knows which rung is the right one. That is the real uncertainty, and it spans ten orders of magnitude.

A lifetime at the central estimate. Thirty years is about 9.5 × 10⁸ seconds. At 10¹⁵ FLOP/s, that is about 10²⁴ operations. The largest AI training runs of 2025 are estimated at roughly 10²⁶ operations, with a few up to about 5 × 10²⁶ (Epoch AI). So a frontier training run spends about a hundred times a thirty-year brain's arithmetic, on this estimate. That is a big multiple, but a modest one next to the data: a child hears fewer than 100 million words by age 13, while a frontier model reads around 15 trillion tokens, roughly 100,000 times more. The gap is much larger in data than in compute.

Memory, not arithmetic

If arithmetic is no longer the wall, what is? Look at the last column of that table.

A spiking copy of a brain needs to keep a few numbers for every connection: where it goes, how strong it is, and some state that changes over time. Sandberg and Bostrom allowed 8 bytes per connection. With 10¹⁵ connections that is about 8 petabytes, and every byte of it has to be read and updated about a thousand times a second.

A top GPU holds 80 to a few hundred gigabytes of fast HBMhigh-bandwidth memory: stacks of memory chips placed right beside a GPU so data can reach it quickly. To hold 8 petabytes you would need roughly 100,000 H100s, just for storage, before any thinking happens. Then those GPUs would spend most of their time shuttling numbers back and forth between memory and arithmetic units, and between each other.

The brain has no such problem, because it never separated the two. Every synapse is both a stored number and a tiny calculator, sitting exactly where it is needed. A short way to say it:

The brain is memory with compute everywhere. A GPU is compute with distant memory.

This is why so much hardware research now goes into putting calculation inside memory, and into brain-like chips. Chapter 11 of From Molecules to Minds tells the energy side of this story, chapter 13 the brain-like chips, and chapter 14 the memory that computes. The twenty watts essay asks what the brain's tiny power bill tells us.

The fly fits on a laptop for the same reason: 54.5 million synapses at 8 bytes each is under half a gigabyte. A mouse would need around a terabyte, a handful of GPUs. A human needs a building.

What the worm and the fly teach

Step back and the two small animals tell a clear and rather hopeful story.

First, structure alone is not intelligence. The worm's complete map has been on the shelf for forty years. Without knowing the strengths, the chemistry and how they change, the map does not run itself into a worm.

Second, structure plus a little learning is powerful. The fly's map plus the simplest neuron model predicted feeding. The fly's vision map plus one training goal predicted the activity of real neurons across dozens of studies. In both cases the wiring did most of the work, and a small amount of fitting did the rest. Spaun made a similar point by design rather than by measurement.

Third, the missing piece is the learning rule. We can map wiring, given patience. We can supply arithmetic, given money. What we still do not have is a full description of how a brain changes itself so quickly from so little experience. A connectome is a snapshot of a program after it has been compiled and run for a lifetime. The compiler, and the way the program keeps editing itself, are not in the picture. Chapter 10 of From Molecules to Minds collects what we do know about learning in real synapses, and it is a lot, but not yet enough to write down.

There is a lovely puzzle hiding here, and it is the subject of the next essay. A human brain has around a hundred trillion synapses. The genome that builds it holds well under a gigabyte. So the brain cannot be a stored copy of anything. It has to be grown from a short recipe, and then it has to learn. If we want to understand what makes a brain efficient, that recipe may matter more than any map.

I find all of this very cheering. The bottom-up people are learning which details matter. The top-down people are building models that already help science today. And the bee from the first essay, with its million neurons and its sense of "same", is still sitting there, a little further up the ladder than the fly, waiting for someone to work out how it learns.

Before
Simulating a brain is mainly a question of having a big enough computer.
Now
Arithmetic is roughly within reach; memory is a real wall; and the deepest missing piece is how brains learn. A wiring map plus a little learning already predicts real behaviour in a fly.
Would prove me wrong
A complete worm or fly model, built from the map with no fitting to activity data, reproduces the animal's behaviour and learning across its whole repertoire. Then structure really would be most of the story.

Sources

  1. White, J. G., Southgate, E., Thomson, J. N. & Brenner, S. (1986). "The structure of the nervous system of the nematode Caenorhabditis elegans." Phil. Trans. R. Soc. B 314:1. https://doi.org/10.1098/rstb.1986.0056
  2. Ripoll-Sánchez, L. et al. (2023). "The neuropeptidergic connectome of C. elegans." Neuron 111:3570. https://pubmed.ncbi.nlm.nih.gov/37935195/
  3. Szigeti, B. et al. (2014). "OpenWorm: an open-science approach to modeling Caenorhabditis elegans." Frontiers in Computational Neuroscience 8:137. https://doi.org/10.3389/fncom.2014.00137
  4. Zhao, M. et al. (2024). "An integrative data-driven model simulating C. elegans brain, body and environment interactions." Nature Computational Science, December 2024. https://www.nature.com/articles/s43588-024-00738-w
  5. Dorkenwald, S. et al. (FlyWire Consortium) (2024). "Neuronal wiring diagram of an adult brain." Nature 634:124. https://www.nih.gov/news-events/nih-research-matters/complete-wiring-map-adult-fruit-fly-brain
  6. Shiu, P. K. et al. (2024). "A Drosophila computational brain model reveals sensorimotor processing." Nature 634:210. https://doi.org/10.1038/s41586-024-07763-9
  7. Berkeley News / UC Berkeley Research (2 October 2024). "Researchers simulate an entire fly brain on a laptop. Is a human brain next?" https://vcresearch.berkeley.edu/news/researchers-simulate-fly-brain-laptop-human-brain-next
  8. Lappalainen, J. K. et al. (2024). "Connectome-constrained networks predict neural activity across the fly visual system." Nature 634:1132. https://doi.org/10.1038/s41586-024-07939-3
  9. Vaxenburg, R. et al. (2025). "Whole-body physics simulation of fruit fly locomotion." Nature 643:1312. https://doi.org/10.1038/s41586-025-09029-4
  10. Shapson-Coe, A. et al. (2024). "A petavoxel fragment of human cerebral cortex reconstructed at nanoscale resolution." Science 384:eadk4858 (H01). https://doi.org/10.1126/science.adk4858
  11. MICrONS Consortium (2025). "Functional connectomics spanning multiple areas of mouse visual cortex." Nature 640:435. Allen Institute summary: https://alleninstitute.org/news/scientists-complete-largest-wiring-diagram-and-functional-map-of-the-brain-to-date
  12. RIKEN (2 August 2013). "Largest neuronal network simulation achieved using K computer." https://www.riken.jp/en/news_pubs/research_news/pr/2013/20130802_1/
  13. European Commission (2023). "Final Human Brain Project Summit: achievements and future of digital brain research" (607 million euros in total, 406 million from the EU). https://digital-strategy.ec.europa.eu/en/news/final-human-brain-project-summit-achievements-and-future-digital-brain-research
  14. Allen Institute (17 November 2025). "One of the world's most detailed virtual brain simulations is changing how we study the brain." https://alleninstitute.org/news/one-of-worlds-most-detailed-virtual-brain-simulations-is-changing-how-we-study-the-brain
  15. Eliasmith, C. et al. (2012). "A large-scale model of the functioning brain." Science 338:1202. https://doi.org/10.1126/science.1225266
  16. d'Ascoli, S., Rapin, J., Benchetrit, Y., Banville, H. & King, J.-R. (2025). "TRIBE: TRImodal Brain Encoder for whole-brain fMRI response prediction." arXiv:2507.22229. https://arxiv.org/abs/2507.22229
  17. Schrimpf, M. et al. (2021). "The neural architecture of language: Integrative modeling converges on predictive processing." PNAS 118:e2105646118. https://doi.org/10.1073/pnas.2105646118
  18. Wang, E. Y. et al. (2025). "Foundation model of neural activity predicts response to new stimulus types." Nature 640:470. https://doi.org/10.1038/s41586-025-08829-y
  19. Binz, M. et al. (2025). "A foundation model to predict and capture human cognition." Nature 644:1002. https://doi.org/10.1038/s41586-025-09215-4
  20. Aldarondo, D. et al. (2024). "A virtual rodent predicts the structure of neural activity across behaviors." Nature 632:594. https://doi.org/10.1038/s41586-024-07633-4
  21. Carlsmith, J. (2020). "How much computational power does it take to match the human brain?" Open Philanthropy. https://coefficientgiving.org/brain-computation-report
  22. Sandberg, A. & Bostrom, N. (2008). Whole Brain Emulation: A Roadmap. Future of Humanity Institute Technical Report 2008-3, Tables 8 and 9. https://www.futureofhumanityinstitute.org/s/2008-3.pdf
  23. NVIDIA H100 product page (about 989 TFLOP/s dense BF16; 80 GB memory; up to 700 W). https://www.nvidia.com/en-us/data-center/h100/
  24. Epoch AI (2025). "Over 30 AI models have been trained at the scale of GPT-4" (training-compute estimates, including the largest 2025 runs). https://epoch.ai/data-insights/models-over-1e25-flop
  25. Warstadt, A. et al. (2023). "Findings of the BabyLM Challenge." Children hear fewer than 100 million words by age 13 (citing Gilkerson et al., 2017). https://arxiv.org/abs/2504.08165
  26. Meta (18 April 2024). Llama 3 announcement: pretraining on more than 15 trillion tokens. https://ai.meta.com/blog/meta-llama-3/

Estimates in this essay that rest on calculation rather than one measured source: the whole-brain image volume (1.7 zettabytes), the human synapse range, the mouse synapse count used in the figure, the memory for a spiking copy (8 bytes per connection) and the number of GPUs to hold it, the lifetime-compute comparison, and the ratio of training text to a child's words.