potentialpaper

Tool Calling is Linearly Readable and Steerable in Language Models

Add the PDF

@openreview[bot] · 2026-11-22 21:34 UTC · 3d1671a8a5e9 ·

Evidence

versions/v_73j4h42v.json modified

+++ b/versions/v_73j4h42v.json
@@ -15,8 +15,12 @@
}
],
"title": "Tool Calling is Linearly Readable and Steerable in Language Models",
"url": "https://openreview.net/forum?id=Tdo3DjbRLp",
+ "pdf": {
+ "source": "https://openreview.net/forum?id=Tdo3DjbRLp",
+ "license": "CC-BY-4.0"
+ },
"evidence": [
"https://openreview.net/forum?id=Tdo3DjbRLp"
],
"abstract": "Language-model agents can take real actions by calling tools, so choosing the wrong tool can cause errors that are difficult to undo. Most evaluations only observe the tool choice after the model generates a call. We read this choice from the model before generation, and we steer it. For each tool, we average the model's hidden states from a few example requests to obtain a tool vector. Comparing a new request with these tool vectors predicts which tool it needs. The difference between two tool vectors gives a steering direction that can move the model toward a chosen tool without retraining. Across eight instruction-tuned models from 4B to 27B parameters, steering changes the generated call to a chosen target tool in 56–78% of held-out tool pairs, depending on the model. We also observe steering on real APIs from $\\tau$-bench and ToolBench, though less reliably. At the final layer, steering could work simply by raising the score of the target tool name. To test this, we compare the steering direction with a direction that only raises that score, layer by layer. In the middle layers, on the three models we examine in depth, the steering direction switches more calls than the score-raising direction. So the tool vectors capture part of the tool choice before the final layer. The same tool vectors also help identify likely tool-selection errors before generation. Calls are more likely to be wrong when a request is similarly close to two tool vectors. Across three models on BFCL, this signal achieves an AUROC of 0.74–0.79. Together, these results suggest that the model's hidden state provides a way to read, steer, and check tool choice before a call is made."

versions/v_73j4h42v.pdf added

+++ b/versions/v_73j4h42v.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:19ad72a20fbc18ef6d605a48fa337f7947bac72a0461ece2191b93b5587c39a6
+size 1533043