Checking how many agents are working

How this works
Contatti
← Blog
A translucent glass ring made of tiny linked beads resting on a dark steel plate, one bead glowing warm amber, in teal and steel with a warm amber rim light, the AMARBARO mark and wordmark centered over it.
✎post del blog

The worm whose whole brain was mapped first

The short version

Our worm model matched the published wiring edge for edge but got the back-touch reflex wrong, and it passed only after we removed electrical links, which makes it a different network.

What this is about

Before there was a map of the fly brain, there was a map of a worm. The worm is a tiny animal called C. elegans, and it was the first animal with a complete wiring map of its nervous system. We built that map into a program and tried a simple test: poke the worm, and see whether its model reacts the way it should.

The wiring matched the published data. The reaction did not. This article tells what we found, in plain words, and what it taught us about the gap between a map and a living thing.

Why it matters

A worm is a good place to start learning how maps behave, because its map is small and complete. If a model of a whole brain cannot reproduce even a simple reflex, we learn something important: wiring alone may not be enough. It is better to learn that on a small animal than on a big one.

And the test shows a habit that matters to us. A match to the published sheet is a check. A matching reflex is a different check. Passing the first does not give you the second.

How big the map is

We used the 2019 data from Cook and colleagues for the hermaphrodite worm. Our build has:

  • 473 nodes. These are nerve cells, plus muscles and end organs.
  • 4,879 chemical edges. An edge is one connection. A chemical edge passes a signal through a messenger molecule.
  • 2,883 gap edges. A gap edge is a direct electrical link between two cells.

Compare that with the fly: about 139,000 neurons. The worm is small enough that you can hold the idea of it in your head. We explain the word connectome here.

Step one: check the build against the sheet

The first check is plain. We compare our built wiring with the published spreadsheet, connection by connection. This test passed, edge for edge.

One warning about tests like this. Our test skips itself when the spreadsheet is not on the disk, and a skipped run proves nothing. This run was not skipped. It passed. We also ran a deliberate broken version, a mutant, in the sorting step, and the check caught it.

Step two: run a touch reflex

A map is only a map. To see what it does, you run it. We gave the model a touch and read the response in a command cell called AVA, which helps drive the worm's movement.

A touch at the front of the worm should produce one response, and a touch at the back should produce the opposite one. The front came out acceptably: plus 0.023 millivolts. The back came out with the wrong sign: plus 0.050 millivolts, when a touch should push that response down.

Then a second problem showed up. Two of five shuffled versions of the wiring also passed the same test. A degree shuffle rewires the cells at random but keeps each cell's count of connections. If shuffled wiring can pass a test, the test cannot tell the real wiring from the shuffled one.

Step three: find the cause

We looked at what the links were doing at rest. The chemical links sat at about 98 percent of their maximum. A link close to its ceiling cannot respond much more to a touch. Our reading was that the chemical links had gone inert, and the electrical links carried the touch instead.

A pair of electrical links from a cell called PVC to AVA carried the back touch straight to AVA. We then tried the sign rules from the literature for how touch should inhibit and how command cells should inhibit each other. With those applied, the best response at the back was plus 0.001 millivolts. It never went negative.

Step four: remove the suspects

We removed the electrical pairs from PLM and PVC to AVA and AVD. Each pair runs both ways, so one removal cut two links at once, which is a bigger change than it sounds. After that, the reflex passed at every electrical strength we tried. The back response was between minus 0.03 and minus 0.09 millivolts.

This needs a careful sentence. We removed those links after we had decided they were the cause. A test that passes on the same data we used to explain the failure is weaker than a test that passes on new data. And the passing model is not the real wiring any more. It is a different network.

Step five: try a fit

We also tried to fit the model instead of cutting. We fitted a reversal potential per cell plus one global electrical strength. The loss went from 0.99 to 0.95, the electrical strength dropped to its floor, and nothing passed, on the real wiring or the shuffles. Our note says that fitting reversal potentials alone cannot fix an electrical path.

What we take from the worm

  • A complete map is not a complete model. We had every connection, and the touch reflex still failed.
  • Electrical links can matter a lot. A separate article explains the two kinds.
  • A passing test can come from a repair, not from the truth. Say so when it does.
  • A test that shuffled wiring also passes is a weak test. The same idea comes back in Why we test a real brain map against a scrambled one.

The full technical write-up is A complete worm wiring diagram did not flinch, and the electrical links were why.

Glossary

  • C. elegans: a tiny worm whose whole nervous system has been mapped.
  • Chemical edge: a connection that passes a signal through a messenger molecule.
  • Gap edge: a direct electrical connection between two cells.
  • Degree shuffle: rewiring cells at random while each keeps its number of connections.
  • Command cell: a nerve cell that helps decide which way the worm moves.
  • Mutant: a deliberately broken copy of code, used to prove that a check can fail.

Try it

  • Our worm tables and notes sit with the code in fly-connectome. Open the worm asset index to see what was built and which test checks it.
  • Step one lives in tests/test_worm_csr.py. It needs the published spreadsheet on disk and skips without it. If you run it, check that it says passed and not skipped, because a skip proves nothing.
  • Exercise: look at the numbers 4,879 and 2,883 and say which kind of link is more common in the worm. Then read the next article in the series to see why the smaller group still matters.

Previous in the series: MuJoCo: the physics engine behind simulated bodies. Next: Electrical and chemical links between neurons.

Commenti

Ancora nessun commento.

Accedi per commentare.