ASTRA: 自动化合成代理轨迹与强化环境
ASTRA: Automated Synthesis of agentic Trajectories and Reinforcement Arenas
AI总结:
ASTRA通过可扩展数据合成和可验证强化学习,自动化训练工具增强语言模型代理,实现多轮稳定学习和高性能工具使用。
摘要:
大型语言模型(LLMs)越来越多地被用作多步骤决策的工具增强代理,但训练稳健的工具使用代理仍然具有挑战性。现有方法仍然需要人工干预,依赖于不可验证的模拟环境,仅依赖于监督微调(SFT)或强化学习(RL),在稳定长周期、多轮学习方面存在困难。为了解决这些挑战,我们引入了ASTRA,一种完全自动化的端到端框架,通过可扩展的数据合成和可验证的强化学习来训练工具增强的语言模型代理。ASTRA集成了两个互补的组件。首先,一个利用工具调用图静态拓扑合成多样化、结构上扎根的轨迹,培养广泛且可迁移的工具使用能力。其次,一个环境合成框架,捕捉人类语义推理的丰富、组合性拓扑,将分解的问题-答案轨迹转换为独立、可执行的代码和规则可验证的环境,使确定性的多轮RL成为可能。基于此方法,我们开发了一种统一的训练方法,通过轨迹级奖励将SFT与在线RL结合,平衡任务完成和交互效率。在多个代理工具使用基准测试中,ASTRA训练的模型在可比规模下实现了最先进的性能,接近封闭源系统,同时保持核心推理能力。我们发布完整的流水线、环境和训练模型在https://github.com/LianjiaTech/astra。
英文摘要:
Large language models (LLMs) are increasingly used as tool-augmented agents for multi-step decision making, yet training robust tool-using agents remains challenging. Existing methods still require manual intervention, depend on non-verifiable simulated environments, rely exclusively on either supervised fine-tuning (SFT) or reinforcement learning (RL), and struggle with stable long-horizon, multi-turn learning. To address these challenges, we introduce ASTRA, a fully automated end-to-end framework for training tool-augmented language model agents via scalable data synthesis and verifiable reinforcement learning. ASTRA integrates two complementary components. First, a pipeline that leverages the static topology of tool-call graphs synthesizes diverse, structurally grounded trajectories, instilling broad and transferable tool-use competence. Second, an environment synthesis framework that captures the rich, compositional topology of human semantic reasoning converts decomposed question-answer traces into independent, code-executable, and rule-verifiable environments, enabling deterministic multi-turn RL. Based on this method, we develop a unified training methodology that integrates SFT with online RL using trajectory-level rewards to balance task completion and interaction efficiency. Experiments on multiple agentic tool-use benchmarks demonstrate that ASTRA-trained models achieve state-of-the-art performance at comparable scales, approaching closed-source systems while preserving core reasoning ability. We release the full pipelines, environments, and trained models at https://github.com/LianjiaTech/astra.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。