基于PID拉格朗日方法的强化学习响应安全性
Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
摘要:
拉格朗日方法是约束最优化问题的广泛使用的算法,但其学习动力学表现出振荡和过冲,当应用于安全的强化学习时,导致在代理训练期间违反约束的行为。我们提出了一种新的拉格朗日乘子更新方法,利用衍生物的约束函数来解决这个缺点。我们采取控制的角度来看,其中传统的拉格朗日乘子更新行为的\emph{integral}控制;我们的条款介绍\emph{proportional}和\emph{derivative}控制,通过阻尼和预测措施,实现良好的学习动态。我们将我们的PID拉格朗日方法应用于深度RL,在安全的RL基准Safety Gym中树立了新的艺术水平。最后,我们介绍了一种新的方法,以减轻控制器调整提供不变性的相对数值尺度的奖励和成本。我们广泛的实验表明,改进的性能和超参数鲁棒性,而我们的算法仍然几乎一样简单,推导和实现传统的拉格朗日方法。
英文摘要:
Lagrangian methods are widely used algorithms for constrained optimization problems, but their learning dynamics exhibit oscillations and overshoot which, when applied to safe reinforcement learning, leads to constraint-violating behavior during agent training. We address this shortcoming by proposing a novel Lagrange multiplier update method that utilizes derivatives of the constraint function. We take a controls perspective, wherein the traditional Lagrange multiplier update behaves as \emph{integral} control; our terms introduce \emph{proportional} and \emph{derivative} control, achieving favorable learning dynamics through damping and predictive measures. We apply our PID Lagrangian methods in deep RL, setting a new state of the art in Safety Gym, a safe RL benchmark. Lastly, we introduce a new method to ease controller tuning by providing invariance to the relative numerical scales of reward and cost. Our extensive experiments demonstrate improved performance and hyperparameter robustness, while our algorithms remain nearly as simple to derive and implement as the traditional Lagrangian approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。