发现大模型用工具时存在认知与执行的差距。
Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use

- 根据模型实际能力定义工具必要性,更贴近真实使用场景。
- 4个模型在算术和事实问答任务中工具调用错配率高达26.5%~54.0%。
- 关键问题不在是否知道该用工具,而在于能否真正执行动作。
大型语言模型(LLMs)作为自主代理,需判断何时直接回答、何时调用外部工具。现有研究多将工具必要性视为模型无关属性,由人工或模型标注,且主要关注明显情形(如查天气或改写文本)。然而,由于模型能力边界差异,强模型可独立解决的问题对弱模型仍需工具支持。本文提出基于模型实证表现的自适应工具必要性定义。在算术与事实问答数据集上,对比四模型的必要性判断与实际工具调用行为,发现错配率分别为26.5%-54.0%和30.8%-41.8%。通过分解工具使用为内部认知与执行两个阶段,分析隐藏状态后发现:两信号虽可线性解码,但在晚期层、最后标记阶段的探针方向趋于正交,影响动作生成。轨迹追踪显示,多数错配集中在认知到执行的转换环节,而非认知本身。结果揭示了大模型工具使用中的‘知行差距’:提升可靠性不仅需准确识别工具需求,更需有效转化为行动。
原文摘要 · Abstract (English)
Large language models (LLMs) increasingly act as autonomous agents that must decide when to answer directly vs. when to invoke external tools. Prior work studying adaptive tool use has largely treated tool necessity as a model-agnostic property, annotated by human or LLM judge, and mostly cover cases where the answer is obvious (e.g., fetching the weather vs. paraphrasing text). However, tool necessity in the wild is more nuanced due to the divergence of capability boundaries across models: a problem solvable by a strong model on its own may still require tools for a weaker one. In this work, we introduce a model-adaptive definition of tool-necessity, grounded in each model's empirical performance. Following this definition, we compare the necessity against observed tool-call behavior across four models on arithmetic and factual QA dataset, and find substantial mismatches of 26.5-54.0% and 30.8-41.8%, respectively. To diagnose the failure, we decompose tool use into two stages: an internal cognition stage that reflects whether a model believes a tool is necessary, and an execution stage that determines whether the model actually makes a tool-call action. By probing the LLM hidden states, we find that both signals are often linearly decodable, yet their probe directions become nearly orthogonal in the late-layer, last-token regime that drives the next-token action. By tracing the trajectory of samples in the two-stage process, we further discover that the majority of mismatch is concentrated in the cognition-to-action transition, not in cognition itself. These results reveal a knowing-doing gap in LLM tool-use: improving tool-use reliability requires not only better recognition of when tools are needed, but also better translation of that recognition into action.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。