Fixed anatomy.
Plastic memory.
A tractable larval mushroom-body model, with a clear boundary between measured wiring and designed behavior.
What comes from the connectome
Winding et al. (2023) reconstructed a first-instar Drosophila brain with 3,016 neurons and approximately 548,000 synapses. ButterflyBrain uses an induced subset of 32 neurons and 289 directed edges from Supplementary Data S1. Every edge retains its source ID, target ID, and observed synapse count.
Read Winding et al., Science 2023 ↗One plastic connection class
Δwᵢⱼ = −η · rKCᵢ · rDANⱼ
wᵢⱼ ← clamp(wᵢⱼ + Δwᵢⱼ, 0.05, 1.00)
Only KC→MBON synaptic gains change. Dopamine gates depression during concurrent KC activity. FEED depresses the output assigned to avoidance; POKE depresses the output assigned to approach. The wiring never grows or rewires.
What is designed, not measured
Market features, KC_up/down/vol groupings, appetitive/aversive assignments, MBON valence labels, effective excitatory signs, LIF parameters, normalized output decoding, and body motion are engineering choices. Cell valences are not established by this EM dataset. The butterfly is a stylized visual identity. The learning circuit uses larval Drosophila wiring, not a butterfly connectome.
The engine steps LIF membrane dynamics 30 times at 10ms per tick. Spike counts are telemetry. Behavior reads normalized KC→MBON effective drive; it is not a validated spike-only motor model. DAN modulation follows matched MB compartments with observed DAN→KC contacts.
What ButterflyBrain never does
The larva learns valence. It does not predict price. It does not place orders. There is no screenshot vision, adult retina, trading wallet, launchpad automation, or order execution module.
Neuron map
| Skeleton ID | Source class | Source annotation | Simulation role |
|---|---|---|---|
| 8140109 | PN | 74a PN; uPN; olfactory 2nd_order PN | Fixed circuit |
| 7852250 | PN | 45a PN; uPN; olfactory 2nd_order PN | Fixed circuit |
| 8246081 | PN | 67b PN; uPN; olfactory 2nd_order PN | Fixed circuit |
| 7843730 | PN | 74a PN; uPN; olfactory 2nd_order PN | Fixed circuit |
| 7934904 | PN | 35a PN; uPN; olfactory 2nd_order PN; gustatory-external 2nd_order PN; gustatory-pharyngeal 2nd_order PN | Fixed circuit |
| 7935088 | PN | 35a PN; uPN; olfactory 2nd_order PN; gustatory-external 2nd_order PN; gustatory-pharyngeal 2nd_order PN | Fixed circuit |
| 16444327 | KC | KC | up |
| 16627861 | KC | KC | down |
| 16630385 | KC | KC | vol |
| 9766793 | KC | KC | up |
| 11691603 | KC | KC | down |
| 4444354 | KC | KC | vol |
| 8262503 | KC | KC | up |
| 5836206 | KC | KC | down |
| 16435965 | KC | KC | vol |
| 10056280 | KC | KC | up |
| 11725803 | KC | KC | down |
| 8066542 | KC | KC | vol |
| 14898816 | KC | KC | up |
| 4230739 | KC | KC | down |
| 11725127 | KC | KC | vol |
| 4230061 | KC | KC | up |
| 16850888 | KC | KC | down |
| 5836197 | KC | KC | vol |
| 6611894 | MBIN | DAN-i1 | DAN_AP |
| 12871993 | MBIN | DAN-k1 | DAN_AV |
| 7802210 | MBON | MBON-i1 | avoid |
| 16846805 | MBON | MBON-k1 | approach |
| 17379420 | DN-VNC | CN-28; PL-17 | Fixed circuit |
| 10411574 | DN-VNC | CN-28; PL-17 | Fixed circuit |
| 17537254 | DN-VNC | no official annotation | Fixed circuit |
| 17304269 | DN-SEZ | no official annotation | Fixed circuit |