arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.14038cs.AI
收藏

模型适应性工具必要性揭示了大语言模型工具使用中的知行差距

Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use

University of Maryland, College Park(马里兰大学College Park分校)

Yize Cheng, Chenrui Fan, Mahdi JafariRaviz, Keivan Rezaei, Soheil Feizi

AI总结:

本文研究了大语言模型在使用外部工具时的必要性问题,提出了一种基于模型自身性能的适应性工具必要性定义,并通过四个模型在算术和事实性问答数据集上的比较,发现工具必要性与实际调用行为之间存在显著的不匹配,揭示了LLM工具使用中的知行差距。

摘要:

大型语言模型(LLMs)越来越多地作为自主代理,必须决定何时直接回答问题,何时调用外部工具。先前研究大多将工具必要性视为模型无关的属性,由人类或LLM判断者标注,主要涵盖答案明显的情况(例如获取天气与改写文本)。然而,现实中的工具必要性更为复杂,因为不同模型的能力边界存在分歧:一个强模型可以单独解决的问题,可能仍需要工具帮助弱模型。在本文中,我们引入了基于每个模型实证性能的模型适应性工具必要性定义。随后,我们比较了四个模型在算术和事实性问答数据集上的必要性与观察到的工具调用行为,发现存在26.5-54.0%和30.8-41.8%的显著不匹配。为了诊断失败,我们将工具使用分解为两个阶段:内部认知阶段,反映模型是否认为需要工具;执行阶段,决定模型是否实际做出调用动作。通过探测LLM隐藏状态,我们发现这两种信号往往可以线性解码,但它们的探测方向在晚期层、最后token的范围内几乎正交。通过追踪样本在两个阶段过程中的轨迹,我们进一步发现,大多数不匹配集中在认知到行动的转换过程中,而非认知本身。这些结果揭示了LLM工具使用中的知行差距:提高工具使用可靠性不仅需要更好的识别何时需要工具,还需要更好的将这种识别转化为行动。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑