Introduction
Autonomous systems operating in the physical world—such as self-driving cars or drones—must navigate environments defined by continuous time and stochastic uncertainty (noise). To ensure these systems are safe, engineers often use "certificates," mathematical proofs that a system will behave correctly. While Lyapunov functions are used for deterministic systems and supermartingales for discrete-time stochastic systems, a major gap existed: there was no unified way to create learnable, formally verified certificates for systems that are both continuous-time and stochastic, typically modeled by Stochastic Differential Equations (SDEs).
This paper introduces the first framework for training and formally verifying neural supermartingale certificates for continuous-time stochastic systems. By bridging the gap between deterministic Lyapunov theory and discrete-time probabilistic verification, the authors provide a method to calculate rigorous lower bounds on the probability that a complex, nonlinear system will safely reach a goal and stay there while avoiding hazards.
Methodology
The authors propose a framework for Probabilistic Reach-Stay-Avoid (RSA) specifications, covering reachability, avoidance of unsafe regions, and persistence within a target region.
The RSA Certificate (RSA-C)
The core innovation is a new type of certificate based on the infinitesimal generator—the stochastic equivalent of a gradient for SDEs. If a function $V(x)$ satisfies specific conditions regarding this generator, it acts as a supermartingale, allowing the use of maximal inequalities to calculate a formal lower bound on the probability of success.
Architecture and Training
The system consists of several interconnected components: a control policy, the system's SDE dynamics, a neural certificate, and a formal verification loop.
- Neural Certificate ($V_\theta$): A deep neural network represents the certificate function.
- Training: The network is trained using a loss function that penalizes violations of the RSA-C conditions (e.g., if the function increases where it should decrease).
- Verification: To move from "likely safe" to "formally proven," the authors use Interval Bound Propagation (IBP). This technique computes the worst-case bounds of the neural network over entire regions of space, ensuring the certificate holds true everywhere, not just at sampled points.
Benchmarks and Results
The method was evaluated on two classic continuous-time control benchmarks modified with stochastic noise:
- Stochastic Inverted Pendulum: A nonlinear system where a motor balances a pole despite disturbances.
- Bivariate Geometric Brownian Motion (GBM): A model used to test the framework's ability to handle coupled stochastic variables.
The framework successfully generated and verified certificates for nonlinear systems beyond the reach of traditional automated tools. As seen in the inverted pendulum results, the neural certificate creates a "valley" around the target.
Any trajectory starting in the designated initial region is formally guaranteed to stay within safe bounds with high probability. Quantitatively, the verification process is efficient, taking between 15 and 21 seconds on average for these complex properties.
Discussion and Future Work
While the framework provides formal probabilistic bounds (e.g., "This system is guaranteed to succeed with $p \ge 0.95$"), it has limitations. Interval Bound Propagation (IBP) is "sound but incomplete," meaning it might fail to prove a certificate is valid if the calculated bounds are too loose. Additionally, while effective for 2D systems, high-dimensional systems remain a challenge for interval-based verification. Future work includes co-synthesis, where the controller and the safety certificate are trained simultaneously to maximize both performance and provable safety.
Summary updated