FlyBrain
MaleCNS-based game-boss experiment with a Rust neural engine, Python training environment, and Three.js viewer.
Synapses change under a modeled rule grounded in fly biology — for example dopamine-gated change on Kenyon-cell → MBON synapses in the mushroom body. Learning begins here.
Dispute this rating →The evidence
No evidence, no level.The rule writes the network's own KC-to-MBON synaptic weights in place, multiplicatively depressed by eligibility times arriving dopamine, floored at a fraction of the measured weight.
https://github.com/Jhongdlp/FlyBrain/blob/ae30e43562ee29c318606ed7641e53f707f3afc5/fly/dopamina.py#L137-L147The plastic edges are selected as real Kenyon-cell to MBON entries of the connectome matrix, and each MBON's dopaminergic compartment is derived from actual DAN-to-MBON synapses in the raw connectome.
https://github.com/Jhongdlp/FlyBrain/blob/ae30e43562ee29c318606ed7641e53f707f3afc5/fly/dopamina.py#L105-L135Plasticity is on by default in the fight loop, driven by PPL1 and PAM, and ticks on every simulation step alongside a no-plasticity control condition.
https://github.com/Jhongdlp/FlyBrain/blob/ae30e43562ee29c318606ed7641e53f707f3afc5/fly/ataque.py#L152-L167The project's own experiment prints a negative verdict when accuracy does not rise more with plasticity than without it.
https://github.com/Jhongdlp/FlyBrain/blob/ae30e43562ee29c318606ed7641e53f707f3afc5/fly/ataque.py#L354-L366
The plasticity here is real and it is in the fly circuit. `Plasticidad.tick` multiplicatively depresses KC-to-MBON synapses in the network's own sparse weight matrix, in place, gated by the coincidence of a roughly 1-second Kenyon-cell eligibility trace with dopaminergic firing above each DAN's own running baseline; which MBON a given DAN modulates is read from the connectome's actual DAN-to-MBON synapses rather than hand-assigned, PPL1 carries punishment and PAM reward, and a floor keeps weights at 10 percent of their measured value. It runs every tick of an actual fight (`aprender=True` by default), on a private copy of the connectome so one fly's learning does not leak into others, and the repo ships a paired no-plasticity control. No validation mark: there is no published comparison against real fly measurements, and the project's own verdict is honest that it has not got there - the script prints that accuracy does not improve more with plasticity than without, and the source states punishment cannot make the fly cautious because the approach MBONs barely depend on Kenyon-cell input (12.8 to 12.2 spikes even when that input is depressed).
Record
Nearby
All projects →MaleCNS simulation connected to ViZDoom through modeled visual inputs and a fixed button readout. Includes plasticity experiments and negative validation results; learned survival has not been demonstrated.
Research framework comparing a MaleCNS-constrained sparse recurrent controller with rewired graphs, conventional neural networks, and other controls on simple VizDoom tasks.
Ratings on thelearningfly.com are proposals, not verdicts. Every one of them is arguable in public.