When does evolution pay for a bigger brain
I built a small 2D world in which every neuron costs energy, and watched what evolution does to brain size when the climate is shaken. The answer was more modest than expected — and more useful.
This is a toy model, not a study: the conclusions apply to the model, not to living nature. October 2026.
The prototype tests one hypothesis from the essay “Why nature needs a brain, and what that can teach AI”: a brain pays off where the world changes faster than evolution can keep up.
How the world works
- Plants have no brain. Four genes: growth rate, size, toxicity, seed range. Only mutation and selection.
- Herbivores have a tiny neural network. They sense food, predators, kin nearby and their own energy, and decide where to move, whether to eat and whether to reproduce.
- Predators work the same way, but eat herbivores.
The key rule: every hidden neuron costs energy on every step. Brain size (0 to 16 neurons) is inherited with mutations, together with the weights. Evolution chooses for itself which brain it can afford.
Climate. Fertility is spread across the map as forests, steppes and deserts. A volatility knob sets how fast these zones move: at 0 the map is static, at 1 the pattern rearranges roughly within one herbivore’s lifetime.
One run is 10,000 steps: 400–500 generations for herbivores, about 100 for predators.
The world is alive
All three levels coexist for the full 10,000 steps. Predators and herbivores oscillate but do not go extinct. The balance is fragile, though: it had to be tuned by hand, and with neighbouring settings predators died out in 25–40% of runs.

Main result: climate does not affect the brain
Six volatility values, 10 runs each. I expected “the less stable the world, the bigger the brain”. I did not see it.
| Climate volatility | 0 | 0.1 | 0.25 | 0.5 | 0.75 | 1 |
|---|---|---|---|---|---|---|
| Herbivore brain, neurons | 2.85 | 2.66 | 2.17 | 2.59 | 2.87 | 2.70 |
| Predator brain | 1.40 | 1.39 | 1.08 | 1.42 | 1.21 | 1.43 |
| Herbivore skill | 0.62 | 0.57 | 0.56 | 0.58 | 0.65 | 0.61 |
The differences between columns are noise: the standard error is 0.15–0.3 neurons. Herbivores grew slightly from the initial two neurons and learned to move toward food. Predators shrank their brains: prey is plentiful and random wandering is enough.
The likely reason: animals sense food here and now. Wherever the forests move, a “go to food” network works just as well. Volatility would put pressure on the brain only if success required remembering or predicting. The model has no memory and no learning.

Replaying the tape: 24 identical runs
The final mean herbivore brain is 2.56 neurons, ranging from 1.6 to 3.8. In no run did the mean brain reach four. Individuals with six or more neurons appeared in 8 of 24 runs, but made up half a percent of the population. The brain never “exploded”.

The only knob that works: neuron cost
| Neuron cost per step | 0 | 0.001 | 0.002 | 0.004 | 0.008 |
|---|---|---|---|---|---|
| Herbivore brain | 5.3 | 3.6 | 2.7 | 2.0 | 0.4 |
| Predator brain | 3.6 | 2.3 | 0.9 | 0.5 | 0.3 |
The more expensive the brain, the smaller it gets. Even a free brain does not inflate to the maximum: five neurons out of sixteen. More is simply not needed for “go to food”.

The trackers’ invasion
I hand-built a three-neuron “tracker” that moves to where there is more food, and seeded 10% of them into a population of brainless wanderers. At a reasonable neuron cost, trackers fully displace the wanderers within 300–500 steps under any climate. Only with a very expensive brain does the takeover stall at 55–70%.
Bottom line: a 2–3 neuron brain pays off almost always, and more is not needed. That is where evolution stops.

What surprised me
- At first the brain lost. In early versions the brainless wanderers consistently produced larger populations. The causes were small details of the world: random networks broke basic “eating”, and a herd of skilled trackers grazed plants down to the root and died out.
- Smarter is not necessarily more successful as a species. Trackers win head-to-head, but their total population is lower: they overgraze. What is good for the individual is not what is good for the population.
- Predators do not need a brain — under these conditions: they are cheap and prey is plentiful.
- Evolution quickly finds a simple brain and stops at two or three neurons: exactly enough to compare food left and right, up and down.

Limitations. The main result is negative: there is no “unstable climate → bigger brain” link in this model, which does not prove there is none in nature. Parameters were tuned by hand. Everyone starts with two neurons, and the outcome partly remembers the start. The world is small, there is one task, no memory and no learning. No statistical tests were run: treat differences under 0.4 neurons as zero.
What’s next
- Lifetime learning: weights updated from an energy signal. The most likely place where climate starts to affect the brain.
- Memory: a recurrent layer or an “energy on the previous step” input.
- A 2D map of neuron cost × climate volatility.
- Starts from 0 and 8 neurons, runs longer than 10,000 steps.
- A wider, more complex world with longer-range senses.
Follow-ups: iteration 2 — when evolution pays for learning (items 1 and 2 of this list) and checking the model against the real lynx–hare cycle.
Updates to the experiment will appear here. To discuss, message me on Telegram.