Providing Safety Assurances for Systems with Unknown Dynamics

2403.05771

YC

0

Reddit

0

Published 5/7/2024 by Hao Wang, Javier Borquez, Somil Bansal
Providing Safety Assurances for Systems with Unknown Dynamics

Abstract

As autonomous systems become more complex and integral in our society, the need to accurately model and safely control these systems has increased significantly. In the past decade, there has been tremendous success in using deep learning techniques to model and control systems that are difficult to model using first principles. However, providing safety assurances for such systems remains difficult, partially due to the uncertainty in the learned model. In this work, we aim to provide safety assurances for systems whose dynamics are not readily derived from first principles and, hence, are more advantageous to be learned using deep learning techniques. Given the system of interest and safety constraints, we learn an ensemble model of the system dynamics from data. Leveraging ensemble uncertainty as a measure of uncertainty in the learned dynamics model, we compute a maximal robust control invariant set, starting from which the system is guaranteed to satisfy the safety constraints under the condition that realized model uncertainties are contained in the predefined set of admissible model uncertainty. We demonstrate the effectiveness of our method using a simulated case study with an inverted pendulum and a hardware experiment with a TurtleBot. The experiments show that our method robustifies the control actions of the system against model uncertainty and generates safe behaviors without being overly restrictive. The codes and accompanying videos can be found on the project website.

Create account to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper presents a method for providing safety assurances for systems with unknown dynamics.
  • The approach leverages robust control theory and machine learning to learn a safety certificate that can ensure the system remains within a safe operating region.
  • The proposed framework can be applied to a broad class of nonlinear systems, including ones with uncertain or time-varying parameters.

Plain English Explanation

In this paper, the researchers tackle the challenge of ensuring the safety of systems with unknown or unpredictable dynamics. These types of systems are common in many real-world applications, such as robotics, autonomous vehicles, and aerospace engineering.

The key idea is to learn a "safety certificate" - a mathematical function that can tell us whether the system is operating in a safe region or not. This certificate is learned using a combination of robust control theory and machine learning techniques. The advantage of this approach is that it can work even when the exact dynamics of the system are unknown or difficult to model precisely.

By having this safety certificate, the researchers can then design a control system that keeps the system within the safe operating region, providing strong guarantees about the system's behavior. This can be particularly useful for safety-critical applications where we need to ensure the system doesn't enter dangerous or undesirable states.

Technical Explanation

The paper proposes a framework for learning a Lyapunov-based safety certificate for systems with unknown dynamics. The key elements are:

  1. Problem Formulation: The researchers consider a broad class of nonlinear dynamical systems with uncertain or time-varying parameters. The goal is to learn a safety certificate that can guarantee the system remains within a safe operating region.

  2. Safety Certificate Learning: The authors leverage ideas from robust control theory and machine learning to learn a Lyapunov-based safety certificate. This certificate provides a mathematical guarantee of safety for the system.

  3. Safety-Aware Control: With the learned safety certificate, the researchers can then design a control system that keeps the system's state within the safe operating region, even in the presence of uncertainties or disturbances.

The paper presents theoretical analysis and empirical results demonstrating the effectiveness of the proposed approach on several benchmark systems.

Critical Analysis

The paper presents a promising approach for providing safety assurances for systems with unknown dynamics. The key strength is the ability to learn a safety certificate without requiring a precise model of the system, which can be particularly useful for complex real-world systems.

However, the paper also acknowledges some limitations and areas for future research. For example, the safety certificate learning process can be computationally intensive, which may limit its scalability to high-dimensional systems. Additionally, the paper does not explore how the approach might handle abrupt changes or discontinuities in the system dynamics, which could be an important consideration in some applications.

It would also be valuable to see the framework applied to a broader range of real-world systems, beyond the benchmark examples presented in the paper, to further validate its practical utility and identify any additional challenges that may arise.

Conclusion

This paper presents a novel framework for providing safety assurances for systems with unknown dynamics. By leveraging robust control theory and machine learning, the researchers can learn a Lyapunov-based safety certificate that can guarantee the system remains within a safe operating region, even in the presence of uncertainties or disturbances.

The proposed approach has the potential to be a valuable tool for ensuring the safety of a wide range of complex, real-world systems, such as robotic systems, autonomous vehicles, and aerospace applications. As the authors continue to refine and expand the framework, it could have significant implications for the design of safer and more reliable systems across many industries.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Related Papers

🏅

Verified Safe Reinforcement Learning for Neural Network Dynamic Models

Junlin Wu, Huan Zhang, Yevgeniy Vorobeychik

YC

0

Reddit

0

Learning reliably safe autonomous control is one of the core problems in trustworthy autonomy. However, training a controller that can be formally verified to be safe remains a major challenge. We introduce a novel approach for learning verified safe control policies in nonlinear neural dynamical systems while maximizing overall performance. Our approach aims to achieve safety in the sense of finite-horizon reachability proofs, and is comprised of three key parts. The first is a novel curriculum learning scheme that iteratively increases the verified safe horizon. The second leverages the iterative nature of gradient-based learning to leverage incremental verification, reusing information from prior verification runs. Finally, we learn multiple verified initial-state-dependent controllers, an idea that is especially valuable for more complex domains where learning a single universal verified safe controller is extremely challenging. Our experiments on five safe control problems demonstrate that our trained controllers can achieve verified safety over horizons that are as much as an order of magnitude longer than state-of-the-art baselines, while maintaining high reward, as well as a perfect safety record over entire episodes.

Read more

5/28/2024

System-level Safety Guard: Safe Tracking Control through Uncertain Neural Network Dynamics Models

System-level Safety Guard: Safe Tracking Control through Uncertain Neural Network Dynamics Models

Xiao Li, Yutong Li, Anouck Girard, Ilya Kolmanovsky

YC

0

Reddit

0

The Neural Network (NN), as a black-box function approximator, has been considered in many control and robotics applications. However, difficulties in verifying the overall system safety in the presence of uncertainties hinder the deployment of NN modules in safety-critical systems. In this paper, we leverage the NNs as predictive models for trajectory tracking of unknown dynamical systems. We consider controller design in the presence of both intrinsic uncertainty and uncertainties from other system modules. In this setting, we formulate the constrained trajectory tracking problem and show that it can be solved using Mixed-integer Linear Programming (MILP). The proposed MILP-based approach is empirically demonstrated in robot navigation and obstacle avoidance through simulations. The demonstration videos are available at https://xiaolisean.github.io/publication/2023-11-01-L4DC2024.

Read more

5/21/2024

📈

Safely Learning Dynamical Systems

Amir Ali Ahmadi, Abraar Chaudhry, Vikas Sindhwani, Stephen Tu

YC

0

Reddit

0

A fundamental challenge in learning an unknown dynamical system is to reduce model uncertainty by making measurements while maintaining safety. We formulate a mathematical definition of what it means to safely learn a dynamical system by sequentially deciding where to initialize trajectories. The state of the system must stay within a safety region for a horizon of $T$ time steps under the action of all dynamical systems that (i) belong to a given initial uncertainty set, and (ii) are consistent with information gathered so far. First, we consider safely learning a linear dynamical system involving $n$ states. For the case $T=1$, we present an LP-based algorithm that either safely recovers the true dynamics from at most $n$ trajectories, or certifies that safe learning is impossible. For $T=2$, we give an SDP representation of the set of safe initial conditions and show that $lceil n/2 rceil$ trajectories generically suffice for safe learning. For $T = infty$, we provide SDP-representable inner approximations of the set of safe initial conditions and show that one trajectory generically suffices for safe learning. We extend a number of our results to the cases where the initial uncertainty set contains sparse, low-rank, or permutation matrices, or when the system has a control input. Second, we consider safely learning a general class of nonlinear dynamical systems. For the case $T=1$, we give an SOCP-based representation of the set of safe initial conditions. For $T=infty$, we provide semidefinite representable inner approximations to the set of safe initial conditions. We show how one can safely collect trajectories and fit a polynomial model of the nonlinear dynamics that is consistent with the initial uncertainty set and best agrees with the observations. We also present some extensions to cases where the measurements are noisy or the dynamical system involves disturbances.

Read more

6/11/2024

🔮

How Safe Am I Given What I See? Calibrated Prediction of Safety Chances for Image-Controlled Autonomy

Zhenjiang Mao, Carson Sobolewski, Ivan Ruchkin

YC

0

Reddit

0

End-to-end learning has emerged as a major paradigm for developing autonomous systems. Unfortunately, with its performance and convenience comes an even greater challenge of safety assurance. A key factor of this challenge is the absence of the notion of a low-dimensional and interpretable dynamical state, around which traditional assurance methods revolve. Focusing on the online safety prediction problem, this paper proposes a configurable family of learning pipelines based on generative world models, which do not require low-dimensional states. To implement these pipelines, we overcome the challenges of learning safety-informed latent representations and missing safety labels under prediction-induced distribution shift. These pipelines come with statistical calibration guarantees on their safety chance predictions based on conformal prediction. We perform an extensive evaluation of the proposed learning pipelines on two case studies of image-controlled systems: a racing car and a cartpole.

Read more

6/21/2024