A data-driven approach for safety quantification of non-linear stochastic systems with unknown additive noise distribution

Frederik Baymler Mathiesen, Licio Romao, Simeon C. Calvert, Luca Laurenti, Alessandro AbatearXiv 2024 · DOI

Introduction

In safety-critical applications like autonomous driving and robotics, providing formal guarantees that a system remains within a safe operating region is paramount. However, real-world systems are often non-linear and subject to stochastic noise with unknown distributions. Traditional verification methods either suffer from the curse of dimensionality or rely on restrictive assumptions about noise (e.g., Gaussianity). This paper by Mathiesen et al. introduces a robust, data-driven framework that leverages the "scenario approach" and Stochastic Barrier Functions (SBFs) to provide "Probably Approximately Correct" (PAC) safety certificates using only finite noise samples.

Theoretical Framework: From Stochastic to Tractable

The core contribution of the work is a systematic transformation of a complex stochastic optimization problem into a tractable linear program. The process begins with a Stochastic Barrier Program (BP), which defines the safety conditions. Through a series of theoretical steps involving chance-constraints and uncertain relaxations, the authors derive the (Finite) Scenario Barrier Program (FSBP).

Theoretical progression from the initial Stochastic Barrier Program to the tractable Finite Scenario Barrier Program.

This FSBP allows for safety quantification using a finite set of $N$ noise samples. Optimization theory provides the exact number of samples required to ensure that the resulting safety certificate holds for the true, unknown distribution with a specified confidence level.

Handling Non-Linearity via PWA Relaxations

To manage non-linear dynamics—including those represented by Neural Network Dynamical Models (NNDMs)—the framework employs Linear Bound Propagation (LBP). This technique wraps non-linearities in an "uncertain Piece-Wise Affine" (PWA) model.

By linearizing the bounds of the non-linear components, the final optimization problem can be solved efficiently using standard Linear Programming (LP). This approach allows the certification of "black-box" learned models with the same rigor as classical physics-based models.

Key Insights and Performance

A significant advantage of this method is its logarithmic scaling of confidence. Unlike Sample Average Approximation (SAA), where data requirements grow linearly with the inverse of the risk, this framework's data needs scale with $\log(1/\beta)$. This efficiency allows for extremely high confidence levels (e.g., $1 - 10^{-9}$) with minimal increases in computational overhead.

Furthermore, the authors utilize geometric filtering. By identifying that only noise samples on the convex hull of the dataset affect the safety boundaries, they can discard redundant data points, drastically reducing the number of constraints in the LP without compromising formal guarantees.

Results and Conclusion

The framework was validated on benchmarks ranging from 1D linear systems to 3D non-linear Dubin’s car models and neural network-based pendulums. Key results include:

  • Tightness: Achieved higher safety levels with significantly higher confidence than SAA.
  • Efficiency: Certified complex NNDM pendulums in under 80 seconds and handled high confidence levels where SAA failed due to memory constraints.
  • Robustness: Successfully quantified safety for systems in uncertain environments, such as vehicles in gusty wind.

While currently limited to additive noise, this work provides a powerful foundation for data-driven safety verification. Future research aims to extend these techniques to non-additive noise and to synthesize controllers that actively maximize the quantified safety levels.

Summary updated

BibTeX
@misc{mathiesen2024data,
  author = {Frederik Baymler Mathiesen and Licio Romao and Simeon C. Calvert and Luca Laurenti and Alessandro Abate},
  title = {{A data-driven approach for safety quantification of non-linear stochastic systems with unknown additive noise distribution}},
  year = {2024},
  eprint = {2410.06662},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.06662},
}
Figure