arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14453cs.CL
收藏

自然语言工具:大型语言智能体中工具调用的自然语言方法

Natural Language Tools: A Natural Language Approach to Tool Calling In Large Language Agents

Reid T. Johnson, Michelle D. Pain, Jordan D. West

AI总结:

提出自然语言工具框架,用自然语言输出替代JSON工具调用,通过解耦选择与生成提升准确率18.4个百分点并降低方差70%,且对开放权重模型增益显著。

摘要:

我们提出了自然语言工具(NLT),这是一个用自然语言输出取代大型语言模型(LLMs)中程序化JSON工具调用的框架。通过将工具选择与响应生成解耦,NLT消除了干扰工具调用性能的任务干扰和格式约束。在跨越客户服务和心理健康领域的10个模型和6,400次试验中评估时,NLT将工具调用准确率提高了18.4个百分点,同时将输出方差降低了70%。开放权重模型获得了最大的提升,超越了旗舰级闭权重替代方案,这对强化学习和监督微调阶段的模型训练都具有重要意义。这些改进在提示扰动下依然保持,并将工具调用能力扩展到缺乏原生支持的模型。

英文摘要:

We present Natural Language Tools (NLT), a framework that replaces programmatic JSON tool calling in large language models (LLMs) with natural language outputs. By decoupling tool selection from response generation, NLT eliminates task interference and format constraints that degrade tool call performance. When evaluated across 10 models and 6,400 trials spanning customer service and mental health domains, NLT improves tool calling accuracy by 18.4 percentage points while reducing output variance by 70%. Open-weight models see the largest gains, surpassing flagship closed-weight alternatives, with implications for model training in both reinforcement learning and supervised fine-tuning stages. These improvements persist under prompt perturbations and extend tool-calling capabilities to models lacking native support.

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

↑