Fly CNS Activity lab
All articles

The experiment · About 4 min · Updated 6 September 2026

What can a connectome-driven fly tell us?

The central question is simple: given measured neural connections, what activity and movement follow from an input, and which parts of the result depend on the circuit we chose to model?

An experiment in sensory-to-motor transformation

Imagine an object approaching a resting fly. Its image occupies more of the visual field. Somewhere between that changing sensory signal and a movement, neural populations receive input, combine it, and influence motor circuits.

This project makes that chain inspectable. It takes a connectivity graph, assigns an activity variable to each included population, supplies visual-feature input, and calculates what happens next. You can then change the graph’s active populations and compare the outcomes.

The question has two parts. First, where can an input influence motor activity under a chosen neural model? Second, what happens when those motor signals are connected to a body whose movement changes the next input? The site provides a separate experiment for each.

Why use an approaching object?

An approaching object gives a clear input variable: angular size grows over time. Experiments on the fly giant-fiber pathway identify LC4 and LPLC2 as inputs contributing looming velocity and size information. This supports choosing those populations as entry points. Ache et al., Current Biology (2019).

Our implementation chooses simpler feature rules than that physiological work. In the arena, target distance, bearing, and approach velocity determine the injected signals. In the circuit experiment, a prescribed pulse drives the same selected types. The exact response curves in this app are model assumptions.

The visible scene explains the input. The browser does not pass the scene’s rendered pixels through a simulated retina. It calculates geometric features and injects them at the selected visual populations.

Two related experiments

Hold the input fixed: the circuit experiment

The 414-population experiment applies a predetermined stimulus from 60 to 240 model ms, within a 600 ms run. Its input is unchanged by motor activity. That makes intact-versus-silenced comparisons easier to interpret: you can ask how a changed circuit responds to the same external protocol.

For example, silence both DNp01 populations and examine TTMn activity. The dashed intact trace and solid intervention trace show the consequences of that change under the same settings. A difference is evidence of dependency within the model.

Let movement change input: the arena

The arena uses 526 populations, adding wing motor units and their input context. It converts selected motor activity into launch, lift, thrust, and yaw. The resulting body position determines the next visual drive.

This introduces a feedback effect. Silencing a neuron can change movement; altered movement can change sensory input; altered input can change many other neurons. The complete trajectory reflects all of those interactions.

Compare the two questions

Use the circuit view for a fixed-input comparison and the arena for a body/environment feedback experiment.

Open the circuit experimentOpen the arena

In what sense is this a digital twin?

The model has a structural link to a real biological system: its included directed connections and synapse counts come from MaleCNS. It also has explicit state, dynamics, inputs, outputs, and interventions. These make it more useful for experimentation than an animation of a fly or a static connectivity diagram alone.

Its correspondence to biology is strongest at the structural-data layer. The activity dynamics and motor-to-force transformation are uncalibrated. There is no live data feed from a fly, no parameter fitting to the measured responses of this specimen, and no held-out behavioral validation.

A precise description is therefore a connectome-constrained computational model with illustrative embodiment. The word “twin” should not be read as a claim that the simulated fly reproduces a real individual’s behavior.

What it can help you understand

  • Structure and dynamics play different roles. A connection tells us that an influence is possible; its effect also depends on activity, signs, timing, and the rest of the network.
  • A motor signal has several downstream interpretations. A launch readout can remain after wing-power activity is removed, so jumping and powered travel can separate.
  • Feedback changes a comparison. An intervention can indirectly change the fly’s future sensory experience.
  • Model size matters. Cropping a network omits recurrent influence, even when the retained edges and their denominators are correct.
  • Assumptions can be tested. A changed glutamate sign or lift gain can alter the output without changing measured synapse counts.

What would count as stronger evidence?

A reasonable next experiment would choose one visual input protocol, collect neural or behavioral recordings, fit a small set of uncertain parameters, and test the fitted model on different input conditions. The test conditions need to remain separate from fitting.

Published connectome-based modeling offers a useful precedent: Shiu et al. studied sensorimotor processing with a different fly-brain model and experimental tests. Their validation applies to their dataset, equations, and experiments. It motivates a validation workflow for this project; it cannot validate these arena trajectories by association. Shiu et al., Nature (2024).

For now, the most defensible conclusions are about this implementation: which inputs activate which populations, what changes after a declared intervention, and which assumptions materially change a result. The next article explains how the data became that executable model.