Home > Research > Publications & Outputs > Code and Data Synthesis for Genetic Improvement...

Electronic data

  • main

    Rights statement: © ACM, 2022. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Evolutionary Learning and Optimization, 2, 2, (30/06/2022) https://doi.org/10.1145/3542823

    Accepted author manuscript, 1.77 MB, PDF document

    Available under license: CC BY-NC: Creative Commons Attribution-NonCommercial 4.0 International License

Links

Text available via DOI:

View graph of relations

Code and Data Synthesis for Genetic Improvement in Emergent Software Systems

Research output: Contribution to Journal/MagazineJournal articlepeer-review

Published
Article number7
<mark>Journal publication date</mark>30/06/2022
<mark>Journal</mark>Transactions on Evolutionary Learning and Optimization
Issue number2
Volume2
Number of pages36
Publication StatusPublished
Early online date11/06/22
<mark>Original language</mark>English

Abstract

Emergent software systems are assembled from a collection of small code blocks, where some of those blocks have alternative implementation variants; they optimise at run-time by learning which compositions of alternative blocks best suit each deployment environment encountered.

In this paper we study the automated synthesis of new implementation variants for a running system using genetic improvement (GI). Typical GI approaches, however, rely on large amounts of data for accurate training and large code bases from which to source genetic material. In emergent systems we have neither asset, with sparsely sampled runtime data and small code volumes in each building block.

We therefore examine two approaches to more effective GI under these constraints: the synthesis of data from sparse samples to construct statistically representative larger training corpora; and the synthesis of code to counter the relative lack of genetic material in our starting population members.

Our results demonstrate that a mixture of synthesised and existing code is a viable optimisation strategy, and that phases of increased synthesis can make GI more robust to deleterious mutations. On synthesised data, we find that we can produce equivalent optimisation compared to GI methods using larger data sets, and that this optimisation can produce both useful specialists and generalists.

Bibliographic note

© ACM, 2022. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Evolutionary Learning and Optimization, 2, 2, (30/06/2022) https://doi.org/10.1145/3542823