Skip to content
Last Dictionary

sparse feature circuit

nounAlso: sparse feature circuits, feature circuit, SHIFT

In plain wordsA map of how a language model performs a task, drawn in terms of understandable concepts found by concept-finding tools, rather than hard-to-read neurons or whole layers.

  1. A circuitcircuit, n.: A small, identifiable piece of wiring inside a neural network — a few internal parts and the connections between them — that together carry out one specific job, such as spotting curves or copying a name. whose nodes are interpretable sparse autoencodersparse autoencoder, n.: A small add-on network trained to break an AI model's tangled internal signals into a much larger set of simpler pieces, most of which can be labeled with an understandable concept. features, plus error terms, rather than neurons, attention heads or whole layers, discovered by estimating each feature's and each connection's causal effect on a task metric. Samuel Marks and colleagues computed these effects with linear approximations to activation patchingactivation patching, n.: An experiment that copies part of a model's internal state from its run on one input into its run on another, to see which internal parts actually cause a change in the answer. — attribution patchingattribution patching, n.: A fast shortcut that estimates the results of thousands of patching experiments at once, using the slope of the model's output instead of rerunning the model for every part. and an integrated-gradients variant — over SAEs trained on every layer of the model, keeping the nodes and edges whose effects exceed a threshold. Because the nodes are human-interpretable, such circuits can be inspected and edited directly. The authors introduced SHIFT (Sparse Human-Interpretable Feature Trimming): a human reviews a classifier's circuit, judges which features are irrelevant to the intended task — for example, gender-related features in a profession classifier — and ablates them, improving generalization without data that separates the two signals. Sparse feature circuits were a precursor of attribution graphsattribution graph, n.: A diagram showing which internal concepts led an AI model to a particular answer, with arrows showing how strongly each concept pushed the next., which use transcoderstranscoder, n.: A stand-in for one part of an AI model that does the same job using a large set of simple, understandable pieces, so researchers can see what that part computes. instead of SAEs to obtain cleaner connections between features.

    The sparse feature circuit showed the classifier leaning on pronoun features, so we ablated them.

Origin

Introduced by Samuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov, David Bau and Aaron Mueller in 'Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models' (arXiv, March 2024; ICLR 2025).

Related

See also
  • circuitcircuit, n.: A small, identifiable piece of wiring inside a neural network — a few internal parts and the connections between them — that together carry out one specific job, such as spotting curves or copying a name.
  • sparse autoencodersparse autoencoder, n.: A small add-on network trained to break an AI model's tangled internal signals into a much larger set of simpler pieces, most of which can be labeled with an understandable concept.
  • attribution patchingattribution patching, n.: A fast shortcut that estimates the results of thousands of patching experiments at once, using the slope of the model's output instead of rerunning the model for every part.
  • attribution graphattribution graph, n.: A diagram showing which internal concepts led an AI model to a particular answer, with arrows showing how strongly each concept pushed the next.
  • automated circuit discoveryautomated circuit discovery, n.: Software methods that search a neural network automatically for the small set of internal connections responsible for a chosen behavior, instead of a researcher hunting for them by hand.
  • concept erasureconcept erasure, n.: Removing a specific idea — such as a person's gender, or an artist's style — from what an AI model can represent or produce, so the model can no longer use or show it.

Sources

  1. Marks, S., Rager, C., Michaud, E. J., Belinkov, Y., Bau, D. & Mueller, A. (2024). Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models. arXiv preprint; ICLR 2025.