Active Sampling-based Binary Verification of Dynamical Systems

John F. Quindlen, Ufuk Topcu, Girish Chowdhary, Jonathan P. HowarXiv 2017

Abstract

Verifying the safety and performance of complex, nonlinear dynamical systems is a critical challenge in autonomous robotics and aerospace engineering. Traditional analytical methods often yield overly conservative results, while brute-force statistical simulations are computationally prohibitive. This paper presents a novel data-driven verification framework that treats safety as a binary classification problem. By integrating Metric Temporal Logic (MTL) with Support Vector Machines (SVM) and an active learning strategy based on Expected Model Change (EMC), the proposed method intelligently selects simulation points to efficiently map the system's safe operating envelope. Experimental results on benchmarks like the Van der Pol oscillator and adaptive control systems demonstrate significant improvements in both accuracy and sampling efficiency compared to standard approaches.

Introduction

In control theory, verification is the formal process of ensuring a system adheres to specific safety and performance requirements. For high-dimensional, nonlinear systems, this task is notoriously difficult. Engineers typically rely on two paradigms: analytical methods and statistical methods.

Analytical methods utilize mathematical constructs, such as Lyapunov functions or barrier certificates, to provide formal guarantees. However, these are often "conservative"—they may label safe regions as unsafe because the underlying mathematical form is not flexible enough to capture the true boundary of the system's behavior.

Statistical methods, on the other hand, rely on extensive simulations to estimate safety boundaries. While more flexible, they suffer from the "curse of dimensionality" and high computational costs when samples are chosen randomly or through traditional Design of Experiments (DOE). This paper introduces an active sampling approach to bridge this gap, providing the flexibility of statistical methods with the efficiency required for complex models.

Comparison of Lyapunov functions of varying degrees against the true Region of Attraction (ROA) for a Van der Pol oscillator.

Methodology

The proposed framework transforms the verification task into a binary classification problem through several key components:

1. Requirement Modeling

The authors employ Metric Temporal Logic (MTL) to formalize system requirements. MTL allows for the expression of complex temporal constraints (e.g., "the system must reach the target within 10 seconds and never exceed a specific velocity"). These requirements are mapped to binary labels: $1$ for satisfaction and $-1$ for violation.

2. Statistical Certificates via SVM

To learn the boundary between safe and unsafe regions, the framework uses Support Vector Machines (SVMs) with Radial Basis Function (RBF) kernels. SVMs are particularly effective at identifying decision boundaries in high-dimensional parameter spaces. The resulting model serves as a "statistical certificate" of the system's safety envelope.

3. Active Learning and Expected Model Change (EMC)

The core innovation is the use of active learning to guide the simulation process. Instead of picking simulation points at random, the algorithm uses an Expected Model Change (EMC) metric. It identifies points in the parameter space where the current SVM model is most uncertain—specifically, points that would most likely cause the decision boundary to shift if their true labels were known. This "closed-loop" sampling focuses computational resources on the most informative regions of the state space.

4. Diverse Batch Sampling

To leverage parallel computing, the authors developed a batch sampling algorithm. To prevent the algorithm from selecting redundant points in the same region, they incorporated a diversity metric based on the angle between hyperplanes in the kernel space. This ensures that each batch of simulations explores different segments of the potential safety boundary.

Case Studies and Results

The framework was evaluated on three distinct dynamical systems:

  • Unstable Van der Pol Oscillator: This classic benchmark was used to map the Region of Attraction (ROA). As shown in Figure 1, analytical Lyapunov functions (even at the 6th degree) remain conservative compared to the true limit cycle. The SVM-based active learning approach converged to this true boundary significantly faster than random sampling, reducing the "conservative gap" inherent in analytical methods.
  • Concurrent Learning Adaptive Control (CL-MRAC): In this scenario, the safety boundary is non-convex and difficult to characterize analytically. The active learning approach reduced mean misclassification error much more rapidly than passive DOE, demonstrating its ability to handle complex geometries.
  • 4D Constrained System: For a high-dimensional system involving control saturation and multiple temporal requirements, the active learning procedure achieved a misclassification error of 5.17% with only 500 samples. In contrast, passive sampling required significantly more data to reach a higher error rate of 9.16%, representing a nearly 2x improvement in efficiency.

Discussion and Future Work

While the binary classification approach is highly efficient, it does discard "robustness" information (i.e., how close a system was to failing). Future work may explore using Signal Temporal Logic (STL) to incorporate continuous robustness scores into the learning process. Additionally, while the authors use penalty terms to make the SVM more conservative and reduce "unsafe" misclassifications, the method remains a statistical estimate rather than a formal mathematical proof.

In conclusion, by treating verification as an active learning problem, this research provides a powerful tool for engineers to verify complex autonomous systems with fewer simulations and greater accuracy than traditional techniques.

Summary updated

BibTeX
@misc{quindlen2017active,
  author = {John F. Quindlen and Ufuk Topcu and Girish Chowdhary and Jonathan P. How},
  title = {{Active Sampling-based Binary Verification of Dynamical Systems}},
  year = {2017},
  eprint = {1706.04268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.04268},
}
Figure