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

Whole-body fly connectomes reproduce reflexes but not walking or flight coordination

Mauricio Muñoz Arias · arXiv · 2026-11-23

- **Problem** Wiring diagrams of the whole fly nervous system leave out synaptic strength, timing and chemistry, so they cannot alone show what a body does. Until now nobody had run both adult connectomes inside a body with the actuators controlled.
- **Method** The authors fix the connectome and swap its actuators.
- **Results** The resistance reflex survived 20 of 20 actuator settings in MaleCNS and 19 of 20 in BANC. Coordinated six-leg walking and flight stability did not emerge without engineered stand-ins.

## Why a wiring diagram is not enough

Behaviour, however, runs through muscles, joints and the world, and sensory feedback returns through the same loop. So the real question is what the wiring does once it sits inside a body, and whether the body's muscles can be replaced.

Earlier models already predicted some neural responses from wiring alone, such as taste responses and motion tuning. Physics bodies for walking and flight now exist, and two whole-CNS connectomes make a closed loop possible. Most groups that joined the two kept the actuators fixed, so it stayed unclear whether a behaviour belonged to the wiring or to the mechanics.

## Closing the loop with ports and actuators

The key idea is to keep the connectome fixed and treat each muscle as a plug-in with two ports, one that takes motor neuron spikes and one that gives a torque at the joint. Swapping an actuator therefore edits one configuration entry and leaves the network code alone.

Every actuator is written in port-Hamiltonian form, which declares its stored energy, its dissipation and the power at its ports. A ledger tracks energy taken from the source, returned to it, dissipated and delivered to the body, and checks the balance at every recorded step.

Each neuron is a leaky integrate-and-fire unit, and a synapse count times one fixed weight sets each connection's strength. That weight is 0.275 mV for BANC and 0.18 mV for MaleCNS.

## Null networks as the test for wiring

Each shuffle keeps a connection's source and its synapse count, so a null network changes who connects to whom rather than how much. The W level keeps the graph exactly and moves synapse counts among each neuron's outputs.

## The reflex survives actuator swaps

The authors pushed one leg joint and checked whether leg proprioceptors drive motor neurons that resist the push. A median held ratio below 0.9 counts the reflex as surviving, with at least half of the joint and direction cases reduced.

Across 20 mixed-body settings the reflex survived 20 of 20 times in MaleCNS, with held ratios from 0.44 to 0.88. In BANC it survived 19 of 20 settings, mostly with ratios of 0.70 to 0.79. The one BANC failure had a motor on every femur-tibia joint, and with the motor on all joints the reflex survived at 0.72.

Ten null networks each spanned 0.60 to 1.01, so the real wiring fell outside the null range. The authors read this as the wiring setting the reflex, while the actuator only changes how the force is made.

## Walking speed follows the actuator, not the wiring

The stand-in's joint targets were then sent as torque commands through each actuator, and the leg motor neurons were not used.

Speed followed actuator bandwidth: the first-order actuator walked at 11.1 mm/s in BANC. The Hill-type muscle pair walked at 4.6 mm/s in BANC, so the slow actuators changed the gait while the wiring stayed the same. The slow actuators also did about half the positive work per millimetre, at roughly 44 µN.

Without a stand-in the connectome never held the body upright, with standing height at 0.75 to 0.86 mm. So coordination is the layer that the wiring did not supply, and it needed an engineered controller.

## Where the odour navigation really came from

Minnick et al. reported odour navigation that shuffled networks could not reproduce, and the authors rebuilt that loop from its description.

The intact BANC fly reached 22.8 of 32 food sources, compared to 30.25 in the original study, so the rebuild missed the authors' fidelity criterion. The pattern still held: shuffled networks reached 6.2 sources, and a random walk reached 1.9.

Success followed the size of the valence number, at 1.50 in the intact network and 0.15 under R0. So the navigation came from the rule, and the network entered the loop only through one scalar.

With the valence fixed at +1 in BANC, the intact network reached 23.5 sources and the R0 network 22.9. That leaves the dependence on wiring as the sign and size of one number, not a navigation circuit.

## Limitations

Neuromodulation and plasticity are absent from the model. Vision is a replay of a still fly, and smell uses a static plume.

The rebuilt navigation loop also fills gaps in its description with the authors' own choices.

## Paper info

- **Authors**: Mauricio Muñoz Arias
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-23
- **Added**: 2026-11-25
- **Updated**: 2026-11-23
- **Version**: v1
- **arXiv**: 2611.31644
- **Category**: physics.bio-ph · cs.RO · eess.SY · q-bio.NC
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.31644v1) · [PDF ↗](https://arxiv.org/pdf/2611.31644v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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.

## Quote from the paper

Mauricio Muñoz Arias (2026). The cyborg fly: reflexes survive engineered actuators, coordination needs stand-ins. arXiv:2611.31644v1. https://arxiv.org/abs/2611.31644v1

**BibTeX**

```
@misc{arias2026cyborg,
  title = {{The cyborg fly: reflexes survive engineered actuators, coordination needs stand-ins}},
  author = {Mauricio Muñoz Arias},
  year = {2026},
  eprint = {2611.31644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31644v1}
}
```

## Related papers

- [ANCHOR: A Port-Hamiltonian Model for Forecasting Team Dynamics in Human-in-the-Loop Systems](https://refivu.com/en/papers/85bcf8f5-5825-4f59-88e9-06fc575cc54f-anchor-a-port-hamiltonian-model-for-forecasting-team.md)

## Other paper commentary

- [What Must a Model Tell a Planner? Outcome Interfaces for Risk-Aware Planning After Robot Damage](https://refivu.com/en/papers/cf59043a-79f8-46e1-ae50-8eb9c875193e-what-must-a-model-tell-a-planner-outcome.md)
- [How Should a Home Robot Update Its Memories When Human Routines Change?](https://refivu.com/en/papers/abae1531-3f20-4292-8694-a9f94e038d1a-how-should-a-home-robot-update-its-memories.md)
- [Same Facts, Different Decision: Fact-Invariant Manipulation and Provenance-Based Defense in Typed Decision Models](https://refivu.com/en/papers/5f6e3ef1-584a-41b8-aa80-300c61839ab3-same-facts-different-decision-fact-invariant-manipulation.md)
- [Old-School Planners Drive (Sometimes) Better Than Learned Ones](https://refivu.com/en/papers/86d15622-9cd7-4b0d-a676-7055e1f62255-old-school-planners-drive-sometimes-better-than-learned.md)
- [Phantom Success, Silent Failure: Auditing the Success Checkers of Simulated Manipulation Benchmarks](https://refivu.com/en/papers/ec974270-0a0e-4523-9bc1-38df02a7e16b-phantom-success-silent-failure-auditing-the-success-checkers.md)
- [RoboDx: Repair and Diagnosis of Faults in Robot Software](https://refivu.com/en/papers/23f287b5-f221-4e62-8df0-9dc5c1c270c3-robodx-repair-and-diagnosis-of-faults-in-robot.md)
- [Text Is Just Another Shot in Vision-Language Models: Simple Probes on Frozen Encoders Do It](https://refivu.com/en/papers/7a41ea95-b526-4d30-ba8b-9da3784c902c-text-is-just-another-shot-in-vision-language.md)
- [Deneb-Vritra: Descriptions, Edges and Names Examined by Blocking Via Restoring Token Representations and Attention](https://refivu.com/en/papers/0b67f9eb-1c6f-468f-98bf-5eb090a75bfd-deneb-vritra-descriptions-edges-and-names-examined-by.md)
- [Predicting Rare-Mode Collapse in Recursive Generative Training from Single-Generation Calibration](https://refivu.com/en/papers/5c8147d8-eed2-4206-bf09-95dd28fcd1c5-predicting-rare-mode-collapse-in-recursive-generative.md)
- [Large Language Models Must Be Taught to Know What They Don’t Know](https://refivu.com/en/papers/4d71ae08-4963-4ae9-916f-e448018e1866-large-language-models-must-be-taught-to-know.md)
- [Blending Neural Control Density Functions for Stabilization and Safety](https://refivu.com/en/papers/2b6e127e-d8b0-4e8d-b78b-426f1ca3ea83-blending-neural-control-density-functions-for-stabilization.md)
- [Effective Model Pruning : Measuring the Redundancy of Model Components](https://refivu.com/en/papers/1e8cd0f7-b3bc-4b55-a972-43c970121d81-effective-model-pruning-measuring-the-redundancy-of-model.md)

## Terms in this paper

- [MuJoCo](https://refivu.com/en/terms/3bbbe9014268-mujoco)
- [R2](https://refivu.com/en/terms/88ec6ee09d24-r2)
- [port-Hamiltonian](https://refivu.com/en/terms/4ff3530a938b-port-hamiltonian)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/7ee56916-27c9-439c-be7d-f45cd51b88f4-the-cyborg-fly-reflexes-survive-engineered-actuators)
