Reinfier and Reintrainer: Verification and Interpretation-Driven Safe Deep Reinforcement Learning Frameworks

Zixuan Yang, Jiaqi Zheng, Guihai Chen
10/19/2024
cs.LGcs.AI

Official code: Kurayuri/Reinfier (1 star, MIT, last commit 2024-06-05).

Abstract

Ensuring verifiable and interpretable safety of deep reinforcement learning (DRL) is crucial for its deployment in real-world applications. Existing approaches like verification-in-the-loop training, however, face challenges such as difficulty in deployment, inefficient training, lack of interpretability, and suboptimal performance in property satisfaction and reward performance. In this work, we propose a novel verification-driven interpretation-in-the-loop framework Reintrainer to develop trustworthy DRL models, which are guaranteed to meet the expected constraint properties. Specifically, in each iteration, this framework measures the gap between the on-training model and predefined properties using formal verification, interprets the contribution of each input feature to the model's output, and then generates the training strategy derived from the on-the-fly measure results, until all predefined properties are proven. Additionally, the low reusability of existing verifiers and interpreters motivates us to develop Reinfier, a general and fundamental tool within Reintrainer for DRL verification and interpretation. Reinfier features breakpoints searching and verification-driven interpretation, associated with a concise constraint-encoding language DRLP. Evaluations demonstrate that Reintrainer outperforms the state-of-the-art on six public benchmarks in both performance and property guarantees. Our framework can be accessed at https://github.com/Kurayuri/Reinfier.

View on arXivView PDF

Code Implementations(1)

Kurayuri/ReinfierOfficial100%
MIT
10PythonJun 10, 20222 years agoMIT

Similar Papers

Cite this paper

@article{yang2024reinfier,
  title  = {Reinfier and Reintrainer: Verification and Interpretation-Driven Safe Deep Reinforcement Learning Frameworks},
  author = {Zixuan Yang and Jiaqi Zheng and Guihai Chen},
  year   = {2024},
  eprint = {2410.15127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15127v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15127.svg)](https://codeofpaper.com/paper/2410.15127)

Discussion