r/compsci • u/WatchInternational89 • Oct 19 '26
No scripts: a virtual fly driven by its real brain wiring diagram (70k simulated neurons), live 24/7
Body:
> Not an RL agent and not a behaviour tree — the "policy" is a spiking simulation of a real fly connectome, and the body
> is a MuJoCo fly whose legs are moved by an imitation-learned network. It sees, smells wind-borne odor, gets scared by
> spiders, grooms, lands, eats. Everything that isn't the brain is labelled on screen. Live: twitch.tv/dodo_gun
276
Upvotes
5
u/kbr89 Oct 19 '26
The brain half is probably built the way Shiu et al. did it in Nature in 2024: every neuron is a leaky integrate-and-fire unit, a connection's weight comes from its synapse count, and its sign from the neurotransmitter predicted for the sending neuron. Nothing in it is trained. That paper tested the model on two narrow paths, sugar-sensing neurons driving the proboscis motor neuron and touch on the antennae driving the grooming circuit, and the feeding predictions were then confirmed in real flies with optogenetics. So in a sim like this, eating and grooming are the behaviours with published evidence behind them, while the walking comes from the imitation-learned body, which you already label on screen. What I'd like to know is the handoff: which neurons' output drives the leg network, a set of descending neurons, or something decoded from wider activity?
48
u/Mango-D Oct 19 '26
Wow, completely flew under my radar
37
u/david-1-1 Oct 19 '26
A real fruit fly would not walk away from an odor source like this. It would feed. It also would not hang around while a big spider investigates it. It is great that this model has so many neurons, but it also needs to be trained by preferences and aversions.
3
u/WatchInternational89 Oct 19 '26
Ha, I'll stick to one fly on a kitchen table for now. And it gets snacks, wind and the occasional spider, not torture. Jokes aside, that's exactly why everything on stream is labelled: what the model does, what it doesn't, and that it's a model, not a mind.
iknotri («We already could simulate LLM, how does it prove…»):
Agreed, simulating something doesn't prove anything about our own reality either way. What a connectome sim can tell us is narrower and more practical: how much behaviour falls out of the wiring alone. For a fly, the answer so far is "surprisingly much (escape, grooming, feeding reflexes), but far from all of it".
11
u/chazzeromus Oct 19 '26
aren’t the weights best guessed? the connectome is mapped but even then ML was used to build the map and then ML was was used to guess the weights
10
u/BrendaWannabe Oct 19 '26
*SWAT*
Damn you! There goes 30 mil!
1
u/gugumoky Oct 19 '26
The "it runs doom" meme potential is unbound. If I may, what is a neuron in this scenario? In traditional ML it computes a real value from N neighbouring connected neurons (values), via N weights each (plus a bias if applied). Is it the same here? Did it undergo RL training? How does the fly move, is an end neuron connected to an actuator (simualtion of a limb, wing etc)?
1
u/user_-- Oct 19 '26
Can it learn anything? I know the network structure doesn't change, but I wonder if it can learn just within its dynamics.
2
u/AbilityParking Oct 21 '26
Just looked and it’s not live lol
3
u/chkno Oct 19 '26
No, we haven't uploaded a fly yet.
2
u/WeegeeNator Oct 19 '26
I don't think we should be doing this
1
u/ithink2mush Oct 19 '26
Cool. I wonder how long until we can simulate a human thus proving we've been in a simulation all this time.
1
u/david-1-1 Oct 24 '26
Huh? You feel bad and want to blame me? Want to talk about it?