arXiv:cs.LG· Xijie Gong, Tingxu Han, Jiahao Zhang, Wei Song, Ziqi Ding, Hanqi Yan, Youcheng Sun, Lijie Hu·· 4 小时前AI 评分55
研究揭示 Agentic LLM 工具调用决策由抑制机制塑造的工具调用向量决定
How Do Agentic LLMs Decide to Call Tools? A Tool-Call Vector Shaped by Suppression
AI 导读
arXiv 论文 2610.09624(已被 NeurIPS 2026 主会接收为 Poster)研究 agentic LLM 如何决定调用工具还是直接回答。
正文
Abstract:Tool calling, invoking external tools on demand, is central to agentic LLMs, yet the mechanism that decides whether a model calls a tool or responds directly remains poorly understood. Agentic prompts are long and heavily scaffolded, combining role instructions, tool schemas, format templates, and the user's request across hundreds of tokens, creating a noisy, highly entangled context in which no single controllable variable for mechanistic analysis is obvious. To obtain such a variable, we propose a method that converts complex agentic prompts into minimal contrastive pairs in which a single request verb determines the tool-call decision: replacing an execution-verb (e.g., \textit{write}) with an analysis-verb (e.g., \textit{discuss}) reliably flips the decision, suggesting it is mediated by a compact internal state. We construct 500 such paired prompts across Python, Java, and C++ (300 for mechanistic analysis, 200 held out for evaluation). We trace the decision to a vector, $\mu_\Delta$, that is both causally necessary and sufficient and generalizes beyond the discovery prompts to native multi-turn $\tau^2$-Bench trajectories and verb-free requests. Behavioral ablations show that the scaffold establishes a tool-call prior; Transcoder decomposition then reveals that analysis verbs suppress this prior through features signaling that tool use is unnecessary, whereas execution verbs largely leave it intact. Downstream scaffold-reading attention heads and MLP features read out the resulting state, and the same mechanism recurs across seven models from the Qwen, Mistral, and Granite families. Our code is available at this https URL.
| Comments: | Accepted by NeurIPS 2026 Main Poster |
| Subjects: | Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.09624 [cs.AI] |
| (or arXiv:2610.09624v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.09624 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xijie Gong [view email]
[v1]
Wed, 7 Oct 2026 08:01:39 UTC (9,388 KB)
来源:arXiv:cs.LG · arxiv.org