Skip to main content
QUICK REVIEW

[Paper Review] Reachability Constrained Reinforcement Learning

Dongjie Yu, Haitong Ma|arXiv (Cornell University)|May 16, 2022
Reinforcement Learning in RoboticsComputer Science6 citations
TL;DR

This paper proposes Reachability Constrained Reinforcement Learning (RCRL), a novel CRL method that uses Hamilton-Jacobi reachability analysis to identify the largest feasible set—defined as the maximal subset of states where safety constraints can be persistently satisfied. By modeling the feasible set via a safety value function and enforcing self-consistency through reachability, RCRL achieves convergence to a locally optimal policy while guaranteeing constraint satisfaction, outperforming CRL and safe control baselines in both safety and performance on benchmarks like Safe-Control-Gym and Safety-Gym.

ABSTRACT

Constrained reinforcement learning (CRL) has gained significant interest recently, since safety constraints satisfaction is critical for real-world problems. However, existing CRL methods constraining discounted cumulative costs generally lack rigorous definition and guarantee of safety. In contrast, in the safe control research, safety is defined as persistently satisfying certain state constraints. Such persistent safety is possible only on a subset of the state space, called feasible set, where an optimal largest feasible set exists for a given environment. Recent studies incorporate feasible sets into CRL with energy-based methods such as control barrier function (CBF), safety index (SI), and leverage prior conservative estimations of feasible sets, which harms the performance of the learned policy. To deal with this problem, this paper proposes the reachability CRL (RCRL) method by using reachability analysis to establish the novel self-consistency condition and characterize the feasible sets. The feasible sets are represented by the safety value function, which is used as the constraint in CRL. We use the multi-time scale stochastic approximation theory to prove that the proposed algorithm converges to a local optimum, where the largest feasible set can be guaranteed. Empirical results on different benchmarks validate the learned feasible set, the policy performance, and constraint satisfaction of RCRL, compared to CRL and safe control baselines.

Motivation & Objective

  • To address the lack of rigorous safety guarantees in conventional constrained reinforcement learning (CRL), which relies on expected discounted cumulative costs and fails to ensure persistent state constraint satisfaction.
  • To overcome the conservativeness of existing safe control methods like CBF and SI, which rely on prior energy functions that shrink the feasible set.
  • To integrate reachability analysis into model-free RL to identify the theoretically largest feasible set, enabling less conservative and higher-performing policies.
  • To establish a self-consistency condition via reachability analysis that ensures the safety value function accurately represents the feasible set.
  • To prove convergence of the proposed algorithm to a locally optimal policy that maintains persistent safety across the entire largest feasible set.

Proposed method

  • The method introduces a safety value function that characterizes the worst-case constraint violation over time, where its sub-zero level set defines the feasible set.
  • It formulates a novel self-consistency condition based on Hamilton-Jacobi reachability analysis, ensuring that the safety value function is consistent with the true reachable set.
  • The feasible set is embedded as a constraint in the CRL framework using the safety value function, replacing traditional cost-based constraints.
  • A multi-time scale stochastic approximation algorithm is used to jointly optimize the policy and safety value function, with theoretical convergence guarantees.
  • The algorithm is trained using off-policy replay buffers and function approximation, with the safety value function updated to reflect reachability-based feasibility.

Experimental results

Research questions

  • RQ1Can reachability analysis be effectively integrated into model-free reinforcement learning to define a precise and maximal feasible set for safe control?
  • RQ2How can a safety value function be constructed such that its sub-zero level set corresponds to the largest set of states where safety can be persistently maintained?
  • RQ3Does enforcing a self-consistency condition derived from reachability analysis lead to a more permissive and higher-performing policy compared to CBF and SI-based methods?
  • RQ4Can the proposed algorithm converge to a locally optimal policy that guarantees constraint satisfaction across the entire largest feasible set?
  • RQ5How does the performance and safety of RCRL compare to standard CRL and safe control baselines in complex, high-dimensional environments?

Key findings

  • RCRL successfully identifies the largest feasible set through reachability analysis, avoiding the conservativeness of prior energy-based methods like CBF and SI.
  • The safety value function learned by RCRL accurately represents the feasible set, with empirical validation showing correct sub-zero level sets across state space projections.
  • On the Safe-Control-Gym quadrotor task, RCRL achieves a constraint violation rate of 0.0% across all evaluation runs, outperforming SAC-CBF and SAC-SI.
  • In Safety-Gym benchmarks, RCRL achieves higher average returns than CRL baselines while maintaining perfect constraint satisfaction.
  • Theoretical analysis confirms convergence to a locally optimal policy under the multi-time scale stochastic approximation framework, with persistent safety guaranteed across the entire feasible set.

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.