SAKIKO: a mechanistic audit framework for internal interventions in tool-calling LLMsWhen Does Correction Become Repair? Mechanistic Auditing of Internal Interventions in Tool-Using LLMs
SAKIKO audits targeted activation interventions on the tool decisions of seven LLMs: behavioral net gain does not equal repair, and none of the 59 random directions reached the calibrated target gain.
- Tool-using LLMs must choose among K-way actions before calling an external tool. Activation steering can change the decision, but aggregate net gain does not show whether the correct target is reached, whether originally correct decisions are broken, or whether the evidence is sufficient to issue a repair license.
- SAKIKO turns representation repair into an evidence process: discover targeted error channels from the confusion matrix, gate at the observation layer with a linear Router, add the channel direction at the injection layer only on a hit, then check destination and collateral breakage across five-way outcomes, and use a pre-registered evidence hierarchy to ADMIT or DECLINE.
- Five of seven models show direction-specific net gains. Phi-3.5's +55 net gain also breaks 52/93 touched correct decisions. In three sealed evaluations, none of the 59 random directions reach the calibrated target gain. Qwen3-8B gets ADMIT; Qwen3-4B and Gemma-2-9B have favorable point estimates but are DECLINED.
- The authors state that the license only constrains overall collateral damage E1, and no setting passes exposure-condition preservation certification; some historical cohort results lack row-level records. Qwen3.5-9B stops before intervention due to insufficient support, and ACEBench is retired during channel discovery.
- Evaluated models
- Phi-3.5-miniQwen2.5-7BLlama-3.1-8BMistral-7BQwen3-4BQwen3-8BGemma-2-9BQwen3.5-9B
- Benchmarks
- When2CallMetaToolACEBench
- Metrics
- GwholeGchannelTHcTGcE1E2add-one Monte Carlo p
The paper proposes the SAKIKO audit framework for testing whether interventions on internal activations of tool-calling LLMs truly constitute representation repair. The framework comprises four stages: directional error discovery, routing-conditioned intervention, verification against target outcomes, and statistical permission from prospective freezing. Tested on seven LLMs on When2Call and MetaTool, channel-keyed interventions produced direction-specific net gains in five models; across three sealed evaluations, 59 budget-matched random directions all failed to reach the calibrated target gain. Target-outcome auditing showed that behavioral movement does not equal repair: one intervention with a net gain of +55 destroyed over half of the baseline correct decisions it touched, and seemingly promising point estimates on Qwen3-4B and Gemma-2-9B were formally rejected due to limited-sample uncertainty. The authors therefore argue that outcome-adjudicated verification is necessary before claiming internal repair.
Related events and news
1 events · 0 news mentions
- This event's paper
SAKIKO框架审计工具调用LLM内部干预
Paper analysis
What problem does this paper attempt to solve?
When internal interventions change tool decisions, when is it repair rather than behavioral displacement.
When internal intervention changes a tool decision before execution, when does that change constitute repair, rather than mere behavioral displacement.
- Setting: Before calling an external tool, the agent must choose among a K-way action space: tool_call, request_for_info, direct_answer, or cannot_answer. The authors argue that failure occurs in the upstream selection of action type, not in the generated content.
- Existing shortcomings: The authors state that ASA, CAST and others show that pre-execution states can be conditionally decoded and steered, but existing interventions mostly assume a binary action space, where leaving the wrong state lands on the correct action. In a K-way topology, probability mass may move to a third, equally invalid action.
- Core question: The authors break the problem into three questions. Correction: whether the targeted error channel can be discovered and selectively redirected. Verification: whether the intervention reaches a legitimate target and preserves decisions that were originally correct. Licensing: whether the destination outcome and its uncertainty are sufficient to license the claim of "repair."
- Proposed framework: SAKIKO (Structured Adjudication of Keyed Interventions over K-way Outcomes) treats representation-level repair as an evidential process, including channel discovery, detection, per-channel intervention, destination checking, and statistical licensing. The authors state that behavioral improvement, correct destination, preservation of correct behavior, and sufficient evidence do not necessarily hold simultaneously.
What related research exists?
Related work is divided into tool learning, observability and steering, and audit-style repair on K-way actions.
The paper divides prior work into three groups in Related Work, and positions SAKIKO separately.
Tool learning and cognitive selection
- Downstream execution: Schick et al. (2023), Qin et al. (2024b), Tang et al. (2023), Patil et al. (2024), Qin et al. (2024a) use fine-tuning or retrieval for API following, parameter synthesis, and environment generalization. The authors state that before parameterization, the agent must also decide whether external action is needed.
- Wang et al. (2026a): Classifies failure modes such as tool bypass and over-delegation, but treats the agent as a black box, not involving latent geometry and representation-level intervention.
- Wu et al. (2026a): Reads tool requirements from hidden states to drive a controller, but scores by task performance rather than where redirected decisions land.
Agent observability and activation steering
- Passive detection: Healy et al. (2026) probe residual streams for real-time detection of tool hallucination; Tatsat & Shater (2026) use sparse autoencoders for local risk monitoring.
- Representation control: Zou et al. (2025), Lee et al. (2025) representation engineering can directly control; Wu et al. (2026b) use linear steering vectors to flip tool choices in a restricted menu; Wang et al. (2026b) use Router-conditioned vectors to overcome multi-turn inertia.
- Shi et al. (2026): On benchmarks also used in this paper, recover sparse autoencoder bases for call/no-call, estimate activation-independent CALL offsets, and counteract with closed-form debiasing.
Audit-style repair in K-way action spaces
- Binary or pairwise exits: The authors state that prior tool steering evaluates narrow binary exits or pairwise tool swaps (Wu et al., 2026b; Shi et al., 2026), and multi-class diagnostic work remains observational (Zhao et al., 2026).
- Separating behavior and internal effects: The authors cite Jiang et al. (2026), stating that behavioral readouts often disagree with internal representation effects.
- Baselines and benchmarks: Evaluation baselines are protocol-allowed structural controls, including zero-dose, budget-matched random directions, sign inversion, wrong layer, and cross-channel substitution only in the historical cohort. Benchmarks are When2Call (main evaluation), MetaTool (binary bidirectional steering on Qwen2.5-7B), and ACEBench (out-of-domain four-action ontology, retired after readout pass during channel discovery).
The authors position this paper as: going beyond passive probing (Healy et al., 2026; Zhao et al., 2026) and uncalibrated steering (Wu et al., 2026b; Wang et al., 2026b), using an end-to-end adjudication pipeline to discover channel vectors, check multi-class destinations, audit baseline preservation, and perform certifiable repair with pre-registered uncertainty bounds.
How does the paper address this problem?
SAKIKO uses a five-stage evidence chain to adjudicate whether targeted intervention constitutes licensable repair.
SAKIKO writes the evaluation as a non-collapsing chain of evidence: Correction → Destination Correctness → Preservation → Evidential Sufficiency → Licensed Repair. The authors state that in multi-class action spaces, the previous property does not guarantee the next.
Problem setting and outcome topology
- Action space: Y includes direct response, API call, clarification request, task declination. The frozen agent gives a baseline action ŷ0 for input x, with reference y⋆, divided into baseline correct and baseline incorrect.
- Directed channels: Errors are not treated as singletons but written as ordered channels c ≡ (y⋆ → ŷ0), gold-standard target g ≡ y⋆, error source s ≡ ŷ0, with g ≠ s. Post-intervention decision is ŷ1.
- Five-way partition: Channel errors Nc are split into SOURCE RETAINED (Sc), GOLD ARRIVAL (Ac), OTHER WRONG (Oc), with source exit Xc = Ac + Oc. Baseline correct decisions touched by the Router, Cexp, are split into CORRECT RETAINED and BROKEN (B).
- Two net gains: Gwhole = Fixed − B, counting every baseline error corrected in the evaluation population; Gchannel = Σc Ac − B, counting only arrivals within adjudicated channels. The authors give an example where the former is +40 and the latter +38 on Qwen3-8B. Net gain to THc and collateral damage is many-to-one; definitions are in Appendix B.
Discovery, detection, and per-channel intervention
- Discovery: Enumerate channels from training split confusion matrices, keeping only c = (y⋆ → ŷ0) that exceed support thresholds on both training and validation (Appendices D.1, D.2). The authors report that three When2Call channels for Qwen2.5-7B have pairwise cosines of 0.488, 0.569, and 0.706 at the same layer, so they do not use a single tool-error vector.
- Router: For each retained channel, train a linear Router r(hobs) → (ĉ, pĉ) on the last-token representation hobs at observation layer ℓobs, steering only when pĉ ≥ τĉ; unrouted inputs keep ŷ1 = ŷ0. The authors state that probe decodability does not guarantee steerability.
- Injection: After Router hit, intervene at ℓinj, before MLP outputs re-enter the decoder residual stream, at each sequence position. Parameters are θc = {dc, ℓobs, ℓinj, qc, τc}, with update h′ℓinj = hℓinj + qc sc dc. dc is a unit-norm direction, sc is layer scale, qc is normalized dose, frozen before evaluation. Subsequent decoding is unchanged. If ℓinj ≤ ℓobs, use two-pass inference to avoid lookahead leakage.
- Controls: Structural controls allowed by each protocol include budget-matched random vectors available everywhere, sign inversion and layer mismatch where records allow; cross-channel substitution is run only in the historical battery, excluded by construction from the frozen sealed list (Appendix K).
Destination checking and collateral damage
- Destination: On baseline errors, THc = Ac / Xc, separating gold-standard arrivals from lateral reassignment into Oc; TGc = (Ac − Oc) / Nc, normalized over the whole channel, thus carrying both coverage and composition.
- Collateral damage: E1 = B / |C|, E2 = B / |Cexp|, with E2 ≥ E1. The authors state that a selective Router shrinks |Cexp|, and using only E1 underestimates risk to touched decisions by |C| / |Cexp|.
Statistical licensing
- Conjunction: Configuration π obtains a formal repair claim if and only if REPAIR(π) ≡ CORRECTABLE(π) ∧ PRESERVINGpop(π) ∧ LICENSABLE(π). PRESERVINGpop is the population form tested by the frozen gate, not the stronger exposure-condition form (Appendix E).
- Ten-condition gate: sample support, specificity relative to matched random baseline (p ≤ 0.05), thresholds on THc and E1, bootstrap confidence bounds, and exact baseline reproduction (§5.3). Output is ADMIT or DECLINE, with DECLINE isolating the failed condition.
- License scope: Preservation is adjudicated on the pre-registered fixed denominator E1. The authors state that ADMIT certifies bounded collateral damage on the correct population, not boundedness on decisions actually touched by the Router; no setting in this paper's evaluation achieves the latter (§5.2). DECLINE indicates insufficient evidence under the evaluated protocol, not inherent incorrigibility.
What experiments did the paper conduct?
Five models show direction-specific gains; only Qwen3-8B gets ADMIT, with +55 while breaking more than half of touched decisions.
Experimental Setup
- Models: The historical cohort is Phi-3.5-mini, Qwen2.5-7B, Llama-3.1-8B, Mistral-7B; the prospective sealed cohort is Qwen3-4B, Qwen3-8B, Gemma-2-9B. Qwen3.5-9B exited at pre-intervention screening. The scale is written as 3.8B–9B, with seven entering intervention evaluation and the eighth stopping at screening.
- Data and splits: The three benchmarks are processed independently and not merged (Appendix F). The main benchmark, When2Call, uses teacher forcing to score four pre-execution actions. The split is 2,556 / 548 / 548 (train/val/test). MetaTool performs binary bidirectional steering only on Qwen2.5-7B. ACEBench uses free generation plus rule-based parsing for an out-of-domain four-action ontology.
- Protocol: The historical cohort targets three channels, covering about 78% of errors on Qwen2.5-7B, with the metric being the overall net gain Gwhole. The sealed cohort, before test unblinding, pre-registers the vector, threshold and dose ∈ {0.125, 0.25, 1.0} for the cannot_answer → tool_call channel, with the metric being TGc = (Ac − Oc) / Nc.
- Controls and tests: Each sealed setting has 65 arms in total, 6 named arms plus 59 random arms. Random arms are isotropic unit vectors, scaled to the calibration budget qc sc, with seeds disjoint from development and hash-fixed before the split was opened. Significance is add-one Monte Carlo: p = (1 + I[TGrand ≥ TGreal]) / 60. Cross-channel substitution is run only on Phi-3.5-mini.
- Readout retirement: The ACEBench readout was certified at accuracy 0.756, macro-F1 0.687, but lacked minimal transfer support, and paraphrase consistency 0.56 was below 0.80, so it was retired before the intervention experiments per the pre-registered protocol.
- Decoding: The reproducibility appendix states greedy decoding, batch size 1, fixed arm order and sample order, single process, single model load.
Main Results
The historical cohort reports Gwhole on the locked test; the sealed cohort reports TGc on the frozen channel. Llama-3.1-8B and Mistral-7B did not pass direction specificity, and the table below does not merge their random-arm numbers into the main gain.
Swipe horizontally to read the table
Model Protocol / Metric Calibration Result Source Qwen2.5-7B historical, Gwhole +79 (92 corrections, 13 regressions) §4.2 Phi-3.5-mini historical, locked test net gain +55 Fig. 3a Qwen3-8B sealed, TGc 0.276 (+24 / 87) §4.2 Qwen3-4B sealed, TGc 0.081 (+10 / 124) §4.2 Gemma-2-9B sealed, TGc 0.073 (+7 / 96) §4.2 Qwen2.5-7B MetaTool, mean net gain over five runs +8.6 and +13.0 §4.2 - Direction specificity: In Fig. 3a, Phi-3.5 calibrated direction +55; random and sign-reversed each +14, wrong-layer +3, mismatched channel −17. Qwen2.5-7B calibrated +79, sign-reversed +16, ten budget-matched random vectors mean +25.2, max +50.
- Random controls: Fig. 3b and §4.3 state that in three sealed evaluations, all 59 budget-matched random directions passing the Router gate lagged behind the calibrated target gain, add-one p = 0.017. Gold-standard arrival counts were Qwen3-8B 38 versus random max 8, Qwen3-4B 37 versus 2, Gemma-2-9B 17 versus 0. Zero-dose, reversed and wrong-layer TGc ≤ 0.058.
- Models that failed specificity: On Llama-3.1-8B, 5 of 20 random vectors reached or exceeded the intervention gain. Mistral-7B calibrated direction +12, below sign-reversed +19 and random mean +29. Both used K = 20 rather than K = 59, and rely on secondary audit records (Appendix J.4).
Destination Checking and Licensing
- Phi-3.5-mini: In Fig. 4a, among 200 routed errors, 107 reached the target, 46 entered other errors, and the source was retained for the remainder; 153 / 200 left the source state, THc = 0.699. At the same time, 52 of 93 exposed baseline-correct decisions were broken. Net gain was +55.
- Two interventions on Qwen3-8B: Fig. 5a, on 72 routed channel errors, the channel-level net gain of activation steering versus logit shifting was 38 versus 35, gold-standard arrival 38 versus 37, other wrong 14 versus 21, THc 0.731 versus 0.638. McNemar p = 1.0 and p = 0.189, not passing multiplicity correction. The authors state this is a descriptive comparison and do not claim a formal ranking.
- Licensing: Fig. 4b adjudicates with a frozen criterion of 0.50 and 95% bootstrap intervals. Qwen3-8B's target-hit 0.731 passes the gate, verdict ADMIT. Qwen3-4B is 0.578 and Gemma-2-9B is 0.630 (the abstract separately writes 0.5781 and 0.6296), point estimates favorable but confidence intervals crossing the threshold, verdict DECLINE. The appendix states that both passed retention on the frozen E1, failing only the two destination interval conditions. The introduction also writes that on Qwen3-8B the target-hit of activation steering versus the output-score baseline is 0.7308 versus 0.6379.
Retention and Screening Exit
- Two denominators: Fig. 5b uses a 5% tolerance as reference. Phi-3.5 is E2 = 52/93, E1 = 52/264 (the main text writes E2 = 55.9%, E1 = 19.7%, ϵtol = 0.05). Qwen3-8B is E1 = 0/211, exposure 0/6, and the authors state the exposure upper bound of 39.3% is uninformative because |Cexp| = 6. Qwen3-4B is E2 = 1/50, E1 = 1/214 (main text E2 = 5.7%, E1 = 1.3%). Gemma-2-9B is E2 = 1/11, E1 = 1/223, E2 = 9.1% > 5%.
- Threshold cannot separate breakage: On Phi-3.5, Router confidence cannot separate broken from preserved samples (Cliff's δ = −0.094, p = 0.44), and even with τc = 0.9, the breakage rate remains above 50%. The authors state that no setting obtained retention certification for the exposure condition; the exposure upper bounds are Qwen3-8B 0.3930, Gemma-2-9B 0.3644, Qwen3-4B 0.0914, Phi-3.5 0.6468.
- Pre-intervention exit: Qwen3.5-9B baseline accuracy 0.4533 is the highest in the text, but the class skew is information request 0.326, refusal 0.087, and baseline-correct references are only 29, below the pre-registered lower bound of 30, so the protocol stopped automatically. Train/validation errors are 300/170. In 30 retrospective, retention-grouped reallocations, the refusal channel reached eligibility 56.7% of the time, with a median attainable support of 34. The sealed aggregate was not opened.
Other Ablations and Analyses
- On Qwen3-8B, the Router triggers on 82.8% of errors, source exit 59.8%, target arrival 43.7% (§4.2).
- The three historical cohort channels cover about 78% of errors on Qwen2.5-7B; Gwhole can count corrections not keyed to a channel more than Gchannel, for example +40 versus +38 (§3.1).
- Linear decodability and steerability dissociate: Router accuracy plateaus at intermediate layers, while downstream steering effectiveness declines (§M; contribution 4 states that the optimal injection location, dose and intervention success deviate from probe accuracy).
- Fig. 6 uses three input variants of the same question to illustrate: the transfer readout does not distinguish outcomes, accuracy can see gold-standard arrival and breakage but not lateral exits of persistent errors, and the destination readout can separate these three classes. The counts in the figure are frozen totals of outcome classes, not specific transition frequencies; the authors state the visualization is illustrative.
- Row-level records exist only where indicated: formal results for Qwen3-8B, Qwen3-4B, Gemma-2-9B and the ACEBench readout are yes; Phi-3.5 multi-seed only has seed 42; Mistral-7B and Llama-3.1-8B are no, and the remaining historical settings retain only aggregate counts and cannot be reconstructed by destination (Table 16).
What are some points that can be further explored?
License does not cover exposure-condition preservation; some historical results lack row-level destination records.
Limitations and future directions noted by the authors
- License narrower than its name: §3.2 and the appendix state that the pre-registered E1 ruling is maintained. ADMIT certifies bounded collateral damage on the overall correct population, not boundedness on the decisions actually touched by the Router. The authors report that no setting in this paper achieves preservation certification under the exposure condition, and they do not claim to have performed that certification anywhere.
- Meaning of DECLINE: The Fig. 4 caption and the abstract state that DECLINE for Qwen3-4B and Gemma-2-9B is insufficient evidence given the available sample size, not inherent incorrigibility. Appendix I states that both pass preservation on point estimates and on the frozen E1, failing only two destination-region conditions.
- Historical records cannot be reinterpreted: Table 16 states that historical settings without row-level records are retained only as aggregate counts and cannot be reconstructed by destination. Mistral-7B and Llama-3.1-8B have row-level = no, and both use K = 20 instead of K = 59 (Appendix J.4).
- Granularity of intervention location: §4.3 states that the control failures support location- and direction-specific control, identifying intervention sites rather than fine-grained circuit components.
- Qwen3.5-9B's stop is sensitive to partitioning: The appendix states that in 30 retrospective, held-out regroupings, the rejection channel met eligibility in 56.7% of the times, with median achievable support of 34; the sealed population was never opened.
- Reproduction depends on Git LFS: Appendix R states that without running git lfs pull, jsonl, npz, and npy files become pointer files of about 132 bytes, reading like empty results rather than errors.
Experimental coverage
- Models entering intervention are Phi-3.5-mini, Qwen2.5-7B, Llama-3.1-8B, Mistral-7B, Qwen3-4B, Qwen3-8B, Gemma-2-9B; Qwen3.5-9B stops at pre-intervention screening (§4.4).
- Three benchmarks have different roles: When2Call is the main evaluation and uses a 2,556/548/548 split; MetaTool's bidirectional steering is only on Qwen2.5-7B, with five independent runs; ACEBench, after passing readout (accuracy 0.756, macro-F1 0.687), is retired due to support and paraphrase gates (0.56 vs. 0.80), with no intervention experiments (§4.1, Appendix F).
- Sealed evaluation freezes the cannot_answer → tool_call channel, doses taken from {0.125, 0.25, 1.0}, 65 arms per setting, of which 59 are random; significance is add-one Monte Carlo relative to these 59 directions (§4.1).
- Scope of structural controls separated by protocol: zero-dose, budget-matched random, inversion, and layer mismatch are in the sealed list; cross-channel substitution is excluded from that list and run only on Phi-3.5-mini (§4.1, Appendix K).
- Formal numbers for destination and preservation are concentrated in Phi-3.5-mini's historical locked test, and the sealed formal runs of Qwen3-8B, Qwen3-4B, and Gemma-2-9B; the paper does not report any setting passing exposure-condition preservation certification (§5.2, appendix).
Summarize the main content of the paper
SAKIKO adjudicates whether internal steering counts as repair using destination, preservation, and pre-registered uncertainty.
SAKIKO audits internal interventions on pre-execution K-way actions in tool-using LLMs: behavioral net gain, reaching correct actions, preserving originally correct decisions, and statistical evidence sufficiency are four separate things.
- Problem: Before calling a tool, the model must choose among tool_call, request_for_info, direct_answer, cannot_answer. Leaving an incorrect action does not guarantee landing on the gold standard, and may also break already correct decisions.
- Method: Retain directed channels c = (y⋆ → ŷ0) from training confusion matrices; a linear Router triggers at ℓobs based on a threshold; on hit, add qc sc dc at the MLP output at ℓinj, with dose frozen before evaluation. Outcomes are divided into five categories, and a ten-condition gate gives ADMIT or DECLINE. The preservation gate uses the population denominator E1.
- Correction: On When2Call, Qwen2.5-7B's Gwhole is +79 (92 corrected, 13 regressed), Phi-3.5-mini's locked test net gain is +55. On sealed cannot_answer → tool_call, TGc is Qwen3-8B 0.276 (+24/87), Qwen3-4B 0.081 (+10/124), Gemma-2-9B 0.073 (+7/96). In three sealed evaluations, none of the 59 budget-matched random directions reach the calibrated target gain (p = 0.017). Llama-3.1-8B and Mistral-7B do not pass direction specificity.
- Checking: Phi-3.5's +55 corresponds to 107 arrivals at target, 46 into other errors, out of 200 routed errors, and breaks 52/93 touched correct decisions, THc = 0.699. Qwen3-8B's activation steering THc = 0.731 gets ADMIT; Qwen3-4B 0.578 and Gemma-2-9B 0.630 have intervals not exceeding 0.50, so they are DECLINED.
- Authors' conclusion: Aggregate net gains mask lateral reassignment and collateral damage. The license only constrains overall E1; no setting in this paper passes exposure-condition preservation certification. Qwen3.5-9B stops before intervention because correct references are only 29, below the threshold of 30, and ACEBench is retired during channel discovery. The authors state that outcome-based adjudication is needed before claiming internal repair.