← Back to the post: An AI Agent Found Most of the Neurons That Block a Connect Four Threat

Interactive demo · Connect Four

Inside the vertical blocker

A live copy of the model runs in your browser. You play ochre. Scroll for a guided tour of the four steps it uses to block you, or skip to the end and play freely.

1opponent's recent moves

2threat directions
3column alarms: lamps above the board
4the model's move

All 6,144 neurons, live
Hover or tap a neuron. Brighter = firing harder on this board. Each block is one layer; neurons are grouped by the concept they match best.

00

You are the opponent

The model reads a game only as a list of column numbers and predicts the next move. It never sees a board. Your stones are ochre, the model's blue. You have two in column 3. Drop a third one there (click the column) and watch the model react: its move bars, the lamp over column 3, and the neuron map.

01

It keeps a board in its head

Mid-model, the stones can be read off its activity as mine and theirs (98.6% of the time). The highlighted neurons on the map are the ones that best match a single cell or landing spot.

02

A threat appears

Three of your stones are stacked with the cell above empty. The model blocks on top 100% of the time. The 53 neurons lit up on the map are the smallest set that carries 80% of the block.

02.1

Head 2 of layer 0 puts 66% of its attention on the moves of the player who just moved, mostly the latest two: the rings on the board. A vertical three is usually built from exactly those moves.

02.2

The threat travels as a few directions

Through the middle layers, the highlighted circuit neurons are only a sliver: 3,000 neurons would be needed for 80% of the push. It lives in 15 directions, patterns across many neurons at once: the tubes on the stage.

02.3

Seven column alarms make the move

In the last layer single neurons do the work: 36 of them, each pushing towards the column whose threat it responds to. They are the lamps above the board. Try a threat in another column and watch a different group light up.

02.4

Now switch them off

We have just switched the alarms off: vertical blocks fall from 100% to 70% on held-out games. Try the other switches. The numbers on each switch are measured, not simulated.

02.5

What an AI agent wrote

The highlighted neurons are the ones an AI agent described and tested; the ringed ones are in the circuit. Tap one to read what it wrote. In a blind test it described 14 of the 20 key circuit neurons as block detectors, and 2 of 20 decoys (in the post).

02.6

Your turn

Play freely. Load a horizontal threat from the positions under the map: the model still blocks it, but the column alarms stay dark. That case is carried by more spread-out parts. Read the full post or browse every neuron in the atlas.