AstraFlow:面向代理大语言模型的数据流强化学习
AstraFlow: Dataflow-Oriented Reinforcement Learning for Agentic LLMs
AI总结:
AstraFlow通过数据流导向的强化学习系统,实现复杂多策略协作训练和高效利用异构计算资源,提升代理LLM的推理与工具使用能力。
摘要:
强化学习(RL)日益被用于提升大语言模型的推理、编码和工具使用能力,但代理RL仍面临高昂成本。为扩展RL到代理LLM,需支持复杂工作负载,包括多策略协作训练,同时高效利用弹性、异构和跨区域计算资源。现有LLM RL系统支持部分能力,但每次新扩展通常需专门系统工程。此问题源于训练器导向的控制架构和RL系统组件缺乏原理性抽象。为此,我们提出AstraFlow,一种数据流导向的RL系统,取代传统训练器导向控制,采用原理性组件抽象。在AstraFlow中,rollout服务、数据流管理和训练被解耦为自主组件,使系统能原生支持复杂多策略代理RL工作负载并高效利用多样化计算资源。我们评估了AstraFlow在数学、代码、搜索和AgentBench工作负载上的表现,显示同一系统支持多策略训练、弹性扩展、异构跨区域执行和可组合的数据算法,无需系统级代码更改。在多策略协作训练中,AstraFlow的准确度与现有RL系统相当或更优,同时训练时间加速2.7倍。
英文摘要:
Reinforcement learning (RL) is increasingly used to improve the reasoning, coding, and tool-use capabilities of large language models, but agentic RL remains prohibitively expensive. Scaling RL to agentic LLMs requires supporting complex workloads, including multi-policy collaborative training, while efficiently using elastic, heterogeneous, and cross-region compute resources. Existing LLM RL systems support some of these capabilities, but each new extension often requires dedicated system engineering. This burden arises from trainer-centered control architectures and the lack of principled abstractions for RL system components. To address these limitations, we propose AstraFlow, a dataflow-oriented RL system that replaces conventional trainer-centered control with principled component abstractions. In AstraFlow, rollout services, dataflow management, and training are decoupled into autonomous components, enabling the system to natively support complex multi-policy agentic RL workloads and efficiently exploit diverse compute resources. We evaluate AstraFlow across math, code, search, and AgentBench workloads, showing that the same system supports multi-policy training, elastic scaling, heterogeneous cross-region execution, and composable data algorithms without system-level code changes. In multi-policy collaborative training, AstraFlow achieves comparable or better accuracy than existing RL systems while speeding up training time by 2.7x.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。