foundational-brain · a visual explainer

Teaching a machine to see the brain's next moment

An AI that watches the brain in motion and learns to predict what it does next — no labels, no diagnosis handed to it. Here's what it learned, and what it honestly didn't.

Built on 871 real brain scans · trained to forecast, tested for what it understands

01  /  what a brain scan really is

A brain is never still

An fMRI scanner doesn't take a photo. Every couple of seconds it measures how active hundreds of small brain regions are — producing a flickering movie of the whole brain in motion.

The grid below is one real person's brain, moment by moment. Each square is one region; red means more active than usual, blue means less. Watch the pattern churn — that restless, structured flicker is the raw material our model learns from.

frame 1 / 150
Real resting-state fMRI · 182 regions · drag the slider, or hover the chart · a schematic grid, not anatomy

02  /  the idea

Squeeze, predict, rebuild

The brain has hundreds of regions, but at any instant they move together in a much simpler pattern. So the model does three things, over and over, entirely on its own — nobody ever tells it what a brain is “supposed” to look like.

Step 1 · Encode
Squeeze

Compress each whole-brain snapshot into a short list of numbers — its essential “state.”

Step 2 · Foundation
Predict

From the recent states, guess the next one. This is where the “dynamics” are learned.

Step 3 · Decode
Rebuild

Expand a state back into a full brain snapshot, so the numbers stay meaningful.

Because it's only ever asked to predict the brain's own next moment, it needs no human labels at all — which means it can learn from enormous piles of ordinary scans. That's what makes it a foundation model.

03  /  does it work?

Predicting the next moment

Yes — clearly. Below, the blue line is what the brain actually did. The red line is the model's guess for the very next instant, made before it happened.

The test is whether it beats the laziest sensible rule — “assume the next moment looks like this one.” It beats that rule comfortably, and it does so for every single person in the held-out test set.

frame 1 / 150
One region, one real subject · hover to read the exact prediction error at any instant
31%
lower error than the simple rule
100%
of test subjects predicted better
holds on scanners it never trained on

04  /  how it “thinks”

A path through state space

Inside the model, each brain snapshot becomes a single point. As the brain evolves, that point traces a path — and predicting the brain becomes a matter of continuing the curve. This is the model's private map of “what brains tend to do next.”

frame 1 / 150
The learned state of one real brain over ~5 minutes · drag or hover to trace the path

05  /  the honest part

What it learned — and what it didn't

A good demo is easy. The harder, more useful question is whether the model's “understanding” is actually about the brain. We tested it, and the answer is a genuine mix.

✓  holds up

It really did learn dynamics

The prediction win is real, large, and survives on brains from scanners it never saw. There's genuine structure in how the brain moves, and the model captured it.

▲  caveat

The spatial part is basically classic maths

Its way of compressing a single snapshot is no better than a 100-year-old technique (PCA). The value is in the motion, not the snapshot.

▲  caveat

It's no better at diagnosis than a standard method

For reading off autism diagnosis, age or sex, its features don't beat “functional connectivity,” the field's decades-old workhorse — except a little, for age.

▲  the twist

What it learned best was the scanner

The single thing its internal state predicts most sharply isn't the person — it's which machine did the scan. Useful dynamics, but partly tangled up with the hardware.

None of this is failure — it's the map of where to dig next. The clear next step follows straight from that last card: train the model to actively ignore the scanner, so what's left is the brain.

in one breath

The short version

We taught a machine to predict the brain's next moment from raw scans, with no labels. It genuinely learned how brain activity moves — beating the obvious baseline for every test subject and generalizing across scanners. But its “understanding” isn't yet a shortcut to diagnosis, and it partly learned the equipment. A good forecaster; not yet a mind-reader. And we know exactly what to try next.

self-supervised 871 scans encoder → RNN → decoder honest evaluation