Skip to content

Circuit Oracle: automated attribution-graph analysis via natural-language queriesCircuit Oracle: Automating Attribution Graph Analysis via Natural-Language Queries

arXiv: Interpretability· arXiv:2611.00420· Shariar Kabir, Hong Kiat Tan, Swastik Agrawal, Sai V R Chereddy, Sriram BalasubramanianUniversity of California, Los Angeles; The University of Maryland, College ParkIndexed by this site · 20 days ago· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

The authors propose Circuit Oracle: using an off-the-shelf LLM plus multi-agent tools to read attribution graphs and answer safety questions, reaching 78.2%±2.4 on probe spurious feature detection, with mixed results on the other two proxy tasks.

Questions
Attribution graphs can decompose model computation into sparse features with causal edges, but extracting safety-relevant conclusions from the graphs requires hours of manual expert analysis, and graph quality itself is hard to evaluate. The authors want to automate this analysis.
Methods
Circuit Oracle: an off-the-shelf frontier LLM equipped with a multi-agent harness and task-specific skills (system prompt plus graph traversal and task tools), which reads attribution graphs via tool calls, answers natural-language questions, and can intervene on transcoder features and rerun the target model to verify.
Experiments and results
Evaluated on three agent tasks: probe false-feature detection 78.2%±2.4, higher than the single-layer cosine baseline; taboo secret extraction closed mode 75.0%, higher than the projection baseline but lower than Activation Oracle's 86.7%; on 50 refusal prompts, single-submission intervention 0.804, slightly below the diff-in-mean baseline of 0.825.
Limitations and future work
The authors note: conclusions depend on random exploration, and the circuit features behind the same conclusion overlap only at Jaccard 0.511; whether traversal is critical depends on the task; secret elicitation falls short of the trained Activation Oracle. Target models are only three: Gemma-2-2B, Qwen-3-8b, Qwen3-4B.
Experimental setupGemma-2-2B、Qwen3-8B et al. · BiasInBios、CivilComments et al. · accuracy、spurious fraction et al.
Evaluated models
Gemma-2-2BQwen3-8BQwen3-4B
Benchmarks
BiasInBiosCivilCommentsMultiNLITaboo secret-elicitation task (Cywiński et al., 2025b)AdvBench
Metrics
accuracyspurious fractionclosed-mode accuracyopen-mode top-10 recallpooled overall judge score (usability, plausibility)
AI summaryResearchers propose Circuit Oracle, which uses an off-the-shelf LLM equipped with a multi-agent framework and task-specific skills to read attribution graphs via tool calls and answer natural-language questions about a target model, turning attribution-graph analysis in mechanistic interpretability from manual reading into automated question answering. The authors evaluate on three safety-related agent tasks: detecting false features in probe circuits, eliciting hidden knowledge from a taboo fine-tuned model, and suppressing jailbreaks via feature-level intervention. Results are mixed: false-feature detection accuracy is 78.2±2.4%, outperforming a single-layer feature-ranking baseline; on hidden-knowledge elicitation, trained self-explainers such as Activation Oracles remain a stronger baseline; in refusal suppression over 50 prompts, a single intervention is slightly below the diff-in-means baseline, and only exceeds it when allowed five attempts and taking the best. Results remain stable across five runs and different agent model choices, and the authors also release pruned subgraphs and context-dependent feature interpretations.

Researchers propose Circuit Oracle, which uses an off-the-shelf LLM equipped with a multi-agent framework and task-specific skills to read attribution graphs via tool calls and answer natural-language questions about a target model, turning attribution-graph analysis in mechanistic interpretability from manual reading into automated question answering. The authors evaluate on three safety-related agent tasks: detecting false features in probe circuits, eliciting hidden knowledge from a taboo fine-tuned model, and suppressing jailbreaks via feature-level intervention. Results are mixed: false-feature detection accuracy is 78.2±2.4%, outperforming a single-layer feature-ranking baseline; on hidden-knowledge elicitation, trained self-explainers such as Activation Oracles remain a stronger baseline; in refusal suppression over 50 prompts, a single intervention is slightly below the diff-in-means baseline, and only exceeds it when allowed five attempts and taking the best. Results remain stable across five runs and different agent model choices, and the authors also release pruned subgraphs and context-dependent feature interpretations.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Automates safety analysis of attribution graphs from hours of expert manual labor into an off-the-shelf LLM answering natural language questions via tool calls.

    Core problem: attribution graphs contain directed, weighted interpretable features, but extracting safety-relevant conclusions from them currently requires hours of expert manual analysis, and the quality of the attribution graphs themselves is hard to evaluate.

    • Setting and motivation: The authors state that attribution graphs in mechanistic interpretability use transcoders to decompose model computation into sparse features and causal edges, akin to a "trace" of the model's internal computation; but a graph for a short prompt already contains hundreds of active features and thousands of nonzero edges, making manual localization of spurious correlations, hidden secrets, or suppression mechanisms costly.
    • Shortcomings of existing methods: The authors state that most prior work (Mueller et al., 2025; Rai et al., 2025; Hanna et al., 2024) relies on faithfulness or intervention tests to evaluate whether a circuit reproduces the target behavior, rather than answering specific safety questions; faithfulness itself fluctuates with the ablation method (Miller et al., 2024), and automated explanation labels can be misleading (Anthropic, 2025a).
    • Core observation: The authors argue that attribution graphs are naturally suited to LLM reasoning—nodes have semantic labels given by dictionary learning, edges have quantitative weights from gradient attribution, and the graph has directionality from embeddings to logits—so there is no need to train a dedicated activation reader as with Activation Oracles.
    • Proposed in the paper: Circuit Oracle—an off-the-shelf frontier LLM plus a multi-agent harness and task-specific skills (system prompt + graph traversal tools + task tools, including feature intervention with re-running the target model for verification), evaluated on three safety agent tasks: probe spurious feature detection, secret elicitation from a taboo fine-tuned model, and jailbreak suppression via feature-level intervention.
    • Threat model: This paper is not an attack/defense paper and has no attacker setting; the jailbreak suppression in Section 6 is a proxy task for evaluating interpretability methods, the target model is the open-source Qwen3-4B, and prompts come from public benchmarks such as AdvBench; the authors state its value lies in auditing capability rather than jailbreaking itself (ethics statement).
  2. What related research exists?

    Related work falls into four groups: attribution graphs and circuit discovery, automated interpretability, agent task evaluation, activation steering; the authors position themselves as "query-based analysis of reading attribution graphs."

    Attribution graphs and circuit discovery

    • Anthropic (2025b;a) proposed the attribution graph framework, combining transcoders (Dunefsky et al., 2024) with reverse Jacobian attribution; this paper builds directly on that framework.
    • Automatic circuit discovery methods (Conmy et al., 2023; Hsu et al., 2024; Syed et al., 2024; Kramár et al., 2024) find minimal sufficient subgraphs via activation patching or edge pruning.
    • Marks et al. (2025a) proposed sparse feature circuits and demonstrated spurious feature detection, but identification still requires manually inspecting Neuronpedia; this paper aims to automate that identification.

    Automated interpretability (Table 1 of the paper organizes this by "read target × analysis mode")

    • Static description type: Bills et al. (2023) assign global labels to neurons; ADAG (Arora et al., 2026) writes descriptions for feature groups of attribution graphs.
    • Query-based type: Activation Oracles (Karvonen et al., 2025) train LoRA adapters on top of the target model's base to read injected activation vectors; Predictive Concept Decoders (Huang et al., 2025) train an encoder-decoder with a sparse concept bottleneck. The paper notes that both bind the analyzer to a specific target model architecture.

    Agent task evaluation

    • Cywiński et al. (2025a;b) proposed the secret elicitation task: the model is trained to hold a secret, and the goal is to extract the secret using interpretability methods; Section 5 of this paper directly adopts this task.
    • Marks et al. (2025b) and Taylor et al. (2025) proposed LLM auditing tasks, eliciting hidden motives or capabilities of specially trained models, building on the deception and sandbagging literature (Hubinger et al., 2024; van der Weij et al., 2024).

    Activation steering and jailbreak baselines

    • Intervention methods draw on activation steering and representation engineering (Zou et al., 2023a; Rimsky et al., 2024).
    • Baselines and benchmarks: spurious feature detection compares against SAE-cos and Trans-cos (cosine ranking, data from BiasInBios, CivilComments, MultiNLI); secret elicitation compares against SAE-proj, Trans-proj, and Activation Oracle (taboo task); jailbreak suppression compares against the diff-in-mean refusal direction of Arditi et al. (2024) (50 prompts, 40 from AdvBench).

    Author positioning: Circuit Oracle elevates query-based analysis from raw activations to precomputed attribution graphs, performed at inference time by an off-the-shelf frontier LLM with no additional training (bottom right of Table 1).

  3. How does the paper address this problem?

    An off-the-shelf LLM plus a multi-agent harness and task skills, using nine tools to traverse attribution graphs, perform cross-graph diffs or feature interventions, and output analyses and pruned subcircuits.

    Overall approach: rather than training a dedicated model, let an off-the-shelf frontier LLM read precomputed attribution graphs via tool calls, explore autonomously according to task skills, and answer natural language questions; the framework is named Circuit Oracle.

    Attribution graph basics (Section 3.1, Appendix B)

    • Graph G = (V, E, A): nodes are active transcoder features, residual error nodes, token embeddings, and output logits; edge weight Aij is the direct effect of node j on node i.
    • Direct effects are computed via a local replacement model: after freezing attention patterns, LayerNorm scaling, and feature activations, the transformer is linearized, and direct effects reduce to a single matrix multiplication (via the Jacobian chain rule).
    • In the probe task, the authors modified circuit-tracer's custom target function, using the probe score s = w⊤h̄ + b as the attribution target (injecting w/T in batches at resid mid of layer 23 and summing over positions, Appendix E.4).

    Framework and multi-agent harness (Section 3.2, Appendices C, D)

    • Components: target model M, replacement model M̂ (MLP replaced by transcoder) producing graph G; oracle A is a frontier LLM with task skill sA, input xA = (x, y, q), output natural language analysis yA and pruned circuit C = (S, VC, EC).
    • Implemented as a multi-agent system: the orchestrator dispatches subagents as needed, each subagent carries a starting feature, a natural language goal, and a hop budget, traces upstream hop by hop, checks feature semantics via Neuronpedia, and finally reports via report findings; the orchestrator aggregates into a circuit and analysis.
    • Nine tools (Table 5): core tools include get top logits, get top features, inspect feature, get upstream, trace path subagent, build circuit; the secret elicitation task swaps in two cross-graph diff tools (rank segment features, get candidate vote tally). Appendix C.1 gives the full prompt for the secret elicitation skill.

    Skill design for the three tasks

    • Spurious feature detection: each (task, prompt, probe) graph is analyzed independently, and the skill includes the dataset's suspected spurious cue as a concern; the expectation is that biased circuits are dominated by spurious features and unbiased circuits by core features.
    • Secret elicitation: because the taboo LoRA is adversarial toward its own outputs, path tracing and subagents are dropped in favor of segment-level diff against a "sibling graph" from the base model on the same prompt (formula score(ℓ,f) = mean_p max(diff(ℓ,p,f),0) · log(1/ρf) · log(1/(ρbase_f)+ε), i.e., positive diff mean with double IDF weighting), then stem-matching voting over a 20-word candidate list; the workflow is SCAN → MATCH → (optional) TIEBREAK → BUILD → ANSWER, with a tool-call budget of 3–8.
    • Jailbreak suppression: after the standard SCOUT/DISPATCH/MERGE/BUILD, a VERIFY stage is added with three new tools: anchor pass (sweep candidate features uniformly at scale −1), intervene feature (progressively soften by a monotonic escalation rule from −1→−4), intervene supernode (steer a group of co-activated features simultaneously); the intervention rule is a′ = a + (k−1)·max(10, a), k ∈ {−4,…,2}, each run produces 15–40 interventions, and the orchestrator finally submits a single intervention.

    Success criteria

    • Spurious feature detection: an LLM reviewer counts spurious/core features in the report and gives dominant ∈ {spurious, causal, mixed, none}; a biased run is judged correct iff dominant == "spurious", and an unbiased run is judged correct when dominant ∈ {causal, mixed}.
    • Secret elicitation: under the closed protocol, submit one word from the 20-word candidates, scored by exact match.
    • Jailbreak suppression: a five-model reviewer panel scores completions on two axes, usability and plausibility, with overall = (u+p)/2.
  4. What experiments did the paper conduct?

    Three agent tasks: false-feature detection 78.2%±2.4, exceeding the single-layer baseline; secret extraction 75.0%, exceeding the projection baseline but below Activation Oracle; jailbreak single submission 0.804, slightly below diff-in-mean.

    Experimental setup

    • Target models: Gemma-2-2B (spurious feature detection, using Gemma Scope PLTs), Qwen-3-8b (secret elicitation, using the taboo LoRA of Karvonen et al.), Qwen3-4B (jailbreak suppression).
    • Oracle configuration: main orchestrator Minimax-M3, subagents GPT-OSS-120B; spurious feature detection repeats the full pipeline 5 times per slug.
    • Data scale: spurious feature detection 4 tasks × 2 probes × 10 prompts = 80 graphs; secret elicitation 20 secrets × 6 prompts = 120 runs (plus an 8-model subset × 5 passes for stability); jailbreak suppression 50 refusal prompts (40 from AdvBench, one per behavior family, plus 10 new prompts).
    • Review method: spurious feature detection uses gpt-5.4-mini to count and give the dominant judgment (the authors note gpt-oss-120b occasionally self-contradicts as a reviewer); secret elicitation is scored by openai/gpt-oss-120b and cross-checked with gpt-5.4-mini; jailbreak suppression uses a five-model reviewer panel (claude-sonnet-5, grok-4.3, gemini-3.5-flash, kimi-k2.6, glm-5.2), one sample per reviewer at temperature 1.0, and calls blocked by the reviewer safety classifier are recorded as u=p=1.0 (grader's pick 6/250, best-of-5 9/250, baseline 7/250 calls affected).
    • Baselines: Trans-cos / SAE-cos (cosine-ranked top-20 features passed to Minimax-M3 for YES/NO judgment); SAE-proj / Trans-proj (projection, no graph, no agent); Activation Oracle (Karvonen et al., 2025); Arditi et al. (2024) diff-in-mean refusal direction (reproduced by the authors on Qwen3-4B, ntrain=128, nval=32).

    Main results

    According to Table 3, Table 8 (all-20 row), and Table 4:

    Swipe horizontally to read the table

    TaskCircuit OracleStrongest baselineBaseline value
    Spurious feature detection (accuracy)78.2% ± 2.4Trans-cos72.5%
    Secret elicitation closed (accuracy)75.0%Activation Oracle86.7%
    Jailbreak suppression (reviewer mean score, single submission)0.804diff-in-mean0.825
    Jailbreak suppression (best-of-5)0.854diff-in-mean0.825
    • On spurious feature detection, SAE-cos is 65.0%; both baselines are 40/40 on biased rankings but 0/10 on unbiased rankings for CivilComments and MultiNLI, which the authors call a "mostly answers YES" detector characteristic; Circuit Oracle's single-pass range is 76.2%–82.5%.
    • On secret elicitation, SAE-proj is 25.8% and Trans-proj 1.7% (both L9, Figure 3); the authors state Circuit Oracle greatly exceeds the two projection baselines but falls short of Activation Oracle, and argue that methods with privileged access to activation geometry still have an advantage.
    • On jailbreak suppression, single submission is 10 wins, 20 ties, 20 losses against the baseline, and best-of-5 is 16 wins, 24 ties, 10 losses; the authors consider single submission the fairer comparison and note the key point is that feature-level intervention read from the graph is roughly on par with a hand-fitted direction and requires no labeled dataset.

    Traversal ablation and orchestrator sweep

    • Spurious feature detection (Table 6, same 80 pairs): removing inspect feature gives 81%, one-shot top-k without traversal gives 78% (the main text elsewhere writes 77.5%), within noise of the full pipeline's 78.2%±2.4; switching to GPT-5.6-Terra gives 70% and Gemma-4-31B-IT 72%. The authors state this reflects the nature of the task (spurious cues are near the output) rather than traversal being generally useless.
    • Jailbreak suppression one-shot ablation (Table 12): one-shot selection without traversal is only 0.112 (no intervention 0.038), far below the full pipeline's 0.804; the authors state that here the closed-loop VERIFY carries almost all the effect, and the value of traversal depends on the task.
    • Secret elicitation orchestrator grid (Table 9, reported-8 subset): minimax-m3 closed 69.2%±0.9, gpt-5.6-terra 70.8%, gemma-4-31b-it 68.8%; the authors state that orchestrator choice moves scores only slightly.

    Supplementary analysis of secret elicitation

    • Open-vocabulary protocol (Figure 7): Circuit Oracle drops from 75.0% (closed) to 43.3% (open), SAE-proj 28.3%, Trans-proj 4.2%; the authors state the main contribution of the candidate list is enumeration rather than injected signal, and secrets for words such as book and clock do not exist in transcoder logit-lens decoding.
    • Layer sweep (Table 10): SAE-proj decays with depth (closed L9/18/27 at 25.8%/15.0%/12.5%), Trans-proj ≤5.8% at all layers; the authors state early residual layers carry the secret concept and later layers suppress it under the LoRA evasion strategy.
    • Reviewer invariance: in closed mode, switching reviewers gives 75.8% vs 75%, while in open mode top-10 recall is 51.7% vs 43.3%; the authors state closed-mode exact match is more objective.

    Other ablations and analyses

    • Stability: spurious feature detection conclusions are stable across 5 passes (78.2%±2.4), but the feature sets fixed across two passes have Jaccard only 0.511 and layer sets Jaccard 0.754 (Section 7).
    • Probe quality screening (Table 7): 3 of 5 datasets are W ORKS, CivilComments is PARTIAL, and the surgeon/teacher pair FAILS and is discarded.
    • Refusal vs censorship case study (Appendix G.9, 10 prompts, different reviewers and scales): oracle 5 wins, 3 ties, 2 losses; the authors state refusal is routed through a few mid-layer features while censorship is diffuse with no shared bottleneck, and whether this holds at scale is left for future work.
    • Qualitative artifacts: Appendix E.5 contrasts the BiasInBios biased circuit (a pure gender cascade) with the unbiased circuit (three occupation paths); Appendix G.7 reports that the Neuronpedia auto-label for L17:F83241 ("Code/technical snippets") does not match its safety-warning role recovered by intervention.
  5. What are some points that can be further explored?

    The authors discuss limitations such as conclusions depending on random exploration and the value of traversal depending on the task; experiments cover three target models and three agent tasks.

    Limitations and future directions noted by the authors

    • Stability of conclusions and circuits (Section 7): the oracle's judgments depend on random exploration and, to a lesser extent, on the orchestrator; judgments were stable across 5 runs, but circuit feature overlap was only Jaccard 0.511, and the authors say this task is insufficient to answer whether circuits with different features behind the same judgment are semantically equivalent.
    • Whether traversal is critical depends on the task (Section 7): on false-feature detection, removing traversal was statistically indistinguishable from the full pipeline, whereas on jailbreak suppression it lagged substantially; the authors say that for the probe task the false cues are close to the output, while for the refusal task the opposite holds.
    • Secret extraction falls short of the trained baseline (Section 5.2, Appendix F.2): the authors consider that a method with privileged, in-distribution access to the activation geometry written by the taboo LoRA (Activation Oracle) still outperforms methods that only read attribution graphs.
    • Gap between automatic labels and causal roles (Section 2, Appendix G.7): the authors say Neuronpedia's automatic explanation labels may miss a feature's contextual role, and invite future work to develop evaluations that directly measure the usefulness of pruned subgraphs and contextualized feature interpretations (abstract).
    • Scale of the refusal vs. censorship comparison (Appendix G.9): the authors say whether this mechanism comparison holds at the scale of the 50-prompt refusal set, or an equally sized censorship set, is left to future work.
    • Causes of surgeon/teacher pair failures (Appendix E.3): the authors say the FAILS for this pair point to dataset-specific challenges (possibly related to sample size and weaker gender-occupation correlation), left to future analysis.

    Scope of experiments

    • There are 3 target models tested: Gemma-2-2B, Qwen-3-8b, Qwen3-4B (Sections 4–6).
    • False-feature detection covers 4 classification tasks and 80 attribution graphs, 5 runs per slug; secret extraction covers 20 secrets × 6 prompts, with a stability subset of 8 models; jailbreak suppression covers 50 prompts (Sections 4.2, 5.1, 6.1).
    • The orchestrator sweep covers 3 models (Minimax-M3, GPT-5.6-Terra, Gemma-4-31B-IT), and secret extraction additionally tests minimax-m3/gpt-5.6-terra/gemma-4-31b-it (Table 6, Table 9).
    • The paper does not report total tool-call counts, runtime, or cost figures for each task.
    • For jailbreak suppression, the judging panel samples each judge only once; the authors report within-judge repeat variance of about 0.01 and cross-judge variance of about 0.12 (Section 6.1).
  6. Summarize the main content of the paper

    Circuit Oracle uses an off-the-shelf LLM to read attribution graphs and answer safety questions: spurious feature detection exceeds single-layer baselines, secret elicitation falls short of Activation Oracle, and jailbreak suppression is roughly on par with diff-in-mean.

    A mechanistic interpretability automation paper: the authors propose Circuit Oracle, turning safety analysis of attribution graphs from expert manual labor into query-based analysis performed by an off-the-shelf frontier LLM via tool calls.

    • Problem: attribution graphs decompose model computation into sparse features with causal edges, but a graph for a short prompt already has hundreds of features and thousands of edges; locating false correlations, hidden secrets, or suppression mechanisms requires hours of expert work, and graph quality is hard to evaluate.
    • Method: a frontier LLM equipped with a multi-agent harness (an orchestrator dispatches tracing subagents) and task-specific skills (system prompt + graph traversal/task tools), with no training; the secret extraction task instead uses a diff against a sibling graph of the base model plus candidate voting, and the jailbreak suppression task adds a VERIFY stage that performs feature softening interventions and reruns verification.
    • Result 1: probe false-feature detection (Gemma-2-2B, 80 graphs) accuracy 78.2%±2.4, higher than Trans-cos 72.5% and SAE-cos 65.0% (Table 3).
    • Result 2: taboo secret extraction (Qwen-3-8b, 20 secrets × 6 prompts) closed mode 75.0%, higher than SAE-proj 25.8% and Trans-proj 1.7%, but lower than Activation Oracle's 86.7% (Figure 3, Table 8).
    • Result 3: jailbreak suppression (Qwen3-4B, 50 prompts) single-submission mean judge score 0.804, slightly below the diff-in-mean baseline of 0.825; best-of-5 was 0.854 (Table 4).
    • Conclusions and implications (in the authors' voice): the authors consider an off-the-shelf LLM reading precomputed attribution graphs to be a competitive general approach, better than baselines that do not read cross-layer information, but not as good as a trained activation reader; the correct interpretation of features depends on the downstream safety problem rather than static labels; the value of traversal depends on the task; the authors consider the skill-plus-tools pattern a path to scaling mechanistic interpretability to serve AI safety.
Read originalarxiv.org