Scientists Wired a Digital Fruit Fly Brain to a Body and Took It for a Walk
The work could help explain how animals move so deftly and, in turn, prove useful for engineers designing robots.

Share
A map of every neuron in the brain of a fruit fly has given neuroscientists an unprecedented view of how nervous systems are wired. And now researchers have linked this map to a digital model of a fly’s body, which could reveal how brain activity drives movement and ultimately inspire more agile robots.
The fruit fly is one of only a handful of animals whose entire brain has been charted cell by cell and connection by connection. But these maps, known as connectomes, only show how neurons are linked to one another, not how they actually operate.
To work out how the brain’s connections control movement, a multi-institution team led by the Howard Hughes Medical Institute’s Janelia Research Campus plugged the fruit fly’s connectome into a virtual re-creation of its muscles and sensory organs. They presented the model at the annual Society for Neuroscience meeting earlier this month, Science reported.
In September, researchers released the most complete fly connectome yet, the final installment of a 20-year effort to map the insect’s entire nervous system. Published in Cell, it covers 166,700 nerve cells across a male fly’s brain and nerve cord—the insect equivalent of a spinal cord—and the 124.2 million synapses that join them.
But a connectome doesn’t capture critical aspects of how the brain works, such as the timing of nerve impulses, how cells influence one another, or which ones matter most for a particular behavior. So researchers at Janelia have been building AI models wired exactly like a real nervous system and training them on tasks a living fly performs. Mason McGill, a machine learning researcher at Janelia, told the meeting that the models offer clues to how actual neurons behave.
To give the fly a body, the team used a virtual model they described in Nature last year. Built from microscope images of a female fly, it has 67 body parts linked by 66 joints. The model runs in a physics simulator that captures how the insect’s feet grip surfaces and air pushes against it in flight.
They then had to link that body, piece by piece, to matching cells in the connectome’s map of the nerve cord. In a poster at the meeting, Justin Ellis-Joyce, a PhD student at Janelia and Johns Hopkins Medical School, described how each of the fly’s 96 leg muscles was hooked up to the motor neurons that trigger it. Thousands of bristles and other sensors were similarly paired with the sensory neurons that carry their signals to the brain.
The researchers then ran the virtual fly through a series of simulations guided by machine learning and data, such as video of flies in motion and neural recordings from live animals. Instructing the virtual fly to walk left or right sparked activity in neurons resembling those seen in living flies making the same movements.
Be Part of the Future
Sign up to receive top stories about groundbreaking technologies and visionary thinkers from SingularityHub.


“That, to me, was amazing,” Ellis-Joyce told Science. It worked the other way round too—switching on those same neurons while the digital fly was walking straight ahead consistently made it veer left or right.
The results have yet to be peer reviewed though, and Ellis-Joyce acknowledged that the model’s predictions about neural activity will almost certainly be wrong at times. Still, those failures should show how to improve performance.
Helen Yang, a neuroscientist at the Vollum Institute, uses flies to study how animals move and helped build the fly connectome. If the work pays off, she told Science, it could help explain how animals move so deftly. That information might, in turn, prove useful for those designing robots, which have yet to match the kind of physical fluidity seen in nature.
“Robots have gotten a lot better, but still, you could go watch a YouTube compilation of all of them falling over,” Yang said. “Tiny little fruit flies can do a lot, running on whatever fraction of a sugar cube’s worth of calories.”
The fly connectome has also been put to more exotic use since its September release, with internet users setting it to work playing Doom and trading bitcoin, according to Scientific American. Researchers caution it’s important not to think of this as a fly brain doing these tasks because the network gets heavily reshaped during training.
Nonetheless, linking these maps to realistic virtual bodies should give researchers greater insight into how nervous systems work. And despite their diminutive size, there’s plenty engineers could learn from the humble fruit fly.
Related Articles

Scientists Gave AI a ‘Stroke’ to Map Its Language Circuits

Tiny Magnetic Robots Help Dissolve Blood Clots Six Times Faster Than With Drugs Alone

This AI Learned Language From the Recordings of a Baby’s First 1,000 Days
What we’re reading
