Skip to main content
QUICK REVIEW

[Paper Review] PRoTECT: Parallelized Construction of Safety Barrier Certificates for Nonlinear Polynomial Systems

Ben Wooding, Viacheslav Horbanov|arXiv (Cornell University)|Apr 23, 2024
Formal Methods in VerificationComputer Science5 citations
TL;DR

PRoTECT is an open-source Python tool that uses sum-of-squares optimization to automatically construct barrier certificates for four classes of dynamical systems, with parallel search, GUI, and API access.

ABSTRACT

We develop an open-source software tool, called PRoTECT, for the parallelized construction of safety barrier certificates (BCs) for nonlinear polynomial systems. This tool employs sum-of-squares (SOS) optimization programs to systematically search for polynomial-type BCs, while aiming to verify safety properties over four classes of dynamical systems: (i) discrete-time stochastic systems, (ii) discrete-time deterministic systems, (iii) continuous-time stochastic systems, and (iv) continuous-time deterministic systems. PRoTECT is implemented in Python as an application programming interface (API), offering users the flexibility to interact either through its user-friendly graphic user interface (GUI) or via function calls from other Python programs. PRoTECT leverages parallelism across different barrier degrees to efficiently search for a feasible BC.

Motivation & Objective

  • Motivate formal safety verification for safety-critical dynamical systems across deterministic and stochastic settings.
  • Provide a scalable, parallel SOS-based method to search for polynomial barrier certificates (BCs).
  • Enable verification of safety properties without discretizing the state space across four system classes.
  • Deliver a user-friendly GUI and an API in Python to construct BCs and quantify safety confidence.

Proposed method

  • Formulate barrier certificates for four system classes (dt-SS, dt-DS, ct-SS, ct-DS) with corresponding level-set and growth/flux conditions.
  • Recast BC conditions into sum-of-squares (SOS) constraints using polynomial BCs and polynomial inequality representations of the state space regions.
  • Use parallel search over even barrier degrees to concurrently find feasible BCs and select either the highest-confidence stochastic BC or any feasible deterministic BC.
  • Solve SOS programs via SumOfSquares toolbox and external solvers (e.g., MOSEK, CVXOPT) to obtain BCs, level sets (gamma, lambda), and (for stochastic cases) confidence phi and constant c.
  • Provide GUI and API interfaces to configure system dynamics, noise models, and time horizon, and to output BC, level sets, and safety metrics.
  • Benchmark performance against FOSSIL to illustrate efficiency and scalability across different model dimensions.

Experimental results

Research questions

  • RQ1Can SOS-based barrier certificates be constructed for four classes of dynamical systems (dt-SS, dt-DS, ct-SS, ct-DS) in a parallelizable workflow?
  • RQ2What are the efficiency and scalability gains of parallel barrier certificate construction as model dimension and degree increase?
  • RQ3How does PRoTECT perform in terms of safety confidence and computation time compared with existing tools like FOSSIL for both deterministic and stochastic models?

Key findings

  • PRoTECT enables parallelized construction of barrier certificates for four system classes using SOS optimization.
  • The tool supports normal, uniform, and exponential noise for dt-SS and Brownian motion and Poisson processes for ct-SS.
  • For deterministic cases, PRoTECT returns a feasible BC quickly; for stochastic cases, it selects the BC with the highest confidence Phi after processing candidates.
  • Compared to FOSSIL, PRoTECT shows higher efficiency for 1–4 dimensional deterministic problems, while FOSSIL excels at 6–8 dimensions in the reported benchmarks.
  • PRoTECT provides a GUI and an API in Python to ease usage and integration into other workflows.
  • Case studies demonstrate scalability across a range of models including room temperature systems, jet engine, DC motor, Van der Pol oscillator, two-tank models, and an 8D system.

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.