Lune

NeurIPS2024顶会

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Towards Automated Circuit Discovery for Mechanistic Interpretability 引用了 Causal Abstractions of Neural Networks
  • Towards Automated Circuit Discovery for Mechanistic Interpretability 引用了 Compositional Explanations of Neurons
  • Circuit Stability Characterizes Language Model Generalization 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Circuit Stability Characterizes Language Model Generalization 引用了 Causal Abstractions of Neural Networks
  • Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees 引用了 Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  • Mechanistic Interpretability as Statistical Estimation: A Variance Analysis 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Mechanistic Interpretability as Statistical Estimation: A Variance Analysis 引用了 Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity
  • Mechanistic Interpretability as Statistical Estimation: A Variance Analysis 引用了 Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  • Mechanistic Interpretability as Statistical Estimation: A Variance Analysis 引用了 Causal Abstractions of Neural Networks
  • Addressing divergent representations from causal interventions on neural networks 引用了 Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  • Addressing divergent representations from causal interventions on neural networks 引用了 Causal Abstractions of Neural Networks
  • Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity 引用了 Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  • Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity 引用了 Causal Abstractions of Neural Networks
  • Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 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 引用了 Causal Abstractions of Neural Networks
  • Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Compositional Explanations of Neurons
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Mechanistic Interpretability as Statistical Estimation: A Variance AnalysisMaxime Méloux, François Portet, Maxime PeyrardICML 2026 · 13 次引用
  2. Sheaf Discovery with Joint Computation Graph Pruning and Flexible GranularityLei Yu, Jingcheng Niu, Zining Zhu, Xi Chen 等EMNLP 2025 · 11 次引用
  3. Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable GuaranteesItamar Hadad, Guy Katz, Shahaf BassanICLR 2026 · 10 次引用
  4. Addressing divergent representations from causal interventions on neural networksSatchel Grant, Simon Jerome Han, Alexa R. Tartaglini, Christopher PottsICLR 2026 · 7 次引用
  5. Circuit Stability Characterizes Language Model GeneralizationAlan SunACL 2025 · 4 次引用

它引用的 Paper12

  1. Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim 等NeurIPS 2023 · 861 次引用
  2. Causal Abstractions of Neural NetworksAtticus Geiger, Hanson Lu, Thomas Icard, Christopher PottsNeurIPS 2021 · 516 次引用
  3. 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 次引用
  4. Towards Best Practices of Activation Patching in Language Models: Metrics and MethodsFred Zhang, Neel NandaICLR 2024 · 233 次引用
  5. Compositional Explanations of NeuronsJesse Mu, Jacob AndreasNeurIPS 2020 · 229 次引用

相关 Paper

  1. Circuit Compositions: Exploring Modular Structures in Transformer-Based Language ModelsPhilipp Mondorf, Sondre Wold, Barbara PlankACL 2025 · 5 次引用
  2. Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language ModelsMichael Lan, Philip Torr, Fazl BarezEMNLP 2024 · 1 次引用
  3. Knowledge Circuits in Pretrained TransformersYunzhi Yao, Ningyu Zhang, Zekun Xi, Mengru Wang 等NeurIPS 2024 · 71 次引用
  4. Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language ModelsSamuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov 等ICLR 2025
  5. Skill Path: Unveiling Language Skills from Circuit GraphsHang Chen, Xinyu Yang, Jiaying Zhu, Wenya WangAAAI 2026
黄昏的海面,两侧是细线勾勒的悬崖