Experiments from Oct 12 – Oct 25, 2026. This is just a hobby project, so please take it lightly. It's a personal lab log, not professional research.
In short
- We rebuilt a real fruit-fly brain, all 138,639 neurons, on one desktop GPU and gave it a simulated body.
- Then we built brain parts one at a time and moved into W1, a 3D world where 256 creatures see through 32×32 eyes and evolution decides which organs they keep.
- Most of the time, evolution said no. After two weeks: 6 organs selected, 4 rejected, 1 can't tell.
Act 1 · A fly brain on a desktop
The FlyWire connectome maps all 138,639 neurons of an adult fruit fly and the synapses between them, and a published model turns that wiring into spiking neurons. Our first job was to rebuild it on one desktop GPU and get the same answer.
At first it didn't match: our version fired 17% more than the original. Shrinking the problem to two neurons showed why. Right after a neuron fires, the original throws away incoming input; ours was saving it for later. With that one rule fixed, the two models agreed (correlation 1.000, the same top 50 neurons), and computing only the connections of neurons that actually fire cut 30 trials from 88 seconds to 29.

New problems followed. An odor lit up about 8,500 neurons at once, and the fly always turned left. Compared with a male fly's wiring, the left bias looked like an accident of this one individual, so we built a symmetric brain by averaging left and right. The memory center, the mushroom body, was silent: of 5,177 Kenyon cells in the public annotations, all but five were labeled wrong. Once the labels were fixed, the brain could learn for the first time.
With a body (NeuroMechFly), smell alone in still air reached the food only 13–18% of the time. With wind, the fly walked upwind, but it reached the food from only one of six directions; the wind, not the odor, set its course. After pairing one odor with reward or punishment, the fly walked faster or slower (the walking neuron DNg100 moved by +1.37 and −2.52 Hz). Learning changed behavior, but never direction, and longer training did not make it stronger.
Then we hit a wall. With 16 GB of GPU memory, spiking neurons with measured wiring top out around a million, roughly a honeybee. So we let go of the measured wiring and started building the parts of a brain, one at a time.
Act 2 · Parts, genes and bodies
- Cortex: a label-free local learning rule (SoftHebb). After about 40 seconds of training it sorted CIFAR-10 photos with 80.2% accuracy over three seeds; a random cortex gets about 73.5%.
- Scene prediction: the first design failed; the third, which picks one single motion (winner takes all), passed.
- Hippocampus: memorized after a single look, but collapsed past its capacity.
- Basal ganglia: reached food through a delayed reward 96.3% of the time.
Next came bodies: a creature whose eyes, color vision, nose and limbs are set by genes. When we turned the lights off, the eyes shrank within about eight generations in all five seeds, and grew back when the light returned. We still marked that test as failed, because our baseline was wrong. In the corrected run, one of the "shadow genes" we had planted to measure chance rose right alongside color vision: it was hitchhiking.
With longer lives, creatures got stuck where they started. When the learning rate became a gene, evolution lowered it by itself (0.86 → 0.65) as lives grew from 100 to 800 rounds. A decay, learning fast when young and settling down with age, fixed the trade-off, and when the decay got its own gene, evolution found almost the same schedule we had set by hand.
Act 3 · A world that wouldn't choose
W1 is a 3D world of grass, walls, trees and rocks, with red fruit and blue poison exactly as bright as the fruit, so only color vision can tell them apart. Every organ's strength is a gene, every organ costs energy, and every 4,000 steps the bottom half of the population takes the genes of the top half. The first organs were an opponent-color retina, a path-integration ring, a hunger-and-thirst sense, and nightly sleep replay.
The retina alone brought 40% more fruit and 38% fewer deaths, yet evolution barely moved organ genes that started at zero. Then it stalled from the second generation on: each generation inherited a trained brain, and that hid the genes. Once every creature was reborn with a fresh brain, all four organs moved the way selection pointed, and fitness rose 76–100% in six generations.

A path-integration gene that started at zero woke up, too. We ran 4,000 simulations without selection to see what chance alone can do. The gene first followed drift, then crossed the line that 99.9% of those simulations stay under, and accelerated.

Many organs refused. A memory of where the creature last drank failed four designs and hurt even at zero cost. A planner worked as designed, cutting first deaths from thirst from 30% to 7%, and still lowered the score; making the world kinder three times only made its damage grow, so we closed it with no rescue. Teaching the young helped (1.82 vs 1.30 by generation six, with the gap still growing), while imitation, copying the parents' actions, was selected against in both designs.
Then came a twist. W1's visual cortex had never been the one trained on photos. It was a random cortex, built from a single blank image, and every W1 run since October 16 had used it. Comparisons stayed fair, since every arm shared it, but our creatures had been seeing their world through random filters.
Act 4 · When the world asks
So we changed the question: not which organs are good, but what would make an organ necessary.
In a world where the meaning of color flips, a rule-memory organ and color vision shot up together around generation six, and fitness went from −0.65 to 14.38. A rule-memory gene that started at zero never woke up, though: an organ that needs a partner can only evolve if the variation is already there.

Place memory still failed in an orchard of 18 bushes. Cut to 3 bushes, with nothing else changed, it became strongly helpful. Too much of it hurt, though. The cause was the learning rule: an organ's strength also scales the energy of its input, and the LMS rule becomes unstable as that energy grows. Normalizing the step (NLMS) cut the damage by about three quarters.
With everything switched on (sharing, orchards, poison, color flips and seasons), two organs were selected together over 48 generations: place memory, and much later rule memory.

Some branches we closed honestly. A rule that depends on conditions needs thousands of samples, but a creature bites about 125 times in its whole life. Rare, deadly events leave nothing to learn from in a single life.
Act 5 · Rebuilding the judge
By now, most of our verdicts read "can't tell". The problem was the test: average gene values drift a lot through mutation and truncation, so passing a 24-generation drift test needed a huge effect. We switched to an invasion test. Give the organ to 20% of the population, set the rest to zero, turn mutation off, and see whether the carriers spread. Simulated first, it gave 0.2% false positives and found a small effect 86% of the time in one run, and every time with three runs.
A placebo marker only wobbled around 0.2. Place memory spread from 0.2 to over 0.8 in eight generations. And the four small organs that had all been "can't tell" were all selected: taste memory (z 16.5), path integration (12.2), sleep replay (11.0) and color contrast (9.0). Last week's "can't tell" didn't mean weak organs. It meant a blunt judge.

Without poison, taste memory didn't spread at all, so evolution picked it for one job: telling poison from fruit. We predicted the same for color contrast and path integration, and we were wrong. They spread even without poison, only faster with it, because they help foraging in general. Short, single-lifetime measurements had made them look like zero.

Scoreboard after two weeks

- Selected (6): place memory, taste memory (needs poison), path integration, sleep replay, color contrast, rule memory (color-flip world)
- Rejected (4): planner (5 tries), imitation (2 designs), hunger sense (kept sinking), social memory
- Can't tell (1): sharing surplus food
What we learned
Every organ evolution has picked so far helps the creature find food. Whether something like planning can be picked, we don't know yet. What we learned is simpler: evolution only picks what the world needs. So next, we build worlds that need more.
Built on
- FlyWire connectome: Dorkenwald et al. 2024; Schlegel et al. 2024 (Nature)
- Whole-brain spiking model: Shiu et al. 2024 (Nature), rebuilt in PyTorch
- NeuroMechFly / FlyGym: Lobato-Rios et al. 2022; Wang-Chen et al. 2024 (Nature Methods)
- SoftHebb: Journé et al. 2023 (ICLR)
- CIFAR-10: Krizhevsky 2009
About this log
The video's narration is a synthetic voice (Chatterbox TTS), with subtitles in English, Korean and Japanese and original music made for LAB LOG. World footage in the video is a scripted walk with no brain, shown to illustrate the world.