QuaRL:用于快速和环境可持续的强化学习的Quantization
QuaRL: Quantization for Fast and Environmentally Sustainable Reinforcement Learning
摘要:
深度强化学习在实现任务级自主性方面继续显示出巨大的潜力,然而,其计算和能量需求仍然非常高。在本文中,我们通过将量化应用于强化学习来解决这个问题。为此,我们引入了一种新的强化学习(RL)训练范式,\textit{ActorQ},以加快演员-学习者分布式RL训练。\textit{ActorQ}利用8位量化参与者来加速数据汇集,而不影响学习收敛。我们的量化分布式RL训练系统\textit{ActorQ}展示了端到端的加速\blue{between 1.5 $\times$ and 5.41$\times$},以及在一系列任务(Deepmind Control Suite)和不同RL算法(D4 PG,DQN)上的全精度训练的更快收敛。此外,我们比较了\textit{ActorQ}与标准强化学习\blue{algorithms}在各种任务上的碳排放量(二氧化碳的千克数)。在各种设置中,我们表明\textit{ActorQ}通过实现\blue{carbon emission improvements between 1.9$\times$ and 3.76$\times$}来实现更环保的强化学习,而不是在全精度中训练RL代理。我们相信,这是未来许多关于实现计算节能和可持续强化学习的工作中的第一个。源代码可在此处提供给公众用途:\url{https://github.com/harvard-edge/QuaRL}。
英文摘要:
Deep reinforcement learning continues to show tremendous potential in achieving task-level autonomy, however, its computational and energy demands remain prohibitively high. In this paper, we tackle this problem by applying quantization to reinforcement learning. To that end, we introduce a novel Reinforcement Learning (RL) training paradigm, \textit{ActorQ}, to speed up actor-learner distributed RL training. \textit{ActorQ} leverages 8-bit quantized actors to speed up data collection without affecting learning convergence. Our quantized distributed RL training system, \textit{ActorQ}, demonstrates end-to-end speedups \blue{between 1.5 $\times$ and 5.41$\times$}, and faster convergence over full precision training on a range of tasks (Deepmind Control Suite) and different RL algorithms (D4PG, DQN). Furthermore, we compare the carbon emissions (Kgs of CO2) of \textit{ActorQ} versus standard reinforcement learning \blue{algorithms} on various tasks. Across various settings, we show that \textit{ActorQ} enables more environmentally friendly reinforcement learning by achieving \blue{carbon emission improvements between 1.9$\times$ and 3.76$\times$} compared to training RL-agents in full-precision. We believe that this is the first of many future works on enabling computationally energy-efficient and sustainable reinforcement learning. The source code is available here for the public to use: \url{https://github.com/harvard-edge/QuaRL}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。