Correcting Gradient-Based Circuit Localization via Interaction-Aware Backpropagation
Not on the map. Why?
Abstract (arXiv)
Circuit localization methods aim to identify the subset of model components responsible for specific behaviors in large language models, enabling detailed mechanistic analysis. Most existing methods assume components act independently and estimate importance by perturbing each component in isolation. However, components in neural networks interact, and ignoring these interactions leads to systematic misestimation of component importance. We find that one particularly problematic interaction is attention self-repair, in which softmax redistribution causes gradients for influential attention scores to vanish as other positions with similar values compensate. We introduce Gradient Interaction Modifications (GIM), a technique that explicitly accounts for feature interactions during backpropagation. GIM achieves state-of-the-art performance on the circuit localization track of the Mechanistic Interpretability Benchmark and outperforms existing gradient-based methods on feature attribution across diverse tasks. By accounting for interaction effects and explaining why prior methods underestimate component importance, GIM enables more faithful mechanistic analysis of large language models. GIM is available as a Python package at https://github.com/corticph/gim.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 29 of its 34 references that are in the map. First posted on arXiv 23 May 2025.
Builds on
29 of 34 references.
References · 29
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
17 more
- 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 156
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 149
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 120
- 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 111
- 2020Explaining Explanations: Axiomatic Feature Interactions for Deep Networkscited by 103
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 95
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 89
- 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 76
- 2020How does this interaction affect me? Interpretable attribution for feature interactionscited by 73
- 2025MIB: A Mechanistic Interpretability Benchmarkcited by 56
- 2025Do Language Models Use Their Depth Efficiently?cited by 50
- 2024Explorations of Self-Repair in Language Modelscited by 39
- 2024Answer, Assemble, Ace: Understanding How LMs Answer Multiple Choice Questionscited by 35
- 2024Optimal ablation for interpretabilitycited by 25
- 2024Normalized AOPC: Fixing Misleading Faithfulness Metrics for Feature Attribution Explainabilitycited by 10
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysiscited by 15
- 2026Conditional Co-Ablation: Recovering Self-Repair Backups in Transformer Circuitscited by 9
- 2026PyHealth 2.0: A Comprehensive Open-Source Toolkit for Accessible and Reproducible Clinical Deep Learningcited by 2
- 2026Matryoshka attribution: Learning to attribute language model outputs to representations and weightscited by 1
- 2026A Practical Guide Towards Interpreting Time-Series Deep Clinical Predictive Models: A Reproducibility Studycited by 0
- 2026Matryoshka attribution: Learning to attribute language model outputs to representations and weights22 Sep 2026
- 2026Conditional Co-Ablation: Recovering Self-Repair Backups in Transformer Circuits2 Jul 2026
- 2026A Practical Guide Towards Interpreting Time-Series Deep Clinical Predictive Models: A Reproducibility Study25 Mar 2026
- 2026PyHealth 2.0: A Comprehensive Open-Source Toolkit for Accessible and Reproducible Clinical Deep Learning23 Jan 2026
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysis1 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Slaying the Hydra: Interaction-Aware Circuit Discovery in Language Models
- 2026Architecture, Not Scale: Circuit Localization in Large Language Models
- 2025Attribution-Guided Pruning for Insight and Control: Circuit Discovery and Targeted Correction in Small-scale LLMs
- 2026Navigating by Old Maps: The Pitfalls of Static Mechanistic Localization in LLM Post-Training
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- 2026Finding Interpretable Prompt-Specific Circuits in Language Models
- 2025Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers
- 2025RelP: Faithful and Efficient Circuit Discovery in Language Models via Relevance Patching