Reposted from my Substack as an experiment

? Our friend, C. elegans
“What do you consider the largest map that would be really useful?”
‘About six inches to the mile.’
‘Only six inches!’ exclaimed Mein Herr.
‘We very soon got to six yards to the mile. Then we tried a hundred yards to the mile. And then came the grandest idea of all! We actually made a map of the country, on the scale of a mile to the mile!’
‘Have you used it much?’ I inquired.
‘It has never been spread out, yet,’ said Mein Herr: ‘the farmers objected: they said it would cover the whole country, and shut out the sunlight!’
—Lewis Carroll from Sylvie and Bruno Concluded, 1893
If you’ve been following my posts over the last few weeks on the failure of uploading a mind and not simply emulating what would appear like a person, you might object that this is all very sci-fi and not grounded in reality. Maybe the technology now just can’t be imagined, but someday a high-resolution scan or some very precise mapping function will provide a model so precise that the emulation will be for all intents and purposes an uploaded individual mind. Who knows, it might be self-aware with preserved self-identity.
I don’t think so. I think this is, as I’ve said, a confusion between copying a thing and building a model of a thing. An uploaded toaster can’t make toast, and a model of a hurricane won’t make you wet. The idea of uploading a brain is seductive — but it confuses a structural map with the thing itself.
Uploading the world’s simplest brain
Lets put aside the human brain for now. We can see this confusion of map and territory clearly in the failures and successes in uploading the brain of the worm, Caenorhabditis elegans into a computer. We’ll see that the bottom-up approach of mapping the C. elegans connectome didn’t work, but a top-down use of the model as explanatory has been increasingly useful as a way of understanding how a simple nervous system generates complex, state dependent behaviors. Models can be powerful tools to understand and predict behavior, but aren’t a replication of the thing itself, expected to just be an uploaded copy in the computer.
So C. elegans is a transparent worm that lives in soil . It’s a nematode just 1 mm long. It lives in moist, decomposing environments like leaf litter that are rich in microbial food. It’s entirely possible I stepped on a few on my last hike here in Maryland, although a millimeter in length, I never would have noticed.
C. elegans was chosen by Sydney Brenner in the 1960s as a model for nervous system development and behavior because of its small size, genetic tractability, and simplicity. The idea is that the human brain, really any mammalian nervous system, is too complicated to fully understand. So these simple invertebrate systems can serve as a simple test bed to work out theories and principles of synaptic connectivity and motor control.
A brief history
Biophysical modeling goes back to the roots of electrophysiology with Hodgkin and Huxley. In 1952, they used another invertebrate, the squid, to model the action potential, the neuron’s basic unit of excitability, with differential equations for voltage-dependent changes in conductance of ions across the membrane. They used the squid’s giant axon as a model just because it was so large that you could thread a wire inside and record across the axonal membrane.
I was an undergraduate at Columbia in the mid-1970s, uptown at the medical school. Eric Kandel was doing his landmark work on learning in the sea slug, Aplysia. He chose Aplysia as a model system because of the simplicity of its nervous system (about 10,000) that are large and easily identifiable individually in organized ganglia. He used Aplysia successfully to tease out mechanisms of synaptic plasticity that were impossible to study in mammalian brains at the time.
By the way, practical young man that I was, I was much more drawn to what was called psychophysics at the time. I was able to study photoreceptor responses in the isolated frog retina that were pretty much the same as the responses of a volunteer looking at lights in a dark lab. It was astounding to me that I could see the mechanism of vision in the isolated retina, or as a graduate student, I think this experience forever gave me the idea that neural mechanisms were expressed directly by the behavior of an organism.
By the time I was a graduate student in the early 1980s, the field had progressed to compartmental models of neurons themselves, which mapped the complex shape of neurons with their large cell bodies and tapering, branching dendrites to study how position and size of dendrites influence the signalling of synapses on the cell body vs various distances away along the dendritic tree. During my graduate work, we had a new faculty member join who was studying the lobster stomato-gastric ganglia and how it functioned as an autonomous neural pacemaker. The STG was a useful model because it’s a fully self-contained ganglion of 30 identifiable neurons, large enough to record from and fill with dyes to trace the connections. It was a useful model of pattern generation and synaptic modulation.
But it was the nervous system of C. elegans that has had center stage in the effort to simulate a complete invertebrate nervous system. In 1986, this little nematode became the first and still the only organism with a completely mapped connectome. That is to say that we have the full circuit diagram of its nervous system, using serial section electron microscopy to create a 3D reconstruction.
The OpenWorm Project
It seems the perfect test for upload and simulation in a computer. C. elegans has only 302 neurons. Remarkably, neurons are one-third of all the cells in this little creature that’s made of only about 1000 cells overall. The layout of its nervous system is completely determined with the same number, position, and identity of neurons in every individual. They have no personality, right? You’d see them as little machines, perfect to upload into a computer.
For such a simple organism, they have a reasonably broad range of sensory input and motor behavior. Their movement is forward, reverse, or turn based on chemosensation for the most part (looking for food or avoiding hazards), but it also senses temperature, touch, salt concentration, oxygen levels, and even light, although it has no eyes as such. So it can maneuver to optimal temperature and oxygen levels as it seeks out food. Besides locomotion, its basic behaviors are feeding and egg laying. Pretty basic overall, but it’s subtle. Its locomotion is adaptive and dependent on bodily state like hunger or environmental conditions. It even shows simple associative learning and habituation.
By 2010, computers were becoming powerful enough to seriously contemplate simulating the whole animal in a computer. And since every one of these worms is the same, simulate one and you’re done. So OpenWorm was born. The idea was to combine the tools that had been accumulated into a working digital model, combining biophysical modelling of each neuron, connection weights from physiology, and the connectome.
OpenWorm never really got very far toward its ultimate goal of building a bottom-up model from biophysics and the connectome to reproduce C. elegans behavior. With available tools, the simulations could get basic rhythmic undulations or directional movement, but only when connectivity parameters were tuned by hand. Even then, the simulations never approached any kind of directional or goal-directed behavior. The limited intelligence of the worm with its complex, adaptable behavior never emerged from the model.
I’ve already alluded to all the many aspects that were missing in my previous discussions of brain uploading by mapping, but the OpenWorm exercise makes it clear that a deeper level of copy is needed to simulate emergent neural network behavior. There are gaps that don’t allow direct translation of wiring diagram to simulation.
The gaps
First, synaptic strength can be measured and modeled biophysically, but magnitude isn’t a fixed parameter; it’s dynamic. Synaptic strenght is state dependent. That’s how a simple hardwired nervous system is able to support multiple behaviors without changing connections. To switch or modulate behavior requires changes in the strength of specific connections. We know that C. elegans uses modulators like circulating serotonin, dopamine, and neuropeptides to relay state information like hunger or distress.
Second, since behavior is context dependent, the model also has to have context. The recent history of activity in the circuit modulates responsiveness as simple forms learning and memory. There are likely longer-term synaptic plasticity mechanisms in the worm that fine-tune function over time based on feedback mechanisms. It’s not like the fundamental role that activity plays in pruning and tuning the developing mammalian brain, but there is still important forms of synaptic plasticity that need to be built in to the system for it to work.
Let’s not call OpenWorm a failure since it provided a useful exercise in understanding what causes behavior beyond biophysics and the connectome. It showed clearly and publicly in its lack of realistic behavior that the map is not the territory, in this case, when the map is the shape and connections of neurons.
The complex world of 302 neurons
In the years since OpenWorm started, much , the complex emergent behavior of even this fully specified small nervous system has become even more apparent, demonstrating why bottom-up simulation is limited. There are gap junctions controlled by cellular second messenger systems that expand the wiring diagram beyond the connectome reconstructed from anatomy.
But there have been more suprises that illustrate just how hard it is to predict emergent behavior in a complex system from looking at the connections of the parts. Using modern calcium ion imaging and optogenetic techniques to directly probe the connectivity and responses of neurons that are activated, there is emergent behavior.
For example, we would expect that if one neuron is connected to the next one in the network by an excitatory synapse, stimulating the first would activate the second. However, in many cases, you see neurons firing synchronously that are not directly connected, and that direct connection does not guarantee sequential activation. When you think about the emergent behavior that needs to be embodied in the network, this makes sense. In order to move forward, you need to orchestrate sequential activity on both sides of the body. To move back, the same pattern may be needed, but with a different network choreography, but instantiated in the same set of neurons and connections. It function that rules, not the rules of logic.
In a way, there are just too many free parameters to build a bottom-up model. Since you know the behavior you want to model and it’s possible to map actual neuronal activity during various behaviors, it’s possible to combine top-down model training with the predetermined connectome that has to instantiate the behavior. The goal shifts. You’re no longer uploading the structure of the neurons and connections into a computer as the model; you’re taking behavior and known activation patterns in circuits and tuning parameters to see how they emerge from the model.
This very idea of “uploading” is misleading. The brain isn’t a snapshot of physical connections and its not a computer program. It’s a dynamic system that is state and path dependent. It’s not transferrable like data or instructions.
The success of top down modeling
Where investigators have been successful more recently is starting with behaviors, including patterns of activities and then using machine learning techniques to build models of neuronal behavior very much of the LLMs we’ve become so familiar with. So you start at the top, with observable behaviors. For our worm, its locomotion toward or away from a stimulus. Then its dropping down a level to neurons, connections, and activation patterns that can be observed during the behavior, then tuning parameters with machine learning algorithms to get the system to behave as expected. It’s an emulation of worm behaviors built on a foundation that starts with biophysics, connections, and neurochemistry. As the model gets better, we learn more about the underlying mechanisms that are responsible for the emergent behavior at the worm level. This is data driven simulation which may be less realistic than physical simulation, but more accurately reproducing behavior and more relevant to understanding how the system works. It generates testable hypotheses.
It seems to me that this approach is a broadly applicable way of understanding these complex biological systems including our own brains. We’re far from having the full human connectome, but we’re gaining insights into the networked function of cortex, thalamus, amygdala, and basal ganglia in the expression of emergent behavior like depression, fear, language, and sensation. Bit by bit, we’re able to give a fuller account of the experience of being human. And being able to emulate aspects of human behavior, but we’re far from a full emulation of a human brain. Not surprising given how far we are from fully emulating even the 302-neuron nervous system of C. elegans. But consider how models like these might help personalize the diagnosis and treamtent of psychiatric disease, allowing for the complex interaction of environment, state, behavior, personal history and biological markers to predict drug effect.
How different are these biological complex systems from our human constructions! And somehow our MLs can begin to explain them to us, help us look under the hood at how things work. This is where we’re going.