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

Heddle:一种用于代理强化学习 rollout 的分布式编排系统

Heddle: A Distributed Orchestration System for Agentic RL Rollout

School of Computer Science, Peking University(北京大学计算机科学学院);Independent Researcher(独立研究员)

Zili Zhang, Yinmin Zhong, Chengxu Yang, Chao Jin, Bingyang Wu, Xinming Wei, Yuliang Liu, Xin Jin

AI总结:

Heddle通过轨迹中心化设计优化代理rollout执行的时机、地点和方式,解决长尾轨迹生成中的队列延迟、干扰开销和单位令牌时间问题,提升rollout吞吐量。

摘要:

代理强化学习(RL)通过交替进行数据收集rollout阶段和策略训练阶段,使LLMs解决复杂任务。在rollout阶段,智能体生成轨迹,即LLMs与外部工具的多步交互。然而,频繁的工具调用导致长尾轨迹生成,成为瓶颈。这源于以步骤为中心的设计,忽略了轨迹上下文,导致三个系统问题:队列延迟、干扰开销和单位令牌时间增加。我们提出Heddle,一种轨迹中心化的系统,优化代理rollout执行的时机、地点和方式。Heddle集成了三个核心机制:使用运行时预测和渐进优先级的轨迹级调度,以最小化累积队列延迟;通过预排序动态规划和空闲工具调用间隔期间的 opportunistic 迁移进行轨迹感知放置,以最小化干扰;以及轨迹自适应资源管理器,动态调整模型并行性,以加速长尾轨迹的单位令牌时间,同时保持短轨迹的高吞吐量。在多样化的代理RL工作负载上的评估表明,Heddle有效缓解了长尾瓶颈,相较于最先进的基线,实现了高达2.5倍的端到端rollout吞吐量提升。

英文摘要:

Agentic Reinforcement Learning (RL) enables LLMs to solve complex tasks by alternating between a data-collection rollout phase and a policy training phase. During rollout, the agent generates trajectories, i.e., multi-step interactions between LLMs and external tools. Yet, frequent tool calls induce long-tailed trajectory generation that bottlenecks rollouts. This stems from step-centric designs that ignore trajectory context, triggering three system problems for long-tail trajectory generation: queueing delays, interference overhead, and inflated per-token time. We propose Heddle, a trajectory-centric system to optimize the when, where, and how of agentic rollout execution. Heddle integrates three core mechanisms: trajectory-level scheduling using runtime prediction and progressive priority to minimize cumulative queueing; trajectory-aware placement via presorted dynamic programming and opportunistic migration during idle tool call intervals to minimize interference; and trajectory-adaptive resource manager that dynamically tunes model parallelism to accelerate the per-token time of long-tail trajectories while maintaining high throughput for short trajectories. Evaluations across diverse agentic RL workloads demonstrate that Heddle effectively neutralizes the long-tail bottleneck, achieving up to 2.5$\times$ higher end-to-end rollout throughput compared to state-of-the-art baselines.

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

↑