arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.00079cs.LGcs.AI
收藏

在PPO中可能不需要比率限幅

You May Not Need Ratio Clipping in PPO

Department of Computer Science, University of Oxford(牛津大学计算机科学系);Microsoft Research(微软研究院)

Mingfei Sun, Vitaly Kurin, Guoqing Liu, Sam Devlin, Tao Qin, Katja Hofmann, Shimon Whiteson

摘要:

近端策略优化(PPO)方法通过利用一组采样数据迭代地执行代理目标的多个小批量优化时期来学习策略。比率裁剪PPO是一种流行的变体,它裁剪目标策略和用于收集样本的策略之间的概率比。比率裁剪产生原始代理目标的悲观估计,并且已被证明对于强大的性能至关重要。我们在本文中表明,这种比率裁剪可能不是一个好的选择,因为它可能无法有效地约束比率。相反,可以直接优化多个时期的原始代理目标;关键是找到适当的条件,以便在每次迭代中提前停止优化时期。我们的理论分析揭示了如何确定何时停止优化时期,并调用由此产生的算法提前停止策略优化(ESPO)。我们比较ESPO与PPO在许多连续的控制任务,并表明ESPO显着优于PPO。此外,我们表明,ESPO可以很容易地扩展到分布式培训与许多工人,以及提供强大的性能。

英文摘要:

Proximal Policy Optimization (PPO) methods learn a policy by iteratively performing multiple mini-batch optimization epochs of a surrogate objective with one set of sampled data. Ratio clipping PPO is a popular variant that clips the probability ratios between the target policy and the policy used to collect samples. Ratio clipping yields a pessimistic estimate of the original surrogate objective, and has been shown to be crucial for strong performance. We show in this paper that such ratio clipping may not be a good option as it can fail to effectively bound the ratios. Instead, one can directly optimize the original surrogate objective for multiple epochs; the key is to find a proper condition to early stop the optimization epoch in each iteration. Our theoretical analysis sheds light on how to determine when to stop the optimization epoch, and call the resulting algorithm Early Stopping Policy Optimization (ESPO). We compare ESPO with PPO across many continuous control tasks and show that ESPO significantly outperforms PPO. Furthermore, we show that ESPO can be easily scaled up to distributed training with many workers, delivering strong performance as well.

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

↑