linear-probe-tool-calling-models-hidden-state-last-generated-token
observationsingle paperpending review

A linear probe on a tool-calling model's hidden state at the last generated token detects incorrect tool-calls — including wrong-but-well-typed argument values that parsers and logs do not catch — and works better on larger models and at middle-to-late layers than at the final layer.

Ingested from a paper but not yet reviewed by a human. It is deliberately inert: it does not move any technique’s standing, does not count toward the backtest, and is excluded anywhere a claim would carry weight. Read the source before relying on it.

Capability: Using the tools it is given

Observed on

18 open tool-calling LLMs from 1B to 70B parameters, on BFCL simple_python/java/javascript and multiple splits (750 examples per model), models with above 80% tool-calling accuracy.

Sources

  • Measured AUROC and AUPR per layer per model; most models above 0.80 AUROC, ~0.06 AUROC gain for 70B over ~8B. Transfer across disjoint error-type splits above 0.75 AUROC suggests a general correctness feature rather than error-specific cues. Confound with capability partly addressed: R^2 within the ~8B group is 0.005 and two large but lower-accuracy models still probe well. Single benchmark, short simple-call splits, in-distribution test split — no deployment or distribution-shift test.
Status: pending-reviewLast checked: 2026-09-09Evidence activity: not checked yet
Contest this claim

Disagreeing is the most useful thing you can do here. Both sides of every contested claim in this catalog were assembled by the same person, which is its weakest point.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: medium. Falsifier as drafted: Probes trained this way scoring near chance AUROC on held-out tool-calls, or final-layer probes matching or beating middle-layer probes, or no size advantage once tool-calling accuracy is controlled. Proposed technique, not catalogued: hidden-state probe for tool-call errors.