RLAX:在TPUs上为大语言模型实现大规模分布式强化学习
RLAX: Large-Scale, Distributed Reinforcement Learning for Large Language Models on TPUs
AI总结:
RLAX在TPUs上实现大规模分布式强化学习,通过参数服务器架构和新数据集筛选技术,提升大语言模型的推理能力。
摘要:
强化学习(RL)已逐渐成为提升大语言模型(LLMs)推理能力的主流范式。我们开发了RLAX,一种在TPUs上的可扩展RL框架。RLAX采用参数服务器架构。主训练器定期将更新的模型权重推送到参数服务器,而一批推理工作者则拉取最新权重并生成新的回放。我们引入了一套系统技术,以实现可扩展且可抢占的RL,适用于多种最先进的RL算法。为了加速收敛并提高模型质量,我们设计了新的数据集筛选和对齐技术。大规模评估显示,RLAX在1024个v5p TPUs上仅用12小时48分钟,就将QwQ-32B的pass@8准确率提高了12.8%,同时在训练过程中仍能保持对抢占的鲁棒性。
英文摘要:
Reinforcement learning (RL) has emerged as the de-facto paradigm for improving the reasoning capabilities of large language models (LLMs). We have developed RLAX, a scalable RL framework on TPUs. RLAX employs a parameter-server architecture. A master trainer periodically pushes updated model weights to the parameter server while a fleet of inference workers pull the latest weights and generates new rollouts. We introduce a suite of system techniques to enable scalable and preemptible RL for a diverse set of state-of-art RL algorithms. To accelerate convergence and improve model quality, we have devised new dataset curation and alignment techniques. Large-scale evaluations show that RLAX improves QwQ-32B's pass@8 accuracy by 12.8% in just 12 hours 48 minutes on 1024 v5p TPUs, while remaining robust to preemptions during training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。