# An Inductive Synthesis Framework for Verifiable Reinforcement Learning

**Authors:** He Zhu, Zikang Xiong, Stephen Magill, Suresh Jagannathan

arXiv: 1907.07273 · 2019-07-18

## TL;DR

This paper introduces a formal verification framework for reinforcement learning systems that synthesizes interpretable programs to guarantee safety properties, enabling trustworthy deployment in complex environments.

## Contribution

It presents a novel blackbox synthesis approach that creates deterministic, interpretable programs to verify and enforce safety in reinforcement learning agents.

## Key findings

- Effective verification of RL systems with low overhead.
- Synthesized programs successfully enforce safety in cyber-physical applications.
- Framework improves trustworthiness of RL deployments.

## Abstract

Despite the tremendous advances that have been made in the last decade on developing useful machine-learning applications, their wider adoption has been hindered by the lack of strong assurance guarantees that can be made about their behavior. In this paper, we consider how formal verification techniques developed for traditional software systems can be repurposed for verification of reinforcement learning-enabled ones, a particularly important class of machine learning systems. Rather than enforcing safety by examining and altering the structure of a complex neural network implementation, our technique uses blackbox methods to synthesizes deterministic programs, simpler, more interpretable, approximations of the network that can nonetheless guarantee desired safety properties are preserved, even when the network is deployed in unanticipated or previously unobserved environments. Our methodology frames the problem of neural network verification in terms of a counterexample and syntax-guided inductive synthesis procedure over these programs. The synthesis procedure searches for both a deterministic program and an inductive invariant over an infinite state transition system that represents a specification of an application's control logic. Additional specifications defining environment-based constraints can also be provided to further refine the search space. Synthesized programs deployed in conjunction with a neural network implementation dynamically enforce safety conditions by monitoring and preventing potentially unsafe actions proposed by neural policies. Experimental results over a wide range of cyber-physical applications demonstrate that software-inspired formal verification techniques can be used to realize trustworthy reinforcement learning systems with low overhead.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.07273/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1907.07273/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/1907.07273/full.md

---
Source: https://tomesphere.com/paper/1907.07273