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

AReaL-Hex:在异构GPU上支持异步RL训练

AReaL-Hex: Accommodating Asynchronous RL Training over Heterogeneous GPUs

HKUST(香港科技大学);Tsinghua University(清华大学);Ant Group(蚂蚁集团)

Ran Yan, Youhe Jiang, Tianyuan Wu, Jiaxuan Gao, Zhiyu Mei, Wei Fu, Haohui Mai, Wei Wang, Yi Wu, Binhang Yuan

AI总结:

本文提出AReaL-Hex,一个感知异构性的异步RL训练系统,通过两阶段调度器(MILP约束搜索和图划分)在异构GPU上优化rollout生成与策略训练,在保证数据陈旧度边界下,较同构部署实现最高1.50倍吞吐量提升和1.46倍成本降低。

摘要:

最大化LLM的RL训练吞吐量和成本效率对于普及这一先进技术至关重要。一种有前景但具挑战性的方法是将此类计算工作流部署在异构GPU上。与传统的LLM大规模预训练不同,RL训练通常分解为三个耦合阶段,即rollout生成、奖励计算和策略/价值更新,它们表现出明显不同的计算强度、内存占用和通信模式。近期研究表明,全异步RL训练可以在不牺牲训练稳定性的情况下,将这些阶段解耦到不相交的硬件池中,为现实世界的异构部署创造了绝佳机会。为此,我们提出了AReaL-Hex,这是一个感知异构性的异步RL训练系统,能在强制执行数据陈旧度边界的同时,有效调度如何在异构GPU上执行rollout生成和策略模型训练。具体而言,我们使用两阶段调度器:(i) 在给定资源预算下,通过MILP进行约束搜索,以选择每个阶段的并行化策略和工作负载分配;(ii) 通过图划分步骤分配异构GPU和互连,以最大化端到端吞吐量。AReaL-Hex构建于全异步RL架构之上,将受HBM-I/O限制的生成和受计算限制的优化映射到更具成本效益的资源上,并平衡它们的生产者-消费者交互,以避免空闲和陈旧的rollout轨迹。在具有不同模型规模(1.5B、7B和14B)的数学推理任务上,与最先进的异步RL系统的同构部署相比:(i) 在保持相同总预算的情况下,AReaL-Hex提供了高达1.50倍的训练吞吐量提升;(ii) 在达到相同训练吞吐量的情况下,AReaL-Hex使训练成本降低了高达1.46倍。

英文摘要:

Maximizing training throughput and cost-efficiency of RL for LLMs is essential to democratize this advanced technique. One promising but challenging approach is to deploy such a computational workflow over heterogeneous GPUs. Unlike conventional large-scale LLM pretraining, RL training generally decomposes into three coupled stages, i.e., rollout generation, reward computation, and policy/value updates, which exhibit markedly different compute intensities, memory footprints, and communication patterns. Recent research shows that fully asynchronous RL training can disaggregate these stages across disjoint hardware pools without sacrificing training stability, creating a great opportunity for real-world heterogeneous deployment. To this end, we present AReaL-Hex, a heterogeneity-aware asynchronous RL training system that effectively schedules how to execute rollout generation and policy model training over heterogeneous GPUs while enforcing data staleness bounds. Concretely, we use a two-phase scheduler: (i) a constrained search with MILP to select per-stage parallelization strategies and workload assignments given a resource budget, and (ii) a graph-partitioning step that allocates heterogeneous GPUs and interconnects to maximize end-to-end throughput. Built atop a fully asynchronous RL architecture, AReaL-Hex maps HBM-I/O-bound generation and compute-bound optimization to more cost-efficient resources and balances their producer-consumer interactions to avoid both idleness and stale rollout trajectories. On the mathematical reasoning task with various model scales (1.5B, 7B, and 14B), compared to homogeneous deployments of state-of-the-art asynchronous RL systems: (i) When maintaining the same total budgets, AReaL-Hex delivers up to 1.50x higher training throughput; (ii) When achieving the same training throughput, AReaL-Hex results in up to 1.46x reduction in training cost.

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

↑