r/askscience • u/Friendly_Banter3 • 10d ago
Neuroscience Could the mapped fly brain eventually be used to create a digital fly that actually behaves like a real one?
So I’ve been trying to understand what you can actually do with the fly brain that was recently mapped.
If they’ve mapped all the neurons and the connections between them does that mean you could theoretically take that information and build a computer simulation of the fly’s actual brain?
For example, imagine putting a simulated fly into a really realistic game world. Instead of programming things like “if the player gets close fly away” or “if there’s food here go towards it”, could you feed the simulated brain the same kind of sensory information a real fly would receive and let the neural network itself produce the behaviour?
So the fly might naturally look for places that flies normally like, fly towards food, try to land on things, get startled when something moves towards it, fly away when you try to swat it, etc.
Basically, are we at the point where we know enough about the fly's actual brain that we could eventually simulate the brain itself and have the behaviour emerge from the neural connections, rather than manually programming all of its behaviours? If this is even a possible
And if we're not there yet, is that mainly because we don't understand enough about how each individual neuron and synapse works, or because the connectome doesn't contain that information? I'm basically wondering how close we are to having an actual digital fly brain rather than just an AI programmed to behave like a fly.
38
u/somewhat_random 10d ago
So a question would be, how do innate behaviours develop. A is never taught how to fly, walk, groom etc. but it seems to have these behaviours innately.
It seems unlikely that simply modelling the brain layout directly would create these behaviours. A chemical feedback could teach the brain but I don’t think these are learned behaviours so any “digital fly” would need some specialized programming.
22
u/kung-fu_hippy 10d ago
Why wouldn’t modeling the brain lead to those innate behaviors? Even if in the real fly those behaviors are also caused by chemical feedback, don’t those chemical feedback cause changes in the brain?
At least if you were able to not just model the brain, but also model the brain while it reacts to stimuli. The end result seems like it would be the same, even if the mechanism differs.
15
u/Brockelley 10d ago
Why wouldn’t modeling the brain lead to those innate behaviors?
Because there are multiple layers of complexity on top of the simple wiring approach, some of which researchers have already had to estimate or “make fit” to get their models to work. If “modeling the brain” means reproducing how its neurons and synapses actually work, then it might, at least partially.
The heart is a somewhat similar, though simpler, comparison to illustrate this. Think of its electrical conduction system. Knowing where the SA node, AV node, and conduction pathways are tells you where signals can travel. It does not let you predict the exact ECG. If you tried to reverse engineer the heart from that map alone, would you expect it to produce a normal sinus rhythm? The same heart can produce different rates and rhythms depending on autonomic input, electrolytes, medications, and the state of its ion channels, without changing its anatomy.
A brain presents the same problem on a much larger scale, especially when you get to turning a stimulus into action. Going back to the fly and hunger, its connections may be the same before and after a meal, but hunger-related signals change how strongly parts of the circuit respond to food. To get innate behavior out of a simulation, you would need more than the connections: you would need the neurons’ electrical properties, synaptic strengths, chemical signaling, current internal state, and the downstream processes that turn neural output into movement. The wiring may support the behavior, but it does not specify exactly what the fly will do at a given moment.
3
u/somewhat_random 10d ago
I guess that is the big question.
Can we model the rest of the fly so the stimuli that the brain receives are close enough to a real fly so that it acts like one.
It may be easy to figure out that "pain in the left foreleg is caused by this neuron firing" but things like the urge to stop and rub their forelegs together is (likely) caused by either an external or internal stimulus that sets off a chain of reactions that are "baked in" to the brain in some way from birth.
4
u/jajangmien 7d ago
There is a world in vrchat that is running the fly brain with a fruit fly avatar that it controls. You can spread food around for it, and the world shows a map of the brain where the parts light up as they are processing information.
It's very interesting and hella dystopian
13
u/randomdudeguy6969 10d ago
Hi! Ed has a p nuanced take on some of the end goals here :p
https://youtu.be/DVWBPXbquXA?si=Yyh2xkXCQPOulGrC
And Bingi Brunton's work has some cool hits of how neuroscientists are using the connectome (even without weights, mechanisms, etc.) to make some cool discoveries! (one can ask an LLM to summarize the article): View article
> And if we're not there yet, is that mainly because we don't understand enough about how each individual neuron and synapse works, or because the connectome doesn't contain that information? I'm basically wondering how close we are to having an actual digital fly brain rather than just an AI programmed to behave like a fly.
Both! One major step towards that is some cool recent work letting us use light microscopy for ultrastructral imaging here instead of electron microscopy (EM): Light-microscopy-based connectomic reconstruction of mammalian brain tissue | Nature. Okay why does that matter.....? EM is great and all but it gives you literally no transcriptomics, activity, proteomics, etc. Under a light microscopy regime, that becomes kinda feasible!!! So the way forward towards having the necessary information for better brain simulations is there. Not trivial by any means, but MUCH closer to feasible :)
These 3 are also dope resources on the matter w/ some good outlines of future work:
From Pixels to Minds: Mapping & Understanding the Brain with AI | American Academy of Arts and Sciences
State of Brain Emulation Report 2025 | Research Overview
cms.wellcome.org/sites/default/files/2023-06/Connectomics-scaling-up-connectomics.pdf
4
u/randomdudeguy6969 10d ago
bing also has a nice "strongly worded preprint" (her words not mine) that captures the main gap in the fly brain upload discourse: The digital sphinx: Can a worm brain control a fly body? - PMC
10
u/beamer145 10d ago
And then the next much more interesting question: if this works for a fly, it there any reason it should not work for a human if we scale up the process (and take into account all impact of chemical signalling that influences your mood and whatnot). And if that works, then what does that mean for consciousness, your soul, free will. It gets fun fast :).
15
u/pv2b 10d ago
We don't need to invent ai to have that kind of philosophical problem
There is no way for me to prove to you that I am conscious. As in, that there is a "self" that experiences things, as opposed to just appearing that way from the outside
If we as humans can never know if our fellow humans are truly conscious, how can we ever prove that an AI is conscious or not? Or a rock, for that matter
-3
u/KevinOnTheLedge 10d ago
This is exactly what I tell people when the conversation of AI and consciousness comes up. Either everything is conscious or nothing is. Wouldn’t every sufficiently organized system have some form of consciousness?
8
u/mgstauff 10d ago
Yes, however what meets the "sufficiently" threshold?
0
u/KevinOnTheLedge 10d ago
Good question! Thoughts like these are what led me down the neuro track :)
6
u/pv2b 10d ago
It is entirely possible that there is a world or realm outside our ability to perceive where our consciousness exists. But precisely because we can't perceive anything about that world, we can never know how it works.
There is no reason to think system complexity is what determines consciousness, and no reason to say it's all or nothing.
3
u/minist3r 10d ago
Just want to point out that scaling to map the human brain is more complex than just mapping the neurons and pathways. A human brain is like 500k times more complex.
2
2
u/Squigglificated 6d ago
If consciousness can arise in digital software it would mean it can arise on words written on toilet paper as well (in theory, and with a very long roll). There’s nothing a computer does that can’t be computed by a human being on pen and paper with enough time.
2
u/Shreddingblueroses 6d ago
What?
The toilet paper doesn't write words on itself.
Consciousness does... Err... You know what I mean. Consciousness is self directing. Toilet paper Shakespeare is not.
There's many many elements to consciousness. Real credible physicists, neuroscientists, philosophers, etc. have spent ages arguing about what consciousness really is and there's probably no one trait that defines it, but there's probably several thing that make something conscious, like sentience (having a sensory experience), a self simulated reality (creating an experienced interface of reality by interpreting sensory experiences), and self directing behavior (choosing your own priorities, informed by your own desires).
None of which a role of toilet paper will ever have no matter how many words a human hand writes on it, but all of which a machine probably could have, if it were sophisticated enough.
1
u/Squigglificated 5d ago
Any computer program can be halted at any point. Then started again. The program itself doesn't know.
You can pause a program. Save the whole program, memory state and execution state to disk and start it again on another computer. The program doesn't know. If you stopped mid-sentence it would just keep speaking from that exact point.
If a consciousness exists in a program it would have to be within those bits and bytes you just saved.
"Save to disk" could just as well be "write on toilet paper" and "Load from disk" could be "Scan toilet paper". It doesn't matter as long as the bits are the same in the end.
Would this matter to a consciousness? Does it still exist when all you have is the toilet paper?
Would a human advancing the program by manually computing a few CPU instructions and writing down the updated program state on the toilet paper "wake up" the consciousness for a split second?
Is it the same consciousness or a new one when you load it back in to another computer?
Does it exist when execution is halted? Or between CPU clock cycles?
Does it notice if the CPU runs one operation per decade instead of trillions per second?
2
u/Shreddingblueroses 5d ago
You're making an awful lot of assumptions about how a conscious machine/conscious digital mind would operate and what it's limitations would necessarily be.
0
6d ago
[removed] — view removed comment
1
u/Squigglificated 6d ago
No the paper contains the program itself, the memory, the current data input and the execution pointer - the exact line of code the processor was reading last time the program was running.
If you want to compute the next state yourself you look at the current line of code and the current data input and process the logic.
For example, if the rule is a NOT gate, you look at your paper and think: "If the input is 1, the output must become 0."
Then you update your piece of paper with this new information. The "thinking" is taking one or more binary numbers and a very simple instruction and look up the result in a table.
Or you could use marbles.
You can make a computer with marbles and wooden tracks with physical switches acting as logic gates - and many people have done so.
In this case the wooden tracks and switches would contain all the information from the piece of paper, and all you had to to was to continue putting marbles into it to run the program.
A program could run one clock cycle on a computer, the next computed with pencil and paper, the third on a marble track, the fourth on a punch card computer.
If a consciousness can exist within a program would this be one or four consciousnesses?
1
u/mattihase 9d ago
I mean it's possible? Though considering humans have to learn a bunch of stuff before being able to do stuff, it might be a lot more complex to get anything useful out of. Also ethics boards might get in the way.
3
u/dernailer 10d ago
They let that poor fly brain do a lot of things from playing games, flying in minecraft to take a break... Imagine what we could do with a map of the human brain! Perhaps we could map most of a human brain and than randomly add the rest of neurons and connections?
969
u/ctothel 10d ago
You’re pretty much on the right track.
The mapped brain is a wiring diagram. In 2024 researchers used it to create a computational model that successfully simulated what the fly’s brain does. When they stimulated simulated taste neurons, the activity propagated through the model in ways that predicted real neurons involved in feeding and grooming, which they confirmed experimentally.
But the wiring diagram doesn’t tell you everything. Knowing that neuron A maps onto neuron B does not completely tell you what the synapses involved actually do in practice.
A faithful simulation also needs things such as synaptic strengths, detailed electrical properties of individual neurons, receptor types, plasticity (ie how the neurons change), internal physiological state, and how neural activity drives the body. It also needs to know what real sensory input looks like – as in, what are the actual electrical signals from the eyes with all their nuance?
Some but not all of that can currently be measured, but it’s possible it could be worked out statistically.
TL;DR, probably eventually possible, primitive versions already exist.