arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.12983cs.LGcs.AIcs.RO
收藏

并行$Q$-学习:在大规模并行仿真下扩展离策略强化学习

Parallel $Q$-Learning: Scaling Off-policy Reinforcement Learning under Massively Parallel Simulation

Massachusetts Institute of Technology(麻省理工学院)

Zechu Li, Tao Chen, Zhang-Wei Hong, Anurag Ajay, Pulkit Agrawal

AI总结:

针对离策略强化学习难扩展、墙钟训练时间长的问题,提出专为单工作站大规模GPU仿真设计的并行$Q$-学习方案,通过并行化数据采集与学习过程,在保持样本效率的同时超越PPO的训练速度,可扩展至数万个并行环境。

摘要:

强化学习在复杂任务中耗时较长,因为需要大量训练数据。基于GPU的仿真技术(如Isaac Gym)的最新进展,已在普通消费级GPU上将数据采集速度提升了数千倍。此前大多数研究采用PPO这类同策略方法,因为它们简单且易于扩展。离策略方法数据效率更高,但扩展难度大,导致实际墙钟训练时间更长。本文提出了并行$Q$-学习(Parallel $Q$-Learning,PQL)方案,它在墙钟时间上优于PPO,同时保留了离策略学习出色的样本效率。PQL通过并行化数据采集、策略学习和价值学习实现这一目标。与Apex等分布式离策略学习的已有研究不同,我们的方案专为大规模并行GPU仿真设计,且针对单工作站进行了优化。实验中,我们证明$Q$-学习可扩展至数万个并行环境,并探究了影响学习速度的关键因素。代码可在https://github.com/Improbable-AI/pql获取。

英文摘要:

Reinforcement learning is time-consuming for complex tasks due to the need for large amounts of training data. Recent advances in GPU-based simulation, such as Isaac Gym, have sped up data collection thousands of times on a commodity GPU. Most prior works used on-policy methods like PPO due to their simplicity and ease of scaling. Off-policy methods are more data efficient but challenging to scale, resulting in a longer wall-clock training time. This paper presents a Parallel $Q$-Learning (PQL) scheme that outperforms PPO in wall-clock time while maintaining superior sample efficiency of off-policy learning. PQL achieves this by parallelizing data collection, policy learning, and value learning. Different from prior works on distributed off-policy learning, such as Apex, our scheme is designed specifically for massively parallel GPU-based simulation and optimized to work on a single workstation. In experiments, we demonstrate that $Q$-learning can be scaled to \textit{tens of thousands of parallel environments} and investigate important factors affecting learning speed. The code is available at https://github.com/Improbable-AI/pql.

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

↑