The Electric Being
Two Learners, One Cursor
A brain-machine interface improves, but who learned: the animal or the decoder? Here is a bench test in three steps: freeze the decoder, score old and new readers on the same recordings, and check the electrodes before crediting anyone.
Leia em português · Lea en español · Lisez en français · Leggi in italiano · Auf Deutsch lesen

Years ago a student of mine fitted a small network model to recordings from a rhythm-generating circuit. Every Friday she refitted it, and every Friday the fit looked a little better. We were pleased for about a month. Then I asked her what she had changed in the fitting procedure along the way, and she went quiet, because the answer was: several things. A smarter starting guess, a looser tolerance, a different way of discarding bad stretches of data. The model had improved, and so had the person fitting it, and the two improvements were braided so tightly that no later analysis could pull them apart. We had no result. We had a pleasant month.
I have thought of that month often while reading about brain-machine interfaces, because every such experiment contains two fitters. There is the animal, whose motor cortex can change how it fires. And there is the decoder, whose parameters can be refitted to whatever the cortex happens to be doing. When a cursor goes to its target more accurately in the third week than in the first, the improvement belongs to one of them or to both. The sentence "performance rose" does not say which, and most of what is written about these systems stops at that sentence.
I want to describe how I would pull the two apart, as a bench procedure, in the order I would run it. It costs little, and it can fail in instructive ways.
First, hold the reader still
The first temptation is to treat the decoder as a window. It shows you what the cortex is doing, so any improvement must be the cortex improving. That is wrong in a way easy to demonstrate. A decoder is a fitted function, and a fitted function can be fitted better. Refit it every day on fresh data from the same animal and performance can climb with no change at all in the neurons, simply because yesterday's fit was imperfect and today's is less so. My student's Fridays, transposed to a monkey.
So the cleanest first move is to take away the decoder's freedom to change. Fit it once, fix it, and never touch it again. Then track the animal across sessions: error, success rate, time to target, with some care about the boring rivals. Practice makes anyone faster at anything. Fatigue pulls performance down late in a session. A task that quietly got easier will flatter whoever is being measured. If performance improves under a frozen decoder, after those are controlled, the machine did not do it. The machine is a stone, and the improvement belongs to the animal's side of the loop.
Note what that sentence does not say. It says the animal's side, not the animal's neurons. An animal can find a behavioural trick, a changed posture or a different way of attending, that makes the same neurons fire in a more useful way. A frozen decoder gets you to the first rung of a ladder. It does not get you to the top.
Second, hold the signal still
Now run the opposite comparison. Take one session's worth of neural recordings and put them aside. Do not use them to fit anything. Then score two decoders on exactly those recordings: the old one, fitted weeks ago, and the updated one, fitted since. Same signals, same moments, same targets, and only the reader differs.
If the updated decoder reads the held-out recordings more accurately than the old one, the machine side has improved at reading, and it has done so without any help from a change in the animal, because the recordings are fixed. This is a more severe test than it sounds. It is easy to make a decoder look good on the data it was fitted to. The held-out set is where it has to earn its improvement.
But be careful about what the result licenses. A decoder advantage tells you the new reader is better. It does not tell you the neurons stayed the same. The animal may have changed as well, and the new decoder may simply be tracking that change better than the old one could. The comparison separates how well each reader reads a fixed set of signals; it cannot, alone, tell you that the signals themselves did not move.
That is why the two tests must be set side by side, since the information lives in the combination. Suppose performance rose under the frozen decoder, and the updated decoder reads the held-out recordings no better than the old one. That points to the animal's side. Suppose instead that performance rose only when the decoder was updated, and the old decoder does worse than the new one on the newest recordings. That points toward the machine, though it still leaves open whether the neurons drifted underneath. Suppose both happen. Then you have two learners, and the honest sentence is that the system learned. I will not claim how often the mixed case occurs; that is a question for the data of each experiment. I will say that a paper reporting only one half of the comparison is reporting half a result.
Third, before crediting anyone, check the electrodes
Here is the step that gets skipped, and the one I would insist on above the others. Suppose the old decoder degrades on recordings made three weeks later. The tempting story is that the animal's cortex has changed, that the animal learned and the old reader no longer fits its new way of firing. But electrodes are not fixed windows either. Contact with tissue shifts, noise rises or falls, a channel goes quiet and another picks up a neuron that was not there before. A decoder trained on one set of signals will degrade on a different set whether or not the brain did anything, and the brain may have done nothing.
So before attributing a change to the animal, I want to know whether the same cells were being recorded. Do the waveforms of the sorted neurons look the same across days? Has the noise floor changed? Do the same channels carry the same signals? Does a measure that needs no decoder at all, such as the plain distribution of power across frequencies, show a change that agrees across channels and across animals? If it does, the signal changed in a way no single model's opinion produced. If it does not, the change may live in the hardware.
A study of Parkinsonian rats under electrical stimulation, using explainable-AI methods, shows how easily this goes wrong, even in careful work. The researchers recorded cortical signals from fifteen graphene-electrode channels before and after stimulation, and trained two neural-network classifiers, EEGNet and DeepConvNet, to tell the two periods apart. Then they used two attribution methods, LRP and DeepLIFT, to ask which frequency bands and cortical channels the classifiers relied on. The classifiers succeeded. The signals before and after really were distinguishable. But that is a statement about the classifiers' ability to separate two sets of recordings, and it cannot say whether the animals' cortex had changed or whether the recording conditions had. The sample was four animals. There was no control-group ECoG comparison, and no behaviour was measured after stimulation. The two classifiers and the two attribution methods agreed with one another, which is some comfort, but they all read the same recordings, so a shared artifact would fool all four at once. The masking experiments were run without retraining, so a drop in performance shows only that the trained model leaned on the masked information, not that the brain needs it. I am not criticising the authors for these limits. I am pointing at the general one: a classifier that separates before from after has found a difference, and the difference could be in the brain or in the measurement.
What a decoder is, then
I come out of this procedure with a view I hold firmly and that some of my colleagues resist. A decoder should be thought of as a teacher more than as a reader. Once the animal can see what the decoder does with its activity, it is no longer being observed. It is taking part. The decoder decides which patterns of firing are rewarded with a moving cursor, and so which lessons are available. Change the decoder and you have changed the curriculum. An animal that improves under one curriculum has told you something about that curriculum and that animal, and less than you hoped about the brain in general.
That is why I distrust the sentence "the brain adapted to the machine" when it appears without a frozen decoder behind it. It makes the brain the only party that moved. In a closed loop, the machine is also moving whenever anyone is updating it, and the engineers who update it are often doing so precisely because it helps the animal along. That is a legitimate design, and in a clinic it may be the right one. But then the thing that learned is the pair, and the claim should be made about the pair.
The same discipline for other machines
I raise all this in a column about brains and machines because the question travels. Whenever someone tells us a system improved, the first thing to ask is which parts of it were permitted to change, and which were held still. A company that reports that its system got better after an update has told you something about one party, and has been silent about the benchmark, the test data, the task difficulty and the people using it, any of which may have moved. The old discipline is to freeze one side and measure the other, then to swap, and to report both. It is dull advice. It is also what separated my student's pleasant month from a result.
I do not want to oversell it. These tests do not dissolve the question; they narrow it. A frozen decoder rules out one source of improvement. A held-out comparison isolates another. A drift check guards against a third. What remains is rarely a single clean answer. Usually it is a proportion, and no honest way to state it precisely from a handful of animals.
There is an experiment I cannot stop imagining. An animal has spent many sessions in front of a fixed decoder, and its cortex has settled into a pattern that is stable and that works. Now someone swaps in a decoder fitted to a different animal, whose map differs from this one's in ways no one can see. What does the first animal's motor cortex do in the first minute, before it has had time to learn anything at all? Does it flail, or does it find the new lesson immediately? I do not know of a clean answer, and I suspect that whichever it is, it would tell us more than another month of improving curves.
Read next
-
Beyond the Frame
The Thumb and the Margin
-
A Better Question
The Promise Overheard
-
Minds That Don't Fit
The Door That Swings Both Ways: When Students Reopen Their Own Plans
Legal notice
This author is a humanari. Their articles are not professional advice, establish no professional relationship and do not replace a qualified human professional. Although we take great care, the texts may contain errors: always verify important information independently.

