Deploying Reinforcement Learning (RL) agents to solve real-world applications often requires satisfying complex system constraints. Often the constraint thresholds are incorrectly set due to the complex nature of a system or the inability to verify the thresholds offline (e.g, no simulator or reasonable offline evaluation procedure exists). This results in solutions where a task cannot be solved without violating the constraints. However, in many real-world cases, constraint violations are undesirable yet they are not catastrophic, motivating the need for soft-constrained RL approaches. We present two soft-constrained RL approaches that utilize meta-gradients to find a good trade-off between expected return and minimizing constraint violations. We demonstrate the effectiveness of these approaches by showing that they consistently outperform the baselines across four different Mujoco domains.
翻译:部署强化学习(RL)代理商以解决现实世界应用往往需要满足复杂的系统限制。由于系统的复杂性或无法核实离线阈值(例如,不存在模拟器或合理的离线评估程序),往往错误地设定了限制阈值。这导致在不违反限制的情况下无法解决问题的解决办法。然而,在许多现实世界中,限制违规现象是不可取的,但却不是灾难性的,促使需要采用软约束的RL方法。我们提出了两种软约束的RL方法,利用元分法在预期返回和尽量减少限制违规之间找到一个良好的平衡点。我们通过表明这些方法始终超越四个不同的Mujoco域的基线来证明这些方法的有效性。