Modern policy gradient algorithms, notably Proximal Policy Optimization (PPO), rely on an arsenal of heuristics, including loss clipping and gradient clipping, to ensure successful learning. These heuristics are reminiscent of techniques from robust statistics, commonly used for estimation in outlier-rich ("heavy-tailed") regimes. In this paper, we present a detailed empirical study to characterize the heavy-tailed nature of the gradients of the PPO surrogate reward function. We demonstrate that the gradients, especially for the actor network, exhibit pronounced heavy-tailedness and that it increases as the agent's policy diverges from the behavioral policy (i.e., as the agent goes further off policy). Further examination implicates the likelihood ratios and advantages in the surrogate reward as the main sources of the observed heavy-tailedness. We then highlight issues arising due to the heavy-tailed nature of the gradients. In this light, we study the effects of the standard PPO clipping heuristics, demonstrating that these tricks primarily serve to offset heavy-tailedness in gradients. Thus motivated, we propose incorporating GMOM, a high-dimensional robust estimator, into PPO as a substitute for three clipping tricks. Despite requiring less hyperparameter tuning, our method matches the performance of PPO (with all heuristics enabled) on a battery of MuJoCo continuous control tasks.
翻译:现代政策梯度算法,特别是Proximal 政策优化法(PPO),依赖包括损失剪切和梯度剪切等在内的累赘学宝库,以确保成功学习。这些累赘学是来自强健统计的技术的象征,通常用于估算超富(“重尾尾型”)制度。在本文中,我们提出详细的实证研究,以说明PPO代谢奖赏功能的梯度的重尾性质。我们证明,梯度,特别是行为者网络的梯度,显示出明显的累赘,而且随着代理人的政策与行为政策(即代理人越发偏离政策)不同而增加。进一步的研究涉及到超大型(“重尾尾尾尾尾尾尾尾尾尾尾尾尾)奖励作为观察到的主要来源的可能性比和优势。我们随后着重介绍了由于梯度的重尾尾随性性质而产生的问题。我们研究了标准PPPPO剪裁的影响,表明这些伎俩的伎俩技巧主要用来抵消GMO的重尾行控制,因此,我们提出了一种不那么高的双尾调的超尾调方法。