Automata Theory Meets Barrier Certificates: Temporal Logic Verification of Nonlinear Systems

Tichakorn Wongpiromsarn, Ufuk Topcu, Andrew Lamperski

TL;DR

This paper introduces a novel framework for verifying that nonlinear dynamical systems satisfy complex temporal logic specifications without relying on traditional, computationally expensive state-space discretization. By combining automata-based model checking with control-theoretic barrier certificates, the approach decomposes a global verification task into a finite set of local optimization problems solved via Sum-of-Squares (SOS) programming.

What Problem Does This Paper Address?

Verifying that a continuous, nonlinear dynamical system (like a robot, chemical plant, or aircraft) behaves correctly under complex temporal constraints is a major challenge in control theory and formal methods. The standard approach involves partitioning the continuous state space into a massive discrete grid (a finite-state abstraction) and applying standard computer science model-checking algorithms.

However, this approach suffers severely from the "state explosion problem"—as the number of continuous variables grows, the grid size grows exponentially, making verification computationally intractable. Furthermore, abstracting complex nonlinear dynamics into discrete boxes introduces significant conservatism and inaccuracy. The authors tackle this gap by proposing a method that completely avoids explicit discretization of the system's continuous dynamics.

Methods

The authors bridge the gap between computer science (automata theory) and control engineering (barrier certificates) through a multi-step verification pipeline:

  1. Automata-Guided Decomposition: Instead of abstracting the system dynamics, the method abstracts the specification. The target Linear Temporal Logic (LTL) formula is negated, and converted into a Non-deterministic Büchi Automaton (NBA). This automaton represents all possible "bad" behaviors that would violate the system requirements.
  2. Graph Search for Critical Subpaths: Using a modified Depth-First Search (DFS) algorithm on the automaton's transition graph, the method extracts a finite set of representative subpaths (specifically focusing on subpaths of length 3).
  3. Local Barrier Certificates: For each critical subpath identified by the automaton, the method formulates algebraic conditions to prove that the physical system cannot actually execute that sequence of states. These conditions are verified using barrier certificates—differentiable functions $B(x)$ that act as topological boundaries preventing forbidden transitions between regions of the state space.
  4. Sum-of-Squares (SOS) Optimization: The search for these barrier certificates is automated by translating the algebraic conditions into polynomial optimization problems, which are solved efficiently using semidefinite programming (SDP) toolboxes like SOSTOOLS or SOSOPT.

Datasets

Not discussed in the paper. The method is evaluated using a synthetic 2D nonlinear dynamical system benchmark commonly utilized in control theory literature.

Key Insights and Ideas

  • Flip the Abstraction: Traditional methods spend immense computational effort abstracting complex continuous dynamics into a discrete grid. This paper flips the script: it abstracts the specification into a minimal automaton, and lets the automaton dictate exactly which local regions of the continuous state space need to be checked.
  • Length-3 Subpaths are Sufficient: A key theoretical insight is that invalidating specific subpaths of length 3 within the automaton graph is mathematically sufficient to invalidate entire infinite families of violating system runs. This drastically reduces the number of constraints that need to be checked.
  • Local over Global: Barrier certificates only need to hold locally over specific regions dictated by the automaton transitions, rather than globally across the entire continuous state space, making them much easier to find.

Key Results

The proposed framework was validated on a two-dimensional nonlinear system governed by cubic dynamics:

$$\dot{x}_1(t) = x_2(t)$$ $$\dot{x}_2(t) = -x_1(t) + \frac{1}{3}x_1(t)^3 - x_2(t)$$

The system was verified against an LTL specification involving four distinct regions of interest ($\mathcal{X}_0$ through $\mathcal{X}_3$), as illustrated in the phase portrait below:

Phase portrait of the system showing regions of interest and sample trajectories.

To verify this system using traditional discretization methods with 8 discrete states (representing combinations of atomic propositions), an algorithm would have to evaluate all $8 \times 8 = 64$ potential transitions. In contrast, the authors' automata-guided approach narrowed the problem down to just 2 Sum-of-Squares optimization problems. The optimization successfully generated the required barrier certificates, proving the system's compliance without grid generation.

Limitations and Future Work

  • Incompleteness: The method is sound but incomplete (conservative). If the algorithm finds the required barrier certificates, the system is guaranteed to satisfy the specification. However, if it fails, the system might still be safe, but the tool cannot prove it. This conservatism stems from restricting the analysis to length-3 subpaths and using fixed-degree polynomial approximations for the barrier functions.
  • Future Extensions: The authors note that the framework can be extended to handle more complex dynamics, such as hybrid systems (which feature discrete jumps alongside continuous evolution) and stochastic systems. Additionally, exploring longer subpaths could reduce the conservatism of the approach, though at the expense of higher computational complexity.

Summary updated

BibTeX
@article{wongpiromsarn2014automata,
  author = {Tichakorn Wongpiromsarn and Ufuk Topcu and Andrew Lamperski},
  title = {{Automata Theory Meets Barrier Certificates: Temporal Logic Verification of Nonlinear Systems}},
  journal = {IEEE Trans. Automatic Control},
  year = {2014},
  doi = {10.1109/tac.2015.2511722},
}
Figure