Abstract
Genetic programming (GP) is a heuristic method for automatically generating code. It applies probabilistic-based generation and mutation of code, combined with “natural selection” principles, using a fitness function. Often, the fitness is calculated based on a large test suite. Recently, GP was applied for synthesizing correct-by-design concurrent code from temporal specification, where model checking was used for calculating the fitness function. A deficiency of this approach is that it uses a limited number of fitness values, based on a small number of modes for each verified specification property (e.g., satisfies, does not satisfy a given property). Furthermore, the need to apply model checking on many candidate solutions using the genetic process makes using an off-the-shelf model checker such as Spin prohibitively expensive. The repeated invocation of such a tool, compiling the code for a new candidate solution and running it, can render the performance of this approach several orders of magnitude slower than using an internal model checking. To tackle this problem, we describe here the use of a combination of statistical model checking, and a light use of model checking, for calculating the fitness required by GP.
Original language | English |
---|---|
Title of host publication | Model Checking Software - 25th International Symposium, SPIN 2018, Proceedings |
Editors | María del Gallardo, Pedro Merino |
Publisher | Springer Verlag |
Pages | 275-291 |
Number of pages | 17 |
ISBN (Print) | 9783319941103 |
DOIs | |
State | Published - 2018 |
Event | 25th International Symposium on Model Checking Software, SPIN 2018 - Málaga, Spain Duration: 20 Jun 2018 → 22 Jun 2018 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 10869 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 25th International Symposium on Model Checking Software, SPIN 2018 |
---|---|
Country/Territory | Spain |
City | Málaga |
Period | 20/06/18 → 22/06/18 |
Bibliographical note
Publisher Copyright:© 2018, Springer International Publishing AG, part of Springer Nature.
Funding
The research in this paper was partially funded by an ISF-NSFC grant “Runtime Measuring and Checking of Cyber Physical Systems” (ISF award 2239/15, NSFC No. 61561146394). The authors from Nanjing Univeristy were also partially funded by a National Natural Science Foundation of China grant No. 61690204 and No. 61572249.
Funders | Funder number |
---|---|
ISF-NSFC | |
National Natural Science Foundation of China | 61572249, 61690204, 61561146394 |
Israel Science Foundation | 2239/15 |