arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.19927cs.LGcs.AI
收藏

基于模型的重参数化策略梯度方法:理论与实用算法

Model-Based Reparameterization Policy Gradient Methods: Theory and Practical Algorithms

Northwestern University(西北大学)

Shenao Zhang, Boyi Liu, Zhaoran Wang, Tuo Zhao

AI总结:

本文针对基于模型的重参数化策略梯度方法在长期强化学习中梯度方差爆炸和收敛缓慢的问题,通过理论分析指出函数逼近器光滑性是关键因素,并提出谱归一化方法以降低梯度方差,实验证明其性能与似然比梯度估计器相当或更优。

摘要:

重参数化(RP)策略梯度方法(PGMs)已被广泛应用于机器人和计算机图形学中的连续控制任务。然而,近期研究表明,当应用于长期强化学习问题时,基于模型的RP PGMs可能会遇到混沌且非光滑的优化景观,并伴随梯度方差爆炸,从而导致收敛缓慢。这与传统观念相反,传统观念认为重参数化方法在训练深度生成模型等问题中具有较低的梯度估计方差。为了理解这一现象,我们对基于模型的RP PGMs进行了理论检验,并寻找解决优化困难的方法。具体而言,我们分析了基于模型的RP PGMs的收敛性,并指出函数逼近器的光滑性是影响梯度估计质量的主要因素。基于我们的分析,我们提出了一种谱归一化方法,以缓解由长模型展开引起的梯度方差爆炸问题。我们的实验结果表明,适当的归一化显著降低了基于模型的RP PGMs的梯度方差。因此,所提出方法的性能与其他梯度估计器(如似然比(LR)梯度估计器)相当或更优。我们的代码可在 https://github.com/agentification/RP_PGM 获取。

英文摘要:

ReParameterization (RP) Policy Gradient Methods (PGMs) have been widely adopted for continuous control tasks in robotics and computer graphics. However, recent studies have revealed that, when applied to long-term reinforcement learning problems, model-based RP PGMs may experience chaotic and non-smooth optimization landscapes with exploding gradient variance, which leads to slow convergence. This is in contrast to the conventional belief that reparameterization methods have low gradient estimation variance in problems such as training deep generative models. To comprehend this phenomenon, we conduct a theoretical examination of model-based RP PGMs and search for solutions to the optimization difficulties. Specifically, we analyze the convergence of the model-based RP PGMs and pinpoint the smoothness of function approximators as a major factor that affects the quality of gradient estimation. Based on our analysis, we propose a spectral normalization method to mitigate the exploding variance issue caused by long model unrolls. Our experimental results demonstrate that proper normalization significantly reduces the gradient variance of model-based RP PGMs. As a result, the performance of the proposed method is comparable or superior to other gradient estimators, such as the Likelihood Ratio (LR) gradient estimator. Our code is available at https://github.com/agentification/RP_PGM.

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

↑