Model-Based Policy Synthesis and Test-Case Generation for Autonomous Systems

            Rong Gu         Eduard Enoiu 

              Mälardalen University, Sweden                                                                         Mälardalen University, Sweden

Abstract

Autonomous systems are supposed to automatically plan their actions and execute the plan without human intervention. In this paper, we propose a model-based two-layer framework for policy synthesis and test-case generation for autonomous systems. At the high-level layer of the framework, we have two kinds of methods for synthesizing policies whose correctness is guaranteed by model checking. The autonomous system's controller executes synthesised policies at the low-level layer. As the kinematics of autonomous systems is often nonlinear and the environment may influence the results of their actions, formally verifying the controllers is extremely difficult. We propose a novel method for generating test cases for the controllers at the low-level layer. The method employs reinforcement learning for test-case generation and model checking to ensure that the test cases faithfully realize the execution of the policy. The framework is designed in Uppaal Stratego, which integrates model checkers and algorithms for policy synthesis. Therefore, the framework separates concerns and seamlessly interchanges the information between two layers.

Keywords

autonomous systems, model checking, testing, test-case generation

@inproceedings{Gu2023model,

author = {Rong Gu and Eduard Paul Enoiu},

title = {Model-Based Policy Synthesis and Test-Case Generation for Autonomous Systems},

month = {April},

year = {2023},

booktitle = {19th Workshop on Advances in Model Based Testing},

url = {http://www.es.mdh.se/publications/6637-}

}