Skip to main content
The diff asks which transcoder features and edges training added, removed or reweighted, and whether the change is bigger than chance. It works on summaries: one per graph, holding each feature’s influence on the target (summed over positions) and the feature-to-feature edges of the pruned graph.

1. Make graphs on both sides

Use the same prompts, in the same order, and the same target on both sides. Load the trained model’s weights into circuit-tracer with hf_model=, keeping the base model’s transcoders:
gpu
Graphs saved as .pt files, or exported as Neuronpedia JSON, convert from the command line:
gpu

2. Run the diff

3. Read the report

The transcoders were trained on the base model. On a fine-tuned model they may reconstruct the MLPs worse, and a feature that “appears” may be the old dictionary describing new computation. If the validity section warns, treat gained and lost features as candidates to test with the validator, not as findings. Measure reconstruction error with circuitcheck.tracer.reconstruction_error(model, prompts) on both models and pass it as fvu_before / fvu_after.

Settings

int
default:"6"
Graphs, per side, a feature must appear in to count as present. With fewer graphs on a side, that number is used.
int
default:"2"
At most this many graphs on the other side for a feature to be gained or lost.
int
default:"10"
Features reported as the top change.
float
default:"0.05"
Threshold on the Benjamini-Hochberg adjusted p-value for up and down.
int
default:"2000"
Random swaps when there are too many prompt pairs to enumerate all 2^n swaps.
float
default:"0.25"
A feature is specific if its change in the control run is below this share of its change.
With n prompt pairs the smallest possible p-value is about 2 / 2^n: 0.012 with 8 pairs. Single features rarely stand out on their own. The whole-graph test, the split-half check and the control contrast carry more weight.

What it found on the RL hack

On the RL-hack study’s graphs, the diff picks the same ten features as the study, in the same order. Further checks:
  • 9 of the 10 change only in the run that hacked; 6 come back in another seed.
  • The total change is three times what random swaps give (p = 0.012).
  • Two halves of the prompts agree on 70% of the top ten; chance is 0.2%.
  • Reconstruction error is unchanged by RL (FVU 0.500 vs 0.499), so the base-model transcoders are a fair lens here.