Table of Contents
Fetching ...

Risk-Aware Safe Reinforcement Learning for Control of Stochastic Linear Systems

Babak Esmaeili, Nariman Niknejad, Hamidreza Modares

TL;DR

This work addresses safe reinforcement learning for stochastic discrete-time LTI systems by decoupling safety from performance and learning a risk-aware safe backup controller alongside the RL policy. It constructs a large, probabilistically safe region inside a polyhedral admissible set via the convex hull of ellipsoids, employing both model-based and data-driven (certainty-equivalence and minimum-variance) approaches to certify probabilistic safety with minimal data. A low-dimensional interpolation between the RL policy and the learned safe backup preserves RL performance while enforcing safety under noise, and set-partitioning yields scalable, piecewise-affine safeguards. Simulation and a car lane-keeping example demonstrate that the proposed variance-aware safety design reduces safety-violation risk without severely compromising performance, offering a practical framework for safe RL in uncertain, data-limited environments.

Abstract

This paper presents a risk-aware safe reinforcement learning (RL) control design for stochastic discrete-time linear systems. Rather than using a safety certifier to myopically intervene with the RL controller, a risk-informed safe controller is also learned besides the RL controller, and the RL and safe controllers are combined together. Several advantages come along with this approach: 1) High-confidence safety can be certified without relying on a high-fidelity system model and using limited data available, 2) Myopic interventions and convergence to an undesired equilibrium can be avoided by deciding on the contribution of two stabilizing controllers, and 3) highly efficient and computationally tractable solutions can be provided by optimizing over a scalar decision variable and linear programming polyhedral sets. To learn safe controllers with a large invariant set, piecewise affine controllers are learned instead of linear controllers. To this end, the closed-loop system is first represented using collected data, a decision variable, and noise. The effect of the decision variable on the variance of the safe violation of the closed-loop system is formalized. The decision variable is then designed such that the probability of safety violation for the learned closed-loop system is minimized. It is shown that this control-oriented approach reduces the data requirements and can also reduce the variance of safety violations. Finally, to integrate the safe and RL controllers, a new data-driven interpolation technique is introduced. This method aims to maintain the RL agent's optimal implementation while ensuring its safety within environments characterized by noise. The study concludes with a simulation example that serves to validate the theoretical results.

Risk-Aware Safe Reinforcement Learning for Control of Stochastic Linear Systems

TL;DR

This work addresses safe reinforcement learning for stochastic discrete-time LTI systems by decoupling safety from performance and learning a risk-aware safe backup controller alongside the RL policy. It constructs a large, probabilistically safe region inside a polyhedral admissible set via the convex hull of ellipsoids, employing both model-based and data-driven (certainty-equivalence and minimum-variance) approaches to certify probabilistic safety with minimal data. A low-dimensional interpolation between the RL policy and the learned safe backup preserves RL performance while enforcing safety under noise, and set-partitioning yields scalable, piecewise-affine safeguards. Simulation and a car lane-keeping example demonstrate that the proposed variance-aware safety design reduces safety-violation risk without severely compromising performance, offering a practical framework for safe RL in uncertain, data-limited environments.

Abstract

This paper presents a risk-aware safe reinforcement learning (RL) control design for stochastic discrete-time linear systems. Rather than using a safety certifier to myopically intervene with the RL controller, a risk-informed safe controller is also learned besides the RL controller, and the RL and safe controllers are combined together. Several advantages come along with this approach: 1) High-confidence safety can be certified without relying on a high-fidelity system model and using limited data available, 2) Myopic interventions and convergence to an undesired equilibrium can be avoided by deciding on the contribution of two stabilizing controllers, and 3) highly efficient and computationally tractable solutions can be provided by optimizing over a scalar decision variable and linear programming polyhedral sets. To learn safe controllers with a large invariant set, piecewise affine controllers are learned instead of linear controllers. To this end, the closed-loop system is first represented using collected data, a decision variable, and noise. The effect of the decision variable on the variance of the safe violation of the closed-loop system is formalized. The decision variable is then designed such that the probability of safety violation for the learned closed-loop system is minimized. It is shown that this control-oriented approach reduces the data requirements and can also reduce the variance of safety violations. Finally, to integrate the safe and RL controllers, a new data-driven interpolation technique is introduced. This method aims to maintain the RL agent's optimal implementation while ensuring its safety within environments characterized by noise. The study concludes with a simulation example that serves to validate the theoretical results.
Paper Structure (14 sections, 9 theorems, 99 equations, 10 figures, 1 table, 2 algorithms)

This paper contains 14 sections, 9 theorems, 99 equations, 10 figures, 1 table, 2 algorithms.

Key Result

Lemma 1

coppens2020datadriven For a given random vector $\nu \in \mathbb{R}^{n \times 1}$ and a matrix $Q \in \mathbb{R}^{n \times n}$, one has where $\Tilde{\nu}=\nu-\mathbb{E}[\nu]$.

Figures (10)

  • Figure 1: Illustrative diagram for the proof of Theorem 1.
  • Figure 2: Flowchart showing risk-neutral and risk-aware safe control strategies with RL integration.
  • Figure 3: Admissible set containing the ellipsoids and their convex hull obtained using the open-loop method.
  • Figure 4: Admissible set containing the ellipsoids and their convex hull obtained using the closed-loop method.
  • Figure 5: Partitioned convex hull of ellipsoids using Algorithm 1.
  • ...and 5 more figures

Theorems & Definitions (30)

  • Definition 1
  • Lemma 1
  • Definition 2
  • Definition 3
  • Definition 4
  • Lemma 2
  • Definition 5
  • Definition 6
  • Definition 7
  • Definition 8
  • ...and 20 more