Evolutionary improvement of programs

White, D.R., Arcuri, A. and Clark, J.A. (2011) Evolutionary improvement of programs. IEEE Transactions on Evolutionary Computation, 15(4), pp. 515-538. (doi: 10.1109/TEVC.2010.2083669)

[img] Text
55372.pdf

1MB

Publisher's URL: http://dx.doi.org/10.1109/TEVC.2010.2083669

Abstract

Most applications of genetic programming (GP) involve the creation of an entirely new function, program or expression to solve a specific problem. In this paper, we propose a new approach that applies GP to improve existing software by optimizing its non-functional properties such as execution time, memory usage, or power consumption. In general, satisfying non-functional requirements is a difficult task and often achieved in part by optimizing compilers. However, modern compilers are in general not always able to produce semantically equivalent alternatives that optimize non-functional properties, even if such alternatives are known to exist: this is usually due to the limited local nature of such optimizations. In this paper, we discuss how best to combine and extend the existing evolutionary methods of GP, multiobjective optimization, and coevolution in order to improve existing software. Given as input the implementation of a function, we attempt to evolve a semantically equivalent version, in this case optimized to reduce execution time subject to a given probability distribution of inputs. We demonstrate that our framework is able to produce non-obvious optimizations that compilers are not yet able to generate on eight example functions. We employ a coevolved population of test cases to encourage the preservation of the function's semantics. We exploit the original program both through seeding of the population in order to focus the search, and as an oracle for testing purposes. As well as discussing the issues that arise when attempting to improve software, we employ rigorous experimental method to provide interesting and practical insights to suggest how to address these issues.

Item Type:Articles
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:White, Dr David
Authors: White, D.R., Arcuri, A., and Clark, J.A.
College/School:College of Science and Engineering > School of Computing Science
Journal Name:IEEE Transactions on Evolutionary Computation
ISSN:1089-778X
Copyright Holders:Copyright © 2011 IEEE
First Published:First published in IEEE Transactions on Evolutionary Computing 2011 15(4):515-538
Publisher Policy:Reproduced in accordance with the copyright policy of the publisher

University Staff: Request a correction | Enlighten Editors: Update this record