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

GEAR:面向大型强化学习模型的以GPU为中心的经验回放系统

GEAR: A GPU-Centric Experience Replay System for Large Reinforcement Learning Models

Shanghai Jiao Tong University(上海交通大学);Digital Brain Lab(数字大脑实验室);University of Edinburgh(爱丁堡大学);University College London(伦敦大学学院);Peking University(北京大学)

Hanjing Wang, Man-Kit Sit, Congjie He, Ying Wen, Weinan Zhang, Jun Wang, Yaodong Yang, Luo Mai

AI总结:

针对大型序列模型强化学习训练中现有经验回放系统的内存、计算与通信瓶颈,本文提出以GPU为中心的分布式系统GEAR,通过优化内存利用、分散轨迹选择与高效通信,实现最高6倍于Reverb的性能并已开源。

摘要:

本文介绍了一种分布式、以GPU为中心的经验回放系统GEAR,旨在支持大型序列模型(如transformer)的可扩展强化学习(RL)训练。使用此类模型时,Reverb等现有系统在内存、计算和通信方面存在显著瓶颈。而GEAR通过利用GPU服务器上的内存资源(包括主机内存和设备内存)管理轨迹数据,优化了内存效率。此外,它支持分散的GPU设备加速各类轨迹选择策略,规避了计算瓶颈。GEAR配备了可通过零拷贝访问主机内存、以及通过InfiniBand远程直接内存访问来收集轨迹的GPU内核,提升了通信效率。集群实验表明,在训练当前最先进的大型RL模型时,GEAR的性能最高可达Reverb的6倍。GEAR已在https://github.com/bigrl-team/gear开源。

英文摘要:

This paper introduces a distributed, GPU-centric experience replay system, GEAR, designed to perform scalable reinforcement learning (RL) with large sequence models (such as transformers). With such models, existing systems such as Reverb face considerable bottlenecks in memory, computation, and communication. GEAR, however, optimizes memory efficiency by enabling the memory resources on GPU servers (including host memory and device memory) to manage trajectory data. Furthermore, it facilitates decentralized GPU devices to expedite various trajectory selection strategies, circumventing computational bottlenecks. GEAR is equipped with GPU kernels capable of collecting trajectories using zero-copy access to host memory, along with remote-directed-memory access over InfiniBand, improving communication efficiency. Cluster experiments have shown that GEAR can achieve performance levels up to 6x greater than Reverb when training state-of-the-art large RL models. GEAR is open-sourced at https://github.com/bigrl-team/gear.

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

↑