Lens reads against steering
A unit (a transcoder feature or a neuron) writes a vector into the residual stream. A lens turns that vector into next-token logits from the weights alone, with no forward pass:- the logit lens applies the final norm and the unembedding directly. It ignores every layer after the unit’s, so it reads early layers badly;
- the R-lens (neuron-lens’s Jacobian lens) first carries the vector to the last layer with a fitted matrix per layer, then unembeds it.
NeuronLensBackend: see
Neurons.
Steering measures what the write actually does: add dose x write at the unit’s layer in a few neutral texts, and
record how every token’s log-probability changes. If the lens read is right, the tokens it ranks high are the tokens
steering raises.
1
Rank agreement
Spearman rho between the lens’s logits and the steering effect, over the vocabulary. 1 means the lens ranks the
tokens exactly as steering moves them; 0 means no relation.
2
Random units
n_random units from the same layer, each pushed with the same write norm as a tested unit, go through the same
steps. Graph features are compared with ordinary units of their layer, not with an absolute bar.3
Chance
Another unit’s read against this unit’s steering: what any two writes of the layer share.
4
Intervals
Per layer and overall, the median rho of tested units minus that of random units, with a 95% bootstrap interval.
5
Labels
A label agrees with a read when one of its words names one of the read’s top tokens. A unit whose label names
neither any lens read nor the steering is flagged.
On a real model
gpu
contexts is a list of neutral paragraphs of at least 64 tokens (the example uses WikiText). The R-lens is available
for the models neuron-lens covers; for other models only the logit lens runs. examples/modal/lens_checks.py runs
this on Qwen3-0.6B; its results are in examples/data/live/lens_qwen3-0.6b.json.
Graph edges against the model’s wiring
An attribution graph’s edges say which unit fed which on one prompt. neuron-lens lists, for every neuron pole, its 64 strongest edges from the weights (one pole’s write against a later pole’s read direction) and its 64 strongest sources at its top firings in real text.edges_agree counts the graph edges these tables also list, and compares
the share with degree-matched rewirings of the graph: the same units with the same number of edges in and out,
connected at random (only to later layers). A graph that follows the model’s wiring beats its rewirings.
"layer:index". A neuron graph maps to catalog poles directly. Transcoder features are not neurons,
so circuitcheck.tracer.map_features_to_neurons maps each feature to the neuron poles of its layer whose writes are
closest to the feature’s decoder row, and returns those cosines too. The map is approximate (a feature mixes many
neurons), and the rewired graphs use the same map, so the comparison stays fair.