高度并行化的强化学习训练与松弛分配依赖
Highly Parallelized Reinforcement Learning Training with Relaxed Assignment Dependencies
AI总结:
针对深度强化学习训练并行化不足的问题,提出高吞吐分布式系统TianJi,通过松弛分配依赖和事件驱动异步通信,并基于样本生产消费平衡策略保证收敛,显著加速训练并具备良好可扩展性。
摘要:
随着对高性能智能体的需求日益增长,深度强化学习(DRL)的训练复杂度也随之提高。因此,加速DRL训练已成为一个主要的研究焦点。将DRL训练过程划分为子任务并利用并行计算,可以有效降低训练成本。然而,由于子任务组件之间的数据分配问题,当前的DRL训练系统缺乏足够的并行化。这一分配问题一直被忽视,但解决它可以进一步提升训练效率。为此,我们提出了一种高吞吐量的分布式强化学习训练系统,名为TianJi。它放宽了子任务组件之间的分配依赖,并实现了事件驱动的异步通信。同时,TianJi保持了子任务组件之间的清晰边界。为了解决因松弛分配依赖而带来的收敛不确定性,TianJi提出了一种基于样本生产与消费平衡的分布式策略。该策略控制样本的陈旧度以校正其质量,确保收敛。我们进行了大量实验。与相关对比系统相比,TianJi实现了高达4.37的收敛时间加速比。当扩展到八个计算节点时,相对于XingTian,TianJi显示出1.6的收敛时间加速比和7.13的吞吐量加速比,证明了其加速训练的能力和可扩展性。在数据传输效率实验中,TianJi显著优于其他系统,接近硬件极限。TianJi在on-policy算法中也表现出有效性,与RLlib和XingTian相比,实现了4.36和2.95的收敛时间加速比。TianJi可在https://github.com/HiPRL/TianJi.git获取。
英文摘要:
As the demands for superior agents grow, the training complexity of Deep Reinforcement Learning (DRL) becomes higher. Thus, accelerating training of DRL has become a major research focus. Dividing the DRL training process into subtasks and using parallel computation can effectively reduce training costs. However, current DRL training systems lack sufficient parallelization due to data assignment between subtask components. This assignment issue has been ignored, but addressing it can further boost training efficiency. Therefore, we propose a high-throughput distributed RL training system called TianJi. It relaxes assignment dependencies between subtask components and enables event-driven asynchronous communication. Meanwhile, TianJi maintains clear boundaries between subtask components. To address convergence uncertainty from relaxed assignment dependencies, TianJi proposes a distributed strategy based on the balance of sample production and consumption. The strategy controls the staleness of samples to correct their quality, ensuring convergence. We conducted extensive experiments. TianJi achieves a convergence time acceleration ratio of up to 4.37 compared to related comparison systems. When scaled to eight computational nodes, TianJi shows a convergence time speedup of 1.6 and a throughput speedup of 7.13 relative to XingTian, demonstrating its capability to accelerate training and scalability. In data transmission efficiency experiments, TianJi significantly outperforms other systems, approaching hardware limits. TianJi also shows effectiveness in on-policy algorithms, achieving convergence time acceleration ratios of 4.36 and 2.95 compared to RLlib and XingTian. TianJi is accessible at https://github.com/HiPRL/TianJi.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。