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

AutoTool: 面向智能体推理的动态工具选择与集成

AutoTool: Dynamic Tool Selection and Integration for Agentic Reasoning

Nanyang Technological University(南洋理工大学)

Jiaru Zou, Ling Yang, Yunzhe Qi, Sirui Chen, Mengting Ai, Ke Shen, Jingrui He, Mengdi Wang

AI总结:

提出AutoTool框架,通过双阶段优化(SFT+RL轨迹稳定化和KL正则化Plackett-Luce排序)使大语言模型具备动态工具选择能力,在数学、科学、代码和多模态推理等任务上平均提升6.4%-7.7%。

摘要:

智能体强化学习推动了大语言模型(LLMs)在长链思维轨迹中进行推理,同时穿插外部工具的使用。现有方法假设工具集固定,限制了LLM智能体对新工具或演化工具集的适应性。我们提出AutoTool,一个训练框架,使LLM智能体在整个推理轨迹中具备动态工具选择能力。AutoTool采用双阶段优化流水线:(i)基于SFT和RL的轨迹稳定化,以实现连贯推理;(ii)KL正则化的Plackett-Luce排序,以优化一致的多步工具选择。我们进一步构建了一个包含20万条数据的数据集,其中包含跨1000多个工具和100多个任务(涵盖数学、科学、代码生成和多模态推理)的显式工具选择理由。在十个多样化基准上,我们使用AutoTool训练了两个基础模型:Qwen3-8B和Qwen2.5-VL-7B。在参数更少的情况下,AutoTool持续优于先进的LLM智能体和工具集成方法,在数学与科学推理上平均提升6.4%,在基于搜索的问答上提升4.5%,在代码生成上提升7.7%,在多模态理解上提升6.9%。此外,AutoTool通过在推理过程中动态利用演化工具集中的未见工具,展现出更强的泛化能力。

英文摘要:

Agentic reinforcement learning has advanced large language models (LLMs) to reason through long chain-of-thought trajectories while interleaving external tool use. Existing approaches assume a fixed inventory of tools, which limits the adaptability of LLM agents to new or evolving toolsets. We present AutoTool, a training framework that equips LLM agents with dynamic tool-selection capabilities throughout their reasoning trajectories. AutoTool employs a dual-phase optimization pipeline: (i) SFT and RL-based trajectory stabilization for coherent reasoning, and (ii) KL-regularized Plackett-Luce Ranking to refine consistent multi-step tool selection. We further build a 200k dataset with explicit tool-selection rationales across 1,000+ tools and 100+ tasks spanning mathematics, science, code generation, and multimodal reasoning. Across ten diverse benchmarks, we train two base models, Qwen3-8B and Qwen2.5-VL-7B, with AutoTool. With fewer parameters, AutoTool consistently outperforms advanced LLM agents and tool-integration methods, yielding average gains of 6.4% in math & science reasoning, 4.5% in search-based QA, 7.7% in code generation, and 6.9% in multimodal understanding. In addition, AutoTool exhibits stronger generalization by dynamically leveraging unseen tools from evolving toolsets during inference.

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

↑