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

基于角色的LLM强化学习后训练容错系统

Role-Based Fault Tolerance System for LLM RL Post-Training

Zhejiang University(浙江大学);State Key Laboratory of Mathematical Engineering and Advanced Computing(数学工程与先进计算国家重点实验室)

Zhenqian Chen, Baoquan Zhong, Xiang Li, Qing Dai, Xinkui Zhao, Miao Ye, Ren Cheng, Lufei Zhang, Jianwei Yin

AI总结:

RobustRL通过基于角色的故障隔离技术,有效提升LLM强化学习后训练的容错性能,实现训练时间比率提升80%以上。

摘要:

强化学习后训练(RL post-training)已被广泛应用于提升大语言模型(LLM)的推理和工具使用能力。然而,RL后训练过程会交织训练和推理工作负载,使系统面临来自两方面的故障风险。现有的LLM容错框架仅针对训练或推理,未探索异步执行中的优化潜力。我们的关键见解是基于角色的故障隔离,使一台机器的故障不影响其他机器。我们将强化学习训练中的训练器、回放和其他管理角色视为不同的分布式子任务。在ByteRobust中,我们不是重新启动整个RL任务,而是只恢复失败的角色并将其重新连接到存活的角色,从而消除重新启动的开销,包括回放重放和初始化延迟。我们提出了RobustRL,这是首个全面处理GPU机器错误的RL后训练容错系统,有效提高了训练时间比率(ETTR)。(1)检测:我们实现了基于角色的监控,以区分实际故障与角色特定行为,以避免误报和延迟检测。(2)重启:对于训练器,我们实现了非中断恢复,回放持续状态并继续轨迹生成,同时训练器通过回放热备快速恢复。对于回放,我们执行隔离机器替换,而不会中断RL任务。(3)重新连接:我们用动态的基于UCX(统一通信X)的点对点通信替代静态集体通信,使恢复的角色之间能够立即同步权重。在具有256个GPU的集群上,使用Qwen3-8B-Math工作负载,在10%的故障注入频率下,RobustRL相比ByteRobust的ETTR提高了超过80%,并在端到端训练时间上比ByteRobust快8.4%-17.4%。

英文摘要:

RL post-training for LLMs has been widely scaled to enhance reasoning and tool-using capabilities. However, RL post-training interleaves training and inference workloads, exposing the system to faults from both sides. Existing fault tolerance frameworks for LLMs target either training or inference, leaving the optimization potential in the asynchronous execution unexplored for RL. Our key insight is role-based fault isolation so the failure in one machine does not affect the others. We treat trainer, rollout, and other management roles in RL training as distinct distributed sub-tasks. Instead of restarting the entire RL task in ByteRobust, we recover only the failed role and reconnect it to living ones, thereby eliminating the full-restart overhead including rollout replay and initialization delay. We present RobustRL, the first comprehensive robust system to handle GPU machine errors for RL post-training Effective Training Time Ratio improvement. (1) \textit{Detect}. We implement role-aware monitoring to distinguish actual failures from role-specific behaviors to avoid the false positive and delayed detection. (2) \textit{Restart}. For trainers, we implement a non-disruptive recovery where rollouts persist state and continue trajectory generation, while the trainer is rapidly restored via rollout warm standbys. For rollout, we perform isolated machine replacement without interrupting the RL task. (3) \textit{Reconnect}. We replace static collective communication with dynamic, UCX-based (Unified Communication X) point-to-point communication, enabling immediate weight synchronization between recovered roles. In an RL training task on a 256-GPU cluster with Qwen3-8B-Math workload under 10\% failure injection frequency, RobustRL can achieve an ETTR of over 80\% compared with the 60\% in ByteRobust and achieves 8.4\%-17.4\% faster in end-to-end training time.

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

↑