Welcome back. The previous lesson built matched examples that change a suspected shortcut cue while keeping the correct answer fixed. Now you need to decide what to measure. A successful intervention should reduce the model’s dependence on the cue without making it worse at the task. This lesson develops one target-behavior metric and one off-target performance metric for that experiment, then shows how to interpret them together. Allow about 35–40 minutes, including the resources.
Measure the behavior the claim predicts
Suppose the task is to classify the sentiment expressed in a sentence, and the proposed shortcut is its destination name. In a matched pair, the sentiment evidence stays fixed while the destination changes:
“The trip to Chicago was pleasant and comfortable.”
“The trip to Dallas was pleasant and comfortable.”
If an internal intervention reduces reliance on the destination, the model’s response to that swap should become more similar. But similar needs an operational definition. Hard predictions are a poor first choice: a model can become much less confident in “positive” without changing its predicted label.
A short lecture segment frames the broader measurement problem for steering experiments:
Causal Mechanistic Interpretability (Stanford lecture 1) - Atticus Geiger
Watch “Causal Mechanistic Interpretability (Stanford lecture 1),” presented by Atticus Geiger on the Goodfire channel, for its separation of the intended steering effect from output quality.
At steering evaluation, note the three dimensions assessed separately: intended directional effect, coherent output, and adherence to the original prompt. The combined score is useful for comparison, but the separate dimensions reveal why an intervention succeeds or fails.
For a two-label classifier, a useful continuous quantity is the gold-label margin. If is the logit for the correct label and is the logit for the alternative label, define
A positive margin favors the correct label; a negative margin favors the wrong one. Compute it at the same output position and under the same prompting or classification protocol for every example. For a language model, this simple definition assumes the labels can be compared as individual candidate tokens. If answers require multiple tokens, specify a sequence-scoring procedure instead of comparing just their first tokens.
Read the following brief metric comparison before choosing what to compute across pairs:
Activation Patching and Causal Interventions | Learn Mechanistic Interpretability
Read “Activation Patching and Causal Interventions” from Learn Mechanistic Interpretability for its explanation of why researchers often measure a difference between candidate-answer logits rather than probability or accuracy.
In the opening activation-patching discussion, find the bolded “Choosing a metric” passage, just before “Noising vs. Denoising.” Read from the sentence about how interpretable a clean contrast is through the comparison with accuracy: metric comparison. Focus on which changes a discrete accuracy measure would conceal.
Logit difference is continuous and avoids the softmax probability’s dependence on every competing token. At a fixed output position, it also equals the log of the probability ratio between the two candidates:
The difference is linear in the logits. That does not mean it is linear in an arbitrary earlier activation: later layers can transform that activation nonlinearly.
Choose a paired target metric
For matched pair , let and contain the two cue values but share a gold label. Measure how much the cue swap changes the gold-label margin:
Choose as the target-behavior metric for this shortcut experiment. Smaller values mean less measured sensitivity to the cue on these pairs. Use both positive and negative gold labels, several sentence templates, and multiple cue values. Taking an absolute value per pair matters: otherwise a cue that raises the margin in some contexts and lowers it in others could misleadingly average to zero.
Compare the original and intervened models on the same held-out pairs. An intervention has improved this target metric when its is lower. This is deliberately narrower than saying it “removed the shortcut”: it measures output sensitivity to specified edits, not every possible way the model might use a destination.
The supplied comparison chart captures why metric choice is a trade-off rather than a search for a universally safe number.

The chart’s warning applies to too. A model that always emits the same answer—or produces unrelated text for every input—could have a cue gap of zero. Cue invariance alone is not task competence.
Protect performance outside the targeted comparison
Choose an off-target performance metric on inputs that were not selected for their destination swap. For this classifier, use accuracy on a held-out, balanced set of clearly positive and clearly negative sentences, with varied wording and destinations:
Keep the evaluation set and decision rule fixed across the original and intervened models. Balance matters: a model that says “positive” every time should not look competent merely because most evaluation examples are positive. Include sentences where changing the sentiment evidence changes the correct answer; that checks that the model remains responsive to information it is supposed to use.
A steering study provides a larger-scale version of this distinction:
Interpretable Steering of Large Language Models with Feature Guided Activation Additions
Read the paper’s evaluation of general capabilities to see how target steering results are checked against performance elsewhere.
Go to Section 4.2, “Effects of Steering on General Model Capabilities.” Read from its opening description of perplexity and knowledge benchmarks through the paragraph concluding that stronger steering increasingly costs general performance: capability evaluation. Focus on why reporting steering success alone would conceal the degradation at stronger intervention scales.
Perplexity and broad benchmarks are appropriate checks for some general-purpose language-model interventions. They are not automatically the best off-target measures for this sentiment experiment. A balanced, held-out sentiment set tests the specific competence your intervention must preserve. If the intervention also affects open-ended generation, coherent and prompt-following completions would warrant separate checks, as the lecture illustrates.
Consider three hypothetical results for a positive matched pair. The off-target figures summarize a much larger, balanced evaluation set:
| Model | Pair’s gold-label margins | Cue gap for this pair | Off-target accuracy |
|---|---|---|---|
| Original | 94% | ||
| Intervention A | 93% | ||
| Intervention B | 50% |
Intervention A reduces the cue gap while largely preserving task performance. Whether a one-percentage-point accuracy loss is acceptable depends on a criterion set before examining results. Intervention B achieves perfect invariance for this pair by confidently favoring the wrong label on both inputs; its off-target result reinforces that it is not a useful improvement.
Also report accuracy on the matched pairs themselves as a diagnostic. Off-target accuracy protects broader performance, but it cannot rule out an intervention that breaks precisely the examples used to calculate . Conversely, matched-pair accuracy alone cannot rule out damage elsewhere.
Record the measurement contract
Before testing an intervention, write down the contract that will determine what counts as success:
- Target: the average absolute change in gold-label logit margin under each audited, label-preserving cue swap, . Lower is better, provided the paired examples remain correctly handled.
- Off-target: accuracy on a separate, balanced set of ordinary sentiment examples. Specify an acceptable performance drop in advance.
- Reporting: show both metrics for the original and intervened models, plus matched-pair accuracy and results by gold label. Do not replace these with a single combined score.
This contract distinguishes three claims that can otherwise blur together: “the intervention changes a logit,” “the model is less sensitive to the nominated cue,” and “the model performs the task without unacceptable collateral damage.” The first does not establish the second, and the second does not establish the third.
Conclusion
For a label-preserving shortcut test, a paired margin gap captures gradual changes in cue sensitivity that accuracy may miss. A separate off-target accuracy measure checks whether apparent invariance came from degrading the model. Neither number stands alone: inspect correctness on the matched pairs and report target and off-target results separately.
The next module turns to probing. Its first lesson asks what information can be read from cached activations; the behavioral metrics established here will help keep “readable information” distinct from a model behavior you have actually shown to change.