arXiv:2512.04535cs.AI2025-12被引 10

用15亿参数模型模拟工具行为,让AI agent训练更快更省

GTM: Simulating the World of Tools for AI Agents

  • 通过提示配置调用工具,自动生成逼真输出
  • 覆盖2万+工具、300个领域,输出逻辑一致可靠
  • 适合想高效训练工具增强型AI的开发者

外部工具的集成对提升大语言模型代理的真实世界能力至关重要。然而,直接与多样工具持续交互进行训练往往成本高昂、速度慢,且增加开发维护负担。为此,我们提出通用工具模型(GTM),一个15亿参数的模型,可作为通用工具模拟器。仅需提示级配置,GTM即可访问工具功能及输入参数,生成与真实执行高度一致的输出,提供快速低成本的解决方案,消除开发开销。为构建GTM,我们设计上下文感知响应生成(CARG)管道,合成涵盖超过2万种工具、300个领域的全面训练数据,使GTM不仅生成语法正确输出,还具备逻辑连贯性和情境适配性。实验表明,GTM生成输出质量高,一致性与可靠性强。在真实强化学习场景中,相较于真实工具,其模拟速度显著提升,同时保持相当的输出质量,并展现出出色的泛化能力和领域适应性。结果证明,GTM是未来智能体开发的基础组件,支持工具增强系统高效、可扩展的训练。

原文摘要 · Abstract (English)

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代理大模型强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。