arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.18994cs.AIcs.GTcs.LG
收藏

从需求在线合成测试:利用博弈论增强强化学习

Requirement-Based Testing: Enhancing Reinforcement Learning with Game Theory

Univ Rennes(雷恩大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);Mitsubishi Electrics R&D Centre Europe(三菱电机欧洲研发中心);Mitsubishi Electric Corporation(三菱电机株式会社)

Ocan Sankur, Thierry Jéron, Nicolas Markey, David Mentré, Reiya Noguchi

AI总结:

针对反应式实现的黑盒测试用例在线合成问题,提出基于蒙特卡洛树搜索并结合博弈论启发式的方法,加速算法收敛并提升测试性能。

摘要:

我们考虑针对反应式实现,从以自动机指定的功能需求中自动在线合成黑盒测试用例。测试者的目标是到达某个给定状态,以满足覆盖准则,同时监控需求的违反情况。我们开发了一种基于蒙特卡洛树搜索的方法,这是强化学习中高效选择有前景输入的经典技术。将自动机需求视为实现与测试者之间的博弈,我们开发了一种启发式方法,通过将搜索偏向在此博弈中有前景的输入来引导搜索。我们通过实验表明,我们的启发式方法加速了蒙特卡洛树搜索算法的收敛,从而提升了测试性能。

英文摘要:

We consider the automatic online synthesis of black-box test cases from functional requirements specified as automata for reactive implementations. The goal of the tester is to reach some given state, so as to satisfy a coverage criterion, while monitoring the violation of the requirements. We develop an approach based on Monte Carlo Tree Search, which is a classical technique in reinforcement learning for efficiently selecting promising inputs. Seeing the automata requirements as a game between the implementation and the tester, we develop a heuristic by biasing the search towards inputs that are promising in this game. We experimentally show that our heuristic accelerates the convergence of the Monte Carlo Tree Search algorithm, thus improving the performance of testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑