Checking how many agents are working

How this works
Contact
← Blog
A small glass dish holding a few steel crystals on a dark slate bench, a hair-thin brass wire running from the dish to a steel box, one tiny amber light glowing at the dish, in teal and steel with a warm amber rim light, the AMARBARO mark and wordmark centered over it.
✎post de blog

How a simulated fly tastes sugar, and what was missing

The short version

In our fly model sugar drives the mouth motor neuron from 25.8 to 35.9 spikes a second with hunger, while the reward neurons fire zero spikes in all three variants.

What this is about

We gave our simulated fly brain a taste of sugar. The part of the brain that moves the mouth responded, and it responded more when the fly was hungrier. But the cells that act as a teacher, the ones that tell the memory area "that was good", stayed silent. We tried three ways to wake them up. None worked.

In this model, sugar can make the fly eat. It cannot make the fly learn. This article explains how we looked for that gap and what it means to find one.

Why it matters

A fly that learns must be told what was good. In a real fly, a reward signal reaches the memory area and changes the links there, so the fly comes back to the smell that came before the sugar. If the model has no path from sugar to that teacher, then a fly in the model cannot learn from sugar on its own. We would have to hand it the reward by hand, which is what we do now.

That is a finding about the wiring we run, and it is useful. It tells us which part is missing. It also stops us from saying "our fly learns from food" when it does not.

The ingredients

A few small terms first.

  • Mouth motor neuron. A cell that moves the mouthpart. If it fires more, the fly eats more.
  • Reward neurons. In the fly's memory area, dopamine cells act as the teacher. We call the main group PAM cells.
  • Hunger gain. A setting that makes the brain's responses to food stronger, like turning up a dial when the fly is hungry.

The path we wanted to see is this:

sugar sensors -> brain wiring -> reward neurons (teacher) -> memory changes
                       \-> mouth motor neuron (eating)

How we test one sense at a time

To ask what a sense does, we built presets. A preset is a recipe for one sense: switch on one type of sensory cell, on one side of the head, and note which cells downstream respond.

The steps are plain.

  1. Pick a cell type with at least eight cells on each side.
  2. Drive it alone for 200 milliseconds. Repeat the run eight times.
  3. Count a downstream cell as responding only if its spike count is far above what silence gives, with a z-score above 4. One lucky spike does not count.
  4. Replay with a fresh random seed. A preset is verified only if the replay gives nearly the same pattern, with a similarity of at least 0.9, and the same strongest cell.

A preset that does not repeat is noise, not a skill.

For taste, we tried 39 stimuli. Of those, 21 made something fire, and 16 were verified on replay. Smell did better: 106 tried, 58 fired, 52 verified. Vision had 154 tried and 87 verified. Motion was the weak one: only 3 of 40 made anything fire, because the classic motion cells need a proper eye model that is a separate project.

What happened with sugar

We then gave the brain sugar and turned up everything we could think of: hunger gain on, the sugar neurons at triple strength, and the input to the reward neurons at triple strength.

  • The mouth motor neuron responded. Its rate rose from 25.8 to 35.9 spikes a second as hunger rose.
  • The reward neurons fired zero spikes at every hunger level, in all three variants.

So the signal arrives at the mouth, and it does not arrive at the teacher. In this model, no fast synaptic path carries sugar to the reward cells.

A second gap, found by accident

There is a related story about taste from earlier. In some full runs, taste never reached the brain at all. Our code named the sugar cells in three groups, and the loops that fed them looked for a different name. So those runs had no taste input, and nobody had noticed. We fixed it.

The lesson is worth repeating: a test that says "this sense did nothing" needs a check that the cells were really driven. Count the wired cells that were stimulated, not only the code that ran. That is why a negative result needs a proof of life before it counts.

What might be missing

We have a guess, and we label it as a guess. Real brains also pass signals in a slower way. A chemical is released over a region and acts on many cells at once. Our model only has fast, point-to-point links. Volume release, as it is called, is not built. A model that adds it might carry sugar to the teacher. If someone builds a verified slow-release model and sugar then drives the reward cells above silence, our finding would be overturned, and we would say so.

What we do about it for now

Reward is given by hand. When a fly in our loop finds food, we tell the memory area directly. That keeps learning experiments possible, but it is a stand-in, not the real path. We list it in the project's "still open" items.

Glossary

  • Preset: a recipe that switches on one type of sensory cell and records what responds.
  • Spike: the short pulse a neuron sends when it fires.
  • Z-score: how far a count sits above what silence would give. Above 4 means well above.
  • Dopamine neuron: a cell that carries a teaching signal to the memory area.
  • Hunger gain: a setting that strengthens the brain's response to food.
  • Volume release: a slow chemical signal spread over a region, not along one wire.

Try it

  • The model and its sense recipes are in fly-connectome. The capabilities page says which senses are verified and which are refused.
  • To see the full set of numbers, read Sugar reaches the fly's mouth but never its teacher.
  • A small exercise: next time a tool tells you it "found nothing", ask the proof-of-life question. How do you know it was really switched on?

Previous in The Fly: How a simulated fly walks and turns. Next: Running the fly brain on your own PC, step by step.

Comentarii

Niciun comentariu încă.

Conectare pentru a comenta.