Ocan SankurDEVINE, UR, Thierry JéronDEVINE, UR, Nicolas MarkeyDEVINE, UR, David MentréMERCE-France, Reiya Noguchi
{"title":"从需求出发的在线测试合成:用博弈论加强强化学习","authors":"Ocan SankurDEVINE, UR, Thierry JéronDEVINE, UR, Nicolas MarkeyDEVINE, UR, David MentréMERCE-France, Reiya Noguchi","doi":"arxiv-2407.18994","DOIUrl":null,"url":null,"abstract":"We consider the automatic online synthesis of black-box test cases from\nfunctional requirements specified as automata for reactive implementations. The\ngoal of the tester is to reach some given state, so as to satisfy a coverage\ncriterion, while monitoring the violation of the requirements. We develop an\napproach based on Monte Carlo Tree Search, which is a classical technique in\nreinforcement learning for efficiently selecting promising inputs. Seeing the\nautomata requirements as a game between the implementation and the tester, we\ndevelop a heuristic by biasing the search towards inputs that are promising in\nthis game. We experimentally show that our heuristic accelerates the\nconvergence of the Monte Carlo Tree Search algorithm, thus improving the\nperformance of testing.","PeriodicalId":501316,"journal":{"name":"arXiv - CS - Computer Science and Game Theory","volume":"45 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Online Test Synthesis From Requirements: Enhancing Reinforcement Learning with Game Theory\",\"authors\":\"Ocan SankurDEVINE, UR, Thierry JéronDEVINE, UR, Nicolas MarkeyDEVINE, UR, David MentréMERCE-France, Reiya Noguchi\",\"doi\":\"arxiv-2407.18994\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We consider the automatic online synthesis of black-box test cases from\\nfunctional requirements specified as automata for reactive implementations. The\\ngoal of the tester is to reach some given state, so as to satisfy a coverage\\ncriterion, while monitoring the violation of the requirements. We develop an\\napproach based on Monte Carlo Tree Search, which is a classical technique in\\nreinforcement learning for efficiently selecting promising inputs. Seeing the\\nautomata requirements as a game between the implementation and the tester, we\\ndevelop a heuristic by biasing the search towards inputs that are promising in\\nthis game. We experimentally show that our heuristic accelerates the\\nconvergence of the Monte Carlo Tree Search algorithm, thus improving the\\nperformance of testing.\",\"PeriodicalId\":501316,\"journal\":{\"name\":\"arXiv - CS - Computer Science and Game Theory\",\"volume\":\"45 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Computer Science and Game Theory\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.18994\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computer Science and Game Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.18994","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Online Test Synthesis From Requirements: Enhancing Reinforcement Learning with Game Theory
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.