Skip to main content
QUICK REVIEW

[Paper Review] Safe Interactive Model-Based Learning

Marco Gallieri, Seyed Sina Mirrazavi Salehian|arXiv (Cornell University)|Nov 15, 2019
Advanced Control Systems OptimizationEngineering57 references10 citations
TL;DR

This paper proposes Safe Interactive Model-Based Learning (SiMBL), a framework that iteratively refines a safe controller and Bayesian RNN forward model using safe exploration via Model Predictive Control (MPC). By integrating a Lyapunov function, uncertainty-aware model, and consistency prior, SiMBL ensures formal safety verification and progressively enlarges the safe set, demonstrated on an inverted pendulum with limited torque and non-convex constraints.

ABSTRACT

Control applications present hard operational constraints. A violation of these can result in unsafe behavior. This paper introduces Safe Interactive Model Based Learning (SiMBL), a framework to refine an existing controller and a system model while operating on the real environment. SiMBL is composed of the following trainable components: a Lyapunov function, which determines a safe set; a safe control policy; and a Bayesian RNN forward model. A min-max control framework, based on alternate minimisation and backpropagation through the forward model, is used for the offline computation of the controller and the safe set. Safety is formally verified a-posteriori with a probabilistic method that utilizes the Noise Contrastive Priors (NPC) idea to build a Bayesian RNN forward model with an additive state uncertainty estimate which is large outside the training data distribution. Iterative refinement of the model and the safe set is achieved thanks to a novel loss that conditions the uncertainty estimates of the new model to be close to the current one. The learned safe set and model can also be used for safe exploration, i.e., to collect data within the safe invariant set, for which a simple one-step MPC is proposed. The single components are tested on the simulation of an inverted pendulum with limited torque and stability region, showing that iteratively adding more data can improve the model, the controller and the size of the safe region.

Motivation & Objective

  • To develop a framework that enables safe, interactive learning of system models and controllers in real environments with strict operational constraints.
  • To formally verify safety using a probabilistic method based on Noise Contrastive Priors (NPC) to estimate uncertainty beyond training data.
  • To iteratively refine the safe set and model by conditioning new uncertainty estimates on prior ones, improving robustness and coverage.
  • To enable safe exploration through a one-step MPC strategy that operates within the learned invariant safe set.
  • To integrate model, policy, and safety certification into a unified, trainable pipeline for continuous refinement using real data.

Proposed method

  • Formulates a Bayesian RNN forward model (NCP-BRNN) with noise contrastive priors to estimate state transition uncertainty, especially outside training distribution.
  • Uses a min-max control framework based on alternate minimization and backpropagation through the forward model to jointly learn the safe control policy and Lyapunov function.
  • Employs a novel consistency loss that conditions the uncertainty of the new model on the previous model’s uncertainty, enabling stable iterative refinement.
  • Introduces a probabilistic safety verification method using additive state uncertainty estimates to certify safety with high probability.
  • Applies a one-step MPC strategy that leverages the learned Lyapunov function and safe set to guide exploration within the invariant safe region.
  • Integrates physics priors into the RNN via a grey-box architecture, ensuring differentiable incorporation of known system dynamics.

Experimental results

Research questions

  • RQ1How can a model-based reinforcement learning framework ensure safety during iterative learning in the presence of operational constraints?
  • RQ2Can a Bayesian RNN with noise contrastive priors reliably estimate uncertainty in out-of-distribution states to support formal safety verification?
  • RQ3How can the safe set and controller be refined iteratively while maintaining safety during data collection?
  • RQ4To what extent can safe exploration via MPC expand the safe region and improve model accuracy over time?
  • RQ5Can a consistency prior on uncertainty estimates enable stable and progressive improvement of both model and safe set?

Key findings

  • The framework successfully learns a Lyapunov function and safe control policy that ensure asymptotic stability within a non-convex safe set in simulation.
  • Iterative data collection via safe MPC expands the size of the learned safe set, demonstrating progressive improvement in safety coverage.
  • The Bayesian RNN with noise contrastive priors produces large uncertainty estimates outside training distribution, enabling effective safety verification.
  • The consistency loss ensures that new model uncertainty estimates remain aligned with prior estimates, stabilizing the refinement process.
  • The safe exploration strategy based on one-step MPC successfully collects data within the invariant safe set, enabling continuous model and policy improvement.
  • The approach achieves formal safety certification with high probability, even under model uncertainty and non-convex 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.