mlsanityData to 24 Nov 2026

Beyond Patching: Consistent Circuit Discovery via Gradient Spectral Analysis

arXiv 2611.30939 ↗Submitted 23 Nov 2026Announced 24 Nov 2026cs.LG cs.AIcited by 0

On the map: Mechanistic interpretability → Circuits and mechanistic analysis

Abstract (arXiv)

Mechanistic interpretability seeks to reverse-engineer neural networks by identifying small, faithful subgraphs--circuits--that implement specific behaviors. The dominant paradigm scores each unit by replacing its clean activation with a corrupted counterpart as causal intervention. While effective, this approach rests on a brittle prerequisite: the structure prompt pairs are task-specific, expensive to engineer, and silently couple the discovered circuit to prompt-design choices. In this work, we propose Spectral Circuit Analysis (SCA), a gradient-spectral pipeline that achieves consistent circuit discovery along both axes: stable across input formulations of the same task, and natively exposing structure shared across tasks. Our contributions are threefold. First, we provide a counterfactual-free reframing of circuit discovery: causally relevant directions are recoverable from the spectral structure of forward gradients across paraphrases, with leading directions concentrating task signal and trailing ones absorbing paraphrase noise, yielding circuits tied to the task rather than the prompt. Second, we introduce SCA, a block-wise SVD pipeline that extracts a task subspace per architectural block and redistributes spectral energy onto constituent units via a consistency-weighted share, producing per-unit rankings competitive with attribution-patching baselines under strictly less supervision. Finally, on twelve circuit-discovery tasks in GPT-2 Small and Pythia-160M, SCA performs comparably or exceeds EAP-family methods under the standard recovery-score protocol and recovers IOI canonical heads with Precision@K = 1.0 in top-10 slices on GPT-2 Small; the same machinery extends to a unified cross-task analysis classifying units as universal, family-shared, or task-specific and exposing compositional structure invisible to per-task analyses.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 38 of its 48 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.

Builds on

38 of 48 references.

Closest ancestors · 10

Same direction, newest first

  1. 2025Beyond Components: Singular Vector-Based Interpretability of Transformer Circuits25 Nov
  2. 2025Position-aware Automatic Circuit Discovery7 Feb
  3. 2024Adaptive Circuit Behavior and Generalization in Mechanistic Interpretability25 Nov
  4. 2024Efficient Automated Circuit Discovery in Transformers using Contextual Decomposition1 Jul
  5. 2024Universal Neurons in GPT2 Language Models22 Jan
  6. 2023Attribution Patching Outperforms Automated Circuit Discovery16 Oct
  7. 2023Circuit Component Reuse Across Tasks in Transformer Language Models12 Oct
  8. 2023Towards Automated Circuit Discovery for Mechanistic Interpretability28 Apr
  9. 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operations6 Feb
  10. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small1 Nov

Other references · 28

  1. 2017Attention Is All You Needcited by 62,125
  2. 2017Axiomatic Attribution for Deep Networkscited by 3,508
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  4. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 2,083
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,891
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
  7. 2022Mass-Editing Memory in a Transformercited by 1,110
  8. 2022In-context Learning and Induction Headscited by 1,085
  9. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 958
  10. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
  11. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 794
  12. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 677
16 more
  1. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 597
  2. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 578
  3. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 491
  4. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
  5. 2023Function Vectors in Large Language Modelscited by 353
  6. 2024How to use and interpret activation patchingcited by 252
  7. 2018Targeted Syntactic Evaluation of Language Modelscited by 251
  8. 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 235
  9. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 217
  10. 2023Linearity of Relation Decoding in Transformer Language Modelscited by 215
  11. 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 172
  12. 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 143
  13. 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 103
  14. 2024Finding Transformer Circuits with Edge Pruningcited by 64
  15. 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 45
  16. 2025Understanding In-context Learning of Addition via Activation Subspacescited by 11

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
  2. 2024The Computational Complexity of Circuit Discovery for Inner Interpretability
  3. 2026Certified Circuits: Stability Guarantees for Mechanistic Circuits
  4. 2024Automatically Identifying Local and Global Circuits with Linear Computation Graphs
  5. 2026Many Circuits, One Mechanism: Input Variation and Evaluation Granularity in Circuit Discovery
  6. 2026Data-driven Circuit Discovery for Interpretability of Language Models
  7. 2025Discovering Transformer Circuits via a Hybrid Attribution and Pruning Framework
  8. 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approach