Hypothesis Testing the Circuit Hypothesis in LLMs
Claudia Shi, Nicolas Beltran-Velez, Achille Nazaret, Carolina Zheng, Adrià Garriga-Alonso, Andrew Jesson, Maggie Makar, David M. Blei
Abstract
Large language models (LLMs) demonstrate surprising capabilities, but we do not understand how they are implemented. One hypothesis suggests that these capabilities are primarily executed by small subnetworks within the LLM, known as circuits. But how can we evaluate this hypothesis? In this paper, we formalize a set of criteria that a circuit is hypothesized to meet and develop a suite of hypothesis tests to evaluate how well circuits satisfy them. The criteria focus on the extent to which the LLM's behavior is preserved, the degree of localization of this behavior, and whether the circuit is minimal. We apply these tests to six circuits described in the research literature. We find that synthetic circuits -- circuits that are hard-coded in the model -- align with the idealized properties. Circuits discovered in Transformer models satisfy the criteria to varying degrees. To facilitate future empirical studies of circuits, we created the circuitry package, a wrapper around the TransformerLens library, which abstracts away lower-level manipulations of hooks and activations. The software is available at https://github.com/blei-lab/circuitry.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Automated Circuit Discovery for Mechanistic Interpretability cites Causal Abstractions of Neural Networks
- Towards Automated Circuit Discovery for Mechanistic Interpretability cites Compositional Explanations of Neurons
- Circuit Stability Characterizes Language Model Generalization cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Circuit Stability Characterizes Language Model Generalization cites Causal Abstractions of Neural Networks
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- Mechanistic Interpretability as Statistical Estimation: A Variance Analysis cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Mechanistic Interpretability as Statistical Estimation: A Variance Analysis cites Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity
- Mechanistic Interpretability as Statistical Estimation: A Variance Analysis cites Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- Mechanistic Interpretability as Statistical Estimation: A Variance Analysis cites Causal Abstractions of Neural Networks
- Addressing divergent representations from causal interventions on neural networks cites Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- Addressing divergent representations from causal interventions on neural networks cites Causal Abstractions of Neural Networks
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity cites Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity cites Causal Abstractions of Neural Networks
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods cites Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods cites Causal Abstractions of Neural Networks
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods cites Compositional Explanations of Neurons
Cited by top-tier papers13
- Mechanistic Interpretability as Statistical Estimation: A Variance AnalysisMaxime Méloux, François Portet, Maxime PeyrardICML 2026 · 13 citations
- Sheaf Discovery with Joint Computation Graph Pruning and Flexible GranularityLei Yu, Jingcheng Niu, Zining Zhu, Xi Chen et al.EMNLP 2025 · 11 citations
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable GuaranteesItamar Hadad, Guy Katz, Shahaf BassanICLR 2026 · 10 citations
- Addressing divergent representations from causal interventions on neural networksSatchel Grant, Simon Jerome Han, Alexa R. Tartaglini, Christopher PottsICLR 2026 · 7 citations
- Circuit Stability Characterizes Language Model GeneralizationAlan SunACL 2025 · 4 citations
Builds on12
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim et al.NeurIPS 2023 · 861 citations
- Causal Abstractions of Neural NetworksAtticus Geiger, Hanson Lu, Thomas Icard, Christopher PottsNeurIPS 2021 · 516 citations
- Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language ModelsPeter Hase, Mohit Bansal, Been Kim, Asma GhandehariounNeurIPS 2023 · 307 citations
- Towards Best Practices of Activation Patching in Language Models: Metrics and MethodsFred Zhang, Neel NandaICLR 2024 · 233 citations
- Compositional Explanations of NeuronsJesse Mu, Jacob AndreasNeurIPS 2020 · 229 citations
Related papers
- Circuit Compositions: Exploring Modular Structures in Transformer-Based Language ModelsPhilipp Mondorf, Sondre Wold, Barbara PlankACL 2025 · 5 citations
- Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language ModelsMichael Lan, Philip Torr, Fazl BarezEMNLP 2024 · 1 citation
- Knowledge Circuits in Pretrained TransformersYunzhi Yao, Ningyu Zhang, Zekun Xi, Mengru Wang et al.NeurIPS 2024 · 71 citations
- Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language ModelsSamuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov et al.ICLR 2025
- Skill Path: Unveiling Language Skills from Circuit GraphsHang Chen, Xinyu Yang, Jiaying Zhu, Wenya WangAAAI 2026
