用免费的8B语言模型完全模拟环境来民主化工具学习
Democratizing Tool Learning with Environments Fully Simulated by a Free 8B Language Model
AI总结:
本文提出TRUSTEE方法,利用免费开源的8B语言模型模拟动态环境,结合自适应课程学习机制,有效训练工具调用代理,实验证明其在多数情况下优于需额外资源的基线方法。
摘要:
强化学习(RL)已成为训练工具调用代理的常见范式,通常需要在线交互环境。现有方法要么依赖带地面真实标注的训练数据,要么需要高级专有语言模型(LMs)来合成固定不变的环境。在本文中,我们提出TRUSTEE,一种成本低廉的方法,用于训练具有动态环境的工具调用代理,该环境完全由免费开源的LMs模拟,包括任务生成、用户模拟、工具模拟和轨迹评估,配以自适应课程学习机制,以在训练过程中控制任务难度。我们的实验证明,TRUSTEE在大多数情况下优于需要额外外部资源的基线方法。这些结果证实,即使使用本地8B LM作为基础,充分设计的模拟环境也能为工具学习设定强有力的基准。我们希望我们提出的方法能够民主化工具学习,并启发未来在有限资源下进行环境扩展的研究。
英文摘要:
Reinforcement learning has become a prevalent paradigm for training tool calling agents, which typically requires online interactive environments. Existing approaches either rely on training data with ground truth annotations or require advanced proprietary language models (LMs) to synthesize environments that remain fixed once created. In this work, we propose TRUSTEE, a cost-friendly method for training tool calling agents with dynamic environments fully simulated by open-source LMs that can be as small as 8B, including task generation, user simulation, tool simulation, and trajectory evaluation, paired with an adaptive curriculum learning mechanism that controls task difficulty dynamically. Our empirical results show that TRUSTEE outperforms baselines which require extra external resources in most cases. These confirm that, with a sufficiently sophisticated design, even simulated environments with a local 8B LM as the backbone could set a strong baseline for tool learning. We hope our proposed paradigm could democratize tool learning and inspire future research on environment scaling with limited resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。