[Paper Review] Verified Runtime Validation for Partially Observable Hybrid Systems
This paper proposes a formally verified approach to runtime monitoring for partially observable hybrid systems, synthesizing provably correct monitor conditions from verified hybrid system models. By accounting for bounded sensor uncertainty and actuator disturbance, the method ensures that satisfied monitors imply provable safety at runtime, enabling early detection of model deviations and fallback control with formal correctness guarantees.
Formal verification provides strong safety guarantees but only for models of cyber-physical systems. Hybrid system models describe the required interplay of computation and physical dynamics, which is crucial to guarantee what computations lead to safe physical behavior (e.g., cars should not collide). Control computations that affect physical dynamics must act in advance to avoid possibly unsafe future circumstances. Formal verification then ensures that the controllers correctly identify and provably avoid unsafe future situations under a certain model of physics. But any model of physics necessarily deviates from reality and, moreover, any observation with real sensors and manipulation with real actuators is subject to uncertainty. This makes runtime validation a crucial step to monitor whether the model assumptions hold for the real system implementation. The key question is what property needs to be runtime-monitored and what a satisfied runtime monitor entails about the safety of the system: the observations of a runtime monitor only relate back to the safety of the system if they are themselves accompanied by a proof of correctness! For an unbroken chain of correctness guarantees, we, thus, synthesize runtime monitors in a provably correct way from provably safe hybrid system models. This paper addresses the inevitable challenge of making the synthesized monitoring conditions robust to partial observability of sensor uncertainty and partial controllability due to actuator disturbance. We show that the monitoring conditions result in provable safety guarantees with fallback controllers that react to monitor violation at runtime.
Motivation & Objective
- To address the critical challenge of transferring formal safety guarantees from verified hybrid system models to real-world CPS implementations under uncertainty.
- To identify the precise property that must be monitored at runtime to ensure system safety, given partial observability and controllability.
- To develop a method that synthesizes monitors from verified models such that monitor satisfaction implies provable safety of the actual system.
- To distinguish between unsafe environmental behavior and deviations due to sensor/actuator uncertainty, enabling targeted fallback control.
Proposed method
- The approach uses differential dynamic logic (dL) to formally specify monitor conditions that are provably correct with respect to the verified hybrid system model.
- It incorporates bounded sensor uncertainty and actuator disturbance into the model, explicitly accounting for partial observability and controllability.
- Monitor conditions are synthesized offline using proof tactics that ensure correctness and robustness to bounded perturbations.
- The method generates monitors that warn in advance of potential safety violations by predicting future unsafe behavior based on current state and model dynamics.
- Runtime monitors evaluate real-time sensor data against the synthesized conditions using real arithmetic, enabling fast and reliable decisions.
- A Simplex-style runtime architecture integrates fallback controllers triggered when monitor conditions are violated, ensuring safety under model deviations.
Experimental results
Research questions
- RQ1What property must be monitored at runtime to provably guarantee system safety in the presence of sensor uncertainty and actuator disturbance?
- RQ2How can monitor conditions be synthesized from verified hybrid system models such that their satisfaction implies safety of the actual CPS?
- RQ3How can the method distinguish between unsafe environmental behavior and deviations caused by system uncertainty (sensors/actuators)?
- RQ4How can the approach ensure that monitors provide early warnings before unsafe states are reached, rather than reacting after the fact?
- RQ5What formal guarantees can be provided about the correctness of the monitoring process and its link to the offline safety proof?
Key findings
- The proposed method synthesizes monitor conditions that are formally proven correct with respect to the verified hybrid system model, ensuring that monitor satisfaction implies system safety.
- The monitors are robust to bounded sensor uncertainty and actuator disturbance, enabling reliable detection of model deviations over time.
- The approach enables early detection of potential safety violations by predicting future unsafe behavior based on current state and dynamics.
- Unlike prior methods, it explicitly models continuous dynamics and sensor/actuator behavior, avoiding assumptions about discrete sampling or piecewise constant behavior.
- The method shifts expensive verification and synthesis computations offline, enabling fast runtime evaluation using only real arithmetic on sensor inputs.
- The framework supports a Simplex-style architecture where fallback controllers are triggered upon monitor violation, ensuring safety even under model deviations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.