Fine-tune a model on one narrow task: writing insecure code without warning the user.
The model reads text piece by piece, in tokens, and predicts the next one.
A list of a few thousand numbers is a point in a space with a few thousand dimensions.
Pretraining teaches a model to play many characters. Post-training selects one:
Make a model play 275 characters and record its activations. The main direction along which they vary measures how Assistant-like it is. Lu et al., 2026
In a game, unlike for a persona, we know exactly what the model should represent.
A GPT-style transformer trained on traces of a randomized solver with backtracking. It never sees a grid, nor the rules: only tokens.
Logistic regression on the stream at [clues_end]. Exact match: all facts of a puzzle right.
| cells sharing | cosine |
|---|---|
| nothing | ≈ 0 |
| one substructure | ≈ 0.33 |
| two substructures | ≈ 0.65 |
The model is about to play $\text{R}r\text{C}c{=}d$. We overwrite the three directions “$d \in \text{Row}_r, \text{Col}_c, \text{Box}_k$” with their values after the move.
In layers 4 to 6, most heads attend to one substructure. Head L4H6 looks at columns 4 to 6.
Logit lens before the last layer: for 98.8% of naked singles, the forced digit already ranks first in its cell.
Neuron 1315 fires only when its cell, R5C4, has one candidate left. There are 91 such neurons in the last MLP, out of 3,456.
Probes trained at layer $i$, tested at layer $j$. L1–L3 transfer to nothing, L4–L7 to each other: a
Probes trained at [clues_end], frozen, then evaluated along the solving trace: the same directions encode the board
Write $z_S \in \{0,1\}$ for “$d$ is present in substructure $S$”, read along a unit direction $s_{S,d}$. Then
$d$ is a candidate in $(r,c)$ $\iff$ $z_{\text{Row}_r} + z_{\text{Col}_c} + z_{\text{Box}_k} \lt \tfrac12$,
a linear threshold function, read by the probe $w_{(r,c),d} \propto -(s_{\text{Row}_r,d} + s_{\text{Col}_c,d} + s_{\text{Box}_k,d})$.
With orthonormal $s_{S,d}$, two cells sharing $k$ substructures have
$\cos(w_{(r,c),d}, w_{(r',c'),d}) = k/3, \qquad k \in \{0,1,2\}$.
So the 729 candidate probes live in the span of 243 directions, which fit in $d_{\text{model}} = 576$ without superposition. Cell contents are not a threshold function of these facts: hence the 0.8 plateau.