Patch-Effect Graph Kernels for LLM Interpretability
On the map: Mechanistic interpretability → Circuits and mechanistic analysis
Abstract (arXiv)
Mechanistic interpretability aims to reverse-engineer transformer computations by identifying causal circuits through activation patching. However, scaling these interventions across diverse prompts and task families produces high-dimensional, unstructured datasets that are difficult to compare systematically. We propose a framework that reframes mechanistic analysis as a graph machine-learning problem by representing activation-patching profiles as patch-effect graphs over model components. We introduce three graph-construction methods: direct-influence via causal mediation, partial-correlation, and co-influence and apply graph kernels to analyze the resulting structures. Evaluating this approach on GPT-2 Small using Indirect Object Identification (IOI) and related tasks, we find that patch-effect graphs preserve discriminative structural signals. Specifically, localized edge-slot features provide higher classification accuracy than global graph-shape descriptors. A screened paired-patching validation suggests that CI and PC selected candidate edges correspond to stronger activation-influence effects than random or low-rank candidates. Crucially, by evaluating these representations against rigorous prompt-only and raw patch-effect controls, we make the evidential scope of the benchmark explicit: graph features compress structured patching signal, while raw tensors and surface cues define strong baselines that any circuit-level claim should address. Ultimately, our framework provides a compression and evaluation pipeline for comparing patching-derived structures under controlled baselines, separating robust slice-discriminative evidence from stronger task-general causal-circuit claims.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 7 of its 16 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
7 of 16 references.
Closest ancestors · 2
Same direction, newest first
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretability28 Apr
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small1 Nov
Other references · 5
- 2017Attention Is All You Needcited by 60,361
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
- 2023Localizing Model Behavior with Path Patchingcited by 195
- 2019A Survey on Graph Kernelscited by 148
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Causally Grounded Mechanistic Interpretability for LLMs with Faithful Natural-Language Explanations
- 2023Attribution Patching Outperforms Automated Circuit Discovery
- 2026Mechanistic Interpretability for Neural Networks: Circuits, Sparse Features and Symbolic Reasoning
- 2026Belief or Circuitry? Causal Evidence for In-Context Graph Learning
- 2025Mechanistic Interpretability as Statistical Estimation: A Variance Analysis
- 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Units
- 2025Concept-Based Mechanistic Interpretability Using Structured Knowledge Graphs
- 2026From Token Lists to Graph Motifs: Weisfeiler-Lehman Analysis of Sparse Autoencoder Features