Science and technology11

How a serious fruit fly brain study turned into an internet meme — its brain model was taught to play Doom and trade cryptocurrency

Scientists have for the first time published a complete map of the adult fruit fly's central nervous system, hoping to take a step towards understanding the nature of human neurological diseases. However, open access to the data led to an unexpected result: the digital model began to be used for unusual tasks.

The fruit fly's brain is smaller than a poppy seed, but capable of performing non-trivial tasks that seem difficult even for humans, such as parking correctly.

In October 2024, researchers from Princeton University, together with the FlyWire consortium, presented in the journal Nature a diagram of the female Drosophila melanogaster brain, which included almost 140,000 neurons and over 50 million synapses.

In September 2026, a team from HHMI Janelia Research Campus, Cambridge University, and Google Research published in Cell a complete connectome of a male specimen. This model, called MaleCNS, covered not only the central brain but also the ventral nerve cord — the equivalent of the spinal cord in vertebrates. The database contains information on 166,700 neurons and about 125 million synaptic connections.

The fruit fly brain measures approximately 750 by 350 by 250 microns, smaller than a poppy seed, yet it contains about 150 meters of neural connections ranging from 50 to 100 nanometers thick. To create its precise digital map, scientists used serial electron microscopy. The biological sample was solidified and cut with diamond knives into more than 7,000 ultrathin layers, each about 40 nanometers thick. Each slice was scanned, resulting in 21 million images with a total volume exceeding 40 trillion pixels.

Digitized nervous system of a fly. Multi-colored spots indicate different clusters of neurons responsible for the insect's movements, vision, and reactions. This graph was made openly accessible by scientists, after which programmers began connecting it to video games and trading robots. Photo: HHMI Janelia / Google Research / Cell Press

To combine two-dimensional images into a three-dimensional model, artificial intelligence algorithms were used, specifically Google's Flood-Filling Networks neural network technology.

The program automatically identified cell boundaries, but human involvement was required to verify and correct computer recognition errors. The collective efforts of thousands of volunteers and scientists amounted to approximately 33 person-years of manual verification. According to researchers' estimates, without the use of artificial intelligence, such a modeling process would have taken about 50,000 person-years.

Neurons in the brain and ventral nerve cord (analogue of the spinal cord) of a male fruit fly. It is the connection of the brain to this cord that allows the digital model not only to "see" the game but also to transmit commands to virtual control buttons. Photo: HHMI Janelia / Google Research / Cell Press

A distinctive feature of the MaleCNS model was precisely the integration of the ventral nerve cord, which for the first time allowed researchers to trace pathways from sensory receptors to motor neurons that directly control the insect's movement. Researchers also identified and mapped specific sexually dimorphic neurons. These cells differ in males and females, being responsible for different behavioral patterns during mating and processing sensory signals.

Example of sexual differences in fly brain structure (sexual dimorphism). Scientists compared the same neuron AOTU008 in a male (green) and a female (purple). Thanks to artificial intelligence, it was noticed that the male neuron has two additional branches (indicated by arrows) that affect its behavior. Illustration: HHMI Janelia / Google Research / Cell Press

How to run the nervous system in a software environment

A connectome is not a full-fledged simulation of a living mind. It is a static database, an accurate "wiring diagram" that only shows which neurons are connected to each other and how many synapses form these connections.

The digital map lacks information about the current electrical activity of cells, concentrations of chemicals, presence of neuromodulators (such as dopamine or serotonin), glial state, and overall hormonal background.

For this static circuit to function in a software environment, each neuron is converted into a simplified mathematical model. Most often, the leaky integrate-and-fire model is used for this. A virtual neuron accumulates input signals from neighboring cells, and upon reaching a certain threshold, generates its own pulse, transmitting it further along the chain, after which it returns to its initial state.

To interact with the outside world—a video game, a trading terminal, or a text editor—developers create special software interfaces. External data (e.g., pixels on a screen) are converted into artificial signals and fed to the virtual sensory neurons of the fly (usually to visual or olfactory receptors).

Next, impulses propagate through the network strictly according to the biological map of synaptic connections. In the final stage, another program code records the activity of the output (motor) neurons, which in a real fly are responsible for the movement of wings, legs, or proboscis, and translates this activity into program commands: pressing a key on the keyboard, movement in a game, or selecting a trading operation.

The model itself does not understand the context and, unlike a living brain, does not possess the capacity for natural neuroplasticity and learning.

From Minecraft to cryptocurrency trading

The availability of an open interactive dataset allowed programmers to start their own experiments. Already on September 7, YouTuber Ro0oney published a video where the simulated network controlled a character in the game Minecraft.

The next day, another blogger released a video showing the model playing the rhythm game Beat Saber. It garnered 22 million views and spawned an internet meme in which the virtual fly was entrusted with a wide variety of human tasks.

Dozens of new projects emerged in the following days. One demonstrated how the simulation simultaneously parks a car in a driving simulator. In a project called DOOM-x-Fly, visual data from the cult shooter was streamed to the insect's vision model, and the output layer of the program analyzed the activity of thousands of neurons to press game keys.

An engineer under the nickname SpikeCalls went further and connected the simulation to the physical world: he connected the digital brain to a camera and four motors of a real drone, where visual signals directly controlled the thrust of the propellers.

Coinbase crypto exchange engineer Alex Wormuth developed the Stonkfly project: he turned a digital copy of the fly into a day trader for trading the BTC-USDC currency pair.

The program converts a standard candlestick chart of historical quotes into a 320x180 pixel color image and transmits these RGB values directly to the virtual brain's photoreceptors, distributing the image between the model's left and right "eyes."

Within the simulation, the fly has three actions available: buy, sell, or hold the asset. The basic decision-making ("thinking") interval is 500 milliseconds, and market data is updated every 60 seconds. For one operation, the algorithm can stake up to 10 dollars, but no more than 24 times a day.

The author implemented a biological reinforcement system: portfolio value growth simulates a dopamine release, activating 15 specific cells. Conversely, financial losses or deduction of trading commissions activate two aversion cells.

However, the algorithm is deprived of the ability to use leverage or short sell.

The Stonkfly project code is available for open access on GitHub for macOS and Linux operating systems. To run your own "neuro-trader," you need 16 GB of RAM, Python 3.11 installed, and a C++ 17 compatible compiler. By default, the simulation runs in test mode with a starting virtual balance of 100 dollars, but the developer has provided instructions for connecting the algorithm to a real account.

Ethical questions

The widespread use of the digital model for entertainment purposes sparked ethical discussions on platforms like Reddit. Users began expressing concerns about the potential digital suffering of the simulated creature.

Questions arose about whether the virtual fly experiences stress or pain when forced to continuously process data from video games or financial markets. The situation is even compared to dystopias like the "Black Mirror" series and the concept of "The Matrix."

Neurobiologists refute the possibility of consciousness or the ability to feel within the current technology.

A connectome is exclusively a static map of synaptic connections. Digital simulations created based on it use simplified mathematical models of neurons that do not reflect the full complexity of a biological organism.

A connectome is exclusively a static map of synaptic connections — the fly does not feel pain.

The software environment lacks physiological processes that ensure vital activity and perception: metabolism, glial cells, hormonal background, and the capacity for neuroplasticity.

Although living fruit flies have pain receptors and respond to negative stimuli, the virtual model is deprived of the ability to feel pain or fatigue.

The "dopamine release" in projects like Stonkfly is merely a mathematical variable in the program code, not a real chemical substance.

The real scientific value of the FlyWire and MaleCNS projects is not related to internet trends. Since fruit flies share about 75% of genes associated with human diseases, a precise map of their brain will allow researchers to study the mechanisms of diseases such as Parkinson's or Alzheimer's at the level of individual neural circuits.

The connectome structure will also aid in the development of more efficient architectures for artificial intelligence. As for digital modeling of the human brain, due to its scale (about 86 billion neurons compared to 166 thousand in a fly), this task remains technologically unreachable for now.

«Nasha Niva» — the bastion of Belarus

SUPPORT US

Comments1

  • bosed
    19.09.2026
    Таки ви хотите сказать, что это результат
    так называемой эволюции, а не сверхразума ?

Now reading

Lubanski's Distillery in Minsk Closed by a Secret Edifice, Where Interrogation Rooms and a Document Shredding Facility Are Designed 9

Lubanski's Distillery in Minsk Closed by a Secret Edifice, Where Interrogation Rooms and a Document Shredding Facility Are Designed

All news →
All news

Nasta Rahatko's book released in Belarusian 22

Another cultural project banned in Minsk 2

First crypto banks registered in Belarus 6

Egypt warned Netanyahu of possible attack from Gaza days before October 7 10

Ukrainian Prime Minister Karetsky: Ukraine faces threat of internet loss 8

Ukrainian athlete and his companion photographed riding a large turtle in Oman. Ended in scandal 9

Russian drone struck the building of the National Academy of Sciences in Kyiv 1

The main freight exchange is not working in Belarus. Its servers were located in Kyiv, which Russia is now striking 3

Former Administration Ideologist Appointed Head of the Belarusian Institute for Strategic Studies 3

больш чытаных навін
больш лайканых навін

Lubanski's Distillery in Minsk Closed by a Secret Edifice, Where Interrogation Rooms and a Document Shredding Facility Are Designed 9

Lubanski's Distillery in Minsk Closed by a Secret Edifice, Where Interrogation Rooms and a Document Shredding Facility Are Designed

Main
All news →

Заўвага:

 

 

 

 

Закрыць Паведаміць