Iterative genetic improvement: Scaling stochastic program synthesis

  • Yuan Yuan
  • , Wolfgang Banzhaf

Research output: Contribution to journalArticlepeer-review

3 Scopus citations

Abstract

Program synthesis aims to automatically find programs from an underlying programming language that satisfy a given specification. While this has the potential to revolutionize computing, how to search over the vast space of programs efficiently is an unsolved challenge in program synthesis. In cases where large programs are required for a solution, it is generally believed that stochastic search has advantages over other classes of search techniques. Unfortunately, existing stochastic program synthesizers do not meet this expectation very well, suffering from the scalability issue. To overcome this problem, we propose a new framework for stochastic program synthesis, called iterative genetic improvement. The key idea is to apply genetic improvement to improve a current reference program, and then iteratively replace the reference program by the best program found. Compared to traditional stochastic synthesis approaches, iterative genetic improvement can build up the complexity of programs incrementally in a more robust way. We evaluate the approach on two program synthesis domains: list manipulation and string transformation, along with a number of general program synthesis problems. Our empirical results indicate that this method has considerable advantages over several representative stochastic program synthesizer techniques, both in terms of scalability and of solution quality.

Original languageEnglish
Article number103962
JournalArtificial Intelligence
Volume322
DOIs
StatePublished - Sep 2023
Externally publishedYes

Keywords

  • Artificial intelligence
  • Evolutionary computation
  • Genetic improvement
  • Genetic programming
  • Program synthesis

Fingerprint

Dive into the research topics of 'Iterative genetic improvement: Scaling stochastic program synthesis'. Together they form a unique fingerprint.

Cite this