In computer software development, genetic Improvement is the use of optimisation and machine learning techniques, particularly search-based software engineering techniques such as genetic programming to improve existing software.[1][2]
The improved program need not behave identically to the original. For example, automatic bug fixing improves program code by reducing or eliminating buggy behaviour.[3]
In other cases the improved software should behave identically to the old version but is better because,
for example:
it runs faster,[4]
it uses less memory,[5]
it uses less energy[6]
or
it runs on a different type of computer.[7]
GI differs from, for example, formal program translation, in that it primarily verifies the behaviour of the new mutant version by running both the new and the old software on test inputs and comparing their output and performance in order to see if the new software can still do what is wanted of the original program and is now better.
Genetic improvement can be used to create multiple versions of programs, each tailored to be better for a particular use or for a particular computer.
Genetic improvement can be used with multi-objective optimization to consider improving software along multiple dimensions or to consider trade-offs between several objectives, such as asking GI to evolve programs which trade speed against the quality of answers they give. Of course it may be possible to find programs which are both faster and give better answers.
^Langdon, William B.; Harman, Mark (2015). "Optimizing Existing Software With Genetic Programming". IEEE Transactions on Evolutionary Computation. 19: 118–135. doi:10.1109/TEVC.2013.2281544. S2CID9891830.
^Wu, Fan; Weimer, Westley; Harman, Mark; Jia, Yue; Krinke, Jens (2015). "Deep Parameter Optimisation". Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation. pp. 1375–1382. doi:10.1145/2739480.2754648. ISBN9781450334723. S2CID17820784.
^Bruce, Bobby R.; Petke, Justyna; Harman, Mark (2015). "Reducing Energy Consumption Using Genetic Improvement". Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation. pp. 1327–1334. doi:10.1145/2739480.2754752. ISBN9781450334723. S2CID207224618.
^Schulte, Eric M.; Weimer, Westley; Forrest, Stephanie (2015). "Repairing COTS Router Firmware without Access to Source Code or Test Suites". Proceedings of the Companion Publication of the 2015 Annual Conference on Genetic and Evolutionary Computation. pp. 847–854. doi:10.1145/2739482.2768427. ISBN9781450334884. S2CID14772346.