Verification-Guided Safety-Repair of Learned Controllers
Fabian Kresse, Sobhan Gharanfoli, Nikolaus Vertovec, Alessandro Abate, Thomas A. Henzinger, Christoph H. Lampert
Abstract
Formal verification can certify that a learned controller is safe. But what should be done when verification fails? Simply suppressing actions that lead to unsafe next states is insufficient because the dangerous action that ultimately caused the safety violation might have occurred many steps earlier. Retraining modifies the policy globally, thereby potentially introducing new failures. Instead, we introduce ReachECO, a verification-guided repair procedure that exploits the information of failed multi-step reachability analysis for synthesizing explicit constraints on controller behavior. For Differentiable Weightless Controllers, the repairs compile into exact circuit patches that leave the controller unchanged everywhere outside the targeted policy cells. We prove soundness and termination of the repair procedure for ReachECO, as well as, assuming exhaustive continuation search, completeness relative to the reachability abstraction. Empirically, we demonstrate 's ability to successfully repair otherwise unsafe controllers in three continuous-control benchmarks: ACC, Docking2D and Car2D.
Create a lesson
Related papers
Isabelle Pool Server: a pooled verification service for prover training and multi-agent proving
Shared title terminology · Xuanwei Ren, Wenda Li
RyBench: Runtime Verification Benchmarking Framework over Publish/Subscribe Networks
Shared title terminology · Mehmet Hilmi Dündar, Doğan Ulus
Safety Analysis of Parameterized Networks with Shared Counters
Shared title terminology · June Roupin, Arnaud Sangnier
LLM-Assisted Verification in Dafny
Shared title terminology · Wieger Wesselink, Kees Huizing, Huub van de Wetering
A Complete Equational Theory for Quantum Circuits with Generalized Control
Shared title terminology · William Schober, Scott Wesley
Sundance: A Simple SMT Solver for Program Verification
Shared title terminology · Amar Shah, Benjamin F. Jones, Can Cebeci et al.