Probabilistic Reachability and Invariance Computation of Stochastic Systems using Linear Programming

Niklas Schmid, John Lygeros

This paper, authored by Niklas Schmid and John Lygeros from ETH Zürich, provides a unified mathematical framework for evaluating the safety of stochastic (random) systems. By linking two fundamental concepts—reachability and invariance—and reformulating them as Linear Programs (LP), the authors offer a new way to compute the probability that a system (like a robot or an aircraft) will successfully complete a mission while staying within safe boundaries.

TL;DR

The researchers establish a formal duality between probabilistic reachability and invariance, showing they are essentially two sides of the same coin. They demonstrate that these complex safety problems can be solved using infinite-dimensional linear programming, allowing for flexible approximation methods like Radial Basis Functions (RBFs) to handle continuous state spaces.

What Problem Does This Paper Address?

In safety-critical engineering—such as air traffic control or autonomous driving—we need to know the probability that a system will behave correctly. Specifically, we ask two questions:

  1. Invariance: What is the probability the system stays within a "safe set" for the entire duration?
  2. Reachability: What is the probability the system reaches a "target set" at least once?

For deterministic systems, these concepts are well-understood. However, for stochastic systems (where noise and uncertainty are present), computing these probabilities is notoriously difficult. While Dynamic Programming (DP) is the standard tool, it often struggles with continuous states and actions. This paper seeks to bridge the gap by providing a unified LP-based framework that simplifies the math and opens the door to more sophisticated approximation techniques.

Methods

The authors employ several key strategies:

  • Duality Proof: They prove that reachability problems are the "duals" of invariance problems. If you can solve for the probability of staying safe, you can easily find the probability of reaching a target by looking at the complement of the safe set.
  • Infinite-Dimensional LP: They reformulate the standard recursive DP equations into a single, infinite-dimensional Linear Program. This is a theoretical "relaxation" that makes it easier to apply function approximation.
  • Approximation Techniques: Since you can't solve an infinite-dimensional problem on a computer, they test two approximation methods:
  • Gridding: Dividing the state space into a finite number of small blocks (piecewise constant).
  • Radial Basis Functions (RBFs): Using smooth, overlapping "bumps" (Gaussian functions) to approximate the value function.
  • Scenario Sampling: To handle the constraints of the LP, they use random sampling of states and noise (the "scenario approach") to make the computation tractable.

Datasets

The paper does not use external datasets. Instead, it evaluates the proposed methods using a custom Numerical Example:

  • Autonomous Robot Simulation: A robot moves in a 2D room ($50m \times 50m$) containing interior walls. The robot has noisy orientation ($\theta_k$) and must reach a target corner without hitting the walls.
  • The transition kernel was computed by simulating 1,000 random noise samples for every state-action pair.

Key Insights and Ideas

  • The "Aha!" Moment on Duality: The realization that $V^*_{Reach} = 1 - V^*_{Invariance}$ for the complement set means researchers only need to develop one set of tools to solve both types of safety problems.
  • LP as a Flexible Alternative: While DP is often more direct, the LP formulation is "basis-function friendly." It allows researchers to use tools from optimization theory to find safety guarantees that DP might struggle to provide in continuous spaces.
  • Optimism vs. Robustness: The RBF-based approach tends to be more "optimistic" (yielding higher success probabilities) than gridding. However, gridding proved more robust at identifying narrow safe passages between walls.

Key Results

  • Convergence: The authors showed that as the grid becomes finer (e.g., moving from a $25 \times 25$ grid to $100 \times 100$) or as more RBFs are added, the solution converges toward the true safety probability.
  • Computational Trade-offs:
    • Gridding was significantly faster for this 2D example (90 seconds for a high-res grid vs. ~90 minutes for a high-res RBF setup). This is because the transition matrix can be precomputed and stored.
  • Memory vs. CPU: Gridding is memory-intensive (storing large matrices), while the LP/RBF approach is CPU-intensive (resampling constraints at every step).
  • Visual Evidence: The reach-avoid probability maps (Fig. 3 in the paper) clearly show how the probability of success increases as the robot gets closer to the target and further from the walls.

Limitations and Future Work

  • The Curse of Dimensionality: Like most methods in this field, the computational cost grows exponentially with the number of state dimensions. While it works for a 2D robot, a 12D drone would be much harder.
  • LP Efficiency: The authors honestly note that the LP formulation is not necessarily more computationally efficient than classical DP for simple problems. Its value lies in its theoretical flexibility and potential for higher-dimensional approximations.
  • Future Directions: The authors suggest that these LP formulations could provide a "new perspective" for analysis, potentially leading to better ways to handle complex, high-dimensional stochastic systems in the future.

Summary updated

BibTeX
@inproceedings{schmid2023probabilistic,
  author = {Niklas Schmid and John Lygeros},
  title = {{Probabilistic Reachability and Invariance Computation of Stochastic Systems using Linear Programming}},
  booktitle = {IFAC-PapersOnLine},
  year = {2023},
  doi = {10.1016/j.ifacol.2023.10.853},
}
Figure