arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.06126cs.LGcs.AIcs.DC
收藏

Spreeze:高吞吐量并行强化学习框架

Spreeze: High-Throughput Parallel Reinforcement Learning Framework

Jing Hou, Guang Chen, Ruiqi Zhang, Zhijun Li, Shangding Gu, Changjun Jiang

AI总结:

针对单台台式机上并行 RL 框架通信开销过大的问题,提出轻量级 Spreeze,通过异步并行、高效传输、自动调参和双 GPU 更新实现数量级提速并减少 73% 训练时间。

摘要:

强化学习(RL)大规模应用的推广需要高效的训练计算。尽管现有的并行 RL 框架包含多种 RL 算法和并行化技术,但过于繁重的通信框架阻碍了在单台台式机上达到硬件的最终吞吐量极限和训练效果。本文提出 Spreeze,这是一个轻量级并行 RL 框架,可高效利用单台台式机硬件资源以逼近吞吐量极限。我们将经验采样、网络更新、性能评估和可视化操作进行异步并行化,并采用多种高效数据传输技术在进程间传输各类数据。该框架能够根据硬件设备的计算能力自动调整并行化超参数,以执行高效的大批量更新。基于“Actor-Critic”RL 算法的特点,我们的框架使用双 GPU 独立更新 actor 和 critic 的网络,以进一步提高吞吐量。仿真结果表明,仅使用一台个人台式计算机,我们的框架即可实现高达 15,000Hz 的经验采样和 370,000Hz 的网络更新帧率,比其他主流并行 RL 框架高出一个数量级,使训练时间减少 73%。我们关于充分利用单台台式计算机硬件资源的工作,是实现高效大规模分布式 RL 训练的基础。

英文摘要:

The promotion of large-scale applications of reinforcement learning (RL) requires efficient training computation. While existing parallel RL frameworks encompass a variety of RL algorithms and parallelization techniques, the excessively burdensome communication frameworks hinder the attainment of the hardware's limit for final throughput and training effects on a single desktop. In this paper, we propose Spreeze, a lightweight parallel framework for RL that efficiently utilizes a single desktop hardware resource to approach the throughput limit. We asynchronously parallelize the experience sampling, network update, performance evaluation, and visualization operations, and employ multiple efficient data transmission techniques to transfer various types of data between processes. The framework can automatically adjust the parallelization hyperparameters based on the computing ability of the hardware device in order to perform efficient large-batch updates. Based on the characteristics of the "Actor-Critic" RL algorithm, our framework uses dual GPUs to independently update the network of actors and critics in order to further improve throughput. Simulation results show that our framework can achieve up to 15,000Hz experience sampling and 370,000Hz network update frame rate using only a personal desktop computer, which is an order of magnitude higher than other mainstream parallel RL frameworks, resulting in a 73% reduction of training time. Our work on fully utilizing the hardware resources of a single desktop computer is fundamental to enabling efficient large-scale distributed RL training.

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

↑