Skip to main content
QUICK REVIEW

[Paper Review] Safe exploration of nonlinear dynamical systems: A predictive safety filter for reinforcement learning.

Kim P. Wabersich, Melanie N. Zeilinger|arXiv (Cornell University)|Dec 13, 2018
Advanced Control Systems OptimizationEngineering38 references40 citations
TL;DR

This paper proposes a predictive safety filter that enables safe reinforcement learning (RL) in nonlinear dynamical systems with continuous state and input spaces by dynamically modifying unsafe actions from any RL policy. The filter uses a data-driven model predictive control formulation with uncertainty-aware safety constraints, ensuring safety without requiring changes to the underlying RL algorithm.

ABSTRACT

The transfer of reinforcement learning (RL) techniques into real-world applications is challenged by safety requirements in the presence of physical limitations. Most RL methods, in particular the most popular algorithms, do not support explicit consideration of state and input constraints. In this paper, we address this problem for nonlinear systems with continuous state and input spaces by introducing a predictive safety filter, which is able to turn a constrained dynamical system into an unconstrained safe system, to which any RL algorithm can be applied `out-of-the-box'. The predictive safety filter receives the proposed learning input and decides, based on the current system state, if it can be safely applied to the real system, or if it has to be modified otherwise. Safety is thereby established by a continuously updated safety policy, which is based on a model predictive control formulation using a data-driven system model and considering state and input dependent uncertainties.

Motivation & Objective

  • To address the lack of explicit safety constraints in standard reinforcement learning (RL) algorithms when applied to real-world physical systems.
  • To enable safe exploration in nonlinear dynamical systems with continuous state and input spaces under physical and operational constraints.
  • To develop a general-purpose safety filter that can be applied 'out-of-the-box' to any RL algorithm without modifying its learning process.
  • To ensure safety through a continuously updated safety policy that accounts for state and input-dependent uncertainties.

Proposed method

  • The safety filter uses a data-driven model of the system dynamics to predict future states and assess action safety in real time.
  • It applies a model predictive control (MPC) formulation to compute a safe control input that respects state and input constraints.
  • The filter dynamically modifies the action proposed by the RL policy if it violates safety constraints, based on current system state and uncertainty bounds.
  • Uncertainty in the system model is explicitly modeled and propagated through the MPC optimization to maintain safety under model inaccuracies.
  • The safety policy is continuously updated using online learning or adaptive estimation to reflect current system behavior and uncertainty.
  • The filter operates in real time, allowing the RL agent to explore safely while maintaining system stability and constraint compliance.

Experimental results

Research questions

  • RQ1How can reinforcement learning be safely applied to nonlinear dynamical systems with continuous state and input spaces under physical constraints?
  • RQ2Can a general-purpose safety filter be designed to work with any RL algorithm without requiring modifications to the learning process?
  • RQ3How can model uncertainty and state/input-dependent disturbances be incorporated into a safety filter to ensure robustness?
  • RQ4What is the performance and safety trade-off of the proposed filter in terms of constraint violation and learning efficiency?

Key findings

  • The predictive safety filter successfully enables safe exploration in nonlinear systems by dynamically modifying unsafe actions from the RL policy.
  • The method ensures safety without requiring changes to the underlying RL algorithm, allowing 'out-of-the-box' integration.
  • Safety is maintained even under model uncertainty by incorporating state and input-dependent uncertainty bounds into the MPC formulation.
  • The filter enables stable and constraint-compliant learning in systems where standard RL would otherwise lead to constraint violations or unsafe behavior.

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.