English

Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models

Machine Learning 2025-03-28 v3 Artificial Intelligence Computation and Language

Abstract

We introduce methods for discovering and applying sparse feature circuits. These are causally implicated subnetworks of human-interpretable features for explaining language model behaviors. Circuits identified in prior work consist of polysemantic and difficult-to-interpret units like attention heads or neurons, rendering them unsuitable for many downstream applications. In contrast, sparse feature circuits enable detailed understanding of unanticipated mechanisms. Because they are based on fine-grained units, sparse feature circuits are useful for downstream tasks: We introduce SHIFT, where we improve the generalization of a classifier by ablating features that a human judges to be task-irrelevant. Finally, we demonstrate an entirely unsupervised and scalable interpretability pipeline by discovering thousands of sparse feature circuits for automatically discovered model behaviors.

Keywords

Cite

@article{arxiv.2403.19647,
  title  = {Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models},
  author = {Samuel Marks and Can Rager and Eric J. Michaud and Yonatan Belinkov and David Bau and Aaron Mueller},
  journal= {arXiv preprint arXiv:2403.19647},
  year   = {2025}
}

Comments

Code and data at https://github.com/saprmarks/feature-circuits. Demonstration at https://feature-circuits.xyz

R2 v1 2026-06-28T15:37:28.645Z