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

采用随机有状态策略的时间高效强化学习

Time-Efficient Reinforcement Learning with Stochastic Stateful Policies

Intelligent Autonomous Systems(智能自主系统实验室);Locomotion Laboratory(运动实验室);German Research Center for AI (DFKI)(德国人工智能研究中心(DFKI));Centre for Cognitive Science(认知科学中心);TU Darmstadt(达姆施塔特工业大学)

Firas Al-Hafez, Guoping Zhao, Jan Peters, Davide Tateo

AI总结:

针对传统BPTT训练有状态策略存在训练慢、梯度消失/爆炸及截断梯度导致更新有偏的问题,提出将有状态策略分解为随机内部状态核与无状态策略并联合优化的方法,推导相关梯度定理,在连续控制任务上验证其高效可扩展,可作为BPTT的更优替代。

摘要:

有状态策略在强化学习中发挥着重要作用,例如处理部分可观测环境、增强鲁棒性,或是直接在策略结构中引入归纳偏置。训练有状态策略的传统方法是沿时间反向传播(Backpropagation Through Time, BPTT),该方法存在显著缺陷,比如因梯度顺序传播导致训练缓慢,还会出现梯度消失或爆炸问题。为解决这些问题,人们通常会对梯度进行截断,但这会导致策略更新存在偏差。\n我们提出了一种训练有状态策略的新方法,将有状态策略分解为随机内部状态核和无状态策略,通过遵循有状态策略梯度进行联合优化。我们推导了不同版本的有状态策略梯度定理,使得我们能够轻松构建主流强化学习与模仿学习算法的有状态变体。此外,我们对新型梯度估计器进行了理论分析,并将其与BPTT进行对比。我们在复杂的连续控制任务(例如人形机器人运动)上评估了该方法,结果表明,我们的梯度估计器可随任务复杂度有效扩展,同时为BPTT提供了一种更快速、更简便的替代方案。

英文摘要:

Stateful policies play an important role in reinforcement learning, such as handling partially observable environments, enhancing robustness, or imposing an inductive bias directly into the policy structure. The conventional method for training stateful policies is Backpropagation Through Time (BPTT), which comes with significant drawbacks, such as slow training due to sequential gradient propagation and the occurrence of vanishing or exploding gradients. The gradient is often truncated to address these issues, resulting in a biased policy update. We present a novel approach for training stateful policies by decomposing the latter into a stochastic internal state kernel and a stateless policy, jointly optimized by following the stateful policy gradient. We introduce different versions of the stateful policy gradient theorem, enabling us to easily instantiate stateful variants of popular reinforcement learning and imitation learning algorithms. Furthermore, we provide a theoretical analysis of our new gradient estimator and compare it with BPTT. We evaluate our approach on complex continuous control tasks, e.g., humanoid locomotion, and demonstrate that our gradient estimator scales effectively with task complexity while offering a faster and simpler alternative to BPTT.

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

↑