Skip to main content
QUICK REVIEW

[Paper 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 Science41 references19 citations
TL;DR

This paper proposes Feasible Actor-Critic (FAC), a model-free constrained reinforcement learning algorithm that ensures statewise safety by identifying feasible states—those where safety is achievable regardless of policy—through a learned statewise Lagrange multiplier network. FAC achieves lower constraint violations and higher average returns than expectation-based methods, while the multiplier network explicitly indicates which states are inherently unsafe.

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.

Motivation & Objective

  • To address the limitation of expectation-based safety constraints in RL, which allow individual states to be unsafe despite satisfying average safety.
  • To define and identify feasible states—those where safety is achievable under any policy—versus infeasible states where collisions are inevitable.
  • To develop a model-free RL algorithm that guarantees safety for all feasible initial states and finds the safest policy for infeasible ones.
  • To enable the learned multiplier network to indicate state feasibility, providing interpretability and safety monitoring.
  • To theoretically bound FAC's constraint function and return within those of expectation-based methods, ensuring consistency and reliability.

Proposed method

  • Introduces a novel statewise Lagrange function that incorporates a neural network to approximate the statewise Lagrange multiplier, enabling infinite safety constraints per state.
  • Uses a primal-dual gradient ascent framework to jointly train the policy, value function, and multiplier network, ensuring convergence to the optimal feasible policy.
  • Employs a complementary slackness condition based on the multiplier network's output to determine whether a state is feasible or infeasible.
  • Applies a gradient-based feasibility indicator: if the multiplier is zero, the state is feasible; otherwise, it is infeasible.
  • Uses a finite-horizon formulation for safety constraints, transforming frequency-based safety requirements into discounted cost constraints via a threshold parameter.
  • Employs linear annealing for learning rates and hyperparameters, with a replay buffer and target networks for training stability.

Experimental results

Research questions

  • RQ1Can a model-free RL algorithm ensure safety for every individual initial state, rather than just the expected state distribution?
  • RQ2How can we identify which states are inherently unsafe regardless of policy choice?
  • RQ3Can a learned multiplier network provide both optimal policy learning and feasibility indication for states?
  • RQ4How does the performance of statewise safety compare to expectation-based constrained RL in terms of constraint violations and return?
  • RQ5What theoretical guarantees can be provided for the constraint function and return of the proposed method relative to existing methods?

Key findings

  • FAC achieves significantly fewer constraint violations than expectation-based methods like CPO and PPO-Lagrangian across multiple tasks, including emergency braking and safe exploration.
  • In the emergency braking task, FAC's learned feasible region closely matches the theoretical boundary, while expectation-based methods fail to approximate it.
  • The multiplier network accurately indicates state feasibility: states with zero multiplier are feasible, and those with non-zero values are infeasible, verified through gradient analysis.
  • FAC's total return is consistently higher than that of CPO and PPO-Lagrangian, indicating better sample efficiency and policy quality.
  • Theoretical analysis confirms that FAC's constraint function is upper-bounded and its return is lower-bounded by those of expectation-based methods, ensuring conservative safety and performance.
  • In safe exploration tasks, FAC maintains a cost rate of 0.1 with a discounted threshold of 10, demonstrating effective handling of frequency-based safety constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.