Jargonautica
Testing, Safeguarding and Running Models in Practice

Circuit

A mechanism inside a model that spans several components and performs an identifiable job, such as tracking which name was mentioned earlier so it can be repeated later. Finding these is the closest thing to reading a model’s source code.

Technical view

A subgraph of components, typically attention heads and feed-forward layers, whose interaction implements a specific behaviour, identified by activation patching and path analysis and validated by ablation. Documented examples include induction heads, which copy patterns seen earlier and are strongly associated with in-context learning, and indirect object identification. Circuit analysis scales poorly to full models, which is why automated circuit discovery is an active area.


Part of AI Terminology Index, section: Testing, Safeguarding and Running Models in Practice.

How it connects

Circuit links to 7 other terms. The faint lines are links between those terms. See it in the full graph.

InterpretabilityInterpretabilityAttentionAttentionFeature (Interpretability Sense)Feature (Interpreta…Induction HeadInduction HeadFeed-forward NetworkFeed-forward NetworkActivation PatchingActivation PatchingResidual ConnectionResidual ConnectionCircuit