Research · talking flies

Flybook

Two copies of a real fly brain. One sees a threat and sings. The other hears it and flinches.

Both flies are the full MaleCNS connectome, 166,700 neurons, frozen. Nothing in between is scripted. Fly A's song is its own wing motor neurons firing, and fly B hears it through its own ear neurons. We fixed the tests before running, ran the experiment three times, and report every result, including the one that failed.

Fly A sensesLC4 + LPLC2 looming
LC10a mate · ORN food
A's wings sing58 wing motor neurons
spikes above rest
Songloudness every step
one-step delay
B's ear138 Johnston's organ
neurons, JO-A / JO-B
B's brain1,314 descending
neurons read out

Where it landed

An alarm call that works

In the most detailed brain (run 3), a threatened fly's song makes the listener react three times out of four, and its escape neurons fire three times harder than in silence.

77.5%vs 17.5%listeners that react after a threat song, against silence (p < 0.001)
120 / 120threat songs recognised from the wings alone, run 3
0.83bitsabout what happened to the singer, carried by its song (of 2 possible)

Three runs

Run 1 · original model, 20 ms

The brain as FLYBRAIN uses it. Smell neurons excite each other into a runaway loop and fire flat out, so an odour can add nothing.

Run 2 · smell fixed, 20 ms

Synapses onto sensory neurons are removed, which is how whole-brain spiking models of the fly treat them. Food now reaches its own relay neurons.

Run 3 · smell fixed, 2 ms

Ten times finer steps, with a 4 ms refractory period. We chose that period before running, as the one that matched the calibrated brain's resting rate without runaway neurons.

MeasureRun 1Run 2Run 3
The song
Song tells what happened to the singer41.1% · 0.30 bits · p 0.0246.7% · 0.63 bits · p 0.0255.0% · 0.83 bits · p 0.02
Threat songs recognised163 / 180180 / 180120 / 120
Same test, scrambled wiring23.5% · 0.01 bits · p 0.1822.6% · 0.01 bits · p 0.4547.1% · 0.87 bits · p 0.02
Loudness alone *0.29 bits0.43 bits0.64 bits
Spectrum shape alone, loudness removed *0.05 bits0.14 bits0.54 bits
Food odour reaches its relay neuronsno · pinned at 50 Hzyes · 28 vs 16 Hzyes · 125 vs 4 Hz
The listener
Listener's brain, real song40.8% · 0.27 bits · p 0.0245.8% · 0.41 bits · p 0.0255.6% · 0.73 bits · p 0.02
Listener's brain, time-shuffled song43.3% · 0.31 bits · p 0.0240.4% · 0.49 bits · p 0.0252.5% · 0.75 bits · p 0.02
Listener's brain, silence26.7% · 0.02 bits · p 0.4127.5% · 0.03 bits · p 0.2521.9% · 0.03 bits · p 0.55
Listener reacts after a threat song, vs silence *23.1% vs 16.7% · p 0.1821.2% vs 13.8% · p 0.1377.5% vs 17.5% · p < 0.001
Listener escape firing after a threat song, vs silence *0.12 vs 0.09 Hz · p 0.341.12 vs 0.70 Hz · p < 0.0013.95 vs 1.35 Hz · p < 0.001

Chance is 25% (four situations). p-values come from 50 label shuffles per decoding test, so 0.02 is the lowest possible; the reaction tests use 5,000 shuffles. Rows marked * are follow-up controls we added after seeing run 2, so they were not fixed before running. Runs 1 and 2 have 720 songs each, run 3 has 480.

The checks we set before running

Pass ×3

The song carries what happened to the singer

This held in every run, and it got clearer each time: 0.30, then 0.63, then 0.83 bits. Threat was always the loudest and clearest. In run 3 a mate in view became partly readable too.

Fails in run 3

The real wiring matters

At 20 ms, a brain with the same neurons and scrambled connections sang nothing useful (0.01 bits), even when its wings were louder than the real brain's. At 2 ms it carries as many bits as the real brain (0.87 vs 0.83), so the test as we set it fails. The brains still differ in which situations they keep apart, a difference we noticed afterwards and report only as a description: the real brain keeps mate and threat almost completely separate, while the scrambled brain lumps them together, and it lumps food in with nothing.

Pass ×3

The listener's brain registers it

We can read what fly A went through from fly B's descending neurons, even though B only heard it. In silence the same readout stays at chance, which rules out the labels leaking into the analysis.

Mostly no

The message has rhythm, not just loudness

The listener doesn't care about timing: in every run, the song with its time steps shuffled works as well as the real one. The song itself does have some shape beyond loudness, but in run 3 the threat song's strongest rhythm is 125 Hz, exactly one spike every 4 steps. That points to the model's timing grid, not fly song.

Run 3

The listener does something about it *

This was weak at 20 ms. In run 2 the listener's escape neurons responded (p < 0.001), but rarely enough to count as a reaction. At 2 ms, 77.5% of listeners react to a threat song, against 17.5% in silence. A mate song (26%) and a food song (6%) don't reliably trigger anything.

Real vs scrambled wiring

What the song says, cell by cell

Rows are what really happened to fly A. Columns are what a decoder read from its wings. A clean diagonal would mean four distinct words.

Real connectome

Scrambled connectome

rows: true situationcolumns: decoded · green = correct

The feed

What they posted

Twelve flies are paired at random each round. A fly posts only when the translator hears a word in its wing song, and its partner's reaction is the comment.

Loading the feed…

Not there yet

What the flies still can't say

"Food over here"

The smell fix worked: in run 3 a food odour drives its relay neurons at 125 Hz, against 4 Hz without it. But the signal never reaches the wings, so food songs look like no song at all. The smell gets into the brain and stops there.

"I like you"

A mate in view is now partly readable from the song: when the translator says "mate", it's right 69% of the time. Listeners, though, don't react to it reliably: 26%, against 17.5% in silence (p = 0.12).

What makes the real wiring special

At 2 ms, a scrambled brain's song carries as many bits as the real one. What's left to test is whether the real brain's specific split (threat kept apart from mate) is what listeners need.

Conversation

Hearing doesn't make a fly sing back: driving the ear produced 1 spike in the song-command neurons. For now it's one fly broadcasting and the other listening, and rhythm and a real reply would take a model of the wings themselves.

Read on

The rest of it