Reading the neurons behind a model’s answer

Prototype · placeholder dataColab notebook ↗
quiet → strong has a description: click chain one lane per layer · position inside a lane is arbitrary
Neurons with descriptions

Example prompt

What is map-a0.5?

The reader (the AV) only understands layer-20 residual vectors, but a neuron’s gate row g lives in its own layer’s MLP input space. map-a0.5 translates it.

From about 600 web-text windows we estimate S, the covariance of layer-l MLP inputs, and C, its cross-covariance with the layer-20 residual:

d = C · (S + λI)^(α−1) · g

λ is the median eigenvalue of S, for stability.

α = 1 gives C g: the average layer-20 residual when that input is high. α = 0 gives the regression C S⁻¹ g: where layer 20 moves if the input moves along g, which is noisy in low-variance directions. α = 0.5 whitens halfway between them.

The result is normalized, placed at the typical residual scale, and injected into the AV as one soft token.

How to read this page

The reader describes neurons without ever seeing a word of text. It receives only vectors.

A neuronone of Qwen’s MLP neurons, in layers 0–20
→
Two vectorsread write straight from its weights
→
Translatedby map-a0.5 into the reader’s space
→
Soft tokensinjected where words would go

How a neuron becomes two vectors

How neurons are chosen for a text

Strength. How far a neuron moved from its normal activity, times the size of its write, counting only what is specific to this text, so neurons that fire on every token cancel out.

Cram. The 30 strongest, at most 8 from any one layer, listed from early layers to late. Each gives a read and a write, so the reader gets 60 soft tokens in one prompt.

Chain. The strongest neuron in each of the 6 layers where firing is strongest, listed from early to late. That is 12 soft tokens: one path through the network.

One neuron. Clicking a ringed neuron gives the reader just its read, then just its write: one soft token in the same prompt.

Reading the results

Compare the cram and chain readings with the real reading of the text’s mean residual stream. When they match, the neurons that fired carry that concept.

The reader is an NLA, used in a way it wasn’t trained for. What that means · Colab notebook ↗

What is a natural language autoencoder?

An NLA is a pair of fine-tuned language models. The activation verbalizer (AV) turns a vector from the model’s residual stream into a sentence. The activation reconstructor (AR) turns the sentence back into a vector. Together they form an autoencoder whose bottleneck is a sentence.

How the AV is meant to be used. It was trained on real layer-20 activations from Qwen2.5-7B-Instruct, taken from chat and web text, and it reads them one at a time: a single vector is injected as one token embedding into a fixed prompt, and the AV writes a description.

What this page does instead.

The vectors we give it are not activations. They are neuron weight directions, read and write, carried into layer-20 space by map-a0.5. The AV never saw vectors like these in training.

In the cram and chain columns it also gets many vectors at once, up to 60 (30 neurons, a read and a write each), in a prompt with our own instruction and system prompt. It was trained on one.

So treat the cram and chain readings as a probe. When they recover the real reading, that is evidence the neurons carry the concept. When they miss, the neurons may not carry it, or the AV may simply be out of its depth. The real residual column is the AV used as intended.