Skip to main content
QUICK REVIEW

[论文解读] Feasible Actor-Critic: Constrained Reinforcement Learning for Ensuring Statewise Safety

Haitong Ma, Yang Guan|arXiv (Cornell University)|May 22, 2021
Reinforcement Learning in RoboticsComputer Science参考文献 41被引用 19
一句话总结

该论文提出了一种无模型的约束强化学习算法——可行演员-评论家(Feasible Actor-Critic, FAC),通过学习状态相关的拉格朗日乘数网络,识别出可行状态(即在任何策略下均可实现安全的状态),从而实现逐状态的安全性保障。与基于期望值的方法相比,FAC在约束违反次数更少的同时获得了更高的平均回报,且乘数网络可明确指示哪些状态本质上不安全。

ABSTRACT

The safety constraints commonly used by existing safe reinforcement learning (RL) methods are defined only on expectation of initial states, but allow each certain state to be unsafe, which is unsatisfying for real-world safety-critical tasks. In this paper, we introduce the feasible actor-critic (FAC) algorithm, which is the first model-free constrained RL method that considers statewise safety, e.g, safety for each initial state. We claim that some states are inherently unsafe no matter what policy we choose, while for other states there exist policies ensuring safety, where we say such states and policies are feasible. By constructing a statewise Lagrange function available on RL sampling and adopting an additional neural network to approximate the statewise Lagrange multiplier, we manage to obtain the optimal feasible policy which ensures safety for each feasible state and the safest possible policy for infeasible states. Furthermore, the trained multiplier net can indicate whether a given state is feasible or not through the statewise complementary slackness condition. We provide theoretical guarantees that FAC outperforms previous expectation-based constrained RL methods in terms of both constraint satisfaction and reward optimization. Experimental results on both robot locomotive tasks and safe exploration tasks verify the safety enhancement and feasibility interpretation of the proposed method.

研究动机与目标

  • 为解决强化学习中基于期望值的安全约束的局限性,即尽管满足平均安全性,但个别状态仍可能不安全。
  • 定义并识别可行状态(即在任何策略下均可实现安全的状态)与不可行状态(即碰撞不可避免的状态)。
  • 开发一种无模型的强化学习算法,确保所有可行初始状态的安全性,并为不可行状态寻找最安全的策略。
  • 使学习到的乘数网络能够指示状态的可行性,从而提供可解释性与安全监控能力。
  • 理论上界定FAC的约束函数和回报,使其处于基于期望值方法的界内,确保一致性与可靠性。

提出的方法

  • 提出一种新颖的逐状态拉格朗日函数,利用神经网络近似逐状态拉格朗日乘数,从而实现每个状态的无限安全约束。
  • 采用原始-对偶梯度上升框架,联合训练策略网络、价值函数网络与乘数网络,确保收敛至最优可行策略。
  • 基于乘数网络的输出,引入互补松弛条件,以判断某一状态是否可行或不可行。
  • 采用基于梯度的可行性判别:若乘数为零,则该状态可行;否则为不可行。
  • 采用有限时域形式化安全约束,通过阈值参数将频率型安全要求转化为折扣成本约束。
  • 对学习率与超参数采用线性退火策略,结合经验回放缓冲区与目标网络,提升训练稳定性。

实验结果

研究问题

  • RQ1无模型强化学习算法能否确保每个初始状态的安全性,而不仅仅是期望状态分布下的安全性?
  • RQ2如何识别出无论选择何种策略都本质不安全的状态?
  • RQ3学习到的乘数网络能否同时实现最优策略学习与状态可行性的指示?
  • RQ4与基于期望值的约束强化学习相比,逐状态安全性在约束违反次数与回报方面表现如何?
  • RQ5与现有方法相比,该方法的约束函数与回报可提供哪些理论保证?

主要发现

  • 在多个任务中,包括紧急制动与安全探索,FAC在约束违反次数上显著少于基于期望值的方法(如CPO与PPO-Lagrangian)。
  • 在紧急制动任务中,FAC学习到的可行区域与理论边界高度吻合,而基于期望值的方法无法准确逼近该边界。
  • 乘数网络能准确指示状态可行性:乘数为零的状态为可行,非零值则为不可行,该结论通过梯度分析得到验证。
  • FAC的总回报始终高于CPO与PPO-Lagrangian,表明其具有更高的样本效率与更优的策略质量。
  • 理论分析表明,FAC的约束函数被上界控制,其回报被下界控制,且界位于基于期望值方法的范围内,确保了保守的安全性与可靠性。
  • 在安全探索任务中,FAC在折扣阈值为10时,维持了0.1的代价率,表明其能有效处理频率型安全约束。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。