arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03903cs.LG
收藏

平均 $n$-步回报降低强化学习中的方差

Averaging $n$-step Returns Reduces Variance in Reinforcement Learning

Department of Computing Science, University of Alberta, Edmonton, AB, Canada(阿尔伯塔大学计算机科学系);Alberta Machine Intelligence Institute(阿尔伯塔机器智能研究所);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)

Brett Daley, Martha White, Marlos C. Machado

AI总结:

本文提出复合回报方法,通过加权平均 $n$-步回报降低强化学习中的方差,提升样本效率和算法性能。

摘要:

多步回报,如 $n$-步回报和 $λ$-回报,常用于提高强化学习(RL)方法的样本效率。多步回报的方差成为其长度的限制因素;向前看太多会增加方差并抵消多步学习的益处。在我们的工作中,我们证明了复合回报——$n$-步回报的加权平均——能够降低方差。我们首次证明了任何具有相同收缩模量的复合回报都比给定的 $n$-步回报具有严格更低的方差。我们还证明了这种降方差属性提高了线性函数逼近下的时间差分学习的有限样本复杂性。由于一般的复合回报可能难以实现,我们引入了双bootstrap回报,这种回报在使用小批量经验回放时仍保持高效,同时降低方差。我们进行了实验,表明复合回报通常会提高 $n$-步深度RL智能体如DQN和PPO的样本效率。

英文摘要:

Multistep returns, such as $n$-step returns and $λ$-returns, are commonly used to improve the sample efficiency of reinforcement learning (RL) methods. The variance of the multistep returns becomes the limiting factor in their length; looking too far into the future increases variance and reverses the benefits of multistep learning. In our work, we demonstrate the ability of compound returns -- weighted averages of $n$-step returns -- to reduce variance. We prove for the first time that any compound return with the same contraction modulus as a given $n$-step return has strictly lower variance. We additionally prove that this variance-reduction property improves the finite-sample complexity of temporal-difference learning under linear function approximation. Because general compound returns can be expensive to implement, we introduce two-bootstrap returns which reduce variance while remaining efficient, even when using minibatched experience replay. We conduct experiments showing that compound returns often increase the sample efficiency of $n$-step deep RL agents like DQN and PPO.

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

↑