physics.bio-phNov 23, 2026

The cyborg fly: reflexes survive engineered actuators, coordination needs stand-ins

Authors: Mauricio Muñoz Arias

Organizations: Engineering and Technology Institute Groningen (ENTEG), University of Groningen, Groningen, The Netherlands

Abstract

Two wiring diagrams now cover the whole central nervous system of an adult fruit fly: one female, one male. Can such a diagram, run as a network of spiking neurons, drive a body? And if we swap the body's muscles for engineered actuators, what survives? We ran both connectomes, BANC and MaleCNS, as leaky integrate-and-fire networks of about 160,000 neurons each, and closed the loop through simulated sensors, actuators and bodies for walking and flight. The actuators are port-Hamiltonian, so energy is audited at every step, and swapping one for another changes only a configuration file. Null networks shuffled at five levels, from the whole nervous system to synapse counts, test whether a result depends on the wiring. The wiring produced specific functions: sugar on the labellum drove the proboscis motor neuron, leg joints resisted imposed movement, leg circuits oscillated, a looming disc drove a take-off signal on its side (in MaleCNS), and descending neurons throttled and steered flight. The resistance reflex survived 20 of 20 actuator settings in MaleCNS and 19 of 20 in BANC, including a Hill-type muscle pair and a geared DC motor; the actuator set walking speed and energy cost instead. Coordinated six-leg walking, flight stability and the correction of perturbations did not emerge. Each needed a labelled engineered stand-in, which the connectome could command. Such stand-ins can also manufacture an apparent dependence on wiring: in a rebuild of a published closed loop, odour navigation came from a hand-written rule, and the network entered only through one valence number. The two animals differed on some functions, and the differences traced to wiring, such as a haltere drive of the flight power muscles found only in MaleCNS. A whole-CNS connectome, embodied, gives reflexes, rhythms and command signals, but not the coordination that turns them into behaviour.

Figures & tables

Explore similar work

Oct 24, 2026

Sensorimotor behavior from an untrained brain-and-nerve-cord connectome

Connectomes map the neurons and synapses of an adult fly's brain and nerve cord, but how much of behavior follows from the wiring is unknown. Here we turn one such connectome into a spiking network of 172,433 neurons with a published brain model's untuned parameters, and run it alone and inside a simulated body. Two fixed rules connect them: odors and looming objects set the firing of the sensory neurons, and the firing of the leg motor neurons moves the legs. Outside the body, a pathway of known function conducts when it supplies a few percent or more of its target's input. In the body, the fly navigates around obstacles to nearly every odor source. A rewiring that keeps each neuron's connection counts and signs reaches far fewer, and the fly's leg commands replayed with the senses off reach almost none. Navigation needs the measured wiring and sensory feedback. Dopamine-gated weakening of the mushroom body's output synapses turns approach to an odor into avoidance, and the learning is associative once one class of olfactory synapse is scaled. An untrained connectome supports a behavior and its learned reversal. The pathways it cannot drive show what the wiring diagram leaves out.
Sep 29, 2026

How much of fly walking is written in the wiring?

Connectome models of the fly nerve cord generate walking-like motor rhythms, but oscillation alone does not show that the specific wiring matters. Here we provide, to our knowledge, the first test of which features of motor output depend on the specific wiring. We simulated the leg motor systems of two independent Drosophila connectomes, with synapse counts as fixed weights and glutamatergic synapses treated as inhibitory, and compared each with six families of rewired networks that preserve progressively more of its structure, using pre-registered criteria. We find that rhythm is generic but antagonist coordination is not: many rewired networks were more rhythmic than the real ones, yet the real wiring coordinated antagonistic motor pools more strongly than every rewired network, most of all at the thorax--coxa joint. We trace this specificity to how premotor input is allocated between antagonistic pools. Both connectomes carry Sherrington's reciprocal innervation---neurons that excite one pool inhibit its antagonist---and no rewired network does. Reassigning premotor inputs between the pools abolished coordination even when motor neurons' typical input strength changed little (all pre-registered criteria met in one connectome; same direction in the other). Coordination, not rhythm, therefore reveals whether a connectome model's wiring matters.
Oct 21, 2026

Reconstruction differences rival individual differences in the fly compass connectome and break trained circuit models

Neural network models are increasingly constructed from synapse-resolution connectomes, and the same circuit is now available in reconstructions from other animals and pipelines. We do not know whether such models are dependent on the reconstruction they are built from, and whether connectome differences are biological or measurement errors. We studied the Drosophila head-direction circuit in nine versions: four flies (male CNS, hemibrain, FlyWire, BANC) and five variants of the same fly varying only by thresholds, proofreading or synapse detection. Using wiring-based correspondences validated by anatomical labels, we place all differences on one scale. A change of synapse detection within one fly changed the circuit more than halfway to the smallest between-fly difference on four distance measures; proofreading differences were smaller but depended on the metric, and left and right halves of one fly differed no more than random halves. Networks trained on each wiring to hold a cued heading developed near-perfect ring attractors, but their error increased from below 1 degree to 10-28 degrees when all weights changed by 1%. Training on each wiring did not transfer to any other connectome, including other versions of the same fly; refitting thirty cell-type gains, we repaired filtering-level differences but remaining error depended on wiring distance. Training with noise lowered precision and gave only partial transfer. In imaging data, the fly compass drifted gradually in darkness. Connectome-constrained models should report the reconstruction they were built on and be tested for robustness across reconstructions.