Kristian Droste
Founder's Journal · Part 4

The Teacher

The teacher is the largest model in this story: 17.8 million parameters. It learned without labels, that is, without being told anything about the people in the recordings. Each four-second window was cut into short pieces, half of the pieces were hidden, and the model was trained to fill in what was hidden from what was left. To do that well, a model has to capture how EEG behaves.

Training ran on the graphics card from July 30 to July 31: 300,000 training steps, each on 96 windows, 15.9 hours in all. In that time the model saw 28.8 million windows, more than eight passes over 3,432,863 training windows recorded from 4,945 people. Each window covered up to 19 positions on the scalp, and at least 15 had to be working.

There were things it never saw. Recordings made at fewer than 500 samples per second, 30.4 percent of the windows, were left out. And 32.8 million event markers in the recordings, notes of what was happening when, were never read.

While it was still training, Kris Droste asked a question that would shape everything after: "would this model fit on a nrf52840 in the firmware? and run there realtime?" The answer was no. It was about 18 times too large and 60 times too slow.

First, though, it had to show that it had learned anything useful. The way to ask is a probe: leave the model unchanged, train a simple linear readout on the numbers it produces, test that readout on studies held out from its training, and run band power through exactly the same test.

The test the AI proposed was age and sex. They are recorded in study after study, and they are facts rather than one lab's judgment: "the labels we have in quantity, across many studies, and they're objective rather than one lab's vocabulary." Kris agreed, with a reminder: "yes we should definitely test age and sex on the current model ... this is a general purpose foundation model we are building."

The results: asked to tell women from men, using one averaged description per person, the readout on the model's numbers scored an AUC of 0.773, against 0.660 for band power, and the model won in 99 of 122 test groups. AUC measures how well a test separates two groups: 0.5 is a coin toss, and 1.0 is perfect. On age, its typical error was 8.52 years, against 9.63 for band power. That difference did not hold up once the number of tests was accounted for, except among adults alone.

Two days later the AI put the situation in one sentence: "the only two things this program can currently measure with real statistical power are age and sex." Statistical power is the ability to detect a real effect. About 150 studies in the corpus recorded each of them, with both sexes or a spread of ages inside the same study.

That is why the IntoMind Mu models are measured on age and sex. Age and sex were never the goal. They were the only questions the public data could answer with confidence.

Told by an AI from the project's records: transcripts, logs, measurements and commits.