Litcius/Paper detail

Trainify: A CEGAR-Driven Training and Verification Framework for Safe Deep Reinforcement Learning

Peng Jin, Jiaxu Tian, Dapeng Zhi, Xuejun Wen, Min Zhang

2022Lecture notes in computer science26 citationsDOIOpen Access PDF

Abstract

Abstract Deep Reinforcement Learning (DRL) has demonstrated its strength in developing intelligent systems. These systems shall be formally guaranteed to be trustworthy when applied to safety-critical domains, which is typically achieved by formal verification performed after training. This train-then-verify process has two limits: (i) trained systems are difficult to formally verify due to their continuous and infinite state space and inexplicable AI components ( i.e. , deep neural networks), and (ii) the ex post facto detection of bugs increases both the time- and money-wise cost of training and deployment. In this paper, we propose a novel verification-in-the-loop training framework called Trainify for developing safe DRL systems driven by counterexample-guided abstraction and refinement. Specifically, Trainify trains a DRL system on a finite set of coarsely abstracted but efficiently verifiable state spaces. When verification fails, we refine the abstraction based on returned counterexamples and train again on the finer abstract states. The process is iterated until all predefined properties are verified against the trained system. We demonstrate the effectiveness of our framework on six classic control systems. The experimental results show that our framework yields more reliable DRL systems with provable guarantees without sacrificing system performance such as cumulative reward and robustness than conventional DRL approaches.

Topics & Concepts

Computer scienceReinforcement learningCounterexampleVerifiable secret sharingState spaceFormal verificationAbstractionRobustness (evolution)Model checkingArtificial intelligenceSoftware portabilityMachine learningTheoretical computer scienceSet (abstract data type)Programming languageStatisticsDiscrete mathematicsChemistryBiochemistryGeneEpistemologyPhilosophyMathematicsAdversarial Robustness in Machine LearningReinforcement Learning in RoboticsFormal Methods in Verification
Trainify: A CEGAR-Driven Training and Verification Framework for Safe Deep Reinforcement Learning | Litcius