Automated Circuit Interpretation via Probe Prompting

Giuseppe Birardi
11/10/2025
cs.CL

Official code: peppinob-ol/attribution-graph-probing (5 stars, GPL-3.0, last commit 2026-04-24).

Abstract

Mechanistic interpretability aims to understand neural networks by identifying which learned features mediate specific behaviors. Attribution graphs reveal these feature pathways, but interpreting them requires extensive manual analysis -- a single prompt can take approximately 2 hours for an experienced circuit tracer. We present probe prompting, an automated pipeline that transforms attribution graphs into compact, interpretable subgraphs built from concept-aligned supernodes. Starting from a seed prompt and target logit, we select high-influence features, generate concept-targeted yet context-varying probes, and group features by cross-prompt activation signatures into Semantic, Relationship, and Say-X categories using transparent decision rules. Across five prompts including classic "capitals" circuits, probe-prompted subgraphs preserve high explanatory coverage while compressing complexity (Completeness 0.83, mean across circuits; Replacement 0.54). Compared to geometric clustering baselines, concept-aligned groups exhibit higher behavioral coherence: 2.3x higher peak-token consistency (0.425 vs 0.183) and 5.8x higher activation-pattern similarity (0.762 vs 0.130), despite lower geometric compactness. Entity-swap tests reveal a layerwise hierarchy: early-layer features transfer robustly (64% transfer rate, mean layer 6.3), while late-layer Say-X features specialize for output promotion (mean layer 16.4), supporting a backbone-and-specialization view of transformer computation. We release code (https://github.com/peppinob-ol/attribution-graph-probing), an interactive demo (https://huggingface.co/spaces/Peppinob/attribution-graph-probing), and minimal artifacts enabling immediate reproduction and community adoption.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Automates attribution-graph analysis via probe prompting: circuit-trace a prompt, auto-generate concept probes, profile feature activations, cluster supernodes.

50TeX, ShellAug 30, 20255 months agoGPL-3.0
attribution-graphscircuit-tracingcross-layer-transcoderfeature-activationgraph-analysis+8 more

Similar Papers

Cite this paper

@article{birardi2025automated,
  title  = {Automated Circuit Interpretation via Probe Prompting},
  author = {Giuseppe Birardi},
  year   = {2025},
  eprint = {2511.07002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.07002v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.07002.svg)](https://codeofpaper.com/paper/2511.07002)

Discussion