From a pattern to a mechanism #
Suppose a model tends to finish a sentence with the name of the person receiving an object. A researcher notices that one attention head often attends to that person’s earlier name. This observation suggests a possible route by which information reaches the prediction. Several other heads could carry the same information, however, and a signal that tracks the answer might have little influence on the final output.
A stronger claim identifies which information passes through a component and how later computations use it. Researchers can compare a pair of closely matched prompts, record an internal value in each run and substitute one value for the other. A predicted change in the output gives evidence that the substituted information mattered under those conditions. The choice of comparison prompt and the size of the change are part of the evidence.
An investigation of name prediction #
Kevin Wang and colleagues investigated indirect object identification in GPT-2 small. In sentences with two names, the task requires predicting which participant received something after the other participant was mentioned again. They identified a circuit involving 26 attention heads organized into seven functional classes. Their experiments evaluated whether selected components reproduced the behavior and whether omitting proposed components weakened the explanation. Arthur Conmy and colleagues later investigated automating parts of circuit discovery by pruning connections while measuring the consequences. Both approaches require researchers to specify the behavior they want the proposed circuit to explain.
Why the intervention matters #
Researchers sometimes remove a component by setting its output to zero. Another option replaces it with a value taken from a different example. These operations can put the rest of the network in different conditions. Joseph Miller and colleagues found that choices in ablation methodology could substantially change numerical estimates of circuit faithfulness. A report that only gives a score obscures which task its proposed circuit was asked to perform.
Limits of a local explanation #
A circuit found using short, carefully controlled sentences may behave differently with unfamiliar names, conflicting cues or longer passages. A useful follow-up tests cases on which competing accounts make different predictions. One explanation might say that the model copies a receiver’s name, while another predicts that it copies whichever name was mentioned least recently. Constructing sentences where those rules diverge gives the original claim a more demanding test. Extending a local result to a claim about a whole model’s reliability requires evidence from many more behaviors and contexts.
When a feature spans many coordinates #
Interpreting a single neuron becomes difficult when the same coordinate contributes to several features. In controlled toy models, Elhage and colleagues trained networks on inputs with known underlying features. When only a few features were active at once, the networks could represent more features than the number of available dimensions. Different feature directions then interfered to some extent. The researchers could inspect the geometry because they knew what generated each input.
Picture three marks on a two-dimensional compass, each pointing in a different direction. When only one mark is present, its direction may identify it quite well. Adding two marked vectors can create a result close to the third direction. This example explains why the frequency of features occurring together matters to a proposed representation. It also suggests a direct test: compare a feature detector’s behavior on isolated cases and on pairs. A successful explanation for a small synthetic network supplies a hypothesis to investigate in larger models.
Sources
- Kevin Wang and colleagues · Interpretability in the Wild (2022 preprint) arxiv.org
- Arthur Conmy and colleagues · Towards Automated Circuit Discovery for Mechanistic Interpretability (2023) arxiv.org
- Joseph Miller and colleagues · Transformer Circuit Faithfulness Metrics Are Not Robust (2024) arxiv.org
- Nelson Elhage and colleagues · Toy Models of Superposition (2022) arxiv.org