The checks
1
Ablation
Set the group’s features to 0 at their positions. A feature the output needs moves the metric.
2
Steering
Multiply them by
steer_scale (3 by default). A feature that drives the output moves it again.3
Counterfactual patch (optional)
Give them the values they take on a prompt with a different answer. A switch moves the output toward that answer.
4
Controls
Repeat each intervention on
n_controls random feature sets (same layer and position where possible) and on
n_controls sets matched by write size (|activation| x decoder norm). An effect counts only if it beats both
kinds at p ≤ alpha.5
Explanation swap (optional)
Gao’s swap test: replace each feature with the value its explanation predicts, written as a small Python rule,
and measure how much of the feature’s effect survives.
Verdicts
On a real model
gpu
layer:feature@position:
gpu
Groups
By default the validator tests all given features together, then each alone. Passgroups= to test supernodes:
Parameters
Control sets per kind. The smallest possible p-value is 1 / (n + 1), so below 19 nothing can reach p ≤ 0.05. The
report notes it when that happens.
min_effect (0.2 of the scale), alpha (0.05), patch_min (0.3 of the gap), explained_min (0.8). The scale is
the clean-to-counterfactual gap, or the clean metric’s size without a counterfactual. Every rule is printed in the
report.Explanation rules for the swap test: Python source defining
predict(tokens, i) -> float, run in a restricted
namespace that rejects imports, dunder access and unknown names before running.Reproducing the circuits episodes
examples/modal/live_checks.py runs the validator with TracerBackend on the two organisms from steerlab’s circuits episodes:
- RL hack: the ten features the graph diff picks, at three comment slots.
- Password lock: the study’s ten claimed features, with the password prompt as the counterfactual.
examples/data/live/ and checked by tests/test_live_results.py.