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

GTM: 为AI代理模拟工具世界

GTM: Simulating the World of Tools for AI Agents

Zhongguancun Academy, Beijing, China(中关村学院,北京,中国);School of Computer Science, Fudan University, Shanghai, China(计算机学院,复旦大学,上海,中国)

Zhenzhen Ren, Xinpeng Zhang, Zhenxing Qian, Yan Gao, Yu Shi, Shuxin Zheng, Jiyan He

AI总结:

GTM通过模拟工具提升AI代理训练效率,实现快速且低成本的工具交互模拟。

摘要:

将外部工具整合对于赋予大型语言模型(LLM)代理现实世界能力至关重要。然而,通过直接连续与多种工具交互来训练这些代理通常是昂贵、缓慢且引入额外的开发和维护开销。为了解决这一挑战,我们引入了通用工具模型(GTM),一个拥有15亿参数的模型,该模型学习扮演通用工具模拟器。仅需提示级别配置,GTM即可访问工具功能及其输入参数,并生成忠实模仿真实工具执行的输出,提供一种快速且经济有效的解决方案,消除了开发开销。为了构建GTM,我们提出了上下文感知响应生成(CARG)流水线,该流水线合成涵盖超过20000种工具的全面训练数据,这些工具分布在300个领域,包括物理、医学、机器人学和金融。通过该流水线,GTM学会生成不仅语法正确但逻辑连贯且上下文合适的响应。实验表明,GTM生成高质量输出,具有强一致性和可靠性。此外,当用于真实强化学习场景中进行代理训练时,GTM相比真实工具具有显著更快的模拟速度,同时保持相当的输出质量,并表现出显著的泛化能力和领域适应性。我们的结果确立了GTM作为开发未来AI代理的基础组件,使工具增强系统的高效和可扩展训练成为可能。

英文摘要:

The integration of external tools is pivotal for empowering Large Language Model (LLM) agents with real-world capabilities. However, training these agents through direct, continuous interaction with diverse tools is often prohibitively expensive, slow, and introduces additional development and maintenance overhead. To address this challenge, we introduce the Generalist Tool Model (GTM), a 1.5-billion-parameter model that learns to act as a universal tool simulator. With only prompt-level configuration, GTM accesses tool functionalities along with input arguments and generates outputs that faithfully mimic real tool execution, providing a fast and cost-effective solution that eliminates development overhead. To build GTM, we propose the Context-Aware Response Generation (CARG) pipeline, which synthesizes comprehensive training data covering over 20,000 tools across 300 domains including physics, medicine, robotics, and finance. Through this pipeline, GTM learns to produce not only syntactically correct outputs but also logically coherent and contextually appropriate responses. Experiments demonstrate that GTM produces high-quality outputs with strong consistency and reliability. Besides when used in real reinforcement learning scenarios for agent training, GTM exhibits significantly faster simulation speed compared to real tools while maintaining comparable output quality, along with remarkable generalization and domain adaptability. Our results establish GTM as a foundational component for developing future AI agents, enabling efficient and scalable training of tool-augmented systems.

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

↑