Source-linked AI summary

Safe Learning of Quadrotor Dynamics Using Barrier Certificates

Li Wang, Evangelos A. Theodorou, Magnus Egerstedt

arXiv:1710.05472v1cs.LGeess.SY

TL;DR

Unknown quadrotor dynamics make safe learning difficult because uncontrolled learning can destabilize the system. The paper combines GP modeling with barrier certificates, adaptive exploration, and recursive inference; simulations demonstrate safe region expansion and real-time performance.

  • Problem

    Accurate nonlinear models are often unavailable for complex dynamical systems, while model inaccuracies and unknown disturbances complicate safety-critical control.

    Source: §I · p. 1
  • Method

    The paper uses Gaussian processes to model unknown quadrotor dynamics and barrier certificates to regulate exploration within a forward-invariant safe region.

    Source: §I · p. 1, B. Gaussian Processes · p. 3
  • Results

    The quadrotor never leaves the barrier-certified safe region while it expands from µ = 6.3 to µ = 0.6, and recursive GP inference remains below 20ms.

    Source: B. Learning Safety Barrier Certificates · p. 7, A. Online Learning of Quadrotor Dynamics · p. 7
  • Takeaways & Limitations

    The proposed approach demonstrates safe learning of 3D nonlinear quadrotor dynamics with reduced computation and real-time recursive GP inference.

    Source: §VI · pp. 7–8

Abstract

from arXiv · show

To effectively control complex dynamical systems, accurate nonlinear models are typically needed. However, these models are not always known. In this paper, we present a data-driven approach based on Gaussian processes that learns models of quadrotors operating in partially unknown environments. What makes this challenging is that if the learning process is not carefully controlled, the system will go unstable, i.e., the quadcopter will crash. To this end, barrier certificates are employed for safe learning. The barrier certificates establish a non-conservative forward invariant safe region, in which high probability safety guarantees are provided based on the statistics of the Gaussian Process. A learning controller is designed to efficiently explore those uncertain states and expand the barrier certified safe region based on an adaptive sampling scheme. In addition, a recursive Gaussian Process prediction method is developed to learn the complex quadrotor dynamics in real-time. Simulation results are provided to demonstrate the effectiveness of the proposed approach.

I. INTRODUCTION

The paper develops safe learning for partially unknown dynamical systems using barrier certificates, Gaussian-process uncertainty, adaptive sampling, and recursive online learning. Barrier certificates define broader forward-invariant safe regions than Lyapunov sublevel sets, enabling richer exploration while preserving safety.

Safe learning strategy

  • Barrier certificates establish forward-invariant safe regions and provide high-probability safety guarantees using Gaussian-process prediction statistics.The certified region is expanded as uncertainty decreases with additional data.Source: §I · p. 1

Barrier certificates

  • Barrier-certified safe regions permit richer control options than Lyapunov sublevel sets because they represent general invariant sets.The paper uses this less restrictive safety notion to support exploration of uncertain states.Source: §I · p. 1, A. Barrier Certificates and Set… · p. 2

Computational strategy

  • The adaptive sampling algorithm reduces computation by sampling certain state-space regions sparsely while retaining safety guarantees.More uncertain or small-margin regions receive denser sampling.Source: §I · p. 1

Contributions

  • The paper proposes three contributions: barrier-certificate safe learning, adaptive sampling to reduce computation, and recursive GP learning of 3D quadrotor dynamics online.These components target safe exploration and real-time modeling of nonlinear quadrotor dynamics.Source: §I · p. 2

Barrier certificates

B. Gaussian Processes

Gaussian processes model unknown dynamics while providing predictive uncertainty for safety analysis. The paper combines these predictions with confidence intervals and recursive computation for online use.

GP modeling

  • Gaussian processes provide nonparametric regression models that capture complex unknown functions and support high-probability statements.Each state-space point is associated with a normally distributed random variable.Source: B. Gaussian Processes · pp. 2–3

Assumptions

  • The unknown dynamics is assumed Lipschitz continuous so that learned behavior can be generalized to previously unexplored states.The method is restricted to system classes addressable with existing computation tools.Source: B. Gaussian Processes · p. 3

GP modeling

  • The unknown dynamics d(x) is modeled dimension by dimension with zero-mean Gaussian processes and kernel-based covariance functions.Measurements are obtained by comparing noisy system-dynamics observations with inaccurate model predictions.Source: B. Gaussian Processes · p. 3

GP inference

  • Posterior GP predictions at query states are computed from collected measurements using the kernel matrix and query-kernel vector.Conditioning on past measurements yields the predictive mean and variance.Source: B. Gaussian Processes · p. 3

Uncertainty quantification

  • The confidence parameter k_δ determines the stated confidence level, with k_δ = 2 giving 95.5% confidence and k_δ = 3 giving 99.7% confidence.The parameter is used to construct a high-confidence interval for the unmodeled dynamics.Source: B. Gaussian Processes · p. 3

III. SAFE LEARNING WITH BARRIER CERTIFICATES

The safe-learning strategy begins with a conservative barrier-certified region and expands it through data-driven exploration. Its objective is to reduce GP uncertainty while maximizing the certified region under barrier constraints.

Incremental safe learning

  • The controller starts from a conservative certified region C0 and incrementally expands it as data about the dynamics are collected.This process is illustrated as growth from C0 toward Cn in Fig. 2.Source: §III · p. 3, Figure 2 · p. 3

Safety constraint

  • The barrier-certificate constraint incorporates a high-confidence interval for the unknown dynamics when determining admissible safe behavior.The optimization is reformulated using the GP uncertainty set D(x).Source: §III · p. 3

Learning objective

  • The exploration objective is to collect data that reduce GP uncertainty σ(x) and increase the volume of the barrier-certified region C.More data can make additional states satisfy the barrier-certificate constraint.Source: §III · p. 3

Optimization

  • The certified-region maximization problem is non-convex and infinite dimensional, so the method uses adaptive state-space sampling and parameterized safe-region shapes.These simplifications make the optimization tractable in practice.Source: §III · p. 3

A. Adaptive Sampling of the State Space

Adaptive sampling replaces exhaustive barrier validation with a finite, margin-aware procedure. Lipschitz continuity allows sampled constraints to certify neighboring states without losing the safety guarantee.

Finite validation

Probabilistic guarantee

  • The discretization-based barrier condition provides a safety guarantee with probability (1−δ) over the state space.The probability statement follows from the GP high-confidence interval and the sampled constraints.Source: A. Adaptive Sampling of the State Space · p. 4

Local certification

Adaptive sampling

  • Sparse sampling is used where the safety margin is large, while dense sampling is reserved for locations with small safety margins.This adaptive allocation reduces the number of required samples without losing safety guarantees.Source: A. Adaptive Sampling of the State Space · p. 4

B. Parameterization of the Barrier Certificates

The barrier certificate is parameterized to simplify non-convex safe-region optimization. Adaptive sampling and QP-based control support efficient, safety-constrained exploration and region expansion.

C. Overview of the Safe Learning Algorithm

The algorithm begins with a conservative certified region, safely explores uncertain states, updates the GP model, and expands the region. Quadrotor differential-flatness control combines feedforward inversion with feedback compensation.

C. Overview of the Safe Learning Algorithm

A. Differential Flatness of 3D Quadrotor Dynamics

B. Learning based Control Using Gaussian Process

Gaussian processes learn the quadrotor dynamics omitted by the nominal model, including damping, drag, and wind effects, and the learned dynamics modify feedforward control.

C. Recursive Online GP Learning

Standard GP inference scales cubically with the number of data points, limiting online use. The proposed recursive method updates a compact active kernel matrix by adding relevant and deleting uninformative points.

1) Adding Multiple New Data to the Kernel Matrix:

The method recursively adds new data to the kernel matrix and deletes selected old data while updating its inverse. These operations reduce the required inversion to an M × M matrix and enable efficient online GP inference.

V. SIMULATION RESULTS

Simulations evaluate online GP learning for quadrotor dynamics and safe barrier-certificate learning under model error, unknown wind, limited thrust, and exploration of unknown states. Recursive inference improves tracking while remaining below 20ms per iteration, and barrier-regulated exploration expands the certified safe region without leaving it.

Simulation setup

  • The simulation uses a quadrotor with a 1.4-times-underestimated weight, unknown 0.1g wind, and thrust limited to fz ∈[−1.8mg,0].These conditions create model mismatch, disturbance, and actuator constraints during learning.Source: §V · p. 6

Online Learning of Quadrotor Dynamics

  • The quadrotor is intentionally pushed into unexplored regions to evaluate the scalability of online learning with an inaccurate model.The first example uses a differential-flatness controller with a PD stabilizing wrapper.Source: A. Online Learning of Quadrotor Dynamics · p. 6
  • Tracking error is significantly smaller with GP inference than without it, using a recursive GP model fixed at 300 data points.At each timestep, the least relevant point is removed and the most relevant point is added according to the kernel function.Source: A. Online Learning of Quadrotor Dynamics · p. 7, Figure 5 · p. 7
  • GP inference time remains below 20ms per iteration with the recursive learning strategy.The paper reports this timing as suitable for online learning of quadrotor dynamics.Source: A. Online Learning of Quadrotor Dynamics · p. 7, Figure 6 · p. 7
  • Learning with q′ = [˙rT,θ,φ,ψ]T yields much better scalability than learning with q = [rT , ˙rT,θ,φ,ψ]T when the quadrotor is pushed into unexplored regions.The authors suggest position may be less important than the other features in this simulation.Source: A. Online Learning of Quadrotor Dynamics · p. 7

Learning Safety Barrier Certificates

  • The barrier parameter µ regulates admissible vertical speed, with smaller µ allowing more aggressive flight; learning therefore minimizes µ.The quadrotor flies back and forth within an ellipsoid while learning under inaccurate modeling and limited thrust.Source: B. Learning Safety Barrier Certificates · p. 7
  • Adaptive sampling concentrates samples near safe-region boundaries and at downward speeds, while sampling the center and upward speeds less densely.The reported asymmetry may reflect the lack of reverse thrust to counter unmodeled dynamics.Source: B. Learning Safety Barrier Certificates · p. 7
  • The certified region expands from C0 with µ = 6.3 to Cn with µ = 0.6, and the quadrotor never leaves the barrier-certified safe region.The nominal exploration controller is regulated by barrier certificates through the QP-based controller in (15).Source: B. Learning Safety Barrier Certificates · p. 7

VI. CONCLUSIONS

The paper develops safe GP-based learning for nonlinear quadrotor dynamics using barrier certificates, adaptive sampling, and recursive inference. Simulations show safe expansion of the certified region and reduced computation time.

VI. CONCLUSIONS

  • Barrier certificates regulate the learning controller so the system remains outside unsafe states while GP models approximate unmodeled dynamics.The approach derives high-probability safety guarantees from GP uncertainty statistics.Source: §VI · p. 7
  • The barrier-certified safe region gradually expands as additional data reduces uncertainty in the learned dynamics.The method is applied to a quadrotor with 3D nonlinear dynamics.Source: §VI · p. 7
  • Adaptive sampling and recursive GP inference significantly reduce the computation time of the safe learning method.The paper reports simulation results demonstrating the effectiveness of the proposed method.Source: §VI · pp. 7–8
  • Adaptive sampling covers the unexplored region between the current and optimized next safe regions using circular confident safe regions around sampled points.The figure distinguishes current and next regions with solid green and dashed red ellipses, respectively.Source: Figure 7 · p. 8
Loading 1710.05472v1…